1. 1739.07 s [opt-env-conf-test] -- always fails if it's missing a reader.
  2. 1739.07 s [opt-env-conf-test] rs <- requireReaders settingReaders
  3. 1739.07 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  4. 1739.07 s [opt-env-conf-test] case mS of
  5. 1739.07 s [opt-env-conf-test] - Nothing -> do
  6. 1739.07 s [opt-env-conf-test] - debug
  7. 1739.07 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  8. 1739.07 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  9. 1739.07 s [opt-env-conf-test] - ]
  10. 1739.07 s [opt-env-conf-test] - pure NotFound
  11. 1739.07 s [opt-env-conf-test] Just optionStr -> cap $
  12. 1745.16 s [opt-env-conf-test] case tryReaders rs optionStr of
  13. 1745.18 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  14. 1745.18 s [opt-env-conf-test] Right a -> do
  15. 1745.18 s [opt-env-conf-test] debug
  16. 1745.18 s [opt-env-conf-test] [ "set based on option: ",
  17. 1745.18 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  18. 1745.18 s [opt-env-conf-test] ]
  19. 1745.18 s [opt-env-conf-test] pure $ Found a
  20. 1745.18 s [opt-env-conf-test] else pure NotRun
  21. 1745.18 s [opt-env-conf-test]
  22. 1745.18 s [opt-env-conf-test] case mOpt of
  23. 1745.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
  24. 1745.18 s [opt-env-conf-test] @@ -289,16 +289,10 @@
  25. 1745.18 s [opt-env-conf-test] Nothing -> pure NotRun
  26. 1745.18 s [opt-env-conf-test] Just a -> do
  27. 1745.18 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  28. 1745.18 s [opt-env-conf-test] case mS of
  29. 1745.18 s [opt-env-conf-test] - Nothing -> do
  30. 1745.18 s [opt-env-conf-test] - debug
  31. 1745.18 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  32. 1745.19 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  33. 1745.19 s [opt-env-conf-test] - ]
  34. 1745.19 s [opt-env-conf-test] - pure NotFound
  35. 1745.19 s [opt-env-conf-test] Just () -> cap $ do
  36. 1745.19 s [opt-env-conf-test] debug ["set based on switch."]
  37. 1745.19 s [opt-env-conf-test] pure $ Found a
  38. 1745.19 s [opt-env-conf-test]
  39. 1745.19 s [opt-env-conf-test] case mSwitch of
  40. 1745.19 s [opt-env-conf-test] Found a -> do
  41. 1745.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
  42. 1745.19 s [opt-env-conf-test] @@ -289,16 +289,13 @@
  43. 1745.19 s [opt-env-conf-test] Nothing -> pure NotRun
  44. 1745.19 s [opt-env-conf-test] Just a -> do
  45. 1745.19 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  46. 1745.19 s [opt-env-conf-test] case mS of
  47. 1745.19 s [opt-env-conf-test] Nothing -> do
  48. 1745.19 s [opt-env-conf-test] debug
  49. 1745.19 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  50. 1745.19 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  51. 1745.19 s [opt-env-conf-test] ]
  52. 1745.19 s [opt-env-conf-test] pure NotFound
  53. 1745.19 s [opt-env-conf-test] - Just () -> cap $ do
  54. 1745.19 s [opt-env-conf-test] - debug ["set based on switch."]
  55. 1745.19 s [opt-env-conf-test] - pure $ Found a
  56. 1745.19 s [opt-env-conf-test]
  57. 1745.19 s [opt-env-conf-test] case mSwitch of
  58. 1745.19 s [opt-env-conf-test] Found a -> do
  59. 1745.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
  60. 1745.19 s [opt-env-conf-test] @@ -312,22 +312,13 @@
  61. 1745.19 s [opt-env-conf-test] -- always fails if it's missing a reader.
  62. 1745.19 s [opt-env-conf-test] rs <- requireReaders settingReaders
  63. 1745.19 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  64. 1745.19 s [opt-env-conf-test] case mS of
  65. 1745.19 s [opt-env-conf-test] Nothing -> do
  66. 1745.19 s [opt-env-conf-test] debug
  67. 1745.19 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  68. 1745.19 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  69. 1745.19 s [opt-env-conf-test] ]
  70. 1745.19 s [opt-env-conf-test] pure NotFound
  71. 1745.19 s [opt-env-conf-test] - Just optionStr -> cap $
  72. 1745.19 s [opt-env-conf-test] - case tryReaders rs optionStr of
  73. 1745.19 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  74. 1745.19 s [opt-env-conf-test] - Right a -> do
  75. 1745.19 s [opt-env-conf-test] - debug
  76. 1745.19 s [opt-env-conf-test] - [ "set based on option: ",
  77. 1745.19 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  78. 1745.19 s [opt-env-conf-test] - ]
  79. 1745.19 s [opt-env-conf-test] - pure $ Found a
  80. 1745.19 s [opt-env-conf-test] else pure NotRun
  81. 1745.19 s [opt-env-conf-test]
  82. 1745.19 s [opt-env-conf-test] case mOpt of
  83. 1745.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
  84. 1745.19 s [opt-env-conf-test] @@ -349,14 +349,13 @@
  85. 1745.19 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  86. 1745.19 s [opt-env-conf-test] -- result.
  87. 1745.19 s [opt-env-conf-test] results <- for founds $ \varStr ->
  88. 1745.19 s [opt-env-conf-test] case tryReaders rs varStr of
  89. 1745.19 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  90. 1745.19 s [opt-env-conf-test] Right a -> do
  91. 1745.20 s [opt-env-conf-test] debug
  92. 1745.20 s [opt-env-conf-test] [ "set based on env: ",
  93. 1745.20 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  94. 1745.20 s [opt-env-conf-test] ]
  95. 1745.20 s [opt-env-conf-test] pure a
  96. 1745.20 s [opt-env-conf-test] case listToMaybe results of
  97. 1745.20 s [opt-env-conf-test] Nothing -> do
  98. 1745.20 s [opt-env-conf-test] debug
  99. 1745.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
  100. 1745.20 s [opt-env-conf-test] @@ -349,14 +349,8 @@
  101. 1745.20 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  102. 1745.20 s [opt-env-conf-test] -- result.
  103. 1745.20 s [opt-env-conf-test] results <- for founds $ \varStr ->
  104. 1745.20 s [opt-env-conf-test] case tryReaders rs varStr of
  105. 1745.20 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  106. 1745.20 s [opt-env-conf-test] - Right a -> do
  107. 1745.20 s [opt-env-conf-test] - debug
  108. 1745.20 s [opt-env-conf-test] - [ "set based on env: ",
  109. 1745.20 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  110. 1745.20 s [opt-env-conf-test] - ]
  111. 1745.20 s [opt-env-conf-test] - pure a
  112. 1745.20 s [opt-env-conf-test] case listToMaybe results of
  113. 1745.20 s [opt-env-conf-test] Nothing -> do
  114. 1745.20 s [opt-env-conf-test] debug
  115. 1745.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  116. 1745.20 s [opt-env-conf-test] @@ -357,14 +357,8 @@
  117. 1745.20 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  118. 1745.20 s [opt-env-conf-test] ]
  119. 1745.20 s [opt-env-conf-test] pure a
  120. 1745.20 s [opt-env-conf-test] case listToMaybe results of
  121. 1745.20 s [opt-env-conf-test] - Nothing -> do
  122. 1745.20 s [opt-env-conf-test] - debug
  123. 1745.20 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  124. 1745.20 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  125. 1745.20 s [opt-env-conf-test] - ]
  126. 1745.20 s [opt-env-conf-test] - pure NotFound
  127. 1745.20 s [opt-env-conf-test] Just a -> pure $ Found a
  128. 1745.20 s [opt-env-conf-test]
  129. 1745.20 s [opt-env-conf-test] case mEnv of
  130. 1745.20 s [opt-env-conf-test] Found a -> do
  131. 1745.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  132. 1745.20 s [opt-env-conf-test] @@ -357,14 +357,13 @@
  133. 1745.20 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  134. 1745.20 s [opt-env-conf-test] ]
  135. 1745.20 s [opt-env-conf-test] pure a
  136. 1745.20 s [opt-env-conf-test] case listToMaybe results of
  137. 1745.21 s [opt-env-conf-test] Nothing -> do
  138. 1745.21 s [opt-env-conf-test] debug
  139. 1745.21 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  140. 1745.21 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  141. 1745.21 s [opt-env-conf-test] ]
  142. 1745.21 s [opt-env-conf-test] pure NotFound
  143. 1745.21 s [opt-env-conf-test] - Just a -> pure $ Found a
  144. 1745.21 s [opt-env-conf-test]
  145. 1745.21 s [opt-env-conf-test] case mEnv of
  146. 1745.21 s [opt-env-conf-test] Found a -> do
  147. 1745.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
  148. 1745.21 s [opt-env-conf-test] @@ -336,35 +336,34 @@
  149. 1745.21 s [opt-env-conf-test] pure a
  150. 1745.21 s [opt-env-conf-test] _ -> do
  151. 1745.21 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  152. 1745.21 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  153. 1745.21 s [opt-env-conf-test] - Nothing -> pure NotRun
  154. 1745.21 s [opt-env-conf-test] Just ne -> do
  155. 1745.21 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  156. 1745.21 s [opt-env-conf-test] -- always fails if it's missing a reader.
  157. 1745.21 s [opt-env-conf-test] rs <- requireReaders settingReaders
  158. 1745.21 s [opt-env-conf-test] es <- asks ppEnvEnv
  159. 1745.21 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  160. 1745.21 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  161. 1745.21 s [opt-env-conf-test] -- returning the first because we want to fail if any
  162. 1745.21 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  163. 1745.21 s [opt-env-conf-test] -- result.
  164. 1745.21 s [opt-env-conf-test] results <- for founds $ \varStr ->
  165. 1745.21 s [opt-env-conf-test] case tryReaders rs varStr of
  166. 1745.21 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  167. 1745.21 s [opt-env-conf-test] Right a -> do
  168. 1745.21 s [opt-env-conf-test] debug
  169. 1745.21 s [opt-env-conf-test] [ "set based on env: ",
  170. 1745.21 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  171. 1745.21 s [opt-env-conf-test] ]
  172. 1745.21 s [opt-env-conf-test] pure a
  173. 1745.21 s [opt-env-conf-test] case listToMaybe results of
  174. 1745.21 s [opt-env-conf-test] Nothing -> do
  175. 1745.76 s [opt-env-conf-test] debug
  176. 1745.76 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  177. 1745.76 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  178. 1745.76 s [opt-env-conf-test] ]
  179. 1745.76 s [opt-env-conf-test] pure NotFound
  180. 1745.77 s [opt-env-conf-test] Just a -> pure $ Found a
  181. 1745.77 s [opt-env-conf-test]
  182. 1745.77 s [opt-env-conf-test] case mEnv of
  183. 1745.77 s [opt-env-conf-test] Found a -> do
  184. 1745.77 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
  185. 1745.77 s [opt-env-conf-test] @@ -336,35 +336,8 @@
  186. 1745.77 s [opt-env-conf-test] pure a
  187. 1745.77 s [opt-env-conf-test] _ -> do
  188. 1745.77 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  189. 1745.77 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  190. 1745.77 s [opt-env-conf-test] Nothing -> pure NotRun
  191. 1745.77 s [opt-env-conf-test] - Just ne -> do
  192. 1745.77 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  193. 1745.77 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  194. 1745.77 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  195. 1745.77 s [opt-env-conf-test] - es <- asks ppEnvEnv
  196. 1745.77 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  197. 1745.77 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  198. 1745.77 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  199. 1745.77 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  200. 1745.77 s [opt-env-conf-test] - -- result.
  201. 1745.77 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  202. 1745.77 s [opt-env-conf-test] - case tryReaders rs varStr of
  203. 1745.77 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  204. 1745.77 s [opt-env-conf-test] - Right a -> do
  205. 1745.77 s [opt-env-conf-test] - debug
  206. 1745.77 s [opt-env-conf-test] - [ "set based on env: ",
  207. 1745.77 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  208. 1745.77 s [opt-env-conf-test] - ]
  209. 1745.77 s [opt-env-conf-test] - pure a
  210. 1745.77 s [opt-env-conf-test] - case listToMaybe results of
  211. 1745.77 s [opt-env-conf-test] - Nothing -> do
  212. 1745.77 s [opt-env-conf-test] - debug
  213. 1745.77 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  214. 1745.77 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  215. 1745.77 s [opt-env-conf-test] - ]
  216. 1748.88 s [opt-env-conf-test] - pure NotFound
  217. 1748.88 s [opt-env-conf-test] - Just a -> pure $ Found a
  218. 1748.88 s [opt-env-conf-test]
  219. 1748.88 s [opt-env-conf-test] case mEnv of
  220. 1748.88 s [opt-env-conf-test] Found a -> do
  221. 1748.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  222. 1748.88 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  223. 1748.88 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  224. 1748.88 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  225. 1748.88 s [opt-env-conf-test] Nothing -> do
  226. 1748.88 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  227. 1748.88 s [opt-env-conf-test] - Nothing -> pure Nothing
  228. 1748.88 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  229. 1748.88 s [opt-env-conf-test] Just neRest -> do
  230. 1748.88 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  231. 1748.88 s [opt-env-conf-test] case mO' of
  232. 1748.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  233. 1748.89 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  234. 1748.89 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  235. 1748.89 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  236. 1748.89 s [opt-env-conf-test] Nothing -> do
  237. 1748.89 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  238. 1748.89 s [opt-env-conf-test] Nothing -> pure Nothing
  239. 1748.89 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  240. 1748.89 s [opt-env-conf-test] Just neRest -> do
  241. 1748.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  242. 1748.89 s [opt-env-conf-test] case mO' of
  243. 1748.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  244. 1748.89 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  245. 1748.89 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  246. 1748.89 s [opt-env-conf-test] Just neRest -> do
  247. 1748.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  248. 1748.89 s [opt-env-conf-test] case mO' of
  249. 1748.89 s [opt-env-conf-test] - Nothing -> pure Nothing
  250. 1748.89 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  251. 1748.89 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  252. 1748.89 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  253. 1748.89 s [opt-env-conf-test] Right mV -> case mV of
  254. 1748.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  255. 1748.89 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  256. 1748.89 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  257. 1748.89 s [opt-env-conf-test] Just neRest -> do
  258. 1748.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  259. 1748.89 s [opt-env-conf-test] case mO' of
  260. 1748.89 s [opt-env-conf-test] Nothing -> pure Nothing
  261. 1748.89 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  262. 1748.89 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  263. 1748.89 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  264. 1748.89 s [opt-env-conf-test] Right mV -> case mV of
  265. 1748.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  266. 1748.89 s [opt-env-conf-test] @@ -383,16 +383,12 @@
  267. 1748.89 s [opt-env-conf-test] Just obj -> do
  268. 1748.89 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  269. 1748.89 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  270. 1748.89 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  271. 1748.89 s [opt-env-conf-test] - Nothing -> do
  272. 1748.89 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  273. 1748.89 s [opt-env-conf-test] - Nothing -> pure Nothing
  274. 1748.89 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  275. 1748.89 s [opt-env-conf-test] Just neRest -> do
  276. 1748.89 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  277. 1748.89 s [opt-env-conf-test] case mO' of
  278. 1748.89 s [opt-env-conf-test] Nothing -> pure Nothing
  279. 1748.89 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  280. 1748.89 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  281. 1748.89 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  282. 1748.89 s [opt-env-conf-test] Right mV -> case mV of
  283. 1748.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  284. 1748.90 s [opt-env-conf-test] @@ -383,16 +383,11 @@
  285. 1748.90 s [opt-env-conf-test] Just obj -> do
  286. 1748.90 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  287. 1748.90 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  288. 1748.90 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  289. 1748.90 s [opt-env-conf-test] Nothing -> do
  290. 1748.90 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  291. 1748.90 s [opt-env-conf-test] Nothing -> pure Nothing
  292. 1748.90 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  293. 1748.90 s [opt-env-conf-test] - Just neRest -> do
  294. 1748.90 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  295. 1748.90 s [opt-env-conf-test] - case mO' of
  296. 1748.90 s [opt-env-conf-test] - Nothing -> pure Nothing
  297. 1748.90 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  298. 1748.90 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  299. 1748.90 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  300. 1748.90 s [opt-env-conf-test] Right mV -> case mV of
  301. 1748.90 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
  302. 1748.90 s [opt-env-conf-test] @@ -416,7 +416,7 @@
  303. 1748.90 s [opt-env-conf-test] [ "set based on config value: ",
  304. 1748.90 s [opt-env-conf-test] chunk $ T.pack $ show v
  305. 1748.90 s [opt-env-conf-test] ]
  306. 1748.90 s [opt-env-conf-test] - pure $ Just a
  307. 1748.90 s [opt-env-conf-test] + pure $ Nothing
  308. 1748.90 s [opt-env-conf-test] let toRes = \case
  309. 1748.90 s [opt-env-conf-test] Nothing -> NotFound
  310. 1748.90 s [opt-env-conf-test] Just a -> Found a
  311. 1748.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  312. 1748.90 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  313. 1748.90 s [opt-env-conf-test] pure Nothing
  314. 1748.90 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  315. 1748.90 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  316. 1748.90 s [opt-env-conf-test] Right mA -> case mA of
  317. 1748.90 s [opt-env-conf-test] - Nothing -> do
  318. 1748.90 s [opt-env-conf-test] - debug
  319. 1748.90 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  320. 1748.90 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  321. 1748.90 s [opt-env-conf-test] - ]
  322. 1748.90 s [opt-env-conf-test] - pure Nothing
  323. 1748.90 s [opt-env-conf-test] Just a -> do
  324. 1748.90 s [opt-env-conf-test] debug
  325. 1751.24 s [opt-env-conf-test] [ "set based on config value: ",
  326. 1751.24 s [opt-env-conf-test] chunk $ T.pack $ show v
  327. 1751.31 s [opt-env-conf-test] ]
  328. 1751.31 s [opt-env-conf-test] pure $ Just a
  329. 1751.31 s [opt-env-conf-test] let toRes = \case
  330. 1751.31 s [opt-env-conf-test] Nothing -> NotFound
  331. 1751.31 s [opt-env-conf-test] Just a -> Found a
  332. 1751.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  333. 1751.31 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  334. 1751.31 s [opt-env-conf-test] pure Nothing
  335. 1751.31 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  336. 1751.31 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  337. 1751.31 s [opt-env-conf-test] Right mA -> case mA of
  338. 1751.31 s [opt-env-conf-test] Nothing -> do
  339. 1751.31 s [opt-env-conf-test] debug
  340. 1751.31 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  341. 1751.32 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  342. 1751.32 s [opt-env-conf-test] ]
  343. 1751.32 s [opt-env-conf-test] pure Nothing
  344. 1751.32 s [opt-env-conf-test] - Just a -> do
  345. 1751.32 s [opt-env-conf-test] - debug
  346. 1751.32 s [opt-env-conf-test] - [ "set based on config value: ",
  347. 1751.32 s [opt-env-conf-test] - chunk $ T.pack $ show v
  348. 1751.32 s [opt-env-conf-test] - ]
  349. 1751.32 s [opt-env-conf-test] - pure $ Just a
  350. 1751.32 s [opt-env-conf-test] let toRes = \case
  351. 1751.32 s [opt-env-conf-test] Nothing -> NotFound
  352. 1751.32 s [opt-env-conf-test] Just a -> Found a
  353. 1751.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  354. 1751.32 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  355. 1751.32 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  356. 1751.32 s [opt-env-conf-test] ]
  357. 1751.32 s [opt-env-conf-test] pure Nothing
  358. 1751.32 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  359. 1751.32 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  360. 1751.32 s [opt-env-conf-test] Right mA -> case mA of
  361. 1751.32 s [opt-env-conf-test] Nothing -> do
  362. 1751.32 s [opt-env-conf-test] debug
  363. 1751.32 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  364. 1751.32 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  365. 1751.32 s [opt-env-conf-test] ]
  366. 1751.32 s [opt-env-conf-test] pure Nothing
  367. 1751.32 s [opt-env-conf-test] Just a -> do
  368. 1751.32 s [opt-env-conf-test] debug
  369. 1751.32 s [opt-env-conf-test] [ "set based on config value: ",
  370. 1751.32 s [opt-env-conf-test] chunk $ T.pack $ show v
  371. 1751.32 s [opt-env-conf-test] ]
  372. 1751.33 s [opt-env-conf-test] pure $ Just a
  373. 1751.33 s [opt-env-conf-test] let toRes = \case
  374. 1751.33 s [opt-env-conf-test] Nothing -> NotFound
  375. 1751.33 s [opt-env-conf-test] Just a -> Found a
  376. 1751.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  377. 1751.33 s [opt-env-conf-test] @@ -402,21 +402,8 @@
  378. 1751.33 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  379. 1751.33 s [opt-env-conf-test] ]
  380. 1751.33 s [opt-env-conf-test] pure Nothing
  381. 1751.33 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  382. 1751.33 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  383. 1751.33 s [opt-env-conf-test] - Right mA -> case mA of
  384. 1751.33 s [opt-env-conf-test] - Nothing -> do
  385. 1751.33 s [opt-env-conf-test] - debug
  386. 1751.33 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  387. 1751.33 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  388. 1751.33 s [opt-env-conf-test] - ]
  389. 1751.33 s [opt-env-conf-test] - pure Nothing
  390. 1751.33 s [opt-env-conf-test] - Just a -> do
  391. 1751.33 s [opt-env-conf-test] - debug
  392. 1751.33 s [opt-env-conf-test] - [ "set based on config value: ",
  393. 1751.33 s [opt-env-conf-test] - chunk $ T.pack $ show v
  394. 1751.33 s [opt-env-conf-test] - ]
  395. 1751.33 s [opt-env-conf-test] - pure $ Just a
  396. 1751.33 s [opt-env-conf-test] let toRes = \case
  397. 1751.33 s [opt-env-conf-test] Nothing -> NotFound
  398. 1751.33 s [opt-env-conf-test] Just a -> Found a
  399. 1751.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  400. 1751.33 s [opt-env-conf-test] @@ -395,28 +395,22 @@
  401. 1751.33 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  402. 1751.33 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  403. 1751.33 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  404. 1751.33 s [opt-env-conf-test] Right mV -> case mV of
  405. 1751.33 s [opt-env-conf-test] - Nothing -> do
  406. 1751.33 s [opt-env-conf-test] - debug
  407. 1751.33 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  408. 1751.33 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  409. 1751.33 s [opt-env-conf-test] - ]
  410. 1751.33 s [opt-env-conf-test] - pure Nothing
  411. 1751.33 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  412. 1751.33 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  413. 1751.33 s [opt-env-conf-test] Right mA -> case mA of
  414. 1751.33 s [opt-env-conf-test] Nothing -> do
  415. 1751.34 s [opt-env-conf-test] debug
  416. 1751.34 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  417. 1751.34 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  418. 1751.34 s [opt-env-conf-test] ]
  419. 1751.34 s [opt-env-conf-test] pure Nothing
  420. 1751.34 s [opt-env-conf-test] Just a -> do
  421. 1751.34 s [opt-env-conf-test] debug
  422. 1751.34 s [opt-env-conf-test] [ "set based on config value: ",
  423. 1751.34 s [opt-env-conf-test] chunk $ T.pack $ show v
  424. 1751.34 s [opt-env-conf-test] ]
  425. 1751.35 s [opt-env-conf-test] pure $ Just a
  426. 1751.35 s [opt-env-conf-test] let toRes = \case
  427. 1751.35 s [opt-env-conf-test] Nothing -> NotFound
  428. 1751.35 s [opt-env-conf-test] Just a -> Found a
  429. 1751.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  430. 1751.35 s [opt-env-conf-test] @@ -395,28 +395,13 @@
  431. 1751.35 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  432. 1751.35 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  433. 1751.36 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  434. 1751.36 s [opt-env-conf-test] Right mV -> case mV of
  435. 1751.36 s [opt-env-conf-test] Nothing -> do
  436. 1751.36 s [opt-env-conf-test] debug
  437. 1751.36 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  438. 1751.36 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  439. 1751.36 s [opt-env-conf-test] ]
  440. 1751.36 s [opt-env-conf-test] pure Nothing
  441. 1751.36 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  442. 1751.36 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  443. 1751.36 s [opt-env-conf-test] - Right mA -> case mA of
  444. 1751.36 s [opt-env-conf-test] - Nothing -> do
  445. 1751.36 s [opt-env-conf-test] - debug
  446. 1751.36 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  447. 1751.36 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  448. 1751.36 s [opt-env-conf-test] - ]
  449. 1751.36 s [opt-env-conf-test] - pure Nothing
  450. 1751.36 s [opt-env-conf-test] - Just a -> do
  451. 1751.36 s [opt-env-conf-test] - debug
  452. 1751.36 s [opt-env-conf-test] - [ "set based on config value: ",
  453. 1751.36 s [opt-env-conf-test] - chunk $ T.pack $ show v
  454. 1752.23 s [opt-env-conf-test] - ]
  455. 1752.23 s [opt-env-conf-test] - pure $ Just a
  456. 1752.23 s [opt-env-conf-test] let toRes = \case
  457. 1752.23 s [opt-env-conf-test] Nothing -> NotFound
  458. 1752.23 s [opt-env-conf-test] Just a -> Found a
  459. 1752.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  460. 1752.23 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  461. 1752.23 s [opt-env-conf-test] case mO' of
  462. 1752.23 s [opt-env-conf-test] Nothing -> pure Nothing
  463. 1752.23 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  464. 1752.23 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  465. 1752.23 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  466. 1752.23 s [opt-env-conf-test] Right mV -> case mV of
  467. 1752.23 s [opt-env-conf-test] Nothing -> do
  468. 1752.23 s [opt-env-conf-test] debug
  469. 1752.23 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  470. 1752.23 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  471. 1752.23 s [opt-env-conf-test] ]
  472. 1752.23 s [opt-env-conf-test] pure Nothing
  473. 1752.23 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  474. 1752.23 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  475. 1752.23 s [opt-env-conf-test] Right mA -> case mA of
  476. 1752.23 s [opt-env-conf-test] Nothing -> do
  477. 1752.23 s [opt-env-conf-test] debug
  478. 1752.23 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  479. 1752.24 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  480. 1752.24 s [opt-env-conf-test] ]
  481. 1752.24 s [opt-env-conf-test] pure Nothing
  482. 1752.24 s [opt-env-conf-test] Just a -> do
  483. 1752.24 s [opt-env-conf-test] debug
  484. 1752.24 s [opt-env-conf-test] [ "set based on config value: ",
  485. 1752.85 s [opt-env-conf-test] chunk $ T.pack $ show v
  486. 1752.85 s [opt-env-conf-test] ]
  487. 1752.85 s [opt-env-conf-test] pure $ Just a
  488. 1752.85 s [opt-env-conf-test] let toRes = \case
  489. 1752.85 s [opt-env-conf-test] Nothing -> NotFound
  490. 1752.85 s [opt-env-conf-test] Just a -> Found a
  491. 1752.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  492. 1752.85 s [opt-env-conf-test] @@ -393,30 +393,8 @@
  493. 1752.85 s [opt-env-conf-test] case mO' of
  494. 1752.85 s [opt-env-conf-test] Nothing -> pure Nothing
  495. 1752.85 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  496. 1752.85 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  497. 1752.85 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  498. 1752.85 s [opt-env-conf-test] - Right mV -> case mV of
  499. 1752.85 s [opt-env-conf-test] - Nothing -> do
  500. 1752.85 s [opt-env-conf-test] - debug
  501. 1752.85 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  502. 1752.85 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  503. 1752.85 s [opt-env-conf-test] - ]
  504. 1752.85 s [opt-env-conf-test] - pure Nothing
  505. 1752.85 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  506. 1752.85 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  507. 1752.85 s [opt-env-conf-test] - Right mA -> case mA of
  508. 1752.85 s [opt-env-conf-test] - Nothing -> do
  509. 1752.85 s [opt-env-conf-test] - debug
  510. 1752.85 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  511. 1752.85 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  512. 1752.85 s [opt-env-conf-test] - ]
  513. 1752.85 s [opt-env-conf-test] - pure Nothing
  514. 1752.85 s [opt-env-conf-test] - Just a -> do
  515. 1754.02 s [opt-env-conf-test] - debug
  516. 1754.02 s [opt-env-conf-test] - [ "set based on config value: ",
  517. 1754.02 s [opt-env-conf-test] - chunk $ T.pack $ show v
  518. 1754.02 s [opt-env-conf-test] - ]
  519. 1754.02 s [opt-env-conf-test] - pure $ Just a
  520. 1754.02 s [opt-env-conf-test] let toRes = \case
  521. 1754.02 s [opt-env-conf-test] Nothing -> NotFound
  522. 1754.02 s [opt-env-conf-test] Just a -> Found a
  523. 1754.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  524. 1754.02 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  525. 1754.02 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  526. 1754.02 s [opt-env-conf-test] Just ne -> do
  527. 1754.02 s [opt-env-conf-test] res <- goConfSet confSet
  528. 1754.02 s [opt-env-conf-test] case res of
  529. 1754.02 s [opt-env-conf-test] - Just a -> pure $ Found a
  530. 1754.02 s [opt-env-conf-test] Nothing -> goConfSets ne
  531. 1754.02 s [opt-env-conf-test] goConfSets confSets
  532. 1754.02 s [opt-env-conf-test] case mConf of
  533. 1754.02 s [opt-env-conf-test] Found a -> do
  534. 1754.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  535. 1754.02 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  536. 1754.02 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  537. 1754.02 s [opt-env-conf-test] Just ne -> do
  538. 1754.02 s [opt-env-conf-test] res <- goConfSet confSet
  539. 1754.02 s [opt-env-conf-test] case res of
  540. 1754.02 s [opt-env-conf-test] Just a -> pure $ Found a
  541. 1754.02 s [opt-env-conf-test] - Nothing -> goConfSets ne
  542. 1754.02 s [opt-env-conf-test] goConfSets confSets
  543. 1754.03 s [opt-env-conf-test] case mConf of
  544. 1754.03 s [opt-env-conf-test] Found a -> do
  545. 1754.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  546. 1754.03 s [opt-env-conf-test] @@ -420,13 +420,12 @@
  547. 1754.03 s [opt-env-conf-test] let toRes = \case
  548. 1754.03 s [opt-env-conf-test] Nothing -> NotFound
  549. 1754.03 s [opt-env-conf-test] Just a -> Found a
  550. 1754.03 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  551. 1754.03 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  552. 1754.03 s [opt-env-conf-test] Just ne -> do
  553. 1754.03 s [opt-env-conf-test] res <- goConfSet confSet
  554. 1754.03 s [opt-env-conf-test] case res of
  555. 1754.03 s [opt-env-conf-test] Just a -> pure $ Found a
  556. 1754.03 s [opt-env-conf-test] Nothing -> goConfSets ne
  557. 1754.03 s [opt-env-conf-test] goConfSets confSets
  558. 1754.03 s [opt-env-conf-test] case mConf of
  559. 1754.03 s [opt-env-conf-test] Found a -> do
  560. 1754.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  561. 1754.03 s [opt-env-conf-test] @@ -420,13 +420,8 @@
  562. 1754.03 s [opt-env-conf-test] let toRes = \case
  563. 1754.03 s [opt-env-conf-test] Nothing -> NotFound
  564. 1754.03 s [opt-env-conf-test] Just a -> Found a
  565. 1754.03 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  566. 1754.03 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  567. 1754.03 s [opt-env-conf-test] - Just ne -> do
  568. 1754.03 s [opt-env-conf-test] - res <- goConfSet confSet
  569. 1754.03 s [opt-env-conf-test] - case res of
  570. 1754.03 s [opt-env-conf-test] - Just a -> pure $ Found a
  571. 1754.03 s [opt-env-conf-test] - Nothing -> goConfSets ne
  572. 1754.03 s [opt-env-conf-test] goConfSets confSets
  573. 1754.03 s [opt-env-conf-test] case mConf of
  574. 1754.03 s [opt-env-conf-test] Found a -> do
  575. 1754.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  576. 1754.03 s [opt-env-conf-test] @@ -376,58 +376,55 @@
  577. 1754.03 s [opt-env-conf-test] Nothing -> pure NotRun
  578. 1754.03 s [opt-env-conf-test] Just confSets -> do
  579. 1754.03 s [opt-env-conf-test] mObj <- asks ppEnvConf
  580. 1754.03 s [opt-env-conf-test] case mObj of
  581. 1754.03 s [opt-env-conf-test] - Nothing -> do
  582. 1754.03 s [opt-env-conf-test] - debug ["no config object to set from"]
  583. 1754.03 s [opt-env-conf-test] - pure NotFound
  584. 1754.03 s [opt-env-conf-test] Just obj -> do
  585. 1754.03 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  586. 1754.03 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  587. 1754.03 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  588. 1754.03 s [opt-env-conf-test] Nothing -> do
  589. 1754.03 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  590. 1754.03 s [opt-env-conf-test] Nothing -> pure Nothing
  591. 1754.03 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  592. 1754.03 s [opt-env-conf-test] Just neRest -> do
  593. 1754.03 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  594. 1754.03 s [opt-env-conf-test] case mO' of
  595. 1754.04 s [opt-env-conf-test] Nothing -> pure Nothing
  596. 1754.04 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  597. 1754.04 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  598. 1754.04 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  599. 1754.04 s [opt-env-conf-test] Right mV -> case mV of
  600. 1754.04 s [opt-env-conf-test] Nothing -> do
  601. 1754.04 s [opt-env-conf-test] debug
  602. 1754.04 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  603. 1754.04 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  604. 1754.04 s [opt-env-conf-test] ]
  605. 1754.04 s [opt-env-conf-test] pure Nothing
  606. 1754.04 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  607. 1754.04 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  608. 1754.04 s [opt-env-conf-test] Right mA -> case mA of
  609. 1754.04 s [opt-env-conf-test] Nothing -> do
  610. 1754.04 s [opt-env-conf-test] debug
  611. 1754.04 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  612. 1754.04 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  613. 1754.04 s [opt-env-conf-test] ]
  614. 1754.04 s [opt-env-conf-test] pure Nothing
  615. 1754.04 s [opt-env-conf-test] Just a -> do
  616. 1754.04 s [opt-env-conf-test] debug
  617. 1754.04 s [opt-env-conf-test] [ "set based on config value: ",
  618. 1754.04 s [opt-env-conf-test] chunk $ T.pack $ show v
  619. 1754.04 s [opt-env-conf-test] ]
  620. 1754.04 s [opt-env-conf-test] pure $ Just a
  621. 1754.04 s [opt-env-conf-test] let toRes = \case
  622. 1754.04 s [opt-env-conf-test] Nothing -> NotFound
  623. 1754.04 s [opt-env-conf-test] Just a -> Found a
  624. 1754.04 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  625. 1754.04 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  626. 1754.04 s [opt-env-conf-test] Just ne -> do
  627. 1754.04 s [opt-env-conf-test] res <- goConfSet confSet
  628. 1754.04 s [opt-env-conf-test] case res of
  629. 1754.04 s [opt-env-conf-test] Just a -> pure $ Found a
  630. 1754.04 s [opt-env-conf-test] Nothing -> goConfSets ne
  631. 1755.19 s [opt-env-conf-test] goConfSets confSets
  632. 1755.19 s [opt-env-conf-test] case mConf of
  633. 1755.19 s [opt-env-conf-test] Found a -> do
  634. 1755.19 s [opt-env-conf-test] markParsed
  635. 1755.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  636. 1755.19 s [opt-env-conf-test] @@ -376,58 +376,10 @@
  637. 1755.20 s [opt-env-conf-test] Nothing -> pure NotRun
  638. 1755.20 s [opt-env-conf-test] Just confSets -> do
  639. 1755.20 s [opt-env-conf-test] mObj <- asks ppEnvConf
  640. 1755.20 s [opt-env-conf-test] case mObj of
  641. 1755.20 s [opt-env-conf-test] Nothing -> do
  642. 1755.20 s [opt-env-conf-test] debug ["no config object to set from"]
  643. 1755.20 s [opt-env-conf-test] pure NotFound
  644. 1755.20 s [opt-env-conf-test] - Just obj -> do
  645. 1755.20 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  646. 1755.20 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  647. 1755.20 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  648. 1755.20 s [opt-env-conf-test] - Nothing -> do
  649. 1755.20 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  650. 1755.20 s [opt-env-conf-test] - Nothing -> pure Nothing
  651. 1755.20 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  652. 1755.20 s [opt-env-conf-test] - Just neRest -> do
  653. 1755.20 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  654. 1755.20 s [opt-env-conf-test] - case mO' of
  655. 1755.20 s [opt-env-conf-test] - Nothing -> pure Nothing
  656. 1755.20 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  657. 1755.20 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  658. 1755.20 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  659. 1755.20 s [opt-env-conf-test] - Right mV -> case mV of
  660. 1755.20 s [opt-env-conf-test] - Nothing -> do
  661. 1755.20 s [opt-env-conf-test] - debug
  662. 1755.20 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  663. 1755.20 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  664. 1755.20 s [opt-env-conf-test] - ]
  665. 1755.20 s [opt-env-conf-test] - pure Nothing
  666. 1755.20 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  667. 1755.20 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  668. 1755.20 s [opt-env-conf-test] - Right mA -> case mA of
  669. 1755.21 s [opt-env-conf-test] - Nothing -> do
  670. 1755.21 s [opt-env-conf-test] - debug
  671. 1755.21 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  672. 1755.21 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  673. 1755.21 s [opt-env-conf-test] - ]
  674. 1755.21 s [opt-env-conf-test] - pure Nothing
  675. 1755.21 s [opt-env-conf-test] - Just a -> do
  676. 1755.21 s [opt-env-conf-test] - debug
  677. 1755.21 s [opt-env-conf-test] - [ "set based on config value: ",
  678. 1755.21 s [opt-env-conf-test] - chunk $ T.pack $ show v
  679. 1755.21 s [opt-env-conf-test] - ]
  680. 1755.21 s [opt-env-conf-test] - pure $ Just a
  681. 1755.21 s [opt-env-conf-test] - let toRes = \case
  682. 1755.21 s [opt-env-conf-test] - Nothing -> NotFound
  683. 1755.21 s [opt-env-conf-test] - Just a -> Found a
  684. 1755.21 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  685. 1755.21 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  686. 1755.36 s [opt-env-conf-test] - Just ne -> do
  687. 1755.36 s [opt-env-conf-test] - res <- goConfSet confSet
  688. 1755.36 s [opt-env-conf-test] - case res of
  689. 1755.36 s [opt-env-conf-test] - Just a -> pure $ Found a
  690. 1755.36 s [opt-env-conf-test] - Nothing -> goConfSets ne
  691. 1755.36 s [opt-env-conf-test] - goConfSets confSets
  692. 1755.36 s [opt-env-conf-test] case mConf of
  693. 1755.36 s [opt-env-conf-test] Found a -> do
  694. 1755.36 s [opt-env-conf-test] markParsed
  695. 1755.36 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  696. 1755.36 s [opt-env-conf-test] @@ -372,62 +372,61 @@
  697. 1755.36 s [opt-env-conf-test] pure a
  698. 1755.36 s [opt-env-conf-test] _ -> do
  699. 1755.36 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  700. 1755.36 s [opt-env-conf-test] mConf <- case settingConfigVals of
  701. 1755.36 s [opt-env-conf-test] - Nothing -> pure NotRun
  702. 1755.36 s [opt-env-conf-test] Just confSets -> do
  703. 1755.36 s [opt-env-conf-test] mObj <- asks ppEnvConf
  704. 1755.36 s [opt-env-conf-test] case mObj of
  705. 1755.36 s [opt-env-conf-test] Nothing -> do
  706. 1755.36 s [opt-env-conf-test] debug ["no config object to set from"]
  707. 1755.36 s [opt-env-conf-test] pure NotFound
  708. 1755.36 s [opt-env-conf-test] Just obj -> do
  709. 1755.37 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  710. 1755.37 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  711. 1755.37 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  712. 1755.37 s [opt-env-conf-test] Nothing -> do
  713. 1755.37 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  714. 1755.37 s [opt-env-conf-test] Nothing -> pure Nothing
  715. 1755.37 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  716. 1755.37 s [opt-env-conf-test] Just neRest -> do
  717. 1755.37 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  718. 1755.37 s [opt-env-conf-test] case mO' of
  719. 1755.37 s [opt-env-conf-test] Nothing -> pure Nothing
  720. 1755.37 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  721. 1755.37 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  722. 1755.37 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  723. 1755.37 s [opt-env-conf-test] Right mV -> case mV of
  724. 1755.37 s [opt-env-conf-test] Nothing -> do
  725. 1755.37 s [opt-env-conf-test] debug
  726. 1755.37 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  727. 1755.37 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  728. 1755.37 s [opt-env-conf-test] ]
  729. 1755.37 s [opt-env-conf-test] pure Nothing
  730. 1755.37 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  731. 1755.37 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  732. 1755.37 s [opt-env-conf-test] Right mA -> case mA of
  733. 1755.37 s [opt-env-conf-test] Nothing -> do
  734. 1755.37 s [opt-env-conf-test] debug
  735. 1755.37 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  736. 1755.37 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  737. 1755.37 s [opt-env-conf-test] ]
  738. 1755.37 s [opt-env-conf-test] pure Nothing
  739. 1755.37 s [opt-env-conf-test] Just a -> do
  740. 1755.37 s [opt-env-conf-test] debug
  741. 1755.37 s [opt-env-conf-test] [ "set based on config value: ",
  742. 1755.38 s [opt-env-conf-test] chunk $ T.pack $ show v
  743. 1755.38 s [opt-env-conf-test] ]
  744. 1755.38 s [opt-env-conf-test] pure $ Just a
  745. 1755.38 s [opt-env-conf-test] let toRes = \case
  746. 1755.38 s [opt-env-conf-test] Nothing -> NotFound
  747. 1755.38 s [opt-env-conf-test] Just a -> Found a
  748. 1755.38 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  749. 1755.38 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  750. 1755.38 s [opt-env-conf-test] Just ne -> do
  751. 1755.38 s [opt-env-conf-test] res <- goConfSet confSet
  752. 1755.38 s [opt-env-conf-test] case res of
  753. 1756.78 s [opt-env-conf-test] Just a -> pure $ Found a
  754. 1756.86 s [opt-env-conf-test] Nothing -> goConfSets ne
  755. 1756.87 s [opt-env-conf-test] goConfSets confSets
  756. 1756.87 s [opt-env-conf-test] case mConf of
  757. 1756.87 s [opt-env-conf-test] Found a -> do
  758. 1756.87 s [opt-env-conf-test] markParsed
  759. 1756.87 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
  760. 1756.87 s [opt-env-conf-test] @@ -440,7 +440,7 @@
  761. 1756.87 s [opt-env-conf-test] Nothing -> do
  762. 1756.87 s [opt-env-conf-test] let parseResultError e res = case res of
  763. 1756.87 s [opt-env-conf-test] NotRun -> Nothing
  764. 1756.87 s [opt-env-conf-test] - NotFound -> Just e
  765. 1756.87 s [opt-env-conf-test] + NotFound -> Nothing
  766. 1756.87 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  767. 1756.87 s [opt-env-conf-test] debug ["not found"]
  768. 1756.87 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  769. 1756.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  770. 1756.87 s [opt-env-conf-test] @@ -372,62 +372,8 @@
  771. 1756.87 s [opt-env-conf-test] pure a
  772. 1756.87 s [opt-env-conf-test] _ -> do
  773. 1756.87 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  774. 1756.87 s [opt-env-conf-test] mConf <- case settingConfigVals of
  775. 1756.87 s [opt-env-conf-test] Nothing -> pure NotRun
  776. 1756.87 s [opt-env-conf-test] - Just confSets -> do
  777. 1756.87 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  778. 1756.87 s [opt-env-conf-test] - case mObj of
  779. 1756.87 s [opt-env-conf-test] - Nothing -> do
  780. 1756.87 s [opt-env-conf-test] - debug ["no config object to set from"]
  781. 1756.87 s [opt-env-conf-test] - pure NotFound
  782. 1756.87 s [opt-env-conf-test] - Just obj -> do
  783. 1756.87 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  784. 1756.87 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  785. 1756.87 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  786. 1756.87 s [opt-env-conf-test] - Nothing -> do
  787. 1756.87 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  788. 1756.87 s [opt-env-conf-test] - Nothing -> pure Nothing
  789. 1756.87 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  790. 1756.87 s [opt-env-conf-test] - Just neRest -> do
  791. 1756.88 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  792. 1756.88 s [opt-env-conf-test] - case mO' of
  793. 1756.88 s [opt-env-conf-test] - Nothing -> pure Nothing
  794. 1756.88 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  795. 1756.88 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  796. 1756.88 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  797. 1756.88 s [opt-env-conf-test] - Right mV -> case mV of
  798. 1756.88 s [opt-env-conf-test] - Nothing -> do
  799. 1756.88 s [opt-env-conf-test] - debug
  800. 1756.88 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  801. 1756.88 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  802. 1756.88 s [opt-env-conf-test] - ]
  803. 1756.88 s [opt-env-conf-test] - pure Nothing
  804. 1756.88 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  805. 1756.88 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  806. 1756.88 s [opt-env-conf-test] - Right mA -> case mA of
  807. 1756.88 s [opt-env-conf-test] - Nothing -> do
  808. 1756.88 s [opt-env-conf-test] - debug
  809. 1756.88 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  810. 1756.88 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  811. 1756.88 s [opt-env-conf-test] - ]
  812. 1756.88 s [opt-env-conf-test] - pure Nothing
  813. 1756.88 s [opt-env-conf-test] - Just a -> do
  814. 1756.88 s [opt-env-conf-test] - debug
  815. 1756.88 s [opt-env-conf-test] - [ "set based on config value: ",
  816. 1756.88 s [opt-env-conf-test] - chunk $ T.pack $ show v
  817. 1756.88 s [opt-env-conf-test] - ]
  818. 1756.88 s [opt-env-conf-test] - pure $ Just a
  819. 1756.88 s [opt-env-conf-test] - let toRes = \case
  820. 1756.88 s [opt-env-conf-test] - Nothing -> NotFound
  821. 1756.88 s [opt-env-conf-test] - Just a -> Found a
  822. 1762.16 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  823. 1762.18 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  824. 1762.18 s [opt-env-conf-test] - Just ne -> do
  825. 1762.19 s [opt-env-conf-test] - res <- goConfSet confSet
  826. 1762.19 s [opt-env-conf-test] - case res of
  827. 1762.19 s [opt-env-conf-test] - Just a -> pure $ Found a
  828. 1762.19 s [opt-env-conf-test] - Nothing -> goConfSets ne
  829. 1762.19 s [opt-env-conf-test] - goConfSets confSets
  830. 1762.19 s [opt-env-conf-test] case mConf of
  831. 1762.19 s [opt-env-conf-test] Found a -> do
  832. 1762.19 s [opt-env-conf-test] markParsed
  833. 1762.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  834. 1762.19 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  835. 1762.19 s [opt-env-conf-test] debug ["set to default value"]
  836. 1762.19 s [opt-env-conf-test] pure a -- Don't mark as parsed
  837. 1762.19 s [opt-env-conf-test] Nothing -> do
  838. 1762.19 s [opt-env-conf-test] let parseResultError e res = case res of
  839. 1762.19 s [opt-env-conf-test] - NotRun -> Nothing
  840. 1762.19 s [opt-env-conf-test] NotFound -> Just e
  841. 1762.19 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  842. 1762.19 s [opt-env-conf-test] debug ["not found"]
  843. 1762.19 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  844. 1762.19 s [opt-env-conf-test] NE.nonEmpty $
  845. 1762.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  846. 1762.19 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  847. 1762.19 s [opt-env-conf-test] debug ["set to default value"]
  848. 1762.19 s [opt-env-conf-test] pure a -- Don't mark as parsed
  849. 1762.19 s [opt-env-conf-test] Nothing -> do
  850. 1762.19 s [opt-env-conf-test] let parseResultError e res = case res of
  851. 1762.19 s [opt-env-conf-test] NotRun -> Nothing
  852. 1762.19 s [opt-env-conf-test] - NotFound -> Just e
  853. 1762.19 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  854. 1762.19 s [opt-env-conf-test] debug ["not found"]
  855. 1762.19 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  856. 1762.19 s [opt-env-conf-test] NE.nonEmpty $
  857. 1762.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  858. 1762.19 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  859. 1762.20 s [opt-env-conf-test] debug ["set to default value"]
  860. 1762.20 s [opt-env-conf-test] pure a -- Don't mark as parsed
  861. 1762.20 s [opt-env-conf-test] Nothing -> do
  862. 1762.20 s [opt-env-conf-test] let parseResultError e res = case res of
  863. 1762.20 s [opt-env-conf-test] NotRun -> Nothing
  864. 1762.20 s [opt-env-conf-test] NotFound -> Just e
  865. 1762.20 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  866. 1762.20 s [opt-env-conf-test] debug ["not found"]
  867. 1762.20 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  868. 1762.20 s [opt-env-conf-test] NE.nonEmpty $
  869. 1762.20 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  870. 1762.20 s [opt-env-conf-test] @@ -446,12 +446,7 @@
  871. 1762.20 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  872. 1762.20 s [opt-env-conf-test] NE.nonEmpty $
  873. 1762.20 s [opt-env-conf-test] catMaybes
  874. 1762.20 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  875. 1762.20 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  876. 1762.20 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  877. 1762.20 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  878. 1762.20 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  879. 1762.20 s [opt-env-conf-test] ]
  880. 1762.20 s [opt-env-conf-test]
  881. 1762.20 s [opt-env-conf-test] withCapabilities ::
  882. 1762.20 s [opt-env-conf-test] Maybe SrcLoc ->
  883. 1762.20 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  884. 1762.20 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  885. 1762.20 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  886. 1762.20 s [opt-env-conf-test] NE.nonEmpty $
  887. 1762.20 s [opt-env-conf-test] catMaybes
  888. 1762.20 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  889. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  890. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  891. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  892. 1762.20 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  893. 1762.20 s [opt-env-conf-test] ]
  894. 1762.20 s [opt-env-conf-test]
  895. 1762.20 s [opt-env-conf-test] withCapabilities ::
  896. 1762.20 s [opt-env-conf-test] Maybe SrcLoc ->
  897. 1762.20 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  898. 1762.20 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  899. 1762.20 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  900. 1762.20 s [opt-env-conf-test] NE.nonEmpty $
  901. 1762.20 s [opt-env-conf-test] catMaybes
  902. 1762.20 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  903. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  904. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  905. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  906. 1762.20 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  907. 1762.20 s [opt-env-conf-test] ]
  908. 1762.20 s [opt-env-conf-test]
  909. 1762.21 s [opt-env-conf-test] withCapabilities ::
  910. 1762.21 s [opt-env-conf-test] Maybe SrcLoc ->
  911. 1762.21 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  912. 1762.21 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  913. 1762.21 s [opt-env-conf-test] Just (a, _) -> do
  914. 1762.21 s [opt-env-conf-test] debug ["set to default value"]
  915. 1762.21 s [opt-env-conf-test] pure a -- Don't mark as parsed
  916. 1762.21 s [opt-env-conf-test] Nothing -> do
  917. 1762.21 s [opt-env-conf-test] let parseResultError e res = case res of
  918. 1762.21 s [opt-env-conf-test] NotRun -> Nothing
  919. 1762.21 s [opt-env-conf-test] NotFound -> Just e
  920. 1762.21 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  921. 1762.21 s [opt-env-conf-test] - debug ["not found"]
  922. 1762.21 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  923. 1762.21 s [opt-env-conf-test] NE.nonEmpty $
  924. 1762.21 s [opt-env-conf-test] catMaybes
  925. 1762.21 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  926. 1762.21 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  927. 1762.21 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  928. 1762.21 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  929. 1762.21 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  930. 1762.21 s [opt-env-conf-test] ]
  931. 1762.21 s [opt-env-conf-test]
  932. 1762.21 s [opt-env-conf-test] withCapabilities ::
  933. 1762.21 s [opt-env-conf-test] Maybe SrcLoc ->
  934. 1762.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  935. 1762.21 s [opt-env-conf-test] @@ -433,25 +433,22 @@
  936. 1762.21 s [opt-env-conf-test] markParsed
  937. 1762.21 s [opt-env-conf-test] pure a
  938. 1762.21 s [opt-env-conf-test] _ ->
  939. 1762.21 s [opt-env-conf-test] case settingDefaultValue of
  940. 1762.21 s [opt-env-conf-test] - Just (a, _) -> do
  941. 1762.21 s [opt-env-conf-test] - debug ["set to default value"]
  942. 1762.21 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  943. 1762.21 s [opt-env-conf-test] Nothing -> do
  944. 1762.21 s [opt-env-conf-test] let parseResultError e res = case res of
  945. 1762.21 s [opt-env-conf-test] NotRun -> Nothing
  946. 1762.21 s [opt-env-conf-test] NotFound -> Just e
  947. 1762.21 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  948. 1762.21 s [opt-env-conf-test] debug ["not found"]
  949. 1762.21 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  950. 1762.21 s [opt-env-conf-test] NE.nonEmpty $
  951. 1762.44 s [opt-env-conf-test] catMaybes
  952. 1762.44 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  953. 1762.44 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  954. 1762.44 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  955. 1762.44 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  956. 1762.44 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  957. 1762.44 s [opt-env-conf-test] ]
  958. 1762.44 s [opt-env-conf-test]
  959. 1762.44 s [opt-env-conf-test] withCapabilities ::
  960. 1762.44 s [opt-env-conf-test] Maybe SrcLoc ->
  961. 1762.44 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  962. 1762.44 s [opt-env-conf-test] @@ -433,25 +433,10 @@
  963. 1762.44 s [opt-env-conf-test] markParsed
  964. 1762.44 s [opt-env-conf-test] pure a
  965. 1762.44 s [opt-env-conf-test] _ ->
  966. 1762.44 s [opt-env-conf-test] case settingDefaultValue of
  967. 1762.44 s [opt-env-conf-test] Just (a, _) -> do
  968. 1762.44 s [opt-env-conf-test] debug ["set to default value"]
  969. 1762.45 s [opt-env-conf-test] pure a -- Don't mark as parsed
  970. 1762.45 s [opt-env-conf-test] - Nothing -> do
  971. 1762.45 s [opt-env-conf-test] - let parseResultError e res = case res of
  972. 1762.45 s [opt-env-conf-test] - NotRun -> Nothing
  973. 1762.45 s [opt-env-conf-test] - NotFound -> Just e
  974. 1762.45 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  975. 1762.45 s [opt-env-conf-test] - debug ["not found"]
  976. 1762.45 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  977. 1762.45 s [opt-env-conf-test] - NE.nonEmpty $
  978. 1762.45 s [opt-env-conf-test] - catMaybes
  979. 1762.45 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  980. 1762.45 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  981. 1762.45 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  982. 1762.45 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  983. 1762.45 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  984. 1762.45 s [opt-env-conf-test] - ]
  985. 1762.45 s [opt-env-conf-test]
  986. 1762.45 s [opt-env-conf-test] withCapabilities ::
  987. 1762.45 s [opt-env-conf-test] Maybe SrcLoc ->
  988. 1762.45 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  989. 1762.45 s [opt-env-conf-test] @@ -366,92 +366,89 @@
  990. 1762.45 s [opt-env-conf-test] pure NotFound
  991. 1762.45 s [opt-env-conf-test] Just a -> pure $ Found a
  992. 1762.45 s [opt-env-conf-test]
  993. 1762.45 s [opt-env-conf-test] case mEnv of
  994. 1762.45 s [opt-env-conf-test] - Found a -> do
  995. 1762.45 s [opt-env-conf-test] - markParsed
  996. 1762.45 s [opt-env-conf-test] - pure a
  997. 1762.45 s [opt-env-conf-test] _ -> do
  998. 1762.45 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  999. 1762.45 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1000. 1762.45 s [opt-env-conf-test] Nothing -> pure NotRun
  1001. 1762.45 s [opt-env-conf-test] Just confSets -> do
  1002. 1762.45 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1003. 1762.45 s [opt-env-conf-test] case mObj of
  1004. 1762.45 s [opt-env-conf-test] Nothing -> do
  1005. 1762.45 s [opt-env-conf-test] debug ["no config object to set from"]
  1006. 1762.45 s [opt-env-conf-test] pure NotFound
  1007. 1762.45 s [opt-env-conf-test] Just obj -> do
  1008. 1762.45 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1009. 1762.45 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1010. 1762.45 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1011. 1762.45 s [opt-env-conf-test] Nothing -> do
  1012. 1762.45 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1013. 1762.45 s [opt-env-conf-test] Nothing -> pure Nothing
  1014. 1762.45 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1015. 1762.45 s [opt-env-conf-test] Just neRest -> do
  1016. 1762.45 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1017. 1762.45 s [opt-env-conf-test] case mO' of
  1018. 1762.45 s [opt-env-conf-test] Nothing -> pure Nothing
  1019. 1762.45 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1020. 1762.45 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1021. 1762.45 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1022. 1762.45 s [opt-env-conf-test] Right mV -> case mV of
  1023. 1762.45 s [opt-env-conf-test] Nothing -> do
  1024. 1762.46 s [opt-env-conf-test] debug
  1025. 1762.46 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1026. 1762.46 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1027. 1762.46 s [opt-env-conf-test] ]
  1028. 1762.46 s [opt-env-conf-test] pure Nothing
  1029. 1762.46 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1030. 1762.46 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1031. 1762.46 s [opt-env-conf-test] Right mA -> case mA of
  1032. 1762.46 s [opt-env-conf-test] Nothing -> do
  1033. 1762.46 s [opt-env-conf-test] debug
  1034. 1762.46 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1035. 1762.46 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1036. 1762.46 s [opt-env-conf-test] ]
  1037. 1762.46 s [opt-env-conf-test] pure Nothing
  1038. 1762.46 s [opt-env-conf-test] Just a -> do
  1039. 1762.46 s [opt-env-conf-test] debug
  1040. 1762.46 s [opt-env-conf-test] [ "set based on config value: ",
  1041. 1762.46 s [opt-env-conf-test] chunk $ T.pack $ show v
  1042. 1762.46 s [opt-env-conf-test] ]
  1043. 1762.46 s [opt-env-conf-test] pure $ Just a
  1044. 1762.46 s [opt-env-conf-test] let toRes = \case
  1045. 1762.46 s [opt-env-conf-test] Nothing -> NotFound
  1046. 1762.46 s [opt-env-conf-test] Just a -> Found a
  1047. 1762.46 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1048. 1762.96 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1049. 1762.96 s [opt-env-conf-test] Just ne -> do
  1050. 1762.96 s [opt-env-conf-test] res <- goConfSet confSet
  1051. 1762.96 s [opt-env-conf-test] case res of
  1052. 1762.96 s [opt-env-conf-test] Just a -> pure $ Found a
  1053. 1762.96 s [opt-env-conf-test] Nothing -> goConfSets ne
  1054. 1762.96 s [opt-env-conf-test] goConfSets confSets
  1055. 1762.96 s [opt-env-conf-test] case mConf of
  1056. 1762.96 s [opt-env-conf-test] Found a -> do
  1057. 1762.96 s [opt-env-conf-test] markParsed
  1058. 1762.96 s [opt-env-conf-test] pure a
  1059. 1762.96 s [opt-env-conf-test] _ ->
  1060. 1762.96 s [opt-env-conf-test] case settingDefaultValue of
  1061. 1762.96 s [opt-env-conf-test] Just (a, _) -> do
  1062. 1762.96 s [opt-env-conf-test] debug ["set to default value"]
  1063. 1762.97 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1064. 1762.97 s [opt-env-conf-test] Nothing -> do
  1065. 1762.97 s [opt-env-conf-test] let parseResultError e res = case res of
  1066. 1762.97 s [opt-env-conf-test] NotRun -> Nothing
  1067. 1762.97 s [opt-env-conf-test] NotFound -> Just e
  1068. 1762.97 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1069. 1762.97 s [opt-env-conf-test] debug ["not found"]
  1070. 1762.97 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1071. 1762.97 s [opt-env-conf-test] NE.nonEmpty $
  1072. 1762.97 s [opt-env-conf-test] catMaybes
  1073. 1762.97 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1074. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1075. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1076. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1077. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1078. 1762.97 s [opt-env-conf-test] ]
  1079. 1762.97 s [opt-env-conf-test]
  1080. 1762.97 s [opt-env-conf-test] withCapabilities ::
  1081. 1762.97 s [opt-env-conf-test] Maybe SrcLoc ->
  1082. 1762.97 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  1083. 1762.97 s [opt-env-conf-test] @@ -428,30 +428,27 @@
  1084. 1762.97 s [opt-env-conf-test] Just a -> pure $ Found a
  1085. 1762.97 s [opt-env-conf-test] Nothing -> goConfSets ne
  1086. 1762.97 s [opt-env-conf-test] goConfSets confSets
  1087. 1762.97 s [opt-env-conf-test] case mConf of
  1088. 1762.97 s [opt-env-conf-test] - Found a -> do
  1089. 1762.97 s [opt-env-conf-test] - markParsed
  1090. 1762.97 s [opt-env-conf-test] - pure a
  1091. 1762.97 s [opt-env-conf-test] _ ->
  1092. 1762.97 s [opt-env-conf-test] case settingDefaultValue of
  1093. 1762.97 s [opt-env-conf-test] Just (a, _) -> do
  1094. 1762.97 s [opt-env-conf-test] debug ["set to default value"]
  1095. 1762.97 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1096. 1762.97 s [opt-env-conf-test] Nothing -> do
  1097. 1762.97 s [opt-env-conf-test] let parseResultError e res = case res of
  1098. 1762.97 s [opt-env-conf-test] NotRun -> Nothing
  1099. 1762.97 s [opt-env-conf-test] NotFound -> Just e
  1100. 1762.97 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1101. 1762.97 s [opt-env-conf-test] debug ["not found"]
  1102. 1762.97 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1103. 1762.97 s [opt-env-conf-test] NE.nonEmpty $
  1104. 1762.97 s [opt-env-conf-test] catMaybes
  1105. 1762.97 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1106. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1107. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1108. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1109. 1762.97 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1110. 1762.97 s [opt-env-conf-test] ]
  1111. 1762.97 s [opt-env-conf-test]
  1112. 1762.97 s [opt-env-conf-test] withCapabilities ::
  1113. 1762.97 s [opt-env-conf-test] Maybe SrcLoc ->
  1114. 1762.97 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  1115. 1762.97 s [opt-env-conf-test] @@ -428,30 +428,10 @@
  1116. 1762.98 s [opt-env-conf-test] Just a -> pure $ Found a
  1117. 1762.98 s [opt-env-conf-test] Nothing -> goConfSets ne
  1118. 1762.98 s [opt-env-conf-test] goConfSets confSets
  1119. 1762.98 s [opt-env-conf-test] case mConf of
  1120. 1762.98 s [opt-env-conf-test] Found a -> do
  1121. 1762.98 s [opt-env-conf-test] markParsed
  1122. 1762.98 s [opt-env-conf-test] pure a
  1123. 1762.98 s [opt-env-conf-test] - _ ->
  1124. 1762.98 s [opt-env-conf-test] - case settingDefaultValue of
  1125. 1762.98 s [opt-env-conf-test] - Just (a, _) -> do
  1126. 1762.98 s [opt-env-conf-test] - debug ["set to default value"]
  1127. 1762.98 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1128. 1762.98 s [opt-env-conf-test] - Nothing -> do
  1129. 1762.98 s [opt-env-conf-test] - let parseResultError e res = case res of
  1130. 1762.98 s [opt-env-conf-test] - NotRun -> Nothing
  1131. 1762.98 s [opt-env-conf-test] - NotFound -> Just e
  1132. 1762.98 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1133. 1762.98 s [opt-env-conf-test] - debug ["not found"]
  1134. 1762.98 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1135. 1762.98 s [opt-env-conf-test] - NE.nonEmpty $
  1136. 1762.98 s [opt-env-conf-test] - catMaybes
  1137. 1762.98 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1138. 1762.98 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1139. 1762.98 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1140. 1762.98 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1141. 1762.98 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1142. 1762.98 s [opt-env-conf-test] - ]
  1143. 1762.98 s [opt-env-conf-test]
  1144. 1762.98 s [opt-env-conf-test] withCapabilities ::
  1145. 1763.59 s [opt-env-conf-test] Maybe SrcLoc ->
  1146. 1763.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  1147. 1763.59 s [opt-env-conf-test] @@ -366,92 +366,10 @@
  1148. 1763.59 s [opt-env-conf-test] pure NotFound
  1149. 1763.59 s [opt-env-conf-test] Just a -> pure $ Found a
  1150. 1763.59 s [opt-env-conf-test]
  1151. 1763.59 s [opt-env-conf-test] case mEnv of
  1152. 1763.59 s [opt-env-conf-test] Found a -> do
  1153. 1763.59 s [opt-env-conf-test] markParsed
  1154. 1763.59 s [opt-env-conf-test] pure a
  1155. 1763.59 s [opt-env-conf-test] - _ -> do
  1156. 1763.59 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  1157. 1763.59 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  1158. 1763.59 s [opt-env-conf-test] - Nothing -> pure NotRun
  1159. 1763.60 s [opt-env-conf-test] - Just confSets -> do
  1160. 1763.60 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1161. 1763.60 s [opt-env-conf-test] - case mObj of
  1162. 1763.60 s [opt-env-conf-test] - Nothing -> do
  1163. 1763.60 s [opt-env-conf-test] - debug ["no config object to set from"]
  1164. 1763.60 s [opt-env-conf-test] - pure NotFound
  1165. 1763.60 s [opt-env-conf-test] - Just obj -> do
  1166. 1763.60 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1167. 1763.60 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1168. 1763.60 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1169. 1763.60 s [opt-env-conf-test] - Nothing -> do
  1170. 1763.60 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1171. 1763.60 s [opt-env-conf-test] - Nothing -> pure Nothing
  1172. 1763.60 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1173. 1763.60 s [opt-env-conf-test] - Just neRest -> do
  1174. 1763.60 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1175. 1763.60 s [opt-env-conf-test] - case mO' of
  1176. 1763.60 s [opt-env-conf-test] - Nothing -> pure Nothing
  1177. 1763.60 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1178. 1763.60 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1179. 1763.60 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1180. 1763.60 s [opt-env-conf-test] - Right mV -> case mV of
  1181. 1763.60 s [opt-env-conf-test] - Nothing -> do
  1182. 1763.60 s [opt-env-conf-test] - debug
  1183. 1763.60 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1184. 1763.60 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1185. 1763.60 s [opt-env-conf-test] - ]
  1186. 1763.60 s [opt-env-conf-test] - pure Nothing
  1187. 1763.60 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1188. 1763.60 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1189. 1763.60 s [opt-env-conf-test] - Right mA -> case mA of
  1190. 1763.60 s [opt-env-conf-test] - Nothing -> do
  1191. 1763.60 s [opt-env-conf-test] - debug
  1192. 1763.60 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1193. 1763.60 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1194. 1763.61 s [opt-env-conf-test] - ]
  1195. 1763.61 s [opt-env-conf-test] - pure Nothing
  1196. 1763.61 s [opt-env-conf-test] - Just a -> do
  1197. 1763.61 s [opt-env-conf-test] - debug
  1198. 1763.61 s [opt-env-conf-test] - [ "set based on config value: ",
  1199. 1763.61 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1200. 1763.61 s [opt-env-conf-test] - ]
  1201. 1763.61 s [opt-env-conf-test] - pure $ Just a
  1202. 1763.61 s [opt-env-conf-test] - let toRes = \case
  1203. 1763.61 s [opt-env-conf-test] - Nothing -> NotFound
  1204. 1763.61 s [opt-env-conf-test] - Just a -> Found a
  1205. 1763.61 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1206. 1763.61 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1207. 1763.61 s [opt-env-conf-test] - Just ne -> do
  1208. 1763.61 s [opt-env-conf-test] - res <- goConfSet confSet
  1209. 1763.61 s [opt-env-conf-test] - case res of
  1210. 1763.61 s [opt-env-conf-test] - Just a -> pure $ Found a
  1211. 1763.61 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1212. 1763.61 s [opt-env-conf-test] - goConfSets confSets
  1213. 1763.61 s [opt-env-conf-test] - case mConf of
  1214. 1763.61 s [opt-env-conf-test] - Found a -> do
  1215. 1763.61 s [opt-env-conf-test] - markParsed
  1216. 1763.61 s [opt-env-conf-test] - pure a
  1217. 1763.61 s [opt-env-conf-test] - _ ->
  1218. 1763.61 s [opt-env-conf-test] - case settingDefaultValue of
  1219. 1763.61 s [opt-env-conf-test] - Just (a, _) -> do
  1220. 1763.61 s [opt-env-conf-test] - debug ["set to default value"]
  1221. 1763.61 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1222. 1763.61 s [opt-env-conf-test] - Nothing -> do
  1223. 1763.61 s [opt-env-conf-test] - let parseResultError e res = case res of
  1224. 1763.61 s [opt-env-conf-test] - NotRun -> Nothing
  1225. 1763.61 s [opt-env-conf-test] - NotFound -> Just e
  1226. 1763.61 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1227. 1763.61 s [opt-env-conf-test] - debug ["not found"]
  1228. 1763.61 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1229. 1763.61 s [opt-env-conf-test] - NE.nonEmpty $
  1230. 1763.61 s [opt-env-conf-test] - catMaybes
  1231. 1764.73 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1232. 1764.73 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1233. 1764.73 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1234. 1764.73 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1235. 1764.73 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1236. 1764.74 s [opt-env-conf-test] - ]
  1237. 1764.74 s [opt-env-conf-test]
  1238. 1764.74 s [opt-env-conf-test] withCapabilities ::
  1239. 1764.74 s [opt-env-conf-test] Maybe SrcLoc ->
  1240. 1764.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  1241. 1764.74 s [opt-env-conf-test] @@ -330,128 +330,125 @@
  1242. 1764.74 s [opt-env-conf-test] pure $ Found a
  1243. 1764.74 s [opt-env-conf-test] else pure NotRun
  1244. 1764.74 s [opt-env-conf-test]
  1245. 1764.74 s [opt-env-conf-test] case mOpt of
  1246. 1764.74 s [opt-env-conf-test] - Found a -> do
  1247. 1764.74 s [opt-env-conf-test] - markParsed
  1248. 1764.74 s [opt-env-conf-test] - pure a
  1249. 1764.74 s [opt-env-conf-test] _ -> do
  1250. 1764.74 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1251. 1764.74 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1252. 1764.74 s [opt-env-conf-test] Nothing -> pure NotRun
  1253. 1764.74 s [opt-env-conf-test] Just ne -> do
  1254. 1764.74 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1255. 1764.74 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1256. 1764.74 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1257. 1764.74 s [opt-env-conf-test] es <- asks ppEnvEnv
  1258. 1764.74 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1259. 1764.74 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1260. 1764.74 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1261. 1764.74 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1262. 1764.74 s [opt-env-conf-test] -- result.
  1263. 1764.74 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1264. 1764.74 s [opt-env-conf-test] case tryReaders rs varStr of
  1265. 1764.74 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1266. 1764.74 s [opt-env-conf-test] Right a -> do
  1267. 1764.74 s [opt-env-conf-test] debug
  1268. 1764.74 s [opt-env-conf-test] [ "set based on env: ",
  1269. 1764.74 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1270. 1764.74 s [opt-env-conf-test] ]
  1271. 1764.74 s [opt-env-conf-test] pure a
  1272. 1764.75 s [opt-env-conf-test] case listToMaybe results of
  1273. 1764.75 s [opt-env-conf-test] Nothing -> do
  1274. 1764.75 s [opt-env-conf-test] debug
  1275. 1764.75 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1276. 1764.75 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1277. 1764.75 s [opt-env-conf-test] ]
  1278. 1764.75 s [opt-env-conf-test] pure NotFound
  1279. 1764.75 s [opt-env-conf-test] Just a -> pure $ Found a
  1280. 1764.75 s [opt-env-conf-test]
  1281. 1764.75 s [opt-env-conf-test] case mEnv of
  1282. 1764.75 s [opt-env-conf-test] Found a -> do
  1283. 1764.75 s [opt-env-conf-test] markParsed
  1284. 1764.75 s [opt-env-conf-test] pure a
  1285. 1764.75 s [opt-env-conf-test] _ -> do
  1286. 1764.75 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1287. 1764.75 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1288. 1764.75 s [opt-env-conf-test] Nothing -> pure NotRun
  1289. 1764.75 s [opt-env-conf-test] Just confSets -> do
  1290. 1764.75 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1291. 1764.75 s [opt-env-conf-test] case mObj of
  1292. 1764.75 s [opt-env-conf-test] Nothing -> do
  1293. 1764.75 s [opt-env-conf-test] debug ["no config object to set from"]
  1294. 1764.75 s [opt-env-conf-test] pure NotFound
  1295. 1764.75 s [opt-env-conf-test] Just obj -> do
  1296. 1764.75 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1297. 1764.75 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1298. 1764.75 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1299. 1764.75 s [opt-env-conf-test] Nothing -> do
  1300. 1764.75 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1301. 1764.75 s [opt-env-conf-test] Nothing -> pure Nothing
  1302. 1764.75 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1303. 1764.75 s [opt-env-conf-test] Just neRest -> do
  1304. 1764.75 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1305. 1764.75 s [opt-env-conf-test] case mO' of
  1306. 1764.75 s [opt-env-conf-test] Nothing -> pure Nothing
  1307. 1764.75 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1308. 1764.75 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1309. 1764.75 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1310. 1764.75 s [opt-env-conf-test] Right mV -> case mV of
  1311. 1764.75 s [opt-env-conf-test] Nothing -> do
  1312. 1764.75 s [opt-env-conf-test] debug
  1313. 1764.75 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1314. 1764.75 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1315. 1764.75 s [opt-env-conf-test] ]
  1316. 1764.75 s [opt-env-conf-test] pure Nothing
  1317. 1764.75 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1318. 1764.75 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1319. 1764.75 s [opt-env-conf-test] Right mA -> case mA of
  1320. 1764.75 s [opt-env-conf-test] Nothing -> do
  1321. 1764.75 s [opt-env-conf-test] debug
  1322. 1764.75 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1323. 1764.75 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1324. 1764.75 s [opt-env-conf-test] ]
  1325. 1764.75 s [opt-env-conf-test] pure Nothing
  1326. 1764.75 s [opt-env-conf-test] Just a -> do
  1327. 1764.75 s [opt-env-conf-test] debug
  1328. 1764.75 s [opt-env-conf-test] [ "set based on config value: ",
  1329. 1764.75 s [opt-env-conf-test] chunk $ T.pack $ show v
  1330. 1764.75 s [opt-env-conf-test] ]
  1331. 1764.75 s [opt-env-conf-test] pure $ Just a
  1332. 1764.75 s [opt-env-conf-test] let toRes = \case
  1333. 1764.75 s [opt-env-conf-test] Nothing -> NotFound
  1334. 1764.75 s [opt-env-conf-test] Just a -> Found a
  1335. 1764.76 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1336. 1764.76 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1337. 1764.76 s [opt-env-conf-test] Just ne -> do
  1338. 1765.55 s [opt-env-conf-test] res <- goConfSet confSet
  1339. 1765.55 s [opt-env-conf-test] case res of
  1340. 1765.55 s [opt-env-conf-test] Just a -> pure $ Found a
  1341. 1765.55 s [opt-env-conf-test] Nothing -> goConfSets ne
  1342. 1765.55 s [opt-env-conf-test] goConfSets confSets
  1343. 1765.55 s [opt-env-conf-test] case mConf of
  1344. 1765.55 s [opt-env-conf-test] Found a -> do
  1345. 1765.55 s [opt-env-conf-test] markParsed
  1346. 1765.55 s [opt-env-conf-test] pure a
  1347. 1765.55 s [opt-env-conf-test] _ ->
  1348. 1765.56 s [opt-env-conf-test] case settingDefaultValue of
  1349. 1765.56 s [opt-env-conf-test] Just (a, _) -> do
  1350. 1765.56 s [opt-env-conf-test] debug ["set to default value"]
  1351. 1765.56 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1352. 1765.56 s [opt-env-conf-test] Nothing -> do
  1353. 1765.56 s [opt-env-conf-test] let parseResultError e res = case res of
  1354. 1765.56 s [opt-env-conf-test] NotRun -> Nothing
  1355. 1765.56 s [opt-env-conf-test] NotFound -> Just e
  1356. 1765.56 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1357. 1765.56 s [opt-env-conf-test] debug ["not found"]
  1358. 1765.56 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1359. 1765.56 s [opt-env-conf-test] NE.nonEmpty $
  1360. 1765.56 s [opt-env-conf-test] catMaybes
  1361. 1765.56 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1362. 1765.56 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1363. 1765.56 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1364. 1765.56 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1365. 1765.56 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1366. 1765.56 s [opt-env-conf-test] ]
  1367. 1765.56 s [opt-env-conf-test]
  1368. 1765.56 s [opt-env-conf-test] withCapabilities ::
  1369. 1765.56 s [opt-env-conf-test] Maybe SrcLoc ->
  1370. 1765.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  1371. 1765.56 s [opt-env-conf-test] @@ -330,128 +330,10 @@
  1372. 1765.56 s [opt-env-conf-test] pure $ Found a
  1373. 1765.56 s [opt-env-conf-test] else pure NotRun
  1374. 1765.56 s [opt-env-conf-test]
  1375. 1765.56 s [opt-env-conf-test] case mOpt of
  1376. 1765.56 s [opt-env-conf-test] Found a -> do
  1377. 1765.56 s [opt-env-conf-test] markParsed
  1378. 1765.56 s [opt-env-conf-test] pure a
  1379. 1765.56 s [opt-env-conf-test] - _ -> do
  1380. 1765.56 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  1381. 1765.56 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  1382. 1765.56 s [opt-env-conf-test] - Nothing -> pure NotRun
  1383. 1765.56 s [opt-env-conf-test] - Just ne -> do
  1384. 1765.56 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  1385. 1765.56 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1386. 1765.56 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1387. 1765.56 s [opt-env-conf-test] - es <- asks ppEnvEnv
  1388. 1765.56 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1389. 1765.56 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  1390. 1765.56 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  1391. 1765.56 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  1392. 1765.56 s [opt-env-conf-test] - -- result.
  1393. 1765.56 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  1394. 1765.56 s [opt-env-conf-test] - case tryReaders rs varStr of
  1395. 1765.56 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1396. 1765.56 s [opt-env-conf-test] - Right a -> do
  1397. 1765.56 s [opt-env-conf-test] - debug
  1398. 1765.56 s [opt-env-conf-test] - [ "set based on env: ",
  1399. 1765.57 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1400. 1765.57 s [opt-env-conf-test] - ]
  1401. 1765.57 s [opt-env-conf-test] - pure a
  1402. 1765.57 s [opt-env-conf-test] - case listToMaybe results of
  1403. 1765.57 s [opt-env-conf-test] - Nothing -> do
  1404. 1765.57 s [opt-env-conf-test] - debug
  1405. 1765.57 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  1406. 1765.57 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1407. 1765.57 s [opt-env-conf-test] - ]
  1408. 1765.57 s [opt-env-conf-test] - pure NotFound
  1409. 1765.57 s [opt-env-conf-test] - Just a -> pure $ Found a
  1410. 1765.57 s [opt-env-conf-test] -
  1411. 1765.57 s [opt-env-conf-test] - case mEnv of
  1412. 1765.57 s [opt-env-conf-test] - Found a -> do
  1413. 1765.57 s [opt-env-conf-test] - markParsed
  1414. 1765.57 s [opt-env-conf-test] - pure a
  1415. 1765.57 s [opt-env-conf-test] - _ -> do
  1416. 1765.57 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  1417. 1765.57 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  1418. 1765.57 s [opt-env-conf-test] - Nothing -> pure NotRun
  1419. 1765.57 s [opt-env-conf-test] - Just confSets -> do
  1420. 1765.57 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1421. 1765.57 s [opt-env-conf-test] - case mObj of
  1422. 1765.57 s [opt-env-conf-test] - Nothing -> do
  1423. 1765.57 s [opt-env-conf-test] - debug ["no config object to set from"]
  1424. 1765.57 s [opt-env-conf-test] - pure NotFound
  1425. 1765.57 s [opt-env-conf-test] - Just obj -> do
  1426. 1765.57 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1427. 1765.57 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1428. 1765.57 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1429. 1765.57 s [opt-env-conf-test] - Nothing -> do
  1430. 1765.57 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1431. 1765.57 s [opt-env-conf-test] - Nothing -> pure Nothing
  1432. 1765.57 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1433. 1765.57 s [opt-env-conf-test] - Just neRest -> do
  1434. 1765.57 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1435. 1765.57 s [opt-env-conf-test] - case mO' of
  1436. 1765.57 s [opt-env-conf-test] - Nothing -> pure Nothing
  1437. 1765.57 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1438. 1765.57 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1439. 1765.57 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1440. 1765.57 s [opt-env-conf-test] - Right mV -> case mV of
  1441. 1765.57 s [opt-env-conf-test] - Nothing -> do
  1442. 1765.57 s [opt-env-conf-test] - debug
  1443. 1765.57 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1444. 1765.57 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1445. 1765.57 s [opt-env-conf-test] - ]
  1446. 1765.57 s [opt-env-conf-test] - pure Nothing
  1447. 1765.57 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1448. 1765.57 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1449. 1765.57 s [opt-env-conf-test] - Right mA -> case mA of
  1450. 1765.57 s [opt-env-conf-test] - Nothing -> do
  1451. 1765.57 s [opt-env-conf-test] - debug
  1452. 1765.57 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1453. 1765.57 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1454. 1765.57 s [opt-env-conf-test] - ]
  1455. 1765.57 s [opt-env-conf-test] - pure Nothing
  1456. 1765.57 s [opt-env-conf-test] - Just a -> do
  1457. 1765.57 s [opt-env-conf-test] - debug
  1458. 1765.57 s [opt-env-conf-test] - [ "set based on config value: ",
  1459. 1765.57 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1460. 1765.57 s [opt-env-conf-test] - ]
  1461. 1765.58 s [opt-env-conf-test] - pure $ Just a
  1462. 1765.58 s [opt-env-conf-test] - let toRes = \case
  1463. 1765.58 s [opt-env-conf-test] - Nothing -> NotFound
  1464. 1765.58 s [opt-env-conf-test] - Just a -> Found a
  1465. 1765.58 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1466. 1765.58 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1467. 1765.58 s [opt-env-conf-test] - Just ne -> do
  1468. 1765.58 s [opt-env-conf-test] - res <- goConfSet confSet
  1469. 1765.58 s [opt-env-conf-test] - case res of
  1470. 1765.58 s [opt-env-conf-test] - Just a -> pure $ Found a
  1471. 1765.58 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1472. 1765.58 s [opt-env-conf-test] - goConfSets confSets
  1473. 1765.58 s [opt-env-conf-test] - case mConf of
  1474. 1765.58 s [opt-env-conf-test] - Found a -> do
  1475. 1765.58 s [opt-env-conf-test] - markParsed
  1476. 1765.58 s [opt-env-conf-test] - pure a
  1477. 1765.58 s [opt-env-conf-test] - _ ->
  1478. 1765.58 s [opt-env-conf-test] - case settingDefaultValue of
  1479. 1765.58 s [opt-env-conf-test] - Just (a, _) -> do
  1480. 1765.58 s [opt-env-conf-test] - debug ["set to default value"]
  1481. 1765.58 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1482. 1765.58 s [opt-env-conf-test] - Nothing -> do
  1483. 1765.58 s [opt-env-conf-test] - let parseResultError e res = case res of
  1484. 1765.58 s [opt-env-conf-test] - NotRun -> Nothing
  1485. 1765.58 s [opt-env-conf-test] - NotFound -> Just e
  1486. 1765.58 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1487. 1765.58 s [opt-env-conf-test] - debug ["not found"]
  1488. 1765.58 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1489. 1765.58 s [opt-env-conf-test] - NE.nonEmpty $
  1490. 1765.58 s [opt-env-conf-test] - catMaybes
  1491. 1765.58 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1492. 1765.58 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1493. 1765.58 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1494. 1765.58 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1495. 1765.58 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1496. 1765.58 s [opt-env-conf-test] - ]
  1497. 1765.58 s [opt-env-conf-test]
  1498. 1765.58 s [opt-env-conf-test] withCapabilities ::
  1499. 1765.58 s [opt-env-conf-test] Maybe SrcLoc ->
  1500. 1765.58 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  1501. 1765.58 s [opt-env-conf-test] @@ -300,158 +300,155 @@
  1502. 1765.58 s [opt-env-conf-test] debug ["set based on switch."]
  1503. 1765.58 s [opt-env-conf-test] pure $ Found a
  1504. 1765.58 s [opt-env-conf-test]
  1505. 1765.58 s [opt-env-conf-test] case mSwitch of
  1506. 1765.58 s [opt-env-conf-test] - Found a -> do
  1507. 1765.58 s [opt-env-conf-test] - markParsed
  1508. 1765.58 s [opt-env-conf-test] - pure a
  1509. 1765.58 s [opt-env-conf-test] _ -> do
  1510. 1765.58 s [opt-env-conf-test] mOpt <-
  1511. 1765.58 s [opt-env-conf-test] if settingTryOption
  1512. 1765.58 s [opt-env-conf-test] then do
  1513. 1765.58 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1514. 1765.58 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1515. 1765.58 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1516. 1765.58 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1517. 1765.58 s [opt-env-conf-test] case mS of
  1518. 1765.58 s [opt-env-conf-test] Nothing -> do
  1519. 1765.58 s [opt-env-conf-test] debug
  1520. 1765.58 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  1521. 1765.58 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1522. 1765.58 s [opt-env-conf-test] ]
  1523. 1765.58 s [opt-env-conf-test] pure NotFound
  1524. 1765.58 s [opt-env-conf-test] Just optionStr -> cap $
  1525. 1765.58 s [opt-env-conf-test] case tryReaders rs optionStr of
  1526. 1765.58 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1527. 1765.58 s [opt-env-conf-test] Right a -> do
  1528. 1765.58 s [opt-env-conf-test] debug
  1529. 1765.59 s [opt-env-conf-test] [ "set based on option: ",
  1530. 1765.59 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1531. 1765.59 s [opt-env-conf-test] ]
  1532. 1765.59 s [opt-env-conf-test] pure $ Found a
  1533. 1765.59 s [opt-env-conf-test] else pure NotRun
  1534. 1765.59 s [opt-env-conf-test]
  1535. 1765.59 s [opt-env-conf-test] case mOpt of
  1536. 1765.59 s [opt-env-conf-test] Found a -> do
  1537. 1765.59 s [opt-env-conf-test] markParsed
  1538. 1765.59 s [opt-env-conf-test] pure a
  1539. 1765.59 s [opt-env-conf-test] _ -> do
  1540. 1765.59 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1541. 1765.59 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1542. 1765.59 s [opt-env-conf-test] Nothing -> pure NotRun
  1543. 1765.59 s [opt-env-conf-test] Just ne -> do
  1544. 1765.59 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1545. 1765.59 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1546. 1765.59 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1547. 1765.59 s [opt-env-conf-test] es <- asks ppEnvEnv
  1548. 1765.59 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1549. 1765.59 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1550. 1765.59 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1551. 1765.59 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1552. 1765.59 s [opt-env-conf-test] -- result.
  1553. 1765.59 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1554. 1765.59 s [opt-env-conf-test] case tryReaders rs varStr of
  1555. 1765.59 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1556. 1765.59 s [opt-env-conf-test] Right a -> do
  1557. 1765.59 s [opt-env-conf-test] debug
  1558. 1765.59 s [opt-env-conf-test] [ "set based on env: ",
  1559. 1765.59 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1560. 1765.59 s [opt-env-conf-test] ]
  1561. 1765.59 s [opt-env-conf-test] pure a
  1562. 1765.59 s [opt-env-conf-test] case listToMaybe results of
  1563. 1765.59 s [opt-env-conf-test] Nothing -> do
  1564. 1765.59 s [opt-env-conf-test] debug
  1565. 1765.59 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1566. 1765.59 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1567. 1765.59 s [opt-env-conf-test] ]
  1568. 1765.59 s [opt-env-conf-test] pure NotFound
  1569. 1765.59 s [opt-env-conf-test] Just a -> pure $ Found a
  1570. 1765.59 s [opt-env-conf-test]
  1571. 1765.59 s [opt-env-conf-test] case mEnv of
  1572. 1765.59 s [opt-env-conf-test] Found a -> do
  1573. 1765.59 s [opt-env-conf-test] markParsed
  1574. 1765.59 s [opt-env-conf-test] pure a
  1575. 1765.59 s [opt-env-conf-test] _ -> do
  1576. 1765.59 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1577. 1765.59 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1578. 1765.59 s [opt-env-conf-test] Nothing -> pure NotRun
  1579. 1765.59 s [opt-env-conf-test] Just confSets -> do
  1580. 1765.59 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1581. 1765.59 s [opt-env-conf-test] case mObj of
  1582. 1765.59 s [opt-env-conf-test] Nothing -> do
  1583. 1765.59 s [opt-env-conf-test] debug ["no config object to set from"]
  1584. 1765.59 s [opt-env-conf-test] pure NotFound
  1585. 1765.59 s [opt-env-conf-test] Just obj -> do
  1586. 1765.59 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1587. 1765.59 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1588. 1765.59 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1589. 1765.59 s [opt-env-conf-test] Nothing -> do
  1590. 1765.59 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1591. 1765.59 s [opt-env-conf-test] Nothing -> pure Nothing
  1592. 1765.59 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1593. 1765.59 s [opt-env-conf-test] Just neRest -> do
  1594. 1765.59 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1595. 1765.59 s [opt-env-conf-test] case mO' of
  1596. 1765.60 s [opt-env-conf-test] Nothing -> pure Nothing
  1597. 1765.60 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1598. 1765.60 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1599. 1765.60 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1600. 1765.60 s [opt-env-conf-test] Right mV -> case mV of
  1601. 1765.60 s [opt-env-conf-test] Nothing -> do
  1602. 1765.60 s [opt-env-conf-test] debug
  1603. 1765.60 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1604. 1765.60 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1605. 1765.60 s [opt-env-conf-test] ]
  1606. 1765.60 s [opt-env-conf-test] pure Nothing
  1607. 1765.60 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1608. 1765.60 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1609. 1765.60 s [opt-env-conf-test] Right mA -> case mA of
  1610. 1765.60 s [opt-env-conf-test] Nothing -> do
  1611. 1765.60 s [opt-env-conf-test] debug
  1612. 1765.60 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1613. 1765.60 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1614. 1765.60 s [opt-env-conf-test] ]
  1615. 1765.60 s [opt-env-conf-test] pure Nothing
  1616. 1765.60 s [opt-env-conf-test] Just a -> do
  1617. 1765.60 s [opt-env-conf-test] debug
  1618. 1765.60 s [opt-env-conf-test] [ "set based on config value: ",
  1619. 1765.60 s [opt-env-conf-test] chunk $ T.pack $ show v
  1620. 1765.60 s [opt-env-conf-test] ]
  1621. 1765.60 s [opt-env-conf-test] pure $ Just a
  1622. 1765.60 s [opt-env-conf-test] let toRes = \case
  1623. 1765.60 s [opt-env-conf-test] Nothing -> NotFound
  1624. 1765.60 s [opt-env-conf-test] Just a -> Found a
  1625. 1765.60 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1626. 1765.60 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1627. 1765.60 s [opt-env-conf-test] Just ne -> do
  1628. 1765.60 s [opt-env-conf-test] res <- goConfSet confSet
  1629. 1765.60 s [opt-env-conf-test] case res of
  1630. 1765.60 s [opt-env-conf-test] Just a -> pure $ Found a
  1631. 1765.60 s [opt-env-conf-test] Nothing -> goConfSets ne
  1632. 1765.60 s [opt-env-conf-test] goConfSets confSets
  1633. 1765.60 s [opt-env-conf-test] case mConf of
  1634. 1765.60 s [opt-env-conf-test] Found a -> do
  1635. 1765.60 s [opt-env-conf-test] markParsed
  1636. 1765.60 s [opt-env-conf-test] pure a
  1637. 1765.60 s [opt-env-conf-test] _ ->
  1638. 1765.60 s [opt-env-conf-test] case settingDefaultValue of
  1639. 1765.60 s [opt-env-conf-test] Just (a, _) -> do
  1640. 1766.17 s [opt-env-conf-test] debug ["set to default value"]
  1641. 1766.17 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1642. 1766.17 s [opt-env-conf-test] Nothing -> do
  1643. 1766.17 s [opt-env-conf-test] let parseResultError e res = case res of
  1644. 1766.17 s [opt-env-conf-test] NotRun -> Nothing
  1645. 1766.17 s [opt-env-conf-test] NotFound -> Just e
  1646. 1766.17 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1647. 1766.17 s [opt-env-conf-test] debug ["not found"]
  1648. 1766.17 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1649. 1766.17 s [opt-env-conf-test] NE.nonEmpty $
  1650. 1766.17 s [opt-env-conf-test] catMaybes
  1651. 1766.17 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1652. 1766.17 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1653. 1766.17 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1654. 1766.17 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1655. 1766.17 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1656. 1766.17 s [opt-env-conf-test] ]
  1657. 1766.17 s [opt-env-conf-test]
  1658. 1766.17 s [opt-env-conf-test] withCapabilities ::
  1659. 1766.17 s [opt-env-conf-test] Maybe SrcLoc ->
  1660. 1766.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  1661. 1766.18 s [opt-env-conf-test] @@ -300,158 +300,10 @@
  1662. 1766.18 s [opt-env-conf-test] debug ["set based on switch."]
  1663. 1766.18 s [opt-env-conf-test] pure $ Found a
  1664. 1766.18 s [opt-env-conf-test]
  1665. 1766.18 s [opt-env-conf-test] case mSwitch of
  1666. 1766.18 s [opt-env-conf-test] Found a -> do
  1667. 1766.18 s [opt-env-conf-test] markParsed
  1668. 1766.18 s [opt-env-conf-test] pure a
  1669. 1766.18 s [opt-env-conf-test] - _ -> do
  1670. 1766.18 s [opt-env-conf-test] - mOpt <-
  1671. 1766.18 s [opt-env-conf-test] - if settingTryOption
  1672. 1766.18 s [opt-env-conf-test] - then do
  1673. 1766.18 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  1674. 1766.18 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1675. 1766.18 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1676. 1766.18 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  1677. 1766.18 s [opt-env-conf-test] - case mS of
  1678. 1766.18 s [opt-env-conf-test] - Nothing -> do
  1679. 1766.18 s [opt-env-conf-test] - debug
  1680. 1766.18 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  1681. 1766.18 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  1682. 1766.18 s [opt-env-conf-test] - ]
  1683. 1766.18 s [opt-env-conf-test] - pure NotFound
  1684. 1766.18 s [opt-env-conf-test] - Just optionStr -> cap $
  1685. 1766.18 s [opt-env-conf-test] - case tryReaders rs optionStr of
  1686. 1766.18 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1687. 1766.18 s [opt-env-conf-test] - Right a -> do
  1688. 1766.18 s [opt-env-conf-test] - debug
  1689. 1766.18 s [opt-env-conf-test] - [ "set based on option: ",
  1690. 1766.18 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  1691. 1766.18 s [opt-env-conf-test] - ]
  1692. 1766.19 s [opt-env-conf-test] - pure $ Found a
  1693. 1766.19 s [opt-env-conf-test] - else pure NotRun
  1694. 1766.19 s [opt-env-conf-test] -
  1695. 1766.19 s [opt-env-conf-test] - case mOpt of
  1696. 1766.19 s [opt-env-conf-test] - Found a -> do
  1697. 1766.19 s [opt-env-conf-test] - markParsed
  1698. 1766.19 s [opt-env-conf-test] - pure a
  1699. 1766.19 s [opt-env-conf-test] - _ -> do
  1700. 1766.19 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  1701. 1766.19 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  1702. 1766.19 s [opt-env-conf-test] - Nothing -> pure NotRun
  1703. 1766.19 s [opt-env-conf-test] - Just ne -> do
  1704. 1766.19 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  1705. 1766.19 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1706. 1766.19 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1707. 1766.19 s [opt-env-conf-test] - es <- asks ppEnvEnv
  1708. 1766.19 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1709. 1766.19 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  1710. 1766.19 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  1711. 1766.19 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  1712. 1766.19 s [opt-env-conf-test] - -- result.
  1713. 1766.19 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  1714. 1766.19 s [opt-env-conf-test] - case tryReaders rs varStr of
  1715. 1766.19 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1716. 1766.19 s [opt-env-conf-test] - Right a -> do
  1717. 1766.19 s [opt-env-conf-test] - debug
  1718. 1766.19 s [opt-env-conf-test] - [ "set based on env: ",
  1719. 1766.19 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1720. 1766.19 s [opt-env-conf-test] - ]
  1721. 1766.19 s [opt-env-conf-test] - pure a
  1722. 1766.19 s [opt-env-conf-test] - case listToMaybe results of
  1723. 1766.19 s [opt-env-conf-test] - Nothing -> do
  1724. 1766.19 s [opt-env-conf-test] - debug
  1725. 1766.19 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  1726. 1766.19 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1727. 1766.19 s [opt-env-conf-test] - ]
  1728. 1766.19 s [opt-env-conf-test] - pure NotFound
  1729. 1766.19 s [opt-env-conf-test] - Just a -> pure $ Found a
  1730. 1766.19 s [opt-env-conf-test] -
  1731. 1766.19 s [opt-env-conf-test] - case mEnv of
  1732. 1766.20 s [opt-env-conf-test] - Found a -> do
  1733. 1766.20 s [opt-env-conf-test] - markParsed
  1734. 1766.20 s [opt-env-conf-test] - pure a
  1735. 1766.20 s [opt-env-conf-test] - _ -> do
  1736. 1766.20 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  1737. 1766.20 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  1738. 1766.20 s [opt-env-conf-test] - Nothing -> pure NotRun
  1739. 1766.20 s [opt-env-conf-test] - Just confSets -> do
  1740. 1766.20 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1741. 1766.20 s [opt-env-conf-test] - case mObj of
  1742. 1766.20 s [opt-env-conf-test] - Nothing -> do
  1743. 1766.20 s [opt-env-conf-test] - debug ["no config object to set from"]
  1744. 1766.20 s [opt-env-conf-test] - pure NotFound
  1745. 1766.20 s [opt-env-conf-test] - Just obj -> do
  1746. 1766.20 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1747. 1766.20 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1748. 1766.20 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1749. 1766.20 s [opt-env-conf-test] - Nothing -> do
  1750. 1766.20 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1751. 1766.20 s [opt-env-conf-test] - Nothing -> pure Nothing
  1752. 1766.20 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1753. 1766.20 s [opt-env-conf-test] - Just neRest -> do
  1754. 1766.20 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1755. 1766.20 s [opt-env-conf-test] - case mO' of
  1756. 1766.20 s [opt-env-conf-test] - Nothing -> pure Nothing
  1757. 1766.20 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1758. 1766.20 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1759. 1766.20 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1760. 1766.20 s [opt-env-conf-test] - Right mV -> case mV of
  1761. 1766.20 s [opt-env-conf-test] - Nothing -> do
  1762. 1766.20 s [opt-env-conf-test] - debug
  1763. 1766.20 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1764. 1766.21 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1765. 1766.21 s [opt-env-conf-test] - ]
  1766. 1766.21 s [opt-env-conf-test] - pure Nothing
  1767. 1766.21 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1768. 1766.21 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1769. 1766.21 s [opt-env-conf-test] - Right mA -> case mA of
  1770. 1766.21 s [opt-env-conf-test] - Nothing -> do
  1771. 1766.21 s [opt-env-conf-test] - debug
  1772. 1766.21 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1773. 1766.21 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1774. 1766.21 s [opt-env-conf-test] - ]
  1775. 1766.21 s [opt-env-conf-test] - pure Nothing
  1776. 1766.21 s [opt-env-conf-test] - Just a -> do
  1777. 1766.21 s [opt-env-conf-test] - debug
  1778. 1766.21 s [opt-env-conf-test] - [ "set based on config value: ",
  1779. 1766.21 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1780. 1766.21 s [opt-env-conf-test] - ]
  1781. 1766.21 s [opt-env-conf-test] - pure $ Just a
  1782. 1766.21 s [opt-env-conf-test] - let toRes = \case
  1783. 1766.21 s [opt-env-conf-test] - Nothing -> NotFound
  1784. 1766.21 s [opt-env-conf-test] - Just a -> Found a
  1785. 1766.21 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1786. 1766.21 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1787. 1766.21 s [opt-env-conf-test] - Just ne -> do
  1788. 1766.21 s [opt-env-conf-test] - res <- goConfSet confSet
  1789. 1766.21 s [opt-env-conf-test] - case res of
  1790. 1766.21 s [opt-env-conf-test] - Just a -> pure $ Found a
  1791. 1766.21 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1792. 1766.21 s [opt-env-conf-test] - goConfSets confSets
  1793. 1766.21 s [opt-env-conf-test] - case mConf of
  1794. 1766.21 s [opt-env-conf-test] - Found a -> do
  1795. 1766.21 s [opt-env-conf-test] - markParsed
  1796. 1766.21 s [opt-env-conf-test] - pure a
  1797. 1766.21 s [opt-env-conf-test] - _ ->
  1798. 1766.21 s [opt-env-conf-test] - case settingDefaultValue of
  1799. 1766.21 s [opt-env-conf-test] - Just (a, _) -> do
  1800. 1766.21 s [opt-env-conf-test] - debug ["set to default value"]
  1801. 1766.21 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1802. 1766.21 s [opt-env-conf-test] - Nothing -> do
  1803. 1766.21 s [opt-env-conf-test] - let parseResultError e res = case res of
  1804. 1766.21 s [opt-env-conf-test] - NotRun -> Nothing
  1805. 1766.21 s [opt-env-conf-test] - NotFound -> Just e
  1806. 1766.21 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1807. 1766.21 s [opt-env-conf-test] - debug ["not found"]
  1808. 1766.21 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1809. 1766.21 s [opt-env-conf-test] - NE.nonEmpty $
  1810. 1766.21 s [opt-env-conf-test] - catMaybes
  1811. 1766.21 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1812. 1766.21 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1813. 1766.34 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1814. 1766.34 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1815. 1766.34 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1816. 1766.34 s [opt-env-conf-test] - ]
  1817. 1766.34 s [opt-env-conf-test]
  1818. 1766.34 s [opt-env-conf-test] withCapabilities ::
  1819. 1766.34 s [opt-env-conf-test] Maybe SrcLoc ->
  1820. 1766.34 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  1821. 1766.35 s [opt-env-conf-test] @@ -280,178 +280,175 @@
  1822. 1766.35 s [opt-env-conf-test] pure $ Found a
  1823. 1766.35 s [opt-env-conf-test] else pure NotRun
  1824. 1766.35 s [opt-env-conf-test]
  1825. 1766.35 s [opt-env-conf-test] case mArg of
  1826. 1766.35 s [opt-env-conf-test] - Found a -> do
  1827. 1766.35 s [opt-env-conf-test] - markParsed
  1828. 1766.35 s [opt-env-conf-test] - pure a
  1829. 1766.35 s [opt-env-conf-test] _ -> do
  1830. 1766.35 s [opt-env-conf-test] mSwitch <- case settingSwitchValue of
  1831. 1766.35 s [opt-env-conf-test] Nothing -> pure NotRun
  1832. 1766.35 s [opt-env-conf-test] Just a -> do
  1833. 1766.35 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  1834. 1766.35 s [opt-env-conf-test] case mS of
  1835. 1766.35 s [opt-env-conf-test] Nothing -> do
  1836. 1766.35 s [opt-env-conf-test] debug
  1837. 1766.35 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  1838. 1766.35 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1839. 1766.35 s [opt-env-conf-test] ]
  1840. 1766.35 s [opt-env-conf-test] pure NotFound
  1841. 1766.35 s [opt-env-conf-test] Just () -> cap $ do
  1842. 1766.35 s [opt-env-conf-test] debug ["set based on switch."]
  1843. 1766.35 s [opt-env-conf-test] pure $ Found a
  1844. 1766.35 s [opt-env-conf-test]
  1845. 1766.35 s [opt-env-conf-test] case mSwitch of
  1846. 1766.35 s [opt-env-conf-test] Found a -> do
  1847. 1766.35 s [opt-env-conf-test] markParsed
  1848. 1766.35 s [opt-env-conf-test] pure a
  1849. 1766.35 s [opt-env-conf-test] _ -> do
  1850. 1766.35 s [opt-env-conf-test] mOpt <-
  1851. 1766.35 s [opt-env-conf-test] if settingTryOption
  1852. 1766.35 s [opt-env-conf-test] then do
  1853. 1766.35 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1854. 1766.35 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1855. 1766.35 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1856. 1766.35 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1857. 1766.36 s [opt-env-conf-test] case mS of
  1858. 1766.36 s [opt-env-conf-test] Nothing -> do
  1859. 1766.36 s [opt-env-conf-test] debug
  1860. 1766.36 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  1861. 1766.36 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1862. 1766.36 s [opt-env-conf-test] ]
  1863. 1766.36 s [opt-env-conf-test] pure NotFound
  1864. 1766.36 s [opt-env-conf-test] Just optionStr -> cap $
  1865. 1766.36 s [opt-env-conf-test] case tryReaders rs optionStr of
  1866. 1766.36 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1867. 1766.36 s [opt-env-conf-test] Right a -> do
  1868. 1766.36 s [opt-env-conf-test] debug
  1869. 1766.36 s [opt-env-conf-test] [ "set based on option: ",
  1870. 1766.36 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1871. 1766.36 s [opt-env-conf-test] ]
  1872. 1766.36 s [opt-env-conf-test] pure $ Found a
  1873. 1766.36 s [opt-env-conf-test] else pure NotRun
  1874. 1766.36 s [opt-env-conf-test]
  1875. 1766.36 s [opt-env-conf-test] case mOpt of
  1876. 1766.36 s [opt-env-conf-test] Found a -> do
  1877. 1766.36 s [opt-env-conf-test] markParsed
  1878. 1766.36 s [opt-env-conf-test] pure a
  1879. 1766.36 s [opt-env-conf-test] _ -> do
  1880. 1766.36 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1881. 1766.36 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1882. 1766.36 s [opt-env-conf-test] Nothing -> pure NotRun
  1883. 1766.36 s [opt-env-conf-test] Just ne -> do
  1884. 1766.36 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1885. 1766.36 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1886. 1766.36 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1887. 1766.36 s [opt-env-conf-test] es <- asks ppEnvEnv
  1888. 1766.36 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1889. 1766.36 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1890. 1766.36 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1891. 1766.36 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1892. 1766.36 s [opt-env-conf-test] -- result.
  1893. 1766.36 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1894. 1766.36 s [opt-env-conf-test] case tryReaders rs varStr of
  1895. 1766.36 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1896. 1766.36 s [opt-env-conf-test] Right a -> do
  1897. 1766.37 s [opt-env-conf-test] debug
  1898. 1766.37 s [opt-env-conf-test] [ "set based on env: ",
  1899. 1766.37 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1900. 1766.37 s [opt-env-conf-test] ]
  1901. 1766.37 s [opt-env-conf-test] pure a
  1902. 1766.37 s [opt-env-conf-test] case listToMaybe results of
  1903. 1766.37 s [opt-env-conf-test] Nothing -> do
  1904. 1766.37 s [opt-env-conf-test] debug
  1905. 1766.37 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1906. 1766.37 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1907. 1766.37 s [opt-env-conf-test] ]
  1908. 1766.37 s [opt-env-conf-test] pure NotFound
  1909. 1766.37 s [opt-env-conf-test] Just a -> pure $ Found a
  1910. 1766.37 s [opt-env-conf-test]
  1911. 1766.37 s [opt-env-conf-test] case mEnv of
  1912. 1766.37 s [opt-env-conf-test] Found a -> do
  1913. 1766.37 s [opt-env-conf-test] markParsed
  1914. 1766.37 s [opt-env-conf-test] pure a
  1915. 1766.37 s [opt-env-conf-test] _ -> do
  1916. 1766.37 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1917. 1766.37 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1918. 1766.37 s [opt-env-conf-test] Nothing -> pure NotRun
  1919. 1766.37 s [opt-env-conf-test] Just confSets -> do
  1920. 1766.37 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1921. 1766.37 s [opt-env-conf-test] case mObj of
  1922. 1766.37 s [opt-env-conf-test] Nothing -> do
  1923. 1766.37 s [opt-env-conf-test] debug ["no config object to set from"]
  1924. 1766.37 s [opt-env-conf-test] pure NotFound
  1925. 1766.37 s [opt-env-conf-test] Just obj -> do
  1926. 1766.37 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1927. 1766.37 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1928. 1766.37 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1929. 1766.37 s [opt-env-conf-test] Nothing -> do
  1930. 1766.37 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1931. 1766.37 s [opt-env-conf-test] Nothing -> pure Nothing
  1932. 1766.37 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1933. 1766.37 s [opt-env-conf-test] Just neRest -> do
  1934. 1766.37 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1935. 1766.37 s [opt-env-conf-test] case mO' of
  1936. 1766.37 s [opt-env-conf-test] Nothing -> pure Nothing
  1937. 1766.37 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1938. 1766.37 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1939. 1766.37 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1940. 1766.37 s [opt-env-conf-test] Right mV -> case mV of
  1941. 1766.37 s [opt-env-conf-test] Nothing -> do
  1942. 1766.38 s [opt-env-conf-test] debug
  1943. 1766.38 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1944. 1766.38 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1945. 1766.38 s [opt-env-conf-test] ]
  1946. 1766.38 s [opt-env-conf-test] pure Nothing
  1947. 1766.38 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1948. 1766.38 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1949. 1766.38 s [opt-env-conf-test] Right mA -> case mA of
  1950. 1766.38 s [opt-env-conf-test] Nothing -> do
  1951. 1766.38 s [opt-env-conf-test] debug
  1952. 1766.38 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1953. 1766.38 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1954. 1766.38 s [opt-env-conf-test] ]
  1955. 1766.38 s [opt-env-conf-test] pure Nothing
  1956. 1766.38 s [opt-env-conf-test] Just a -> do
  1957. 1766.38 s [opt-env-conf-test] debug
  1958. 1766.38 s [opt-env-conf-test] [ "set based on config value: ",
  1959. 1766.38 s [opt-env-conf-test] chunk $ T.pack $ show v
  1960. 1766.38 s [opt-env-conf-test] ]
  1961. 1766.38 s [opt-env-conf-test] pure $ Just a
  1962. 1766.38 s [opt-env-conf-test] let toRes = \case
  1963. 1766.38 s [opt-env-conf-test] Nothing -> NotFound
  1964. 1766.38 s [opt-env-conf-test] Just a -> Found a
  1965. 1766.38 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1966. 1766.89 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1967. 1766.89 s [opt-env-conf-test] Just ne -> do
  1968. 1766.89 s [opt-env-conf-test] res <- goConfSet confSet
  1969. 1766.89 s [opt-env-conf-test] case res of
  1970. 1766.89 s [opt-env-conf-test] Just a -> pure $ Found a
  1971. 1766.89 s [opt-env-conf-test] Nothing -> goConfSets ne
  1972. 1766.89 s [opt-env-conf-test] goConfSets confSets
  1973. 1766.89 s [opt-env-conf-test] case mConf of
  1974. 1766.89 s [opt-env-conf-test] Found a -> do
  1975. 1766.89 s [opt-env-conf-test] markParsed
  1976. 1766.89 s [opt-env-conf-test] pure a
  1977. 1766.90 s [opt-env-conf-test] _ ->
  1978. 1766.90 s [opt-env-conf-test] case settingDefaultValue of
  1979. 1766.90 s [opt-env-conf-test] Just (a, _) -> do
  1980. 1766.90 s [opt-env-conf-test] debug ["set to default value"]
  1981. 1766.90 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1982. 1766.90 s [opt-env-conf-test] Nothing -> do
  1983. 1766.90 s [opt-env-conf-test] let parseResultError e res = case res of
  1984. 1766.90 s [opt-env-conf-test] NotRun -> Nothing
  1985. 1766.90 s [opt-env-conf-test] NotFound -> Just e
  1986. 1766.90 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1987. 1766.90 s [opt-env-conf-test] debug ["not found"]
  1988. 1766.90 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1989. 1766.90 s [opt-env-conf-test] NE.nonEmpty $
  1990. 1766.90 s [opt-env-conf-test] catMaybes
  1991. 1766.90 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1992. 1766.90 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1993. 1766.90 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1994. 1766.90 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1995. 1766.90 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1996. 1766.90 s [opt-env-conf-test] ]
  1997. 1766.90 s [opt-env-conf-test]
  1998. 1766.90 s [opt-env-conf-test] withCapabilities ::
  1999. 1766.90 s [opt-env-conf-test] Maybe SrcLoc ->
  2000. 1766.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  2001. 1766.90 s [opt-env-conf-test] @@ -280,178 +280,10 @@
  2002. 1766.90 s [opt-env-conf-test] pure $ Found a
  2003. 1766.90 s [opt-env-conf-test] else pure NotRun
  2004. 1766.90 s [opt-env-conf-test]
  2005. 1766.90 s [opt-env-conf-test] case mArg of
  2006. 1766.90 s [opt-env-conf-test] Found a -> do
  2007. 1766.90 s [opt-env-conf-test] markParsed
  2008. 1766.90 s [opt-env-conf-test] pure a
  2009. 1766.90 s [opt-env-conf-test] - _ -> do
  2010. 1766.90 s [opt-env-conf-test] - mSwitch <- case settingSwitchValue of
  2011. 1766.90 s [opt-env-conf-test] - Nothing -> pure NotRun
  2012. 1766.90 s [opt-env-conf-test] - Just a -> do
  2013. 1766.90 s [opt-env-conf-test] - mS <- ppSwitch settingDasheds
  2014. 1766.91 s [opt-env-conf-test] - case mS of
  2015. 1766.91 s [opt-env-conf-test] - Nothing -> do
  2016. 1766.91 s [opt-env-conf-test] - debug
  2017. 1766.91 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  2018. 1766.91 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  2019. 1766.91 s [opt-env-conf-test] - ]
  2020. 1766.91 s [opt-env-conf-test] - pure NotFound
  2021. 1766.91 s [opt-env-conf-test] - Just () -> cap $ do
  2022. 1766.91 s [opt-env-conf-test] - debug ["set based on switch."]
  2023. 1766.91 s [opt-env-conf-test] - pure $ Found a
  2024. 1766.91 s [opt-env-conf-test] -
  2025. 1766.91 s [opt-env-conf-test] - case mSwitch of
  2026. 1766.91 s [opt-env-conf-test] - Found a -> do
  2027. 1766.91 s [opt-env-conf-test] - markParsed
  2028. 1766.91 s [opt-env-conf-test] - pure a
  2029. 1766.91 s [opt-env-conf-test] - _ -> do
  2030. 1766.91 s [opt-env-conf-test] - mOpt <-
  2031. 1766.91 s [opt-env-conf-test] - if settingTryOption
  2032. 1766.91 s [opt-env-conf-test] - then do
  2033. 1766.91 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  2034. 1766.91 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2035. 1766.91 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2036. 1766.91 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  2037. 1766.91 s [opt-env-conf-test] - case mS of
  2038. 1766.91 s [opt-env-conf-test] - Nothing -> do
  2039. 1766.91 s [opt-env-conf-test] - debug
  2040. 1766.91 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  2041. 1766.91 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  2042. 1766.91 s [opt-env-conf-test] - ]
  2043. 1766.91 s [opt-env-conf-test] - pure NotFound
  2044. 1766.91 s [opt-env-conf-test] - Just optionStr -> cap $
  2045. 1766.91 s [opt-env-conf-test] - case tryReaders rs optionStr of
  2046. 1766.91 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  2047. 1766.91 s [opt-env-conf-test] - Right a -> do
  2048. 1766.91 s [opt-env-conf-test] - debug
  2049. 1766.91 s [opt-env-conf-test] - [ "set based on option: ",
  2050. 1766.91 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  2051. 1766.91 s [opt-env-conf-test] - ]
  2052. 1766.91 s [opt-env-conf-test] - pure $ Found a
  2053. 1766.91 s [opt-env-conf-test] - else pure NotRun
  2054. 1766.91 s [opt-env-conf-test] -
  2055. 1766.91 s [opt-env-conf-test] - case mOpt of
  2056. 1766.91 s [opt-env-conf-test] - Found a -> do
  2057. 1766.91 s [opt-env-conf-test] - markParsed
  2058. 1766.91 s [opt-env-conf-test] - pure a
  2059. 1766.91 s [opt-env-conf-test] - _ -> do
  2060. 1766.91 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  2061. 1766.91 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  2062. 1766.91 s [opt-env-conf-test] - Nothing -> pure NotRun
  2063. 1766.91 s [opt-env-conf-test] - Just ne -> do
  2064. 1766.91 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  2065. 1766.91 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2066. 1766.91 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2067. 1766.91 s [opt-env-conf-test] - es <- asks ppEnvEnv
  2068. 1766.91 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  2069. 1766.92 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  2070. 1766.92 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  2071. 1766.92 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  2072. 1766.92 s [opt-env-conf-test] - -- result.
  2073. 1766.92 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  2074. 1766.92 s [opt-env-conf-test] - case tryReaders rs varStr of
  2075. 1766.92 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  2076. 1766.92 s [opt-env-conf-test] - Right a -> do
  2077. 1766.92 s [opt-env-conf-test] - debug
  2078. 1766.92 s [opt-env-conf-test] - [ "set based on env: ",
  2079. 1766.92 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  2080. 1766.92 s [opt-env-conf-test] - ]
  2081. 1766.92 s [opt-env-conf-test] - pure a
  2082. 1766.92 s [opt-env-conf-test] - case listToMaybe results of
  2083. 1766.92 s [opt-env-conf-test] - Nothing -> do
  2084. 1766.92 s [opt-env-conf-test] - debug
  2085. 1766.92 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  2086. 1766.92 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  2087. 1766.92 s [opt-env-conf-test] - ]
  2088. 1766.92 s [opt-env-conf-test] - pure NotFound
  2089. 1766.92 s [opt-env-conf-test] - Just a -> pure $ Found a
  2090. 1766.92 s [opt-env-conf-test] -
  2091. 1766.92 s [opt-env-conf-test] - case mEnv of
  2092. 1766.92 s [opt-env-conf-test] - Found a -> do
  2093. 1766.92 s [opt-env-conf-test] - markParsed
  2094. 1766.92 s [opt-env-conf-test] - pure a
  2095. 1766.92 s [opt-env-conf-test] - _ -> do
  2096. 1766.92 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  2097. 1766.92 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  2098. 1766.92 s [opt-env-conf-test] - Nothing -> pure NotRun
  2099. 1766.92 s [opt-env-conf-test] - Just confSets -> do
  2100. 1766.92 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2101. 1766.92 s [opt-env-conf-test] - case mObj of
  2102. 1766.92 s [opt-env-conf-test] - Nothing -> do
  2103. 1766.92 s [opt-env-conf-test] - debug ["no config object to set from"]
  2104. 1766.92 s [opt-env-conf-test] - pure NotFound
  2105. 1766.92 s [opt-env-conf-test] - Just obj -> do
  2106. 1766.92 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2107. 1766.92 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2108. 1766.92 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2109. 1766.92 s [opt-env-conf-test] - Nothing -> do
  2110. 1766.92 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2111. 1766.92 s [opt-env-conf-test] - Nothing -> pure Nothing
  2112. 1766.92 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2113. 1766.92 s [opt-env-conf-test] - Just neRest -> do
  2114. 1766.92 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2115. 1766.92 s [opt-env-conf-test] - case mO' of
  2116. 1766.92 s [opt-env-conf-test] - Nothing -> pure Nothing
  2117. 1766.92 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2118. 1766.92 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2119. 1766.92 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2120. 1766.92 s [opt-env-conf-test] - Right mV -> case mV of
  2121. 1766.92 s [opt-env-conf-test] - Nothing -> do
  2122. 1766.92 s [opt-env-conf-test] - debug
  2123. 1766.92 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2124. 1766.92 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2125. 1766.92 s [opt-env-conf-test] - ]
  2126. 1766.92 s [opt-env-conf-test] - pure Nothing
  2127. 1766.92 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2128. 1766.92 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2129. 1766.92 s [opt-env-conf-test] - Right mA -> case mA of
  2130. 1766.92 s [opt-env-conf-test] - Nothing -> do
  2131. 1766.92 s [opt-env-conf-test] - debug
  2132. 1766.92 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2133. 1766.92 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2134. 1766.92 s [opt-env-conf-test] - ]
  2135. 1766.92 s [opt-env-conf-test] - pure Nothing
  2136. 1766.92 s [opt-env-conf-test] - Just a -> do
  2137. 1766.92 s [opt-env-conf-test] - debug
  2138. 1766.93 s [opt-env-conf-test] - [ "set based on config value: ",
  2139. 1766.93 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2140. 1766.93 s [opt-env-conf-test] - ]
  2141. 1766.93 s [opt-env-conf-test] - pure $ Just a
  2142. 1766.93 s [opt-env-conf-test] - let toRes = \case
  2143. 1766.93 s [opt-env-conf-test] - Nothing -> NotFound
  2144. 1766.93 s [opt-env-conf-test] - Just a -> Found a
  2145. 1766.93 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2146. 1766.93 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2147. 1766.93 s [opt-env-conf-test] - Just ne -> do
  2148. 1766.93 s [opt-env-conf-test] - res <- goConfSet confSet
  2149. 1766.93 s [opt-env-conf-test] - case res of
  2150. 1766.93 s [opt-env-conf-test] - Just a -> pure $ Found a
  2151. 1766.93 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2152. 1766.93 s [opt-env-conf-test] - goConfSets confSets
  2153. 1766.93 s [opt-env-conf-test] - case mConf of
  2154. 1766.93 s [opt-env-conf-test] - Found a -> do
  2155. 1766.93 s [opt-env-conf-test] - markParsed
  2156. 1766.93 s [opt-env-conf-test] - pure a
  2157. 1766.93 s [opt-env-conf-test] - _ ->
  2158. 1766.93 s [opt-env-conf-test] - case settingDefaultValue of
  2159. 1766.93 s [opt-env-conf-test] - Just (a, _) -> do
  2160. 1766.93 s [opt-env-conf-test] - debug ["set to default value"]
  2161. 1766.93 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2162. 1767.43 s [opt-env-conf-test] - Nothing -> do
  2163. 1767.60 s [opt-env-conf-test] - let parseResultError e res = case res of
  2164. 1767.60 s [opt-env-conf-test] - NotRun -> Nothing
  2165. 1767.60 s [opt-env-conf-test] - NotFound -> Just e
  2166. 1767.60 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2167. 1767.60 s [opt-env-conf-test] - debug ["not found"]
  2168. 1767.60 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2169. 1767.60 s [opt-env-conf-test] - NE.nonEmpty $
  2170. 1767.60 s [opt-env-conf-test] - catMaybes
  2171. 1767.60 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2172. 1767.60 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2173. 1767.60 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2174. 1767.60 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2175. 1767.60 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2176. 1767.60 s [opt-env-conf-test] - ]
  2177. 1767.60 s [opt-env-conf-test]
  2178. 1767.60 s [opt-env-conf-test] withCapabilities ::
  2179. 1767.60 s [opt-env-conf-test] Maybe SrcLoc ->
  2180. 1767.60 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2181. 1767.60 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  2182. 1767.60 s [opt-env-conf-test] internalParser p =
  2183. 1767.61 s [opt-env-conf-test] choice
  2184. 1767.61 s [opt-env-conf-test] [ setting
  2185. 1767.61 s [opt-env-conf-test] [ switch ShowVersion,
  2186. 1767.61 s [opt-env-conf-test] long "version",
  2187. 1767.61 s [opt-env-conf-test] - hidden
  2188. 1767.61 s [opt-env-conf-test] ],
  2189. 1767.61 s [opt-env-conf-test] setting
  2190. 1767.61 s [opt-env-conf-test] [ switch RenderMan,
  2191. 1767.61 s [opt-env-conf-test] long "render-man-page",
  2192. 1767.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2193. 1767.61 s [opt-env-conf-test] @@ -227,10 +227,7 @@
  2194. 1767.61 s [opt-env-conf-test] internalParser p =
  2195. 1767.61 s [opt-env-conf-test] choice
  2196. 1767.61 s [opt-env-conf-test] [ setting
  2197. 1767.61 s [opt-env-conf-test] - [ switch ShowVersion,
  2198. 1767.61 s [opt-env-conf-test] - long "version",
  2199. 1767.61 s [opt-env-conf-test] - hidden
  2200. 1767.61 s [opt-env-conf-test] ],
  2201. 1767.61 s [opt-env-conf-test] setting
  2202. 1767.61 s [opt-env-conf-test] [ switch RenderMan,
  2203. 1767.61 s [opt-env-conf-test] long "render-man-page",
  2204. 1767.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2205. 1767.61 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  2206. 1767.61 s [opt-env-conf-test] internalParser p =
  2207. 1767.61 s [opt-env-conf-test] choice
  2208. 1767.61 s [opt-env-conf-test] [ setting
  2209. 1767.61 s [opt-env-conf-test] - [ switch ShowVersion,
  2210. 1767.61 s [opt-env-conf-test] long "version",
  2211. 1767.61 s [opt-env-conf-test] hidden
  2212. 1767.61 s [opt-env-conf-test] ],
  2213. 1767.61 s [opt-env-conf-test] setting
  2214. 1767.61 s [opt-env-conf-test] [ switch RenderMan,
  2215. 1767.61 s [opt-env-conf-test] long "render-man-page",
  2216. 1767.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2217. 1767.61 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  2218. 1767.61 s [opt-env-conf-test] hidden
  2219. 1767.61 s [opt-env-conf-test] ],
  2220. 1767.61 s [opt-env-conf-test] setting
  2221. 1767.61 s [opt-env-conf-test] [ switch RenderMan,
  2222. 1767.61 s [opt-env-conf-test] long "render-man-page",
  2223. 1767.61 s [opt-env-conf-test] hidden,
  2224. 1767.61 s [opt-env-conf-test] - help "Render a manpage"
  2225. 1767.61 s [opt-env-conf-test] ],
  2226. 1767.61 s [opt-env-conf-test] setting
  2227. 1767.61 s [opt-env-conf-test] [ switch RenderDocumentation,
  2228. 1767.61 s [opt-env-conf-test] long "render-reference-documentation",
  2229. 1767.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2230. 1767.61 s [opt-env-conf-test] @@ -238,11 +238,7 @@
  2231. 1767.61 s [opt-env-conf-test] help "Render a manpage"
  2232. 1767.61 s [opt-env-conf-test] ],
  2233. 1767.62 s [opt-env-conf-test] setting
  2234. 1767.62 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2235. 1767.62 s [opt-env-conf-test] - long "render-reference-documentation",
  2236. 1767.62 s [opt-env-conf-test] - hidden,
  2237. 1767.62 s [opt-env-conf-test] - help "Render reference documentation"
  2238. 1767.62 s [opt-env-conf-test] ],
  2239. 1767.62 s [opt-env-conf-test] setting
  2240. 1767.62 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2241. 1767.62 s [opt-env-conf-test] long "render-nix-options",
  2242. 1767.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2243. 1767.62 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  2244. 1767.62 s [opt-env-conf-test] hidden
  2245. 1767.62 s [opt-env-conf-test] ],
  2246. 1767.62 s [opt-env-conf-test] setting
  2247. 1767.62 s [opt-env-conf-test] - [ switch RenderMan,
  2248. 1767.62 s [opt-env-conf-test] long "render-man-page",
  2249. 1767.62 s [opt-env-conf-test] hidden,
  2250. 1767.62 s [opt-env-conf-test] help "Render a manpage"
  2251. 1767.62 s [opt-env-conf-test] ],
  2252. 1767.62 s [opt-env-conf-test] setting
  2253. 1767.62 s [opt-env-conf-test] [ switch RenderDocumentation,
  2254. 1767.62 s [opt-env-conf-test] long "render-reference-documentation",
  2255. 1767.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2256. 1767.62 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  2257. 1767.62 s [opt-env-conf-test] help "Render a manpage"
  2258. 1767.62 s [opt-env-conf-test] ],
  2259. 1767.62 s [opt-env-conf-test] setting
  2260. 1767.62 s [opt-env-conf-test] [ switch RenderDocumentation,
  2261. 1767.62 s [opt-env-conf-test] long "render-reference-documentation",
  2262. 1767.62 s [opt-env-conf-test] hidden,
  2263. 1767.62 s [opt-env-conf-test] - help "Render reference documentation"
  2264. 1767.62 s [opt-env-conf-test] ],
  2265. 1767.62 s [opt-env-conf-test] setting
  2266. 1767.62 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2267. 1767.62 s [opt-env-conf-test] long "render-nix-options",
  2268. 1767.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2269. 1767.62 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  2270. 1767.62 s [opt-env-conf-test] help "Render a manpage"
  2271. 1767.62 s [opt-env-conf-test] ],
  2272. 1767.62 s [opt-env-conf-test] setting
  2273. 1767.62 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2274. 1767.62 s [opt-env-conf-test] long "render-reference-documentation",
  2275. 1767.62 s [opt-env-conf-test] hidden,
  2276. 1767.62 s [opt-env-conf-test] help "Render reference documentation"
  2277. 1767.62 s [opt-env-conf-test] ],
  2278. 1767.62 s [opt-env-conf-test] setting
  2279. 1767.62 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2280. 1767.62 s [opt-env-conf-test] long "render-nix-options",
  2281. 1767.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2282. 1767.62 s [opt-env-conf-test] @@ -244,11 +244,7 @@
  2283. 1767.62 s [opt-env-conf-test] help "Render reference documentation"
  2284. 1767.62 s [opt-env-conf-test] ],
  2285. 1767.62 s [opt-env-conf-test] setting
  2286. 1767.62 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2287. 1767.62 s [opt-env-conf-test] - long "render-nix-options",
  2288. 1767.62 s [opt-env-conf-test] - hidden,
  2289. 1767.62 s [opt-env-conf-test] - help "Render Nix options"
  2290. 1767.62 s [opt-env-conf-test] ],
  2291. 1767.62 s [opt-env-conf-test] BashCompletionScript
  2292. 1767.62 s [opt-env-conf-test] <$> setting
  2293. 1767.62 s [opt-env-conf-test] [ option,
  2294. 1767.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2295. 1767.62 s [opt-env-conf-test] @@ -232,11 +232,7 @@
  2296. 1767.62 s [opt-env-conf-test] hidden
  2297. 1767.62 s [opt-env-conf-test] ],
  2298. 1767.62 s [opt-env-conf-test] setting
  2299. 1767.62 s [opt-env-conf-test] - [ switch RenderMan,
  2300. 1767.62 s [opt-env-conf-test] - long "render-man-page",
  2301. 1767.62 s [opt-env-conf-test] - hidden,
  2302. 1767.63 s [opt-env-conf-test] - help "Render a manpage"
  2303. 1767.63 s [opt-env-conf-test] ],
  2304. 1767.63 s [opt-env-conf-test] setting
  2305. 1767.63 s [opt-env-conf-test] [ switch RenderDocumentation,
  2306. 1767.63 s [opt-env-conf-test] long "render-reference-documentation",
  2307. 1767.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2308. 1767.63 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  2309. 1767.63 s [opt-env-conf-test] help "Render reference documentation"
  2310. 1767.63 s [opt-env-conf-test] ],
  2311. 1767.63 s [opt-env-conf-test] setting
  2312. 1767.63 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2313. 1767.63 s [opt-env-conf-test] long "render-nix-options",
  2314. 1767.63 s [opt-env-conf-test] hidden,
  2315. 1767.63 s [opt-env-conf-test] help "Render Nix options"
  2316. 1767.63 s [opt-env-conf-test] ],
  2317. 1767.63 s [opt-env-conf-test] BashCompletionScript
  2318. 1767.63 s [opt-env-conf-test] <$> setting
  2319. 1767.63 s [opt-env-conf-test] [ option,
  2320. 1767.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2321. 1767.63 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  2322. 1767.63 s [opt-env-conf-test] help "Render reference documentation"
  2323. 1767.63 s [opt-env-conf-test] ],
  2324. 1767.63 s [opt-env-conf-test] setting
  2325. 1767.63 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2326. 1767.63 s [opt-env-conf-test] long "render-nix-options",
  2327. 1767.63 s [opt-env-conf-test] hidden,
  2328. 1767.63 s [opt-env-conf-test] - help "Render Nix options"
  2329. 1767.63 s [opt-env-conf-test] ],
  2330. 1767.63 s [opt-env-conf-test] BashCompletionScript
  2331. 1767.63 s [opt-env-conf-test] <$> setting
  2332. 1767.63 s [opt-env-conf-test] [ option,
  2333. 1767.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2334. 1767.63 s [opt-env-conf-test] @@ -251,12 +251,7 @@
  2335. 1767.63 s [opt-env-conf-test] ],
  2336. 1767.63 s [opt-env-conf-test] BashCompletionScript
  2337. 1767.63 s [opt-env-conf-test] <$> setting
  2338. 1767.63 s [opt-env-conf-test] - [ option,
  2339. 1767.63 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2340. 1767.63 s [opt-env-conf-test] - long "bash-completion-script",
  2341. 1767.63 s [opt-env-conf-test] - hidden,
  2342. 1767.63 s [opt-env-conf-test] - help "Render the bash completion script"
  2343. 1767.63 s [opt-env-conf-test] ],
  2344. 1767.63 s [opt-env-conf-test] ZshCompletionScript
  2345. 1767.63 s [opt-env-conf-test] <$> setting
  2346. 1767.63 s [opt-env-conf-test] [ option,
  2347. 1767.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2348. 1767.63 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  2349. 1767.63 s [opt-env-conf-test] ],
  2350. 1767.63 s [opt-env-conf-test] BashCompletionScript
  2351. 1767.63 s [opt-env-conf-test] <$> setting
  2352. 1767.63 s [opt-env-conf-test] - [ option,
  2353. 1767.63 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2354. 1767.63 s [opt-env-conf-test] long "bash-completion-script",
  2355. 1767.63 s [opt-env-conf-test] hidden,
  2356. 1767.63 s [opt-env-conf-test] help "Render the bash completion script"
  2357. 1767.63 s [opt-env-conf-test] ],
  2358. 1767.63 s [opt-env-conf-test] ZshCompletionScript
  2359. 1767.63 s [opt-env-conf-test] <$> setting
  2360. 1767.63 s [opt-env-conf-test] [ option,
  2361. 1767.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2362. 1767.63 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  2363. 1767.63 s [opt-env-conf-test] ],
  2364. 1767.63 s [opt-env-conf-test] BashCompletionScript
  2365. 1767.63 s [opt-env-conf-test] <$> setting
  2366. 1767.63 s [opt-env-conf-test] [ option,
  2367. 1767.63 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2368. 1767.63 s [opt-env-conf-test] long "bash-completion-script",
  2369. 1767.63 s [opt-env-conf-test] hidden,
  2370. 1767.63 s [opt-env-conf-test] - help "Render the bash completion script"
  2371. 1767.63 s [opt-env-conf-test] ],
  2372. 1767.63 s [opt-env-conf-test] ZshCompletionScript
  2373. 1767.63 s [opt-env-conf-test] <$> setting
  2374. 1767.63 s [opt-env-conf-test] [ option,
  2375. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2376. 1767.64 s [opt-env-conf-test] @@ -259,12 +259,7 @@
  2377. 1767.64 s [opt-env-conf-test] ],
  2378. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2379. 1767.64 s [opt-env-conf-test] <$> setting
  2380. 1767.64 s [opt-env-conf-test] - [ option,
  2381. 1767.64 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2382. 1767.64 s [opt-env-conf-test] - long "zsh-completion-script",
  2383. 1767.64 s [opt-env-conf-test] - hidden,
  2384. 1767.64 s [opt-env-conf-test] - help "Render the zsh completion script"
  2385. 1767.64 s [opt-env-conf-test] ],
  2386. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2387. 1767.64 s [opt-env-conf-test] <$> setting
  2388. 1767.64 s [opt-env-conf-test] [ option,
  2389. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2390. 1767.64 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  2391. 1767.64 s [opt-env-conf-test] ],
  2392. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2393. 1767.64 s [opt-env-conf-test] <$> setting
  2394. 1767.64 s [opt-env-conf-test] - [ option,
  2395. 1767.64 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2396. 1767.64 s [opt-env-conf-test] long "zsh-completion-script",
  2397. 1767.64 s [opt-env-conf-test] hidden,
  2398. 1767.64 s [opt-env-conf-test] help "Render the zsh completion script"
  2399. 1767.64 s [opt-env-conf-test] ],
  2400. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2401. 1767.64 s [opt-env-conf-test] <$> setting
  2402. 1767.64 s [opt-env-conf-test] [ option,
  2403. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2404. 1767.64 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  2405. 1767.64 s [opt-env-conf-test] ],
  2406. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2407. 1767.64 s [opt-env-conf-test] <$> setting
  2408. 1767.64 s [opt-env-conf-test] [ option,
  2409. 1767.64 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2410. 1767.64 s [opt-env-conf-test] long "zsh-completion-script",
  2411. 1767.64 s [opt-env-conf-test] hidden,
  2412. 1767.64 s [opt-env-conf-test] - help "Render the zsh completion script"
  2413. 1767.64 s [opt-env-conf-test] ],
  2414. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2415. 1767.64 s [opt-env-conf-test] <$> setting
  2416. 1767.64 s [opt-env-conf-test] [ option,
  2417. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2418. 1767.64 s [opt-env-conf-test] @@ -267,12 +267,7 @@
  2419. 1767.64 s [opt-env-conf-test] ],
  2420. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2421. 1767.64 s [opt-env-conf-test] <$> setting
  2422. 1767.64 s [opt-env-conf-test] - [ option,
  2423. 1767.64 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2424. 1767.64 s [opt-env-conf-test] - long "fish-completion-script",
  2425. 1767.64 s [opt-env-conf-test] - hidden,
  2426. 1767.64 s [opt-env-conf-test] - help "Render the fish completion script"
  2427. 1767.64 s [opt-env-conf-test] ],
  2428. 1767.64 s [opt-env-conf-test] setting
  2429. 1767.64 s [opt-env-conf-test] [ help "Query completion",
  2430. 1767.64 s [opt-env-conf-test] switch CompletionQuery,
  2431. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2432. 1767.64 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  2433. 1767.64 s [opt-env-conf-test] ],
  2434. 1767.64 s [opt-env-conf-test] ZshCompletionScript
  2435. 1767.64 s [opt-env-conf-test] <$> setting
  2436. 1767.64 s [opt-env-conf-test] - [ option,
  2437. 1767.64 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2438. 1767.64 s [opt-env-conf-test] long "fish-completion-script",
  2439. 1767.64 s [opt-env-conf-test] hidden,
  2440. 1767.64 s [opt-env-conf-test] help "Render the fish completion script"
  2441. 1767.64 s [opt-env-conf-test] ],
  2442. 1767.64 s [opt-env-conf-test] setting
  2443. 1767.64 s [opt-env-conf-test] [ help "Query completion",
  2444. 1767.64 s [opt-env-conf-test] switch CompletionQuery,
  2445. 1767.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2446. 1767.64 s [opt-env-conf-test] @@ -274,12 +274,8 @@
  2447. 1767.64 s [opt-env-conf-test] help "Render the fish completion script"
  2448. 1767.64 s [opt-env-conf-test] ],
  2449. 1767.64 s [opt-env-conf-test] setting
  2450. 1767.64 s [opt-env-conf-test] - [ help "Query completion",
  2451. 1767.64 s [opt-env-conf-test] - switch CompletionQuery,
  2452. 1767.64 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2453. 1767.64 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  2454. 1767.65 s [opt-env-conf-test] - hidden
  2455. 1767.65 s [opt-env-conf-test] ]
  2456. 1767.65 s [opt-env-conf-test] <*> setting
  2457. 1767.65 s [opt-env-conf-test] [ switch True,
  2458. 1767.65 s [opt-env-conf-test] long "completion-enriched",
  2459. 1767.65 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2460. 1767.65 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  2461. 1767.65 s [opt-env-conf-test] ],
  2462. 1767.65 s [opt-env-conf-test] ZshCompletionScript
  2463. 1767.65 s [opt-env-conf-test] <$> setting
  2464. 1767.65 s [opt-env-conf-test] [ option,
  2465. 1767.65 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2466. 1767.65 s [opt-env-conf-test] long "fish-completion-script",
  2467. 1767.65 s [opt-env-conf-test] hidden,
  2468. 1767.65 s [opt-env-conf-test] - help "Render the fish completion script"
  2469. 1767.65 s [opt-env-conf-test] ],
  2470. 1767.65 s [opt-env-conf-test] setting
  2471. 1767.65 s [opt-env-conf-test] [ help "Query completion",
  2472. 1767.65 s [opt-env-conf-test] switch CompletionQuery,
  2473. 1767.65 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2474. 1767.65 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  2475. 1767.65 s [opt-env-conf-test] help "Render the fish completion script"
  2476. 1767.65 s [opt-env-conf-test] ],
  2477. 1767.65 s [opt-env-conf-test] setting
  2478. 1767.65 s [opt-env-conf-test] - [ help "Query completion",
  2479. 1767.65 s [opt-env-conf-test] switch CompletionQuery,
  2480. 1767.65 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2481. 1767.65 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2482. 1767.65 s [opt-env-conf-test] hidden
  2483. 1767.65 s [opt-env-conf-test] ]
  2484. 1767.65 s [opt-env-conf-test] <*> setting
  2485. 1767.65 s [opt-env-conf-test] [ switch True,
  2486. 1767.65 s [opt-env-conf-test] long "completion-enriched",
  2487. 1767.65 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2488. 1767.65 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  2489. 1767.65 s [opt-env-conf-test] help "Render the fish completion script"
  2490. 1767.65 s [opt-env-conf-test] ],
  2491. 1767.65 s [opt-env-conf-test] setting
  2492. 1767.65 s [opt-env-conf-test] [ help "Query completion",
  2493. 1767.65 s [opt-env-conf-test] switch CompletionQuery,
  2494. 1767.65 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2495. 1767.65 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2496. 1767.65 s [opt-env-conf-test] - hidden
  2497. 1767.65 s [opt-env-conf-test] ]
  2498. 1767.65 s [opt-env-conf-test] <*> setting
  2499. 1767.65 s [opt-env-conf-test] [ switch True,
  2500. 1767.65 s [opt-env-conf-test] long "completion-enriched",
  2501. 1767.65 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
  2502. 1767.65 s [opt-env-conf-test] @@ -281,7 +281,7 @@
  2503. 1767.65 s [opt-env-conf-test] hidden
  2504. 1767.65 s [opt-env-conf-test] ]
  2505. 1767.65 s [opt-env-conf-test] <*> setting
  2506. 1767.65 s [opt-env-conf-test] - [ switch True,
  2507. 1767.65 s [opt-env-conf-test] + [ switch False,
  2508. 1767.65 s [opt-env-conf-test] long "completion-enriched",
  2509. 1767.65 s [opt-env-conf-test] value False,
  2510. 1767.65 s [opt-env-conf-test] hidden,
  2511. 1767.65 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
  2512. 1767.65 s [opt-env-conf-test] @@ -283,7 +283,7 @@
  2513. 1767.65 s [opt-env-conf-test] <*> setting
  2514. 1767.65 s [opt-env-conf-test] [ switch True,
  2515. 1767.65 s [opt-env-conf-test] long "completion-enriched",
  2516. 1767.65 s [opt-env-conf-test] - value False,
  2517. 1767.65 s [opt-env-conf-test] + value True,
  2518. 1767.65 s [opt-env-conf-test] hidden,
  2519. 1767.65 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2520. 1767.65 s [opt-env-conf-test] ]
  2521. 1767.65 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2522. 1767.65 s [opt-env-conf-test] @@ -281,12 +281,7 @@
  2523. 1767.65 s [opt-env-conf-test] hidden
  2524. 1767.65 s [opt-env-conf-test] ]
  2525. 1767.65 s [opt-env-conf-test] <*> setting
  2526. 1767.65 s [opt-env-conf-test] - [ switch True,
  2527. 1767.65 s [opt-env-conf-test] - long "completion-enriched",
  2528. 1767.65 s [opt-env-conf-test] - value False,
  2529. 1767.65 s [opt-env-conf-test] - hidden,
  2530. 1767.65 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2531. 1767.65 s [opt-env-conf-test] ]
  2532. 1767.65 s [opt-env-conf-test] <*> setting
  2533. 1767.65 s [opt-env-conf-test] [ option,
  2534. 1767.66 s [opt-env-conf-test] reader auto,
  2535. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2536. 1767.66 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  2537. 1767.66 s [opt-env-conf-test] hidden
  2538. 1767.66 s [opt-env-conf-test] ]
  2539. 1767.66 s [opt-env-conf-test] <*> setting
  2540. 1767.66 s [opt-env-conf-test] - [ switch True,
  2541. 1767.66 s [opt-env-conf-test] long "completion-enriched",
  2542. 1767.66 s [opt-env-conf-test] value False,
  2543. 1767.66 s [opt-env-conf-test] hidden,
  2544. 1767.66 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2545. 1767.66 s [opt-env-conf-test] ]
  2546. 1767.66 s [opt-env-conf-test] <*> setting
  2547. 1767.66 s [opt-env-conf-test] [ option,
  2548. 1767.66 s [opt-env-conf-test] reader auto,
  2549. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2550. 1767.66 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  2551. 1767.66 s [opt-env-conf-test] hidden
  2552. 1767.66 s [opt-env-conf-test] ]
  2553. 1767.66 s [opt-env-conf-test] <*> setting
  2554. 1767.66 s [opt-env-conf-test] [ switch True,
  2555. 1767.66 s [opt-env-conf-test] long "completion-enriched",
  2556. 1767.66 s [opt-env-conf-test] value False,
  2557. 1767.66 s [opt-env-conf-test] hidden,
  2558. 1767.66 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2559. 1767.66 s [opt-env-conf-test] ]
  2560. 1767.66 s [opt-env-conf-test] <*> setting
  2561. 1767.66 s [opt-env-conf-test] [ option,
  2562. 1767.66 s [opt-env-conf-test] reader auto,
  2563. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2564. 1767.66 s [opt-env-conf-test] @@ -288,12 +288,7 @@
  2565. 1767.66 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2566. 1767.66 s [opt-env-conf-test] ]
  2567. 1767.66 s [opt-env-conf-test] <*> setting
  2568. 1767.66 s [opt-env-conf-test] - [ option,
  2569. 1767.66 s [opt-env-conf-test] - reader auto,
  2570. 1767.66 s [opt-env-conf-test] - long "completion-index",
  2571. 1767.66 s [opt-env-conf-test] - hidden,
  2572. 1767.66 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2573. 1767.66 s [opt-env-conf-test] ]
  2574. 1767.66 s [opt-env-conf-test] <*> many
  2575. 1767.66 s [opt-env-conf-test] ( setting
  2576. 1767.66 s [opt-env-conf-test] [ option,
  2577. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2578. 1767.66 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  2579. 1767.66 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2580. 1767.66 s [opt-env-conf-test] ]
  2581. 1767.66 s [opt-env-conf-test] <*> setting
  2582. 1767.66 s [opt-env-conf-test] - [ option,
  2583. 1767.66 s [opt-env-conf-test] reader auto,
  2584. 1767.66 s [opt-env-conf-test] long "completion-index",
  2585. 1767.66 s [opt-env-conf-test] hidden,
  2586. 1767.66 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2587. 1767.66 s [opt-env-conf-test] ]
  2588. 1767.66 s [opt-env-conf-test] <*> many
  2589. 1767.66 s [opt-env-conf-test] ( setting
  2590. 1767.66 s [opt-env-conf-test] [ option,
  2591. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2592. 1767.66 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  2593. 1767.66 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2594. 1767.66 s [opt-env-conf-test] ]
  2595. 1767.66 s [opt-env-conf-test] <*> setting
  2596. 1767.66 s [opt-env-conf-test] [ option,
  2597. 1767.66 s [opt-env-conf-test] reader auto,
  2598. 1767.66 s [opt-env-conf-test] long "completion-index",
  2599. 1767.66 s [opt-env-conf-test] hidden,
  2600. 1767.66 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2601. 1767.66 s [opt-env-conf-test] ]
  2602. 1767.66 s [opt-env-conf-test] <*> many
  2603. 1767.66 s [opt-env-conf-test] ( setting
  2604. 1767.66 s [opt-env-conf-test] [ option,
  2605. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2606. 1767.66 s [opt-env-conf-test] @@ -296,12 +296,7 @@
  2607. 1767.66 s [opt-env-conf-test] ]
  2608. 1767.66 s [opt-env-conf-test] <*> many
  2609. 1767.66 s [opt-env-conf-test] ( setting
  2610. 1767.66 s [opt-env-conf-test] - [ option,
  2611. 1767.66 s [opt-env-conf-test] - reader str,
  2612. 1767.66 s [opt-env-conf-test] - long "completion-word",
  2613. 1767.66 s [opt-env-conf-test] - hidden,
  2614. 1767.66 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2615. 1767.66 s [opt-env-conf-test] ]
  2616. 1767.66 s [opt-env-conf-test] ),
  2617. 1767.66 s [opt-env-conf-test] ParsedNormally <$> p
  2618. 1767.66 s [opt-env-conf-test] ]
  2619. 1767.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2620. 1767.66 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  2621. 1767.66 s [opt-env-conf-test] ]
  2622. 1767.66 s [opt-env-conf-test] <*> many
  2623. 1767.66 s [opt-env-conf-test] ( setting
  2624. 1767.66 s [opt-env-conf-test] [ option,
  2625. 1767.66 s [opt-env-conf-test] reader str,
  2626. 1767.66 s [opt-env-conf-test] long "completion-word",
  2627. 1767.66 s [opt-env-conf-test] hidden,
  2628. 1767.66 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2629. 1767.66 s [opt-env-conf-test] ]
  2630. 1767.67 s [opt-env-conf-test] ),
  2631. 1767.67 s [opt-env-conf-test] ParsedNormally <$> p
  2632. 1767.67 s [opt-env-conf-test] ]
  2633. 1767.67 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2634. 1767.67 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  2635. 1767.67 s [opt-env-conf-test] ]
  2636. 1767.67 s [opt-env-conf-test] <*> many
  2637. 1767.67 s [opt-env-conf-test] ( setting
  2638. 1767.67 s [opt-env-conf-test] - [ option,
  2639. 1767.67 s [opt-env-conf-test] reader str,
  2640. 1767.67 s [opt-env-conf-test] long "completion-word",
  2641. 1767.67 s [opt-env-conf-test] hidden,
  2642. 1767.67 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2643. 1767.67 s [opt-env-conf-test] ]
  2644. 1767.67 s [opt-env-conf-test] ),
  2645. 1767.67 s [opt-env-conf-test] ParsedNormally <$> p
  2646. 1767.67 s [opt-env-conf-test] ]
  2647. 1767.67 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2648. 1767.67 s [opt-env-conf-test] @@ -226,82 +226,4 @@
  2649. 1767.67 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2650. 1767.67 s [opt-env-conf-test] internalParser p =
  2651. 1767.67 s [opt-env-conf-test] choice
  2652. 1767.67 s [opt-env-conf-test] - [ setting
  2653. 1767.67 s [opt-env-conf-test] - [ switch ShowVersion,
  2654. 1767.67 s [opt-env-conf-test] - long "version",
  2655. 1767.67 s [opt-env-conf-test] - hidden
  2656. 1767.67 s [opt-env-conf-test] - ],
  2657. 1767.67 s [opt-env-conf-test] - setting
  2658. 1767.67 s [opt-env-conf-test] - [ switch RenderMan,
  2659. 1767.67 s [opt-env-conf-test] - long "render-man-page",
  2660. 1767.67 s [opt-env-conf-test] - hidden,
  2661. 1767.67 s [opt-env-conf-test] - help "Render a manpage"
  2662. 1767.67 s [opt-env-conf-test] - ],
  2663. 1767.67 s [opt-env-conf-test] - setting
  2664. 1767.67 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2665. 1767.67 s [opt-env-conf-test] - long "render-reference-documentation",
  2666. 1767.67 s [opt-env-conf-test] - hidden,
  2667. 1767.67 s [opt-env-conf-test] - help "Render reference documentation"
  2668. 1767.67 s [opt-env-conf-test] - ],
  2669. 1767.67 s [opt-env-conf-test] - setting
  2670. 1767.67 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2671. 1767.67 s [opt-env-conf-test] - long "render-nix-options",
  2672. 1767.67 s [opt-env-conf-test] - hidden,
  2673. 1767.67 s [opt-env-conf-test] - help "Render Nix options"
  2674. 1767.67 s [opt-env-conf-test] - ],
  2675. 1767.67 s [opt-env-conf-test] - BashCompletionScript
  2676. 1767.67 s [opt-env-conf-test] - <$> setting
  2677. 1767.67 s [opt-env-conf-test] - [ option,
  2678. 1767.67 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2679. 1767.67 s [opt-env-conf-test] - long "bash-completion-script",
  2680. 1767.67 s [opt-env-conf-test] - hidden,
  2681. 1767.67 s [opt-env-conf-test] - help "Render the bash completion script"
  2682. 1767.67 s [opt-env-conf-test] - ],
  2683. 1767.67 s [opt-env-conf-test] - ZshCompletionScript
  2684. 1767.67 s [opt-env-conf-test] - <$> setting
  2685. 1767.67 s [opt-env-conf-test] - [ option,
  2686. 1767.67 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2687. 1767.67 s [opt-env-conf-test] - long "zsh-completion-script",
  2688. 1767.67 s [opt-env-conf-test] - hidden,
  2689. 1767.67 s [opt-env-conf-test] - help "Render the zsh completion script"
  2690. 1767.67 s [opt-env-conf-test] - ],
  2691. 1767.67 s [opt-env-conf-test] - ZshCompletionScript
  2692. 1767.67 s [opt-env-conf-test] - <$> setting
  2693. 1767.67 s [opt-env-conf-test] - [ option,
  2694. 1767.67 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2695. 1767.67 s [opt-env-conf-test] - long "fish-completion-script",
  2696. 1767.67 s [opt-env-conf-test] - hidden,
  2697. 1767.67 s [opt-env-conf-test] - help "Render the fish completion script"
  2698. 1767.67 s [opt-env-conf-test] - ],
  2699. 1767.67 s [opt-env-conf-test] - setting
  2700. 1767.67 s [opt-env-conf-test] - [ help "Query completion",
  2701. 1767.67 s [opt-env-conf-test] - switch CompletionQuery,
  2702. 1767.67 s [opt-env-conf-test] - -- Long string that no normal user would ever use.
  2703. 1767.67 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  2704. 1767.67 s [opt-env-conf-test] - hidden
  2705. 1767.67 s [opt-env-conf-test] - ]
  2706. 1767.67 s [opt-env-conf-test] - <*> setting
  2707. 1767.67 s [opt-env-conf-test] - [ switch True,
  2708. 1767.67 s [opt-env-conf-test] - long "completion-enriched",
  2709. 1767.67 s [opt-env-conf-test] - value False,
  2710. 1767.67 s [opt-env-conf-test] - hidden,
  2711. 1767.67 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2712. 1767.67 s [opt-env-conf-test] - ]
  2713. 1767.67 s [opt-env-conf-test] - <*> setting
  2714. 1767.67 s [opt-env-conf-test] - [ option,
  2715. 1767.67 s [opt-env-conf-test] - reader auto,
  2716. 1767.67 s [opt-env-conf-test] - long "completion-index",
  2717. 1767.67 s [opt-env-conf-test] - hidden,
  2718. 1767.68 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2719. 1767.68 s [opt-env-conf-test] - ]
  2720. 1767.68 s [opt-env-conf-test] - <*> many
  2721. 1767.68 s [opt-env-conf-test] - ( setting
  2722. 1767.68 s [opt-env-conf-test] - [ option,
  2723. 1767.68 s [opt-env-conf-test] - reader str,
  2724. 1767.68 s [opt-env-conf-test] - long "completion-word",
  2725. 1767.68 s [opt-env-conf-test] - hidden,
  2726. 1767.68 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2727. 1767.68 s [opt-env-conf-test] - ]
  2728. 1767.68 s [opt-env-conf-test] - ),
  2729. 1767.68 s [opt-env-conf-test] - ParsedNormally <$> p
  2730. 1767.68 s [opt-env-conf-test] ]
  2731. 1767.68 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2732. 1767.68 s [opt-env-conf-test] @@ -226,82 +226,77 @@
  2733. 1767.68 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2734. 1767.68 s [opt-env-conf-test] internalParser p =
  2735. 1767.68 s [opt-env-conf-test] choice
  2736. 1767.68 s [opt-env-conf-test] - [ setting
  2737. 1767.68 s [opt-env-conf-test] - [ switch ShowVersion,
  2738. 1767.68 s [opt-env-conf-test] - long "version",
  2739. 1767.68 s [opt-env-conf-test] - hidden
  2740. 1767.68 s [opt-env-conf-test] - ],
  2741. 1767.68 s [opt-env-conf-test] setting
  2742. 1767.68 s [opt-env-conf-test] [ switch RenderMan,
  2743. 1767.68 s [opt-env-conf-test] long "render-man-page",
  2744. 1767.68 s [opt-env-conf-test] hidden,
  2745. 1767.68 s [opt-env-conf-test] help "Render a manpage"
  2746. 1767.68 s [opt-env-conf-test] ],
  2747. 1767.68 s [opt-env-conf-test] setting
  2748. 1767.68 s [opt-env-conf-test] [ switch RenderDocumentation,
  2749. 1767.68 s [opt-env-conf-test] long "render-reference-documentation",
  2750. 1767.68 s [opt-env-conf-test] hidden,
  2751. 1767.68 s [opt-env-conf-test] help "Render reference documentation"
  2752. 1767.68 s [opt-env-conf-test] ],
  2753. 1767.68 s [opt-env-conf-test] setting
  2754. 1767.68 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2755. 1767.68 s [opt-env-conf-test] long "render-nix-options",
  2756. 1767.68 s [opt-env-conf-test] hidden,
  2757. 1767.68 s [opt-env-conf-test] help "Render Nix options"
  2758. 1767.68 s [opt-env-conf-test] ],
  2759. 1767.68 s [opt-env-conf-test] BashCompletionScript
  2760. 1767.68 s [opt-env-conf-test] <$> setting
  2761. 1767.68 s [opt-env-conf-test] [ option,
  2762. 1767.68 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2763. 1767.68 s [opt-env-conf-test] long "bash-completion-script",
  2764. 1767.68 s [opt-env-conf-test] hidden,
  2765. 1767.68 s [opt-env-conf-test] help "Render the bash completion script"
  2766. 1767.68 s [opt-env-conf-test] ],
  2767. 1767.68 s [opt-env-conf-test] ZshCompletionScript
  2768. 1767.68 s [opt-env-conf-test] <$> setting
  2769. 1767.68 s [opt-env-conf-test] [ option,
  2770. 1767.68 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2771. 1767.68 s [opt-env-conf-test] long "zsh-completion-script",
  2772. 1767.68 s [opt-env-conf-test] hidden,
  2773. 1767.68 s [opt-env-conf-test] help "Render the zsh completion script"
  2774. 1767.68 s [opt-env-conf-test] ],
  2775. 1767.68 s [opt-env-conf-test] ZshCompletionScript
  2776. 1767.68 s [opt-env-conf-test] <$> setting
  2777. 1767.68 s [opt-env-conf-test] [ option,
  2778. 1767.68 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2779. 1767.68 s [opt-env-conf-test] long "fish-completion-script",
  2780. 1767.68 s [opt-env-conf-test] hidden,
  2781. 1767.68 s [opt-env-conf-test] help "Render the fish completion script"
  2782. 1767.68 s [opt-env-conf-test] ],
  2783. 1767.68 s [opt-env-conf-test] setting
  2784. 1767.68 s [opt-env-conf-test] [ help "Query completion",
  2785. 1767.68 s [opt-env-conf-test] switch CompletionQuery,
  2786. 1767.68 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2787. 1767.68 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2788. 1767.68 s [opt-env-conf-test] hidden
  2789. 1767.68 s [opt-env-conf-test] ]
  2790. 1767.68 s [opt-env-conf-test] <*> setting
  2791. 1767.68 s [opt-env-conf-test] [ switch True,
  2792. 1767.68 s [opt-env-conf-test] long "completion-enriched",
  2793. 1767.68 s [opt-env-conf-test] value False,
  2794. 1767.68 s [opt-env-conf-test] hidden,
  2795. 1767.68 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2796. 1767.68 s [opt-env-conf-test] ]
  2797. 1767.68 s [opt-env-conf-test] <*> setting
  2798. 1767.68 s [opt-env-conf-test] [ option,
  2799. 1768.41 s [opt-env-conf-test] reader auto,
  2800. 1768.41 s [opt-env-conf-test] long "completion-index",
  2801. 1768.41 s [opt-env-conf-test] hidden,
  2802. 1768.41 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2803. 1768.41 s [opt-env-conf-test] ]
  2804. 1768.41 s [opt-env-conf-test] <*> many
  2805. 1768.41 s [opt-env-conf-test] ( setting
  2806. 1768.41 s [opt-env-conf-test] [ option,
  2807. 1768.41 s [opt-env-conf-test] reader str,
  2808. 1768.41 s [opt-env-conf-test] long "completion-word",
  2809. 1768.41 s [opt-env-conf-test] hidden,
  2810. 1768.41 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2811. 1768.41 s [opt-env-conf-test] ]
  2812. 1768.41 s [opt-env-conf-test] ),
  2813. 1768.41 s [opt-env-conf-test] ParsedNormally <$> p
  2814. 1768.41 s [opt-env-conf-test] ]
  2815. 1768.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  2816. 1768.41 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  2817. 1768.41 s [opt-env-conf-test] let t = T.pack x
  2818. 1768.41 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2819. 1768.41 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2820. 1768.42 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2821. 1768.42 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  2822. 1768.42 s [opt-env-conf-test] Nothing ->
  2823. 1768.42 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  2824. 1768.42 s [opt-env-conf-test] in (finalCaps, x : rest)
  2825. 1768.42 s [opt-env-conf-test]
  2826. 1768.42 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2827. 1768.42 s [opt-env-conf-test] -- is supposed to.
  2828. 1768.42 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2829. 1768.42 s [opt-env-conf-test] @@ -226,82 +226,81 @@
  2830. 1768.42 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2831. 1768.42 s [opt-env-conf-test] internalParser p =
  2832. 1768.42 s [opt-env-conf-test] choice
  2833. 1768.42 s [opt-env-conf-test] [ setting
  2834. 1768.42 s [opt-env-conf-test] [ switch ShowVersion,
  2835. 1768.42 s [opt-env-conf-test] long "version",
  2836. 1768.42 s [opt-env-conf-test] hidden
  2837. 1768.42 s [opt-env-conf-test] ],
  2838. 1768.42 s [opt-env-conf-test] setting
  2839. 1768.42 s [opt-env-conf-test] [ switch RenderMan,
  2840. 1768.42 s [opt-env-conf-test] long "render-man-page",
  2841. 1768.42 s [opt-env-conf-test] hidden,
  2842. 1768.42 s [opt-env-conf-test] help "Render a manpage"
  2843. 1768.42 s [opt-env-conf-test] ],
  2844. 1768.42 s [opt-env-conf-test] setting
  2845. 1768.42 s [opt-env-conf-test] [ switch RenderDocumentation,
  2846. 1768.42 s [opt-env-conf-test] long "render-reference-documentation",
  2847. 1768.42 s [opt-env-conf-test] hidden,
  2848. 1768.42 s [opt-env-conf-test] help "Render reference documentation"
  2849. 1768.42 s [opt-env-conf-test] ],
  2850. 1768.42 s [opt-env-conf-test] setting
  2851. 1768.42 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2852. 1768.42 s [opt-env-conf-test] long "render-nix-options",
  2853. 1768.42 s [opt-env-conf-test] hidden,
  2854. 1768.42 s [opt-env-conf-test] help "Render Nix options"
  2855. 1768.42 s [opt-env-conf-test] ],
  2856. 1768.42 s [opt-env-conf-test] BashCompletionScript
  2857. 1768.42 s [opt-env-conf-test] <$> setting
  2858. 1768.42 s [opt-env-conf-test] [ option,
  2859. 1768.42 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2860. 1768.42 s [opt-env-conf-test] long "bash-completion-script",
  2861. 1768.42 s [opt-env-conf-test] hidden,
  2862. 1768.42 s [opt-env-conf-test] help "Render the bash completion script"
  2863. 1768.42 s [opt-env-conf-test] ],
  2864. 1768.42 s [opt-env-conf-test] ZshCompletionScript
  2865. 1768.42 s [opt-env-conf-test] <$> setting
  2866. 1768.42 s [opt-env-conf-test] [ option,
  2867. 1768.43 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2868. 1768.43 s [opt-env-conf-test] long "zsh-completion-script",
  2869. 1768.43 s [opt-env-conf-test] hidden,
  2870. 1768.43 s [opt-env-conf-test] help "Render the zsh completion script"
  2871. 1768.43 s [opt-env-conf-test] ],
  2872. 1768.43 s [opt-env-conf-test] ZshCompletionScript
  2873. 1768.43 s [opt-env-conf-test] <$> setting
  2874. 1768.43 s [opt-env-conf-test] [ option,
  2875. 1768.43 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2876. 1768.43 s [opt-env-conf-test] long "fish-completion-script",
  2877. 1768.43 s [opt-env-conf-test] hidden,
  2878. 1768.43 s [opt-env-conf-test] help "Render the fish completion script"
  2879. 1768.43 s [opt-env-conf-test] ],
  2880. 1768.43 s [opt-env-conf-test] setting
  2881. 1768.43 s [opt-env-conf-test] [ help "Query completion",
  2882. 1768.43 s [opt-env-conf-test] switch CompletionQuery,
  2883. 1768.43 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2884. 1768.43 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2885. 1768.43 s [opt-env-conf-test] hidden
  2886. 1768.43 s [opt-env-conf-test] ]
  2887. 1768.43 s [opt-env-conf-test] <*> setting
  2888. 1768.43 s [opt-env-conf-test] [ switch True,
  2889. 1768.43 s [opt-env-conf-test] long "completion-enriched",
  2890. 1768.43 s [opt-env-conf-test] value False,
  2891. 1768.43 s [opt-env-conf-test] hidden,
  2892. 1768.43 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2893. 1768.43 s [opt-env-conf-test] ]
  2894. 1768.43 s [opt-env-conf-test] <*> setting
  2895. 1768.43 s [opt-env-conf-test] [ option,
  2896. 1768.43 s [opt-env-conf-test] reader auto,
  2897. 1778.65 s [opt-env-conf-test] long "completion-index",
  2898. 1778.67 s [opt-env-conf-test] hidden,
  2899. 1778.67 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2900. 1778.68 s [opt-env-conf-test] ]
  2901. 1778.68 s [opt-env-conf-test] <*> many
  2902. 1778.68 s [opt-env-conf-test] ( setting
  2903. 1778.68 s [opt-env-conf-test] [ option,
  2904. 1778.68 s [opt-env-conf-test] reader str,
  2905. 1778.68 s [opt-env-conf-test] long "completion-word",
  2906. 1778.68 s [opt-env-conf-test] hidden,
  2907. 1778.68 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2908. 1778.68 s [opt-env-conf-test] ]
  2909. 1778.68 s [opt-env-conf-test] ),
  2910. 1778.68 s [opt-env-conf-test] - ParsedNormally <$> p
  2911. 1778.68 s [opt-env-conf-test] ]
  2912. 1778.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  2913. 1778.68 s [opt-env-conf-test] @@ -198,11 +198,8 @@
  2914. 1778.68 s [opt-env-conf-test] let t = T.pack x
  2915. 1778.68 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2916. 1778.68 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2917. 1778.68 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2918. 1778.68 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  2919. 1778.68 s [opt-env-conf-test] - Nothing ->
  2920. 1778.68 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  2921. 1778.68 s [opt-env-conf-test] - in (finalCaps, x : rest)
  2922. 1778.68 s [opt-env-conf-test]
  2923. 1778.68 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2924. 1778.68 s [opt-env-conf-test] -- is supposed to.
  2925. 1778.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  2926. 1778.68 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  2927. 1778.68 s [opt-env-conf-test] [] -> (caps, [])
  2928. 1778.68 s [opt-env-conf-test] (x : xs) ->
  2929. 1778.68 s [opt-env-conf-test] let t = T.pack x
  2930. 1778.68 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2931. 1778.68 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  2932. 1778.68 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2933. 1778.68 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  2934. 1778.68 s [opt-env-conf-test] Nothing ->
  2935. 1778.68 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  2936. 1778.68 s [opt-env-conf-test] in (finalCaps, x : rest)
  2937. 1778.68 s [opt-env-conf-test]
  2938. 1778.68 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2939. 1778.68 s [opt-env-conf-test] -- is supposed to.
  2940. 1778.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  2941. 1778.68 s [opt-env-conf-test] @@ -196,13 +196,8 @@
  2942. 1778.69 s [opt-env-conf-test] [] -> (caps, [])
  2943. 1778.69 s [opt-env-conf-test] (x : xs) ->
  2944. 1778.69 s [opt-env-conf-test] let t = T.pack x
  2945. 1778.69 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2946. 1778.69 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2947. 1778.69 s [opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2948. 1778.69 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  2949. 1778.69 s [opt-env-conf-test] - Nothing ->
  2950. 1778.69 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  2951. 1778.69 s [opt-env-conf-test] - in (finalCaps, x : rest)
  2952. 1778.69 s [opt-env-conf-test]
  2953. 1778.69 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2954. 1778.69 s [opt-env-conf-test] -- is supposed to.
  2955. 1778.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
  2956. 1778.69 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  2957. 1778.69 s [opt-env-conf-test] go = \case
  2958. 1778.69 s [opt-env-conf-test] [] -> (False, [])
  2959. 1778.69 s [opt-env-conf-test] (x : xs)
  2960. 1778.69 s [opt-env-conf-test] - | x == arg -> (True, xs)
  2961. 1778.69 s [opt-env-conf-test] + | True -> (True, xs)
  2962. 1778.69 s [opt-env-conf-test] | otherwise ->
  2963. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  2964. 1778.69 s [opt-env-conf-test] in (found, x : rest)
  2965. 1778.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
  2966. 1778.69 s [opt-env-conf-test] @@ -167,7 +167,7 @@
  2967. 1778.69 s [opt-env-conf-test] consumeExactArg arg = go
  2968. 1778.69 s [opt-env-conf-test] where
  2969. 1778.69 s [opt-env-conf-test] go = \case
  2970. 1778.69 s [opt-env-conf-test] - [] -> (False, [])
  2971. 1778.69 s [opt-env-conf-test] + [] -> (True, [])
  2972. 1778.69 s [opt-env-conf-test] (x : xs)
  2973. 1778.69 s [opt-env-conf-test] | x == arg -> (True, xs)
  2974. 1778.69 s [opt-env-conf-test] | otherwise ->
  2975. 1778.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
  2976. 1778.69 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  2977. 1778.69 s [opt-env-conf-test] go = \case
  2978. 1778.69 s [opt-env-conf-test] [] -> (False, [])
  2979. 1778.69 s [opt-env-conf-test] (x : xs)
  2980. 1778.69 s [opt-env-conf-test] - | x == arg -> (True, xs)
  2981. 1778.69 s [opt-env-conf-test] + | not (x == arg) -> (True, xs)
  2982. 1778.69 s [opt-env-conf-test] | otherwise ->
  2983. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  2984. 1778.69 s [opt-env-conf-test] in (found, x : rest)
  2985. 1778.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
  2986. 1778.69 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  2987. 1778.69 s [opt-env-conf-test] go = \case
  2988. 1778.69 s [opt-env-conf-test] [] -> (False, [])
  2989. 1778.69 s [opt-env-conf-test] (x : xs)
  2990. 1778.69 s [opt-env-conf-test] - | x == arg -> (True, xs)
  2991. 1778.69 s [opt-env-conf-test] + | x == arg -> (False, xs)
  2992. 1778.69 s [opt-env-conf-test] | otherwise ->
  2993. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  2994. 1778.69 s [opt-env-conf-test] in (found, x : rest)
  2995. 1778.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  2996. 1778.69 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  2997. 1778.69 s [opt-env-conf-test] | x == arg -> (True, xs)
  2998. 1778.69 s [opt-env-conf-test] | otherwise ->
  2999. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  3000. 1778.69 s [opt-env-conf-test] - in (found, x : rest)
  3001. 1778.69 s [opt-env-conf-test] + in (True, x : rest)
  3002. 1778.69 s [opt-env-conf-test]
  3003. 1778.69 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  3004. 1778.69 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  3005. 1778.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  3006. 1778.69 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  3007. 1778.69 s [opt-env-conf-test] | x == arg -> (True, xs)
  3008. 1778.69 s [opt-env-conf-test] | otherwise ->
  3009. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  3010. 1778.69 s [opt-env-conf-test] - in (found, x : rest)
  3011. 1778.69 s [opt-env-conf-test] + in (False, x : rest)
  3012. 1778.69 s [opt-env-conf-test]
  3013. 1778.69 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  3014. 1778.69 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  3015. 1778.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
  3016. 1778.69 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  3017. 1778.69 s [opt-env-conf-test] | x == arg -> (True, xs)
  3018. 1778.69 s [opt-env-conf-test] | otherwise ->
  3019. 1778.69 s [opt-env-conf-test] let (found, rest) = go xs
  3020. 1778.69 s [opt-env-conf-test] - in (found, x : rest)
  3021. 1778.69 s [opt-env-conf-test] + in (not (found), x : rest)
  3022. 1778.70 s [opt-env-conf-test]
  3023. 1778.70 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  3024. 1778.70 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  3025. 1778.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  3026. 1778.70 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  3027. 1778.70 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  3028. 1778.70 s [opt-env-conf-test] consumeHelpMode as =
  3029. 1778.70 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3030. 1778.70 s [opt-env-conf-test] - in if found
  3031. 1778.70 s [opt-env-conf-test] + in if True
  3032. 1778.70 s [opt-env-conf-test] then (True, as')
  3033. 1778.70 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3034. 1778.70 s [opt-env-conf-test]
  3035. 1778.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  3036. 1778.70 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  3037. 1778.70 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  3038. 1778.70 s [opt-env-conf-test] consumeHelpMode as =
  3039. 1778.70 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3040. 1778.70 s [opt-env-conf-test] - in if found
  3041. 1778.70 s [opt-env-conf-test] + in if False
  3042. 1778.70 s [opt-env-conf-test] then (True, as')
  3043. 1778.70 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3044. 1778.70 s [opt-env-conf-test]
  3045. 1778.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
  3046. 1778.70 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  3047. 1778.70 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  3048. 1778.70 s [opt-env-conf-test] consumeHelpMode as =
  3049. 1778.70 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3050. 1778.70 s [opt-env-conf-test] - in if found
  3051. 1778.70 s [opt-env-conf-test] + in if not (found)
  3052. 1778.70 s [opt-env-conf-test] then (True, as')
  3053. 1778.70 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3054. 1778.70 s [opt-env-conf-test]
  3055. 1778.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
  3056. 1778.70 s [opt-env-conf-test] @@ -182,7 +182,7 @@
  3057. 1778.70 s [opt-env-conf-test] consumeHelpMode as =
  3058. 1778.70 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3059. 1778.70 s [opt-env-conf-test] in if found
  3060. 1778.70 s [opt-env-conf-test] - then (True, as')
  3061. 1778.70 s [opt-env-conf-test] + then (False, as')
  3062. 1778.70 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3063. 1778.70 s [opt-env-conf-test]
  3064. 1778.70 s [opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
  3065. 1778.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  3066. 1778.70 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3067. 1778.70 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3068. 1778.70 s [opt-env-conf-test]
  3069. 1778.70 s [opt-env-conf-test] mDebugMode <-
  3070. 1778.70 s [opt-env-conf-test] - if debugMode
  3071. 1778.70 s [opt-env-conf-test] + if False
  3072. 1778.70 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3073. 1778.70 s [opt-env-conf-test] else pure Nothing
  3074. 1778.70 s [opt-env-conf-test]
  3075. 1778.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  3076. 1778.70 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3077. 1778.70 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3078. 1778.70 s [opt-env-conf-test]
  3079. 1778.70 s [opt-env-conf-test] mDebugMode <-
  3080. 1778.70 s [opt-env-conf-test] - if debugMode
  3081. 1778.70 s [opt-env-conf-test] + if True
  3082. 1778.70 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3083. 1778.70 s [opt-env-conf-test] else pure Nothing
  3084. 1778.70 s [opt-env-conf-test]
  3085. 1778.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  3086. 1778.70 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3087. 1778.70 s [opt-env-conf-test]
  3088. 1781.95 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3089. 1781.95 s [opt-env-conf-test]
  3090. 1781.95 s [opt-env-conf-test] - if helpMode
  3091. 1781.95 s [opt-env-conf-test] + if False
  3092. 1781.95 s [opt-env-conf-test] then do
  3093. 1781.95 s [opt-env-conf-test] progname <- getProgName
  3094. 1781.95 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3095. 1781.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
  3096. 1781.95 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3097. 1781.95 s [opt-env-conf-test]
  3098. 1781.95 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3099. 1781.95 s [opt-env-conf-test]
  3100. 1781.95 s [opt-env-conf-test] - if helpMode
  3101. 1781.95 s [opt-env-conf-test] + if not (helpMode)
  3102. 1781.95 s [opt-env-conf-test] then do
  3103. 1781.95 s [opt-env-conf-test] progname <- getProgName
  3104. 1781.96 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3105. 1781.96 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:96:15-71
  3106. 1781.96 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  3107. 1781.96 s [opt-env-conf-test] case errOrDocs of
  3108. 1781.96 s [opt-env-conf-test] Left errs -> do
  3109. 1781.96 s [opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
  3110. 1781.96 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
  3111. 1781.96 s [opt-env-conf-test] exitFailure
  3112. 1781.96 s [opt-env-conf-test] Right mCommandDoc -> do
  3113. 1781.96 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3114. 1781.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  3115. 1781.96 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  3116. 1781.96 s [opt-env-conf-test] exitFailure
  3117. 1781.96 s [opt-env-conf-test] Right mCommandDoc -> do
  3118. 1781.96 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3119. 1781.96 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3120. 1781.96 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  3121. 1781.96 s [opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3122. 1781.96 s [opt-env-conf-test] exitSuccess
  3123. 1781.97 s [opt-env-conf-test] else do
  3124. 1781.97 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3125. 1781.97 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  3126. 1781.97 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  3127. 1781.97 s [opt-env-conf-test] exitFailure
  3128. 1781.97 s [opt-env-conf-test] Right mCommandDoc -> do
  3129. 1781.97 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3130. 1781.97 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3131. 1781.97 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  3132. 1781.97 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3133. 1781.97 s [opt-env-conf-test] exitSuccess
  3134. 1781.97 s [opt-env-conf-test] else do
  3135. 1781.97 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3136. 1781.97 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:100:15-78
  3137. 1781.97 s [opt-env-conf-test] @@ -97,9 +97,6 @@
  3138. 1781.97 s [opt-env-conf-test] exitFailure
  3139. 1781.97 s [opt-env-conf-test] Right mCommandDoc -> do
  3140. 1781.97 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3141. 1781.97 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3142. 1781.97 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  3143. 1781.97 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3144. 1781.97 s [opt-env-conf-test] exitSuccess
  3145. 1781.97 s [opt-env-conf-test] else do
  3146. 1781.97 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3147. 1781.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  3148. 1781.97 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3149. 1781.97 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3150. 1781.97 s [opt-env-conf-test]
  3151. 1781.97 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3152. 1781.97 s [opt-env-conf-test] - if checkMode
  3153. 1781.97 s [opt-env-conf-test] + if False
  3154. 1781.97 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3155. 1781.97 s [opt-env-conf-test] else do
  3156. 1781.98 s [opt-env-conf-test] let p' = internalParser p
  3157. 1781.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  3158. 1781.98 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3159. 1781.98 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3160. 1781.98 s [opt-env-conf-test]
  3161. 1781.98 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3162. 1781.98 s [opt-env-conf-test] - if checkMode
  3163. 1781.98 s [opt-env-conf-test] + if True
  3164. 1781.98 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3165. 1781.98 s [opt-env-conf-test] else do
  3166. 1781.98 s [opt-env-conf-test] let p' = internalParser p
  3167. 1781.98 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:126:19-69
  3168. 1781.98 s [opt-env-conf-test] @@ -123,7 +123,6 @@
  3169. 1781.98 s [opt-env-conf-test] case errOrResult of
  3170. 1781.98 s [opt-env-conf-test] Left errs -> do
  3171. 1781.98 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3172. 1781.98 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
  3173. 1781.98 s [opt-env-conf-test] exitFailure
  3174. 1781.98 s [opt-env-conf-test] Right i -> case i of
  3175. 1781.98 s [opt-env-conf-test] ShowVersion -> do
  3176. 1781.98 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:132:21-88
  3177. 1781.98 s [opt-env-conf-test] @@ -129,7 +129,6 @@
  3178. 1781.98 s [opt-env-conf-test] ShowVersion -> do
  3179. 1781.98 s [opt-env-conf-test] progname <- getProgName
  3180. 1781.98 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3181. 1781.98 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3182. 1781.98 s [opt-env-conf-test] exitSuccess
  3183. 1781.98 s [opt-env-conf-test] RenderMan -> do
  3184. 1781.98 s [opt-env-conf-test] progname <- getProgName
  3185. 1781.98 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:137:21-98
  3186. 1781.98 s [opt-env-conf-test] @@ -134,7 +134,6 @@
  3187. 1781.98 s [opt-env-conf-test] RenderMan -> do
  3188. 1781.98 s [opt-env-conf-test] progname <- getProgName
  3189. 1781.98 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3190. 1781.98 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3191. 1781.98 s [opt-env-conf-test] exitSuccess
  3192. 1781.98 s [opt-env-conf-test] RenderDocumentation -> do
  3193. 1781.98 s [opt-env-conf-test] progname <- getProgName
  3194. 1781.98 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:74:7-61
  3195. 1781.98 s [opt-env-conf-test] @@ -71,7 +71,6 @@
  3196. 1781.98 s [opt-env-conf-test] case lintParser p of
  3197. 1781.98 s [opt-env-conf-test] Just errs -> do
  3198. 1781.98 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3199. 1781.98 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderLintErrors errs
  3200. 1781.99 s [opt-env-conf-test] exitFailure
  3201. 1781.99 s [opt-env-conf-test] Nothing -> do
  3202. 1781.99 s [opt-env-conf-test] let docs = parserDocs p
  3203. 1781.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
  3204. 1781.99 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3205. 1781.99 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3206. 1781.99 s [opt-env-conf-test]
  3207. 1781.99 s [opt-env-conf-test] mDebugMode <-
  3208. 1781.99 s [opt-env-conf-test] - if debugMode
  3209. 1781.99 s [opt-env-conf-test] + if not (debugMode)
  3210. 1781.99 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3211. 1781.99 s [opt-env-conf-test] else pure Nothing
  3212. 1781.99 s [opt-env-conf-test]
  3213. 1781.99 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  3214. 1781.99 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3215. 1781.99 s [opt-env-conf-test]
  3216. 1781.99 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3217. 1781.99 s [opt-env-conf-test]
  3218. 1781.99 s [opt-env-conf-test] - if helpMode
  3219. 1781.99 s [opt-env-conf-test] + if True
  3220. 1781.99 s [opt-env-conf-test] then do
  3221. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3222. 1781.99 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3223. 1781.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
  3224. 1781.99 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3225. 1781.99 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3226. 1781.99 s [opt-env-conf-test]
  3227. 1781.99 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3228. 1781.99 s [opt-env-conf-test] - if checkMode
  3229. 1781.99 s [opt-env-conf-test] + if not (checkMode)
  3230. 1781.99 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3231. 1781.99 s [opt-env-conf-test] else do
  3232. 1781.99 s [opt-env-conf-test] let p' = internalParser p
  3233. 1781.99 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:142:21-96
  3234. 1781.99 s [opt-env-conf-test] @@ -139,7 +139,6 @@
  3235. 1781.99 s [opt-env-conf-test] RenderDocumentation -> do
  3236. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3237. 1781.99 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3238. 1781.99 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3239. 1781.99 s [opt-env-conf-test] exitSuccess
  3240. 1781.99 s [opt-env-conf-test] RenderNixosOptions -> do
  3241. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3242. 1781.99 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:146:21-97
  3243. 1781.99 s [opt-env-conf-test] @@ -143,7 +143,6 @@
  3244. 1781.99 s [opt-env-conf-test] exitSuccess
  3245. 1781.99 s [opt-env-conf-test] RenderNixosOptions -> do
  3246. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3247. 1781.99 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3248. 1781.99 s [opt-env-conf-test] exitSuccess
  3249. 1781.99 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3250. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3251. 1781.99 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:158:21-67
  3252. 1781.99 s [opt-env-conf-test] @@ -155,7 +155,6 @@
  3253. 1781.99 s [opt-env-conf-test] exitSuccess
  3254. 1781.99 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3255. 1781.99 s [opt-env-conf-test] progname <- getProgName
  3256. 1781.99 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  3257. 1781.99 s [opt-env-conf-test] exitSuccess
  3258. 1782.00 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3259. 1782.00 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3260. 1782.00 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:154:21-66
  3261. 1782.00 s [opt-env-conf-test] @@ -151,7 +151,6 @@
  3262. 1782.00 s [opt-env-conf-test] exitSuccess
  3263. 1782.00 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3264. 1782.00 s [opt-env-conf-test] progname <- getProgName
  3265. 1782.00 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  3266. 1782.00 s [opt-env-conf-test] exitSuccess
  3267. 1782.00 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3268. 1782.00 s [opt-env-conf-test] progname <- getProgName
  3269. 1782.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  3270. 1782.00 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  3271. 1782.00 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3272. 1782.00 s [opt-env-conf-test] exitSuccess
  3273. 1782.00 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3274. 1782.00 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3275. 1782.00 s [opt-env-conf-test] + runCompletionQuery p' False index ws
  3276. 1782.00 s [opt-env-conf-test] exitSuccess
  3277. 1782.00 s [opt-env-conf-test] ParsedNormally a -> pure a
  3278. 1782.00 s [opt-env-conf-test]
  3279. 1782.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  3280. 1782.00 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  3281. 1782.00 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3282. 1782.00 s [opt-env-conf-test] exitSuccess
  3283. 1782.00 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3284. 1782.00 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3285. 1782.00 s [opt-env-conf-test] + runCompletionQuery p' True index ws
  3286. 1782.00 s [opt-env-conf-test] exitSuccess
  3287. 1782.00 s [opt-env-conf-test] ParsedNormally a -> pure a
  3288. 1782.00 s [opt-env-conf-test]
  3289. 1782.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
  3290. 1782.00 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  3291. 1782.00 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3292. 1782.00 s [opt-env-conf-test] exitSuccess
  3293. 1782.00 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3294. 1782.00 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3295. 1782.00 s [opt-env-conf-test] + runCompletionQuery p' not (enriched) index ws
  3296. 1782.00 s [opt-env-conf-test] exitSuccess
  3297. 1782.00 s [opt-env-conf-test] ParsedNormally a -> pure a
  3298. 1782.00 s [opt-env-conf-test]
  3299. 1782.00 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:160:56-32
  3300. 1782.00 s [opt-env-conf-test] @@ -157,9 +157,8 @@
  3301. 1782.00 s [opt-env-conf-test] progname <- getProgName
  3302. 1782.00 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3303. 1782.00 s [opt-env-conf-test] exitSuccess
  3304. 1782.00 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3305. 1782.00 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3306. 1782.00 s [opt-env-conf-test] exitSuccess
  3307. 1782.00 s [opt-env-conf-test] ParsedNormally a -> pure a
  3308. 1782.00 s [opt-env-conf-test]
  3309. 1782.00 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.
  3310. 1782.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3311. 1782.00 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3312. 1782.00 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3313. 1782.00 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3314. 1782.00 s [opt-env-conf-test] exitFailure
  3315. 1782.00 s [opt-env-conf-test] Right i -> case i of
  3316. 1782.00 s [opt-env-conf-test] - ShowVersion -> do
  3317. 1782.01 s [opt-env-conf-test] - progname <- getProgName
  3318. 1782.01 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3319. 1782.01 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3320. 1782.01 s [opt-env-conf-test] - exitSuccess
  3321. 1782.01 s [opt-env-conf-test] RenderMan -> do
  3322. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3323. 1782.01 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3324. 1782.01 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3325. 1782.01 s [opt-env-conf-test] exitSuccess
  3326. 1782.01 s [opt-env-conf-test] RenderDocumentation -> do
  3327. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3328. 1782.01 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3329. 1782.01 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3330. 1782.01 s [opt-env-conf-test] exitSuccess
  3331. 1782.01 s [opt-env-conf-test] RenderNixosOptions -> do
  3332. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3333. 1782.01 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3334. 1782.01 s [opt-env-conf-test] exitSuccess
  3335. 1782.01 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3336. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3337. 1782.01 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3338. 1782.01 s [opt-env-conf-test] exitSuccess
  3339. 1782.01 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3340. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3341. 1782.01 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3342. 1782.01 s [opt-env-conf-test] exitSuccess
  3343. 1782.01 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3344. 1782.01 s [opt-env-conf-test] progname <- getProgName
  3345. 1782.01 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3346. 1782.01 s [opt-env-conf-test] exitSuccess
  3347. 1782.66 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3348. 1782.66 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3349. 1782.66 s [opt-env-conf-test] exitSuccess
  3350. 1782.66 s [opt-env-conf-test] ParsedNormally a -> pure a
  3351. 1782.66 s [opt-env-conf-test]
  3352. 1782.66 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.
  3353. 1782.66 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3354. 1782.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3355. 1782.66 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3356. 1782.67 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3357. 1782.67 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3358. 1782.67 s [opt-env-conf-test] exitFailure
  3359. 1782.67 s [opt-env-conf-test] Right i -> case i of
  3360. 1782.67 s [opt-env-conf-test] ShowVersion -> do
  3361. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3362. 1782.67 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3363. 1782.67 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3364. 1782.67 s [opt-env-conf-test] exitSuccess
  3365. 1782.67 s [opt-env-conf-test] - RenderMan -> do
  3366. 1782.67 s [opt-env-conf-test] - progname <- getProgName
  3367. 1782.67 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3368. 1782.67 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3369. 1782.67 s [opt-env-conf-test] - exitSuccess
  3370. 1782.67 s [opt-env-conf-test] RenderDocumentation -> do
  3371. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3372. 1782.67 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3373. 1782.67 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3374. 1782.67 s [opt-env-conf-test] exitSuccess
  3375. 1782.67 s [opt-env-conf-test] RenderNixosOptions -> do
  3376. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3377. 1782.67 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3378. 1782.67 s [opt-env-conf-test] exitSuccess
  3379. 1782.67 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3380. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3381. 1782.67 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3382. 1782.67 s [opt-env-conf-test] exitSuccess
  3383. 1782.67 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3384. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3385. 1782.67 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3386. 1782.67 s [opt-env-conf-test] exitSuccess
  3387. 1782.67 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3388. 1782.67 s [opt-env-conf-test] progname <- getProgName
  3389. 1782.67 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3390. 1782.67 s [opt-env-conf-test] exitSuccess
  3391. 1782.93 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3392. 1782.93 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3393. 1782.93 s [opt-env-conf-test] exitSuccess
  3394. 1782.93 s [opt-env-conf-test] ParsedNormally a -> pure a
  3395. 1782.93 s [opt-env-conf-test]
  3396. 1782.93 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.
  3397. 1782.93 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3398. 1782.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3399. 1782.93 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3400. 1782.93 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3401. 1782.93 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3402. 1782.93 s [opt-env-conf-test] exitFailure
  3403. 1782.93 s [opt-env-conf-test] Right i -> case i of
  3404. 1782.93 s [opt-env-conf-test] ShowVersion -> do
  3405. 1782.93 s [opt-env-conf-test] progname <- getProgName
  3406. 1782.94 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3407. 1782.94 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3408. 1782.94 s [opt-env-conf-test] exitSuccess
  3409. 1782.94 s [opt-env-conf-test] RenderMan -> do
  3410. 1782.94 s [opt-env-conf-test] progname <- getProgName
  3411. 1782.94 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3412. 1782.94 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3413. 1782.94 s [opt-env-conf-test] exitSuccess
  3414. 1782.94 s [opt-env-conf-test] - RenderDocumentation -> do
  3415. 1782.94 s [opt-env-conf-test] - progname <- getProgName
  3416. 1782.94 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3417. 1782.94 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3418. 1782.94 s [opt-env-conf-test] - exitSuccess
  3419. 1782.94 s [opt-env-conf-test] RenderNixosOptions -> do
  3420. 1782.94 s [opt-env-conf-test] progname <- getProgName
  3421. 1782.94 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3422. 1782.94 s [opt-env-conf-test] exitSuccess
  3423. 1782.94 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3424. 1782.94 s [opt-env-conf-test] progname <- getProgName
  3425. 1782.94 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3426. 1782.94 s [opt-env-conf-test] exitSuccess
  3427. 1782.94 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3428. 1782.94 s [opt-env-conf-test] progname <- getProgName
  3429. 1782.94 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3430. 1782.94 s [opt-env-conf-test] exitSuccess
  3431. 1782.94 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3432. 1782.94 s [opt-env-conf-test] progname <- getProgName
  3433. 1782.94 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3434. 1782.94 s [opt-env-conf-test] exitSuccess
  3435. 1784.08 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3436. 1784.08 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3437. 1784.17 s [opt-env-conf-test] exitSuccess
  3438. 1784.17 s [opt-env-conf-test] ParsedNormally a -> pure a
  3439. 1784.17 s [opt-env-conf-test]
  3440. 1784.17 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.
  3441. 1784.17 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3442. 1784.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3443. 1784.17 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3444. 1784.17 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3445. 1784.17 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3446. 1784.17 s [opt-env-conf-test] exitFailure
  3447. 1784.17 s [opt-env-conf-test] Right i -> case i of
  3448. 1784.17 s [opt-env-conf-test] ShowVersion -> do
  3449. 1784.17 s [opt-env-conf-test] progname <- getProgName
  3450. 1784.17 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3451. 1784.17 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3452. 1784.17 s [opt-env-conf-test] exitSuccess
  3453. 1784.17 s [opt-env-conf-test] RenderMan -> do
  3454. 1784.17 s [opt-env-conf-test] progname <- getProgName
  3455. 1784.17 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3456. 1784.17 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3457. 1784.17 s [opt-env-conf-test] exitSuccess
  3458. 1784.17 s [opt-env-conf-test] RenderDocumentation -> do
  3459. 1784.17 s [opt-env-conf-test] progname <- getProgName
  3460. 1784.17 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3461. 1784.17 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3462. 1784.17 s [opt-env-conf-test] - exitSuccess
  3463. 1784.17 s [opt-env-conf-test] - RenderNixosOptions -> do
  3464. 1784.18 s [opt-env-conf-test] - progname <- getProgName
  3465. 1784.18 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3466. 1784.18 s [opt-env-conf-test] exitSuccess
  3467. 1784.18 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3468. 1784.18 s [opt-env-conf-test] progname <- getProgName
  3469. 1784.18 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3470. 1784.18 s [opt-env-conf-test] exitSuccess
  3471. 1784.18 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3472. 1784.18 s [opt-env-conf-test] progname <- getProgName
  3473. 1784.18 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3474. 1784.18 s [opt-env-conf-test] exitSuccess
  3475. 1784.18 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3476. 1784.18 s [opt-env-conf-test] progname <- getProgName
  3477. 1784.18 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3478. 1784.18 s [opt-env-conf-test] exitSuccess
  3479. 1784.22 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3480. 1784.22 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3481. 1784.22 s [opt-env-conf-test] exitSuccess
  3482. 1784.22 s [opt-env-conf-test] ParsedNormally a -> pure a
  3483. 1784.22 s [opt-env-conf-test]
  3484. 1784.22 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.
  3485. 1784.22 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3486. 1784.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3487. 1784.22 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3488. 1784.22 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3489. 1784.22 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3490. 1784.22 s [opt-env-conf-test] exitFailure
  3491. 1784.22 s [opt-env-conf-test] Right i -> case i of
  3492. 1784.22 s [opt-env-conf-test] ShowVersion -> do
  3493. 1784.22 s [opt-env-conf-test] progname <- getProgName
  3494. 1784.22 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3495. 1784.22 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3496. 1784.22 s [opt-env-conf-test] exitSuccess
  3497. 1784.22 s [opt-env-conf-test] RenderMan -> do
  3498. 1784.22 s [opt-env-conf-test] progname <- getProgName
  3499. 1784.22 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3500. 1784.22 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3501. 1784.22 s [opt-env-conf-test] exitSuccess
  3502. 1784.22 s [opt-env-conf-test] RenderDocumentation -> do
  3503. 1784.22 s [opt-env-conf-test] progname <- getProgName
  3504. 1784.22 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3505. 1784.22 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3506. 1784.22 s [opt-env-conf-test] exitSuccess
  3507. 1784.22 s [opt-env-conf-test] RenderNixosOptions -> do
  3508. 1784.22 s [opt-env-conf-test] progname <- getProgName
  3509. 1784.22 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3510. 1784.23 s [opt-env-conf-test] - exitSuccess
  3511. 1784.23 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  3512. 1784.23 s [opt-env-conf-test] - progname <- getProgName
  3513. 1784.23 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  3514. 1784.23 s [opt-env-conf-test] exitSuccess
  3515. 1784.23 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3516. 1784.23 s [opt-env-conf-test] progname <- getProgName
  3517. 1784.23 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3518. 1784.23 s [opt-env-conf-test] exitSuccess
  3519. 1784.23 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3520. 1784.23 s [opt-env-conf-test] progname <- getProgName
  3521. 1784.23 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3522. 1784.23 s [opt-env-conf-test] exitSuccess
  3523. 1785.30 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3524. 1785.30 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3525. 1785.30 s [opt-env-conf-test] exitSuccess
  3526. 1785.30 s [opt-env-conf-test] ParsedNormally a -> pure a
  3527. 1785.31 s [opt-env-conf-test]
  3528. 1785.31 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.
  3529. 1785.31 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3530. 1785.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3531. 1785.31 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3532. 1785.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3533. 1785.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3534. 1785.31 s [opt-env-conf-test] exitFailure
  3535. 1785.31 s [opt-env-conf-test] Right i -> case i of
  3536. 1785.31 s [opt-env-conf-test] ShowVersion -> do
  3537. 1785.31 s [opt-env-conf-test] progname <- getProgName
  3538. 1785.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3539. 1785.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3540. 1785.31 s [opt-env-conf-test] exitSuccess
  3541. 1785.31 s [opt-env-conf-test] RenderMan -> do
  3542. 1785.31 s [opt-env-conf-test] progname <- getProgName
  3543. 1785.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3544. 1785.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3545. 1785.31 s [opt-env-conf-test] exitSuccess
  3546. 1785.31 s [opt-env-conf-test] RenderDocumentation -> do
  3547. 1785.31 s [opt-env-conf-test] progname <- getProgName
  3548. 1785.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3549. 1785.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3550. 1785.31 s [opt-env-conf-test] exitSuccess
  3551. 1785.31 s [opt-env-conf-test] RenderNixosOptions -> do
  3552. 1785.31 s [opt-env-conf-test] progname <- getProgName
  3553. 1785.31 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3554. 1785.31 s [opt-env-conf-test] exitSuccess
  3555. 1785.31 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3556. 1785.31 s [opt-env-conf-test] progname <- getProgName
  3557. 1785.32 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3558. 1785.32 s [opt-env-conf-test] - exitSuccess
  3559. 1785.32 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  3560. 1785.32 s [opt-env-conf-test] - progname <- getProgName
  3561. 1785.32 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  3562. 1785.32 s [opt-env-conf-test] exitSuccess
  3563. 1785.32 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3564. 1785.32 s [opt-env-conf-test] progname <- getProgName
  3565. 1785.32 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3566. 1785.32 s [opt-env-conf-test] exitSuccess
  3567. 1786.14 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3568. 1786.15 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3569. 1786.15 s [opt-env-conf-test] exitSuccess
  3570. 1786.15 s [opt-env-conf-test] ParsedNormally a -> pure a
  3571. 1786.15 s [opt-env-conf-test]
  3572. 1786.15 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.
  3573. 1786.15 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3574. 1786.15 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:150:21-67
  3575. 1786.15 s [opt-env-conf-test] @@ -147,7 +147,6 @@
  3576. 1786.15 s [opt-env-conf-test] exitSuccess
  3577. 1786.15 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3578. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3579. 1786.15 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  3580. 1786.15 s [opt-env-conf-test] exitSuccess
  3581. 1786.15 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3582. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3583. 1786.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3584. 1786.15 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  3585. 1786.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3586. 1786.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3587. 1786.15 s [opt-env-conf-test] exitFailure
  3588. 1786.15 s [opt-env-conf-test] Right i -> case i of
  3589. 1786.15 s [opt-env-conf-test] ShowVersion -> do
  3590. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3591. 1786.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3592. 1786.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3593. 1786.15 s [opt-env-conf-test] exitSuccess
  3594. 1786.15 s [opt-env-conf-test] RenderMan -> do
  3595. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3596. 1786.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3597. 1786.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3598. 1786.15 s [opt-env-conf-test] exitSuccess
  3599. 1786.15 s [opt-env-conf-test] RenderDocumentation -> do
  3600. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3601. 1786.15 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3602. 1786.15 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3603. 1786.15 s [opt-env-conf-test] exitSuccess
  3604. 1786.15 s [opt-env-conf-test] RenderNixosOptions -> do
  3605. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3606. 1786.15 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3607. 1786.15 s [opt-env-conf-test] exitSuccess
  3608. 1786.15 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3609. 1786.15 s [opt-env-conf-test] progname <- getProgName
  3610. 1786.15 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3611. 1786.15 s [opt-env-conf-test] exitSuccess
  3612. 1786.16 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3613. 1786.16 s [opt-env-conf-test] progname <- getProgName
  3614. 1786.16 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3615. 1786.16 s [opt-env-conf-test] exitSuccess
  3616. 1786.16 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3617. 1786.16 s [opt-env-conf-test] progname <- getProgName
  3618. 1786.16 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3619. 1786.16 s [opt-env-conf-test] exitSuccess
  3620. 1786.16 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3621. 1787.48 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3622. 1787.48 s [opt-env-conf-test] exitSuccess
  3623. 1787.48 s [opt-env-conf-test] - ParsedNormally a -> pure a
  3624. 1787.48 s [opt-env-conf-test]
  3625. 1787.48 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.
  3626. 1787.48 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3627. 1787.48 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
  3628. 1787.48 s [opt-env-conf-test] @@ -251,9 +251,8 @@
  3629. 1787.48 s [opt-env-conf-test] before <- get
  3630. 1787.48 s [opt-env-conf-test] mA <- func
  3631. 1787.48 s [opt-env-conf-test] case mA of
  3632. 1787.48 s [opt-env-conf-test] Nothing -> do
  3633. 1787.49 s [opt-env-conf-test] - put before
  3634. 1787.49 s [opt-env-conf-test] pure Nothing
  3635. 1787.49 s [opt-env-conf-test] Just a -> pure (Just a)
  3636. 1787.49 s [opt-env-conf-test]
  3637. 1787.49 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  3638. 1787.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3639. 1787.49 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3640. 1787.49 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3641. 1787.49 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3642. 1787.49 s [opt-env-conf-test] exitFailure
  3643. 1787.49 s [opt-env-conf-test] Right i -> case i of
  3644. 1787.49 s [opt-env-conf-test] ShowVersion -> do
  3645. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3646. 1787.49 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3647. 1787.49 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3648. 1787.49 s [opt-env-conf-test] exitSuccess
  3649. 1787.49 s [opt-env-conf-test] RenderMan -> do
  3650. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3651. 1787.49 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3652. 1787.49 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3653. 1787.49 s [opt-env-conf-test] exitSuccess
  3654. 1787.49 s [opt-env-conf-test] RenderDocumentation -> do
  3655. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3656. 1787.49 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3657. 1787.49 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3658. 1787.49 s [opt-env-conf-test] exitSuccess
  3659. 1787.49 s [opt-env-conf-test] RenderNixosOptions -> do
  3660. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3661. 1787.49 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3662. 1787.49 s [opt-env-conf-test] exitSuccess
  3663. 1787.49 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3664. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3665. 1787.49 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3666. 1787.49 s [opt-env-conf-test] exitSuccess
  3667. 1787.49 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3668. 1787.49 s [opt-env-conf-test] progname <- getProgName
  3669. 1787.49 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3670. 1787.49 s [opt-env-conf-test] - exitSuccess
  3671. 1787.49 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  3672. 1787.49 s [opt-env-conf-test] - progname <- getProgName
  3673. 1787.49 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  3674. 1787.49 s [opt-env-conf-test] exitSuccess
  3675. 1787.68 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3676. 1787.68 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3677. 1787.68 s [opt-env-conf-test] exitSuccess
  3678. 1787.68 s [opt-env-conf-test] ParsedNormally a -> pure a
  3679. 1787.68 s [opt-env-conf-test]
  3680. 1787.68 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.
  3681. 1787.68 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3682. 1787.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3683. 1787.69 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  3684. 1787.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3685. 1787.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3686. 1787.69 s [opt-env-conf-test] exitFailure
  3687. 1787.69 s [opt-env-conf-test] Right i -> case i of
  3688. 1787.69 s [opt-env-conf-test] ShowVersion -> do
  3689. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3690. 1787.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3691. 1787.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3692. 1787.69 s [opt-env-conf-test] exitSuccess
  3693. 1787.69 s [opt-env-conf-test] RenderMan -> do
  3694. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3695. 1787.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3696. 1787.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3697. 1787.69 s [opt-env-conf-test] exitSuccess
  3698. 1787.69 s [opt-env-conf-test] RenderDocumentation -> do
  3699. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3700. 1787.69 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3701. 1787.69 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3702. 1787.69 s [opt-env-conf-test] exitSuccess
  3703. 1787.69 s [opt-env-conf-test] RenderNixosOptions -> do
  3704. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3705. 1787.69 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3706. 1787.69 s [opt-env-conf-test] exitSuccess
  3707. 1787.69 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3708. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3709. 1787.69 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3710. 1787.69 s [opt-env-conf-test] exitSuccess
  3711. 1787.69 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3712. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3713. 1787.69 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3714. 1787.69 s [opt-env-conf-test] exitSuccess
  3715. 1787.69 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3716. 1787.69 s [opt-env-conf-test] progname <- getProgName
  3717. 1787.69 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3718. 1787.69 s [opt-env-conf-test] exitSuccess
  3719. 1787.69 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  3720. 1794.15 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3721. 1794.17 s [opt-env-conf-test] - exitSuccess
  3722. 1794.17 s [opt-env-conf-test] ParsedNormally a -> pure a
  3723. 1794.17 s [opt-env-conf-test]
  3724. 1794.17 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.
  3725. 1794.17 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3726. 1794.17 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
  3727. 1794.18 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  3728. 1794.18 s [opt-env-conf-test] Nothing -> do
  3729. 1794.18 s [opt-env-conf-test] put before
  3730. 1794.18 s [opt-env-conf-test] pure Nothing
  3731. 1794.18 s [opt-env-conf-test] - Just a -> pure (Just a)
  3732. 1794.18 s [opt-env-conf-test] + Just a -> pure (Nothing)
  3733. 1794.18 s [opt-env-conf-test]
  3734. 1794.18 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  3735. 1794.18 s [opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
  3736. 1794.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  3737. 1794.18 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  3738. 1794.18 s [opt-env-conf-test] Nothing -> pure Nothing
  3739. 1794.18 s [opt-env-conf-test] Just cs1 -> do
  3740. 1794.18 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3741. 1794.18 s [opt-env-conf-test] pure $ case p2s of
  3742. 1794.18 s [opt-env-conf-test] - Nothing -> Nothing
  3743. 1794.18 s [opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
  3744. 1794.18 s [opt-env-conf-test]
  3745. 1794.18 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  3746. 1794.18 s [opt-env-conf-test] -- Just [] means "no completions"
  3747. 1794.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  3748. 1794.18 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  3749. 1794.18 s [opt-env-conf-test] Nothing -> pure Nothing
  3750. 1794.18 s [opt-env-conf-test] Just cs1 -> do
  3751. 1794.18 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3752. 1794.18 s [opt-env-conf-test] pure $ case p2s of
  3753. 1794.18 s [opt-env-conf-test] Nothing -> Nothing
  3754. 1794.18 s [opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
  3755. 1794.18 s [opt-env-conf-test]
  3756. 1794.18 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  3757. 1794.18 s [opt-env-conf-test] -- Just [] means "no completions"
  3758. 1794.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3759. 1794.18 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3760. 1794.18 s [opt-env-conf-test] orCompletions p1 p2 = do
  3761. 1794.18 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3762. 1794.18 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3763. 1794.18 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3764. 1794.18 s [opt-env-conf-test] - (Nothing, Nothing) -> Nothing
  3765. 1794.18 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3766. 1794.18 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3767. 1794.18 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3768. 1794.18 s [opt-env-conf-test]
  3769. 1794.18 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3770. 1794.18 s [opt-env-conf-test] andCompletions p1 p2 = do
  3771. 1794.18 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
  3772. 1794.18 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  3773. 1794.18 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3774. 1794.18 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3775. 1794.18 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3776. 1794.18 s [opt-env-conf-test] - (Nothing, Just cs) -> Just cs
  3777. 1794.18 s [opt-env-conf-test] + (Nothing, Just cs) -> Nothing
  3778. 1794.18 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3779. 1794.18 s [opt-env-conf-test]
  3780. 1794.18 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3781. 1794.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3782. 1794.18 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3783. 1794.18 s [opt-env-conf-test] orCompletions p1 p2 = do
  3784. 1794.18 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3785. 1794.18 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3786. 1794.18 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3787. 1794.18 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3788. 1794.18 s [opt-env-conf-test] - (Just cs, Nothing) -> Just cs
  3789. 1794.18 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3790. 1794.18 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3791. 1794.18 s [opt-env-conf-test]
  3792. 1794.18 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3793. 1794.18 s [opt-env-conf-test] andCompletions p1 p2 = do
  3794. 1794.18 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  3795. 1794.18 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3796. 1794.18 s [opt-env-conf-test] Nothing -> pure Nothing
  3797. 1794.18 s [opt-env-conf-test] Just os -> do
  3798. 1794.18 s [opt-env-conf-test] after <- get
  3799. 1794.18 s [opt-env-conf-test] - if after == before
  3800. 1794.18 s [opt-env-conf-test] + if True
  3801. 1794.18 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3802. 1794.18 s [opt-env-conf-test] pure $ Just os
  3803. 1794.18 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3804. 1794.18 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  3805. 1794.18 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3806. 1794.18 s [opt-env-conf-test] Nothing -> pure Nothing
  3807. 1794.18 s [opt-env-conf-test] Just os -> do
  3808. 1794.18 s [opt-env-conf-test] after <- get
  3809. 1794.18 s [opt-env-conf-test] - if after == before
  3810. 1794.18 s [opt-env-conf-test] + if False
  3811. 1794.18 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3812. 1794.18 s [opt-env-conf-test] pure $ Just os
  3813. 1794.18 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3814. 1794.18 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
  3815. 1794.18 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3816. 1794.18 s [opt-env-conf-test] Nothing -> pure Nothing
  3817. 1794.18 s [opt-env-conf-test] Just os -> do
  3818. 1794.19 s [opt-env-conf-test] after <- get
  3819. 1794.19 s [opt-env-conf-test] - if after == before
  3820. 1794.19 s [opt-env-conf-test] + if not (after == before)
  3821. 1794.19 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3822. 1794.19 s [opt-env-conf-test] pure $ Just os
  3823. 1794.19 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3824. 1794.19 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
  3825. 1794.19 s [opt-env-conf-test] @@ -271,7 +271,7 @@
  3826. 1794.19 s [opt-env-conf-test] after <- get
  3827. 1794.19 s [opt-env-conf-test] if after == before
  3828. 1794.19 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3829. 1794.19 s [opt-env-conf-test] - pure $ Just os
  3830. 1794.19 s [opt-env-conf-test] + pure $ Nothing
  3831. 1794.19 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3832. 1794.19 s [opt-env-conf-test] -- next iteration. Its completions supersede ours
  3833. 1794.19 s [opt-env-conf-test] -- only if it also has a valid result.
  3834. 1794.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
  3835. 1794.19 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3836. 1794.19 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3837. 1794.19 s [opt-env-conf-test] -- further), prefer our completions which came
  3838. 1794.19 s [opt-env-conf-test] -- from the advancing iteration.
  3839. 1794.19 s [opt-env-conf-test] - | null os -> pure $ Just more
  3840. 1794.19 s [opt-env-conf-test] + | True -> pure $ Just more
  3841. 1794.19 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3842. 1794.19 s [opt-env-conf-test]
  3843. 1794.19 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3844. 1794.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3845. 1794.19 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3846. 1794.19 s [opt-env-conf-test] orCompletions p1 p2 = do
  3847. 1794.19 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3848. 1794.19 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3849. 1794.19 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3850. 1794.19 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3851. 1794.19 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3852. 1794.19 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3853. 1794.19 s [opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3854. 1794.19 s [opt-env-conf-test]
  3855. 1794.19 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3856. 1794.19 s [opt-env-conf-test] andCompletions p1 p2 = do
  3857. 1794.19 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
  3858. 1794.19 s [opt-env-conf-test] @@ -278,7 +278,7 @@
  3859. 1794.19 s [opt-env-conf-test] do
  3860. 1794.19 s [opt-env-conf-test] mMore <- manyCompletions p
  3861. 1794.19 s [opt-env-conf-test] case mMore of
  3862. 1794.19 s [opt-env-conf-test] - Nothing -> pure $ Just os
  3863. 1794.19 s [opt-env-conf-test] + Nothing -> pure $ Nothing
  3864. 1794.19 s [opt-env-conf-test] Just more
  3865. 1794.19 s [opt-env-conf-test] -- If the next iteration only produced stale
  3866. 1794.19 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3867. 1794.19 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
  3868. 1794.19 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3869. 1794.19 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3870. 1794.19 s [opt-env-conf-test] -- further), prefer our completions which came
  3871. 1794.19 s [opt-env-conf-test] -- from the advancing iteration.
  3872. 1794.19 s [opt-env-conf-test] - | null os -> pure $ Just more
  3873. 1794.19 s [opt-env-conf-test] + | not (null os) -> pure $ Just more
  3874. 1794.19 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3875. 1794.19 s [opt-env-conf-test]
  3876. 1794.19 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3877. 1794.19 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
  3878. 1794.19 s [opt-env-conf-test] @@ -293,7 +293,7 @@
  3879. 1794.19 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3880. 1794.19 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3881. 1794.19 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3882. 1794.19 s [opt-env-conf-test] - (Just cs, Nothing) -> Just cs
  3883. 1799.78 s [opt-env-conf-test] + (Just cs, Nothing) -> Nothing
  3884. 1799.80 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3885. 1799.80 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3886. 1799.80 s [opt-env-conf-test]
  3887. 1799.81 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
  3888. 1799.81 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3889. 1799.81 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3890. 1799.81 s [opt-env-conf-test] -- further), prefer our completions which came
  3891. 1799.81 s [opt-env-conf-test] -- from the advancing iteration.
  3892. 1799.81 s [opt-env-conf-test] - | null os -> pure $ Just more
  3893. 1799.81 s [opt-env-conf-test] + | null os -> pure $ Nothing
  3894. 1799.81 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3895. 1799.81 s [opt-env-conf-test]
  3896. 1799.81 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3897. 1799.81 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
  3898. 1799.81 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  3899. 1799.81 s [opt-env-conf-test] -- further), prefer our completions which came
  3900. 1799.81 s [opt-env-conf-test] -- from the advancing iteration.
  3901. 1799.81 s [opt-env-conf-test] | null os -> pure $ Just more
  3902. 1799.81 s [opt-env-conf-test] - | otherwise -> pure $ Just os
  3903. 1799.81 s [opt-env-conf-test] + | otherwise -> pure $ Nothing
  3904. 1799.81 s [opt-env-conf-test]
  3905. 1799.81 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3906. 1799.81 s [opt-env-conf-test] orCompletions p1 p2 = do
  3907. 1799.81 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
  3908. 1799.81 s [opt-env-conf-test] @@ -312,7 +312,7 @@
  3909. 1799.81 s [opt-env-conf-test] -- Just [] means "no completions"
  3910. 1799.81 s [opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
  3911. 1799.81 s [opt-env-conf-test] go = \case
  3912. 1799.81 s [opt-env-conf-test] - ParserPure _ -> pure $ Just []
  3913. 1799.81 s [opt-env-conf-test] + ParserPure _ -> pure $ Nothing
  3914. 1799.81 s [opt-env-conf-test] -- Parse both and combine the result
  3915. 1799.81 s [opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
  3916. 1799.81 s [opt-env-conf-test] -- Parse either: either completions are valid
  3917. 1799.81 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
  3918. 1799.81 s [opt-env-conf-test] @@ -358,9 +358,8 @@
  3919. 1799.81 s [opt-env-conf-test] pure Nothing
  3920. 1799.81 s [opt-env-conf-test] Just arg ->
  3921. 1799.81 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3922. 1799.81 s [opt-env-conf-test] Just c -> do
  3923. 1799.81 s [opt-env-conf-test] - put rest
  3924. 1799.81 s [opt-env-conf-test] goCommand c
  3925. 1799.81 s [opt-env-conf-test] Nothing -> pure Nothing
  3926. 1799.81 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3927. 1799.81 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3928. 1799.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
  3929. 1799.82 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  3930. 1799.82 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3931. 1799.82 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3932. 1799.82 s [opt-env-conf-test] -- command's completions.
  3933. 1799.82 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3934. 1799.82 s [opt-env-conf-test] + | True -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3935. 1799.82 s [opt-env-conf-test] | otherwise -> do
  3936. 1799.82 s [opt-env-conf-test] -- The default command consumed args, so its
  3937. 1799.82 s [opt-env-conf-test] -- completions are valid. But we must restore
  3938. 1799.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  3939. 1799.82 s [opt-env-conf-test] @@ -357,11 +357,8 @@
  3940. 1799.82 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  3941. 1799.82 s [opt-env-conf-test] pure Nothing
  3942. 1799.82 s [opt-env-conf-test] Just arg ->
  3943. 1799.82 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3944. 1799.82 s [opt-env-conf-test] - Just c -> do
  3945. 1799.82 s [opt-env-conf-test] - put rest
  3946. 1799.82 s [opt-env-conf-test] - goCommand c
  3947. 1799.82 s [opt-env-conf-test] Nothing -> pure Nothing
  3948. 1799.82 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3949. 1799.82 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3950. 1799.82 s [opt-env-conf-test] -- if the user provides no command.
  3951. 1799.82 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
  3952. 1799.82 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  3953. 1799.82 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3954. 1799.82 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3955. 1799.82 s [opt-env-conf-test] -- command's completions.
  3956. 1799.82 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3957. 1799.82 s [opt-env-conf-test] + | not (argsAtEnd as) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3958. 1799.82 s [opt-env-conf-test] | otherwise -> do
  3959. 1799.82 s [opt-env-conf-test] -- The default command consumed args, so its
  3960. 1799.82 s [opt-env-conf-test] -- completions are valid. But we must restore
  3961. 1799.82 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
  3962. 1799.82 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  3963. 1799.82 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  3964. 1799.82 s [opt-env-conf-test] case mArg of
  3965. 1799.82 s [opt-env-conf-test] Nothing -> do
  3966. 1799.82 s [opt-env-conf-test] - if argsAtEnd rest
  3967. 1799.82 s [opt-env-conf-test] + if not (argsAtEnd rest)
  3968. 1799.82 s [opt-env-conf-test] then do
  3969. 1799.82 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  3970. 1799.82 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  3971. 1799.82 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
  3972. 1799.82 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  3973. 1799.82 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3974. 1799.82 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3975. 1799.82 s [opt-env-conf-test] -- command's completions.
  3976. 1799.82 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3977. 1799.82 s [opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Nothing]
  3978. 1799.82 s [opt-env-conf-test] | otherwise -> do
  3979. 1799.82 s [opt-env-conf-test] -- The default command consumed args, so its
  3980. 1799.82 s [opt-env-conf-test] -- completions are valid. But we must restore
  3981. 1799.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  3982. 1799.82 s [opt-env-conf-test] @@ -357,11 +357,10 @@
  3983. 1799.82 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  3984. 1799.82 s [opt-env-conf-test] pure Nothing
  3985. 1799.82 s [opt-env-conf-test] Just arg ->
  3986. 1799.82 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3987. 1799.82 s [opt-env-conf-test] Just c -> do
  3988. 1799.82 s [opt-env-conf-test] put rest
  3989. 1799.82 s [opt-env-conf-test] goCommand c
  3990. 1799.82 s [opt-env-conf-test] - Nothing -> pure Nothing
  3991. 1799.82 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3992. 1799.82 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3993. 1799.82 s [opt-env-conf-test] -- if the user provides no command.
  3994. 1799.82 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  3995. 1799.82 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  3996. 1799.82 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  3997. 1799.82 s [opt-env-conf-test] case mArg of
  3998. 1799.82 s [opt-env-conf-test] Nothing -> do
  3999. 1799.83 s [opt-env-conf-test] - if argsAtEnd rest
  4000. 1799.83 s [opt-env-conf-test] + if False
  4001. 1799.83 s [opt-env-conf-test] then do
  4002. 1799.83 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4003. 1799.83 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  4004. 1799.83 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
  4005. 1799.83 s [opt-env-conf-test] @@ -347,7 +347,7 @@
  4006. 1799.83 s [opt-env-conf-test] ( \Command {..} ->
  4007. 1799.83 s [opt-env-conf-test] Completion
  4008. 1799.83 s [opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
  4009. 1799.83 s [opt-env-conf-test] - completionDescription = Just commandHelp
  4010. 1799.83 s [opt-env-conf-test] + completionDescription = Nothing
  4011. 1799.83 s [opt-env-conf-test] }
  4012. 1799.83 s [opt-env-conf-test] )
  4013. 1799.83 s [opt-env-conf-test] matchingCommands
  4014. 1799.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  4015. 1799.83 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  4016. 1799.83 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  4017. 1799.83 s [opt-env-conf-test] case mArg of
  4018. 1799.83 s [opt-env-conf-test] Nothing -> do
  4019. 1806.82 s [opt-env-conf-test] - if argsAtEnd rest
  4020. 1806.85 s [opt-env-conf-test] + if True
  4021. 1806.85 s [opt-env-conf-test] then do
  4022. 1806.85 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4023. 1806.85 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  4024. 1806.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  4025. 1806.85 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  4026. 1806.85 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  4027. 1806.85 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4028. 1806.85 s [opt-env-conf-test] -- command's completions.
  4029. 1806.85 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4030. 1806.85 s [opt-env-conf-test] | otherwise -> do
  4031. 1806.85 s [opt-env-conf-test] -- The default command consumed args, so its
  4032. 1806.85 s [opt-env-conf-test] -- completions are valid. But we must restore
  4033. 1806.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  4034. 1806.85 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  4035. 1806.85 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  4036. 1806.85 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4037. 1806.85 s [opt-env-conf-test] -- command's completions.
  4038. 1806.85 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4039. 1806.85 s [opt-env-conf-test] | otherwise -> do
  4040. 1806.85 s [opt-env-conf-test] -- The default command consumed args, so its
  4041. 1806.85 s [opt-env-conf-test] -- completions are valid. But we must restore
  4042. 1806.85 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
  4043. 1806.85 s [opt-env-conf-test] @@ -385,7 +385,7 @@
  4044. 1806.85 s [opt-env-conf-test] -- --archive-dir that the default command
  4045. 1806.85 s [opt-env-conf-test] -- swallowed as a positional argument.
  4046. 1806.85 s [opt-env-conf-test] put as
  4047. 1806.85 s [opt-env-conf-test] - pure $ Just dcs
  4048. 1806.85 s [opt-env-conf-test] + pure $ Nothing
  4049. 1806.85 s [opt-env-conf-test] ParserSetting _ Setting {..} -> do
  4050. 1806.85 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4051. 1806.85 s [opt-env-conf-test] let completionDescription = settingHelp
  4052. 1806.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  4053. 1806.86 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4054. 1806.86 s [opt-env-conf-test] pure Completion {..}
  4055. 1806.86 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4056. 1806.86 s [opt-env-conf-test] as <- get
  4057. 1806.86 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4058. 1806.86 s [opt-env-conf-test] + if False then completeWithCompleter else pure $ Just []
  4059. 1806.86 s [opt-env-conf-test] let completeWithDasheds = do
  4060. 1806.86 s [opt-env-conf-test] let isLong = \case
  4061. 1806.86 s [opt-env-conf-test] DashedLong _ -> True
  4062. 1806.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  4063. 1806.86 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4064. 1806.86 s [opt-env-conf-test] pure Completion {..}
  4065. 1806.86 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4066. 1806.86 s [opt-env-conf-test] as <- get
  4067. 1806.86 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4068. 1806.86 s [opt-env-conf-test] + if True then completeWithCompleter else pure $ Just []
  4069. 1806.86 s [opt-env-conf-test] let completeWithDasheds = do
  4070. 1806.86 s [opt-env-conf-test] let isLong = \case
  4071. 1806.86 s [opt-env-conf-test] DashedLong _ -> True
  4072. 1806.86 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
  4073. 1806.86 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4074. 1806.86 s [opt-env-conf-test] pure Completion {..}
  4075. 1806.86 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4076. 1806.86 s [opt-env-conf-test] as <- get
  4077. 1806.86 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4078. 1806.86 s [opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ Nothing
  4079. 1806.86 s [opt-env-conf-test] let completeWithDasheds = do
  4080. 1806.86 s [opt-env-conf-test] let isLong = \case
  4081. 1806.86 s [opt-env-conf-test] DashedLong _ -> True
  4082. 1806.86 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
  4083. 1806.86 s [opt-env-conf-test] @@ -399,7 +399,7 @@
  4084. 1806.86 s [opt-env-conf-test] let completeWithDasheds = do
  4085. 1806.86 s [opt-env-conf-test] let isLong = \case
  4086. 1806.86 s [opt-env-conf-test] DashedLong _ -> True
  4087. 1806.86 s [opt-env-conf-test] - DashedShort _ -> False
  4088. 1806.86 s [opt-env-conf-test] + DashedShort _ -> True
  4089. 1806.86 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4090. 1806.86 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4091. 1806.86 s [opt-env-conf-test] let completions =
  4092. 1806.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
  4093. 1806.86 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4094. 1806.86 s [opt-env-conf-test] pure Completion {..}
  4095. 1806.86 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4096. 1806.86 s [opt-env-conf-test] as <- get
  4097. 1806.86 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4098. 1806.86 s [opt-env-conf-test] + if not (argsAtEnd as) then completeWithCompleter else pure $ Just []
  4099. 1806.86 s [opt-env-conf-test] let completeWithDasheds = do
  4100. 1806.86 s [opt-env-conf-test] let isLong = \case
  4101. 1806.87 s [opt-env-conf-test] DashedLong _ -> True
  4102. 1806.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  4103. 1806.87 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  4104. 1806.87 s [opt-env-conf-test] orCompletions p1 p2 = do
  4105. 1806.87 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  4106. 1806.87 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4107. 1806.87 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4108. 1806.87 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  4109. 1806.87 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  4110. 1806.87 s [opt-env-conf-test] - (Nothing, Just cs) -> Just cs
  4111. 1806.87 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4112. 1806.87 s [opt-env-conf-test]
  4113. 1806.87 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  4114. 1806.87 s [opt-env-conf-test] andCompletions p1 p2 = do
  4115. 1806.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
  4116. 1806.87 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4117. 1806.87 s [opt-env-conf-test] let isLong = \case
  4118. 1806.87 s [opt-env-conf-test] DashedLong _ -> True
  4119. 1806.87 s [opt-env-conf-test] DashedShort _ -> False
  4120. 1806.87 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4121. 1806.87 s [opt-env-conf-test] + let favorableDasheds = if not (any isLong settingDasheds) then filter isLong settingDasheds else settingDasheds
  4122. 1806.87 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4123. 1806.87 s [opt-env-conf-test] let completions =
  4124. 1806.87 s [opt-env-conf-test] map
  4125. 1806.87 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  4126. 1806.87 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4127. 1806.87 s [opt-env-conf-test] let isLong = \case
  4128. 1806.87 s [opt-env-conf-test] DashedLong _ -> True
  4129. 1806.87 s [opt-env-conf-test] DashedShort _ -> False
  4130. 1806.87 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4131. 1806.87 s [opt-env-conf-test] + let favorableDasheds = if False then filter isLong settingDasheds else settingDasheds
  4132. 1806.87 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4133. 1806.87 s [opt-env-conf-test] let completions =
  4134. 1806.88 s [opt-env-conf-test] map
  4135. 1806.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  4136. 1806.88 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4137. 1806.88 s [opt-env-conf-test] let isLong = \case
  4138. 1806.88 s [opt-env-conf-test] DashedLong _ -> True
  4139. 1806.88 s [opt-env-conf-test] DashedShort _ -> False
  4140. 1806.88 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4141. 1806.88 s [opt-env-conf-test] + let favorableDasheds = if True then filter isLong settingDasheds else settingDasheds
  4142. 1806.88 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4143. 1806.88 s [opt-env-conf-test] let completions =
  4144. 1806.88 s [opt-env-conf-test] map
  4145. 1806.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  4146. 1806.88 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4147. 1806.88 s [opt-env-conf-test] )
  4148. 1806.88 s [opt-env-conf-test] suggestions
  4149. 1812.70 s [opt-env-conf-test] pure $ Just completions
  4150. 1812.70 s [opt-env-conf-test] - if settingHidden
  4151. 1812.72 s [opt-env-conf-test] + if True
  4152. 1812.72 s [opt-env-conf-test] then pure $ Just []
  4153. 1812.72 s [opt-env-conf-test] else do
  4154. 1812.72 s [opt-env-conf-test] as <- get
  4155. 1812.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  4156. 1812.73 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4157. 1812.73 s [opt-env-conf-test] )
  4158. 1812.73 s [opt-env-conf-test] suggestions
  4159. 1812.73 s [opt-env-conf-test] pure $ Just completions
  4160. 1812.73 s [opt-env-conf-test] - if settingHidden
  4161. 1812.73 s [opt-env-conf-test] + if False
  4162. 1812.73 s [opt-env-conf-test] then pure $ Just []
  4163. 1812.73 s [opt-env-conf-test] else do
  4164. 1812.73 s [opt-env-conf-test] as <- get
  4165. 1812.73 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
  4166. 1812.73 s [opt-env-conf-test] @@ -398,7 +398,7 @@
  4167. 1812.73 s [opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
  4168. 1812.73 s [opt-env-conf-test] let completeWithDasheds = do
  4169. 1812.73 s [opt-env-conf-test] let isLong = \case
  4170. 1812.73 s [opt-env-conf-test] - DashedLong _ -> True
  4171. 1812.73 s [opt-env-conf-test] + DashedLong _ -> False
  4172. 1812.73 s [opt-env-conf-test] DashedShort _ -> False
  4173. 1812.73 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4174. 1812.73 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4175. 1812.73 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
  4176. 1812.73 s [opt-env-conf-test] @@ -376,16 +376,15 @@
  4177. 1812.73 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4178. 1812.73 s [opt-env-conf-test] -- command's completions.
  4179. 1812.73 s [opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4180. 1812.73 s [opt-env-conf-test] | otherwise -> do
  4181. 1812.73 s [opt-env-conf-test] -- The default command consumed args, so its
  4182. 1812.73 s [opt-env-conf-test] -- completions are valid. But we must restore
  4183. 1812.73 s [opt-env-conf-test] -- the state: the consumed args may also be
  4184. 1812.73 s [opt-env-conf-test] -- intended for sibling parsers in an
  4185. 1812.73 s [opt-env-conf-test] -- applicative (<*>), e.g. an option like
  4186. 1812.73 s [opt-env-conf-test] -- --archive-dir that the default command
  4187. 1812.73 s [opt-env-conf-test] -- swallowed as a positional argument.
  4188. 1812.73 s [opt-env-conf-test] - put as
  4189. 1812.73 s [opt-env-conf-test] pure $ Just dcs
  4190. 1812.73 s [opt-env-conf-test] ParserSetting _ Setting {..} -> do
  4191. 1812.74 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4192. 1812.74 s [opt-env-conf-test] let completionDescription = settingHelp
  4193. 1812.74 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
  4194. 1812.74 s [opt-env-conf-test] @@ -410,7 +410,7 @@
  4195. 1812.74 s [opt-env-conf-test] . SuggestionBare
  4196. 1812.74 s [opt-env-conf-test] )
  4197. 1812.74 s [opt-env-conf-test] suggestions
  4198. 1812.74 s [opt-env-conf-test] - pure $ Just completions
  4199. 1812.74 s [opt-env-conf-test] + pure $ Nothing
  4200. 1812.74 s [opt-env-conf-test] if settingHidden
  4201. 1812.74 s [opt-env-conf-test] then pure $ Just []
  4202. 1812.74 s [opt-env-conf-test] else do
  4203. 1812.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  4204. 1812.74 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4205. 1812.74 s [opt-env-conf-test] then pure $ Just []
  4206. 1812.74 s [opt-env-conf-test] else do
  4207. 1812.74 s [opt-env-conf-test] as <- get
  4208. 1812.74 s [opt-env-conf-test] - if settingTryArgument
  4209. 1812.74 s [opt-env-conf-test] + if True
  4210. 1812.74 s [opt-env-conf-test] then do
  4211. 1812.74 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4212. 1812.74 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4213. 1812.74 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
  4214. 1812.74 s [opt-env-conf-test] @@ -425,7 +425,7 @@
  4215. 1812.74 s [opt-env-conf-test] case filter (isJust . fst) possibilities of
  4216. 1812.74 s [opt-env-conf-test] (_, as') : _ -> do
  4217. 1812.74 s [opt-env-conf-test] put as'
  4218. 1812.74 s [opt-env-conf-test] - pure $ Just []
  4219. 1812.74 s [opt-env-conf-test] + pure $ Nothing
  4220. 1812.74 s [opt-env-conf-test] [] ->
  4221. 1812.74 s [opt-env-conf-test] -- No possibility consumed a value. This is either
  4222. 1812.74 s [opt-env-conf-test] -- because there are no args at all (the [] case from
  4223. 1812.74 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
  4224. 1812.74 s [opt-env-conf-test] @@ -412,7 +412,7 @@
  4225. 1812.74 s [opt-env-conf-test] suggestions
  4226. 1812.74 s [opt-env-conf-test] pure $ Just completions
  4227. 1812.74 s [opt-env-conf-test] if settingHidden
  4228. 1812.74 s [opt-env-conf-test] - then pure $ Just []
  4229. 1812.74 s [opt-env-conf-test] + then pure $ Nothing
  4230. 1812.74 s [opt-env-conf-test] else do
  4231. 1812.74 s [opt-env-conf-test] as <- get
  4232. 1812.74 s [opt-env-conf-test] if settingTryArgument
  4233. 1812.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
  4234. 1812.74 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4235. 1812.74 s [opt-env-conf-test] then pure $ Just []
  4236. 1812.74 s [opt-env-conf-test] else do
  4237. 1812.74 s [opt-env-conf-test] as <- get
  4238. 1812.74 s [opt-env-conf-test] - if settingTryArgument
  4239. 1812.75 s [opt-env-conf-test] + if not (settingTryArgument)
  4240. 1812.75 s [opt-env-conf-test] then do
  4241. 1812.75 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4242. 1812.75 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4243. 1812.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  4244. 1812.75 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4245. 1812.75 s [opt-env-conf-test] then pure $ Just []
  4246. 1812.75 s [opt-env-conf-test] else do
  4247. 1812.75 s [opt-env-conf-test] as <- get
  4248. 1812.75 s [opt-env-conf-test] - if settingTryArgument
  4249. 1812.75 s [opt-env-conf-test] + if False
  4250. 1812.75 s [opt-env-conf-test] then do
  4251. 1812.75 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4252. 1812.75 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4253. 1812.75 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
  4254. 1812.75 s [opt-env-conf-test] @@ -423,9 +423,8 @@
  4255. 1812.75 s [opt-env-conf-test] -- that over the "don't consume" fallback, because a
  4256. 1812.75 s [opt-env-conf-test] -- consumed value means the user already provided input.
  4257. 1812.75 s [opt-env-conf-test] case filter (isJust . fst) possibilities of
  4258. 1812.75 s [opt-env-conf-test] (_, as') : _ -> do
  4259. 1812.75 s [opt-env-conf-test] - put as'
  4260. 1812.75 s [opt-env-conf-test] pure $ Just []
  4261. 1812.75 s [opt-env-conf-test] [] ->
  4262. 1812.75 s [opt-env-conf-test] -- No possibility consumed a value. This is either
  4263. 1812.75 s [opt-env-conf-test] -- because there are no args at all (the [] case from
  4264. 1812.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
  4265. 1812.75 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4266. 1812.75 s [opt-env-conf-test] )
  4267. 1812.75 s [opt-env-conf-test] suggestions
  4268. 1812.75 s [opt-env-conf-test] pure $ Just completions
  4269. 1812.75 s [opt-env-conf-test] - if settingHidden
  4270. 1812.75 s [opt-env-conf-test] + if not (settingHidden)
  4271. 1812.75 s [opt-env-conf-test] then pure $ Just []
  4272. 1812.75 s [opt-env-conf-test] else do
  4273. 1812.75 s [opt-env-conf-test] as <- get
  4274. 1812.75 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
  4275. 1812.75 s [opt-env-conf-test] @@ -434,9 +434,8 @@
  4276. 1812.75 s [opt-env-conf-test] -- completer if we are at the end.
  4277. 1812.75 s [opt-env-conf-test] case possibilities of
  4278. 1812.75 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  4279. 1812.75 s [opt-env-conf-test] (_, as') : _ -> do
  4280. 1812.75 s [opt-env-conf-test] - put as'
  4281. 1812.75 s [opt-env-conf-test] completeWithCompleterAtEnd
  4282. 1812.75 s [opt-env-conf-test] else
  4283. 1812.75 s [opt-env-conf-test] if isJust settingSwitchValue
  4284. 1812.75 s [opt-env-conf-test] then do
  4285. 1812.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  4286. 1812.75 s [opt-env-conf-test] @@ -432,11 +432,8 @@
  4287. 1812.75 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  4288. 1812.75 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  4289. 1812.75 s [opt-env-conf-test] -- completer if we are at the end.
  4290. 1812.75 s [opt-env-conf-test] case possibilities of
  4291. 1812.75 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  4292. 1812.75 s [opt-env-conf-test] - (_, as') : _ -> do
  4293. 1812.75 s [opt-env-conf-test] - put as'
  4294. 1812.75 s [opt-env-conf-test] - completeWithCompleterAtEnd
  4295. 1812.75 s [opt-env-conf-test] else
  4296. 1812.75 s [opt-env-conf-test] if isJust settingSwitchValue
  4297. 1812.75 s [opt-env-conf-test] then do
  4298. 1812.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  4299. 1812.76 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  4300. 1812.76 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  4301. 1812.76 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  4302. 1812.76 s [opt-env-conf-test] -- completer if we are at the end.
  4303. 1812.76 s [opt-env-conf-test] case possibilities of
  4304. 1812.76 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  4305. 1812.76 s [opt-env-conf-test] (_, as') : _ -> do
  4306. 1812.76 s [opt-env-conf-test] put as'
  4307. 1812.76 s [opt-env-conf-test] completeWithCompleterAtEnd
  4308. 1812.76 s [opt-env-conf-test] else
  4309. 1817.97 s [opt-env-conf-test] if isJust settingSwitchValue
  4310. 1817.97 s [opt-env-conf-test] then do
  4311. 1817.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  4312. 1817.99 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4313. 1817.99 s [opt-env-conf-test] put as'
  4314. 1817.99 s [opt-env-conf-test] completeWithCompleterAtEnd
  4315. 1818.00 s [opt-env-conf-test] else
  4316. 1818.00 s [opt-env-conf-test] - if isJust settingSwitchValue
  4317. 1818.00 s [opt-env-conf-test] + if False
  4318. 1818.00 s [opt-env-conf-test] then do
  4319. 1818.00 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4320. 1818.00 s [opt-env-conf-test] -- it's already been parsed.
  4321. 1818.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  4322. 1818.00 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4323. 1818.00 s [opt-env-conf-test] put as'
  4324. 1818.00 s [opt-env-conf-test] completeWithCompleterAtEnd
  4325. 1818.00 s [opt-env-conf-test] else
  4326. 1818.00 s [opt-env-conf-test] - if isJust settingSwitchValue
  4327. 1818.00 s [opt-env-conf-test] + if True
  4328. 1818.00 s [opt-env-conf-test] then do
  4329. 1818.00 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4330. 1818.00 s [opt-env-conf-test] -- it's already been parsed.
  4331. 1818.00 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
  4332. 1818.00 s [opt-env-conf-test] @@ -448,7 +448,7 @@
  4333. 1818.00 s [opt-env-conf-test] completeWithDasheds
  4334. 1818.00 s [opt-env-conf-test] Just as' -> do
  4335. 1818.00 s [opt-env-conf-test] put as'
  4336. 1818.00 s [opt-env-conf-test] - pure $ Just []
  4337. 1818.00 s [opt-env-conf-test] + pure $ Nothing
  4338. 1818.00 s [opt-env-conf-test] else do
  4339. 1818.00 s [opt-env-conf-test] if settingTryOption
  4340. 1818.00 s [opt-env-conf-test] then do
  4341. 1818.00 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
  4342. 1818.00 s [opt-env-conf-test] @@ -446,9 +446,8 @@
  4343. 1818.00 s [opt-env-conf-test] Nothing ->
  4344. 1818.00 s [opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
  4345. 1818.00 s [opt-env-conf-test] completeWithDasheds
  4346. 1818.00 s [opt-env-conf-test] Just as' -> do
  4347. 1818.00 s [opt-env-conf-test] - put as'
  4348. 1818.00 s [opt-env-conf-test] pure $ Just []
  4349. 1818.00 s [opt-env-conf-test] else do
  4350. 1818.00 s [opt-env-conf-test] if settingTryOption
  4351. 1818.00 s [opt-env-conf-test] then do
  4352. 1818.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  4353. 1818.00 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4354. 1818.00 s [opt-env-conf-test] put as'
  4355. 1818.00 s [opt-env-conf-test] pure $ Just []
  4356. 1818.00 s [opt-env-conf-test] else do
  4357. 1818.00 s [opt-env-conf-test] - if settingTryOption
  4358. 1818.01 s [opt-env-conf-test] + if False
  4359. 1818.01 s [opt-env-conf-test] then do
  4360. 1818.01 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4361. 1818.01 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4362. 1818.01 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
  4363. 1818.01 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4364. 1818.01 s [opt-env-conf-test] put as'
  4365. 1818.01 s [opt-env-conf-test] pure $ Just []
  4366. 1818.01 s [opt-env-conf-test] else do
  4367. 1818.01 s [opt-env-conf-test] - if settingTryOption
  4368. 1818.01 s [opt-env-conf-test] + if not (settingTryOption)
  4369. 1818.01 s [opt-env-conf-test] then do
  4370. 1818.01 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4371. 1818.01 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4372. 1818.01 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
  4373. 1818.01 s [opt-env-conf-test] @@ -456,7 +456,7 @@
  4374. 1818.01 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4375. 1818.01 s [opt-env-conf-test] Just (_, as') -> do
  4376. 1818.01 s [opt-env-conf-test] put as'
  4377. 1818.01 s [opt-env-conf-test] - pure $ Just []
  4378. 1818.01 s [opt-env-conf-test] + pure $ Nothing
  4379. 1818.01 s [opt-env-conf-test] Nothing -> do
  4380. 1818.01 s [opt-env-conf-test] if argsAtEnd as
  4381. 1818.01 s [opt-env-conf-test] then completeWithDasheds
  4382. 1818.01 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
  4383. 1818.01 s [opt-env-conf-test] @@ -454,9 +454,8 @@
  4384. 1818.01 s [opt-env-conf-test] then do
  4385. 1818.01 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4386. 1818.01 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4387. 1818.01 s [opt-env-conf-test] Just (_, as') -> do
  4388. 1818.01 s [opt-env-conf-test] - put as'
  4389. 1818.01 s [opt-env-conf-test] pure $ Just []
  4390. 1818.01 s [opt-env-conf-test] Nothing -> do
  4391. 1818.01 s [opt-env-conf-test] if argsAtEnd as
  4392. 1818.01 s [opt-env-conf-test] then completeWithDasheds
  4393. 1818.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  4394. 1818.01 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4395. 1818.01 s [opt-env-conf-test] put as'
  4396. 1818.01 s [opt-env-conf-test] pure $ Just []
  4397. 1818.01 s [opt-env-conf-test] Nothing -> do
  4398. 1818.01 s [opt-env-conf-test] - if argsAtEnd as
  4399. 1818.01 s [opt-env-conf-test] + if True
  4400. 1818.01 s [opt-env-conf-test] then completeWithDasheds
  4401. 1818.01 s [opt-env-conf-test] else do
  4402. 1818.01 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4403. 1818.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  4404. 1818.01 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4405. 1818.01 s [opt-env-conf-test] put as'
  4406. 1818.02 s [opt-env-conf-test] pure $ Just []
  4407. 1818.02 s [opt-env-conf-test] Nothing -> do
  4408. 1818.02 s [opt-env-conf-test] - if argsAtEnd as
  4409. 1818.02 s [opt-env-conf-test] + if False
  4410. 1818.02 s [opt-env-conf-test] then completeWithDasheds
  4411. 1818.02 s [opt-env-conf-test] else do
  4412. 1818.02 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4413. 1818.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
  4414. 1818.02 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4415. 1818.02 s [opt-env-conf-test] put as'
  4416. 1818.02 s [opt-env-conf-test] pure $ Just []
  4417. 1818.02 s [opt-env-conf-test] Nothing -> do
  4418. 1818.02 s [opt-env-conf-test] - if argsAtEnd as
  4419. 1818.02 s [opt-env-conf-test] + if not (argsAtEnd as)
  4420. 1818.02 s [opt-env-conf-test] then completeWithDasheds
  4421. 1818.02 s [opt-env-conf-test] else do
  4422. 1818.02 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4423. 1818.02 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
  4424. 1818.02 s [opt-env-conf-test] @@ -484,4 +484,4 @@
  4425. 1818.02 s [opt-env-conf-test] -- this branch, improving completions when one branch
  4426. 1818.02 s [opt-env-conf-test] -- is env/conf-only and the other has args/options.
  4427. 1818.02 s [opt-env-conf-test] -- This would require IO or an environment parameter.
  4428. 1818.02 s [opt-env-conf-test] - pure $ Just []
  4429. 1818.02 s [opt-env-conf-test] + pure $ Nothing
  4430. 1818.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  4431. 1818.02 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  4432. 1818.02 s [opt-env-conf-test] --
  4433. 1818.02 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  4434. 1818.02 s [opt-env-conf-test] let index = pred index'
  4435. 1818.02 s [opt-env-conf-test] - let ws = drop 1 ws'
  4436. 1818.02 s [opt-env-conf-test] + let ws = drop -1 ws'
  4437. 1818.02 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  4438. 1818.02 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  4439. 1818.02 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  4440. 1818.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  4441. 1818.02 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  4442. 1818.02 s [opt-env-conf-test] --
  4443. 1818.02 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  4444. 1818.02 s [opt-env-conf-test] let index = pred index'
  4445. 1818.02 s [opt-env-conf-test] - let ws = drop 1 ws'
  4446. 1818.02 s [opt-env-conf-test] + let ws = drop 0 ws'
  4447. 1818.02 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  4448. 1818.02 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  4449. 1818.02 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  4450. 1818.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  4451. 1818.02 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4452. 1818.02 s [opt-env-conf-test] -- import System.IO
  4453. 1818.02 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4454. 1818.02 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4455. 1818.02 s [opt-env-conf-test] - if enriched
  4456. 1818.02 s [opt-env-conf-test] + if True
  4457. 1818.02 s [opt-env-conf-test] then
  4458. 1818.02 s [opt-env-conf-test] putStr $
  4459. 1818.02 s [opt-env-conf-test] unlines $
  4460. 1818.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  4461. 1818.02 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4462. 1818.02 s [opt-env-conf-test] -- import System.IO
  4463. 1818.02 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4464. 1818.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4465. 1818.03 s [opt-env-conf-test] - if enriched
  4466. 1818.03 s [opt-env-conf-test] + if False
  4467. 1818.03 s [opt-env-conf-test] then
  4468. 1818.03 s [opt-env-conf-test] putStr $
  4469. 1818.03 s [opt-env-conf-test] unlines $
  4470. 1818.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  4471. 1818.03 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4472. 1818.03 s [opt-env-conf-test] map
  4473. 1818.03 s [opt-env-conf-test] ( \Completion {..} ->
  4474. 1818.03 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4475. 1818.03 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4476. 1818.03 s [opt-env-conf-test] + notFinal = True
  4477. 1818.03 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4478. 1818.03 s [opt-env-conf-test] (False, Nothing) -> val
  4479. 1818.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4480. 1818.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
  4481. 1818.03 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4482. 1818.03 s [opt-env-conf-test] -- import System.IO
  4483. 1818.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4484. 1818.03 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4485. 1818.03 s [opt-env-conf-test] - if enriched
  4486. 1818.03 s [opt-env-conf-test] + if not (enriched)
  4487. 1818.03 s [opt-env-conf-test] then
  4488. 1818.03 s [opt-env-conf-test] putStr $
  4489. 1818.03 s [opt-env-conf-test] unlines $
  4490. 1818.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  4491. 1818.03 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4492. 1818.03 s [opt-env-conf-test] map
  4493. 1818.03 s [opt-env-conf-test] ( \Completion {..} ->
  4494. 1818.03 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4495. 1818.03 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4496. 1818.03 s [opt-env-conf-test] + notFinal = False
  4497. 1818.03 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4498. 1818.03 s [opt-env-conf-test] (False, Nothing) -> val
  4499. 1818.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4500. 1818.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
  4501. 1818.03 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4502. 1818.03 s [opt-env-conf-test] map
  4503. 1818.03 s [opt-env-conf-test] ( \Completion {..} ->
  4504. 1818.03 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4505. 1818.03 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4506. 1818.03 s [opt-env-conf-test] + notFinal = not (completionResultFinality completionSuggestion == CompletionNotFinal)
  4507. 1818.03 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4508. 1818.03 s [opt-env-conf-test] (False, Nothing) -> val
  4509. 1818.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4510. 1818.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  4511. 1818.03 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4512. 1818.03 s [opt-env-conf-test] ( \Completion {..} ->
  4513. 1818.03 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4514. 1818.03 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4515. 1818.03 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4516. 1818.03 s [opt-env-conf-test] + in case (False, completionDescription) of
  4517. 1818.03 s [opt-env-conf-test] (False, Nothing) -> val
  4518. 1818.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4519. 1818.03 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4520. 1818.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  4521. 1818.03 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4522. 1818.03 s [opt-env-conf-test] ( \Completion {..} ->
  4523. 1818.03 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4524. 1818.03 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4525. 1818.03 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4526. 1818.03 s [opt-env-conf-test] + in case (True, completionDescription) of
  4527. 1818.03 s [opt-env-conf-test] (False, Nothing) -> val
  4528. 1818.03 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4529. 1818.03 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4530. 1818.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
  4531. 1818.03 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4532. 1818.04 s [opt-env-conf-test] ( \Completion {..} ->
  4533. 1818.04 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4534. 1818.04 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4535. 1818.04 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4536. 1818.04 s [opt-env-conf-test] + in case (not (notFinal), completionDescription) of
  4537. 1818.04 s [opt-env-conf-test] (False, Nothing) -> val
  4538. 1818.04 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4539. 1818.04 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4540. 1818.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4541. 1818.04 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4542. 1818.04 s [opt-env-conf-test] ( \Completion {..} ->
  4543. 1818.04 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4544. 1818.04 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4545. 1818.04 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4546. 1818.04 s [opt-env-conf-test] - (False, Nothing) -> val
  4547. 1818.04 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4548. 1818.04 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4549. 1818.04 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4550. 1818.04 s [opt-env-conf-test] )
  4551. 1818.04 s [opt-env-conf-test] evaluatedCompletions
  4552. 1818.04 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4553. 1818.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4554. 1818.04 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4555. 1818.04 s [opt-env-conf-test] ( \Completion {..} ->
  4556. 1818.04 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4557. 1818.04 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4558. 1818.04 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4559. 1818.04 s [opt-env-conf-test] (False, Nothing) -> val
  4560. 1818.04 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4561. 1818.04 s [opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
  4562. 1818.04 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4563. 1818.04 s [opt-env-conf-test] )
  4564. 1818.04 s [opt-env-conf-test] evaluatedCompletions
  4565. 1818.04 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4566. 1818.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4567. 1818.04 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4568. 1818.04 s [opt-env-conf-test] ( \Completion {..} ->
  4569. 1818.04 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4570. 1818.04 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4571. 1818.04 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4572. 1818.04 s [opt-env-conf-test] (False, Nothing) -> val
  4573. 1818.04 s [opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
  4574. 1818.04 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4575. 1818.04 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4576. 1818.04 s [opt-env-conf-test] )
  4577. 1818.04 s [opt-env-conf-test] evaluatedCompletions
  4578. 1818.04 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4579. 1818.04 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
  4580. 1818.04 s [opt-env-conf-test] @@ -470,7 +470,7 @@
  4581. 1818.04 s [opt-env-conf-test] -- the option because consumeOption would try to
  4582. 1818.04 s [opt-env-conf-test] -- consume the option argument too.
  4583. 1818.04 s [opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
  4584. 1818.04 s [opt-env-conf-test] - Nothing -> pure $ Just []
  4585. 1818.04 s [opt-env-conf-test] + Nothing -> pure $ Nothing
  4586. 1818.04 s [opt-env-conf-test] Just as' -> do
  4587. 1818.04 s [opt-env-conf-test] put as'
  4588. 1819.23 s [opt-env-conf-test] completeWithCompleterAtEnd
  4589. 1819.23 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
  4590. 1819.23 s [opt-env-conf-test] @@ -471,9 +471,8 @@
  4591. 1819.23 s [opt-env-conf-test] -- consume the option argument too.
  4592. 1819.23 s [opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
  4593. 1819.23 s [opt-env-conf-test] Nothing -> pure $ Just []
  4594. 1819.23 s [opt-env-conf-test] Just as' -> do
  4595. 1819.23 s [opt-env-conf-test] - put as'
  4596. 1819.23 s [opt-env-conf-test] completeWithCompleterAtEnd
  4597. 1819.23 s [opt-env-conf-test] else do
  4598. 1819.23 s [opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
  4599. 1819.23 s [opt-env-conf-test] -- or config values, but this path is still valid.
  4600. 1819.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  4601. 1819.23 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4602. 1819.23 s [opt-env-conf-test] put as'
  4603. 1819.23 s [opt-env-conf-test] pure $ Just []
  4604. 1819.23 s [opt-env-conf-test] else do
  4605. 1819.23 s [opt-env-conf-test] - if settingTryOption
  4606. 1819.23 s [opt-env-conf-test] + if True
  4607. 1819.23 s [opt-env-conf-test] then do
  4608. 1819.23 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4609. 1819.23 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4610. 1819.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
  4611. 1819.23 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4612. 1819.23 s [opt-env-conf-test] put as'
  4613. 1819.23 s [opt-env-conf-test] completeWithCompleterAtEnd
  4614. 1819.23 s [opt-env-conf-test] else
  4615. 1819.23 s [opt-env-conf-test] - if isJust settingSwitchValue
  4616. 1819.23 s [opt-env-conf-test] + if not (isJust settingSwitchValue)
  4617. 1819.23 s [opt-env-conf-test] then do
  4618. 1819.23 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4619. 1819.23 s [opt-env-conf-test] -- it's already been parsed.
  4620. 1819.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4621. 1819.23 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4622. 1819.23 s [opt-env-conf-test] ( \Completion {..} ->
  4623. 1819.23 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4624. 1819.23 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4625. 1819.23 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4626. 1819.23 s [opt-env-conf-test] (False, Nothing) -> val
  4627. 1819.23 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4628. 1819.23 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4629. 1819.23 s [opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
  4630. 1819.23 s [opt-env-conf-test] )
  4631. 1819.23 s [opt-env-conf-test] evaluatedCompletions
  4632. 1819.23 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4633. 1819.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4634. 1819.24 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  4635. 1819.24 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4636. 1819.24 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4637. 1819.24 s [opt-env-conf-test] in unlines
  4638. 1819.24 s [opt-env-conf-test] - [ " function " ++ functionName,
  4639. 1819.24 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  4640. 1819.24 s [opt-env-conf-test] " # Hack around fish issue #3934",
  4641. 1819.24 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4642. 1819.24 s [opt-env-conf-test] " set -l cn (count $cn)",
  4643. 1819.24 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4644. 1819.24 s [opt-env-conf-test] " for arg in $cl",
  4645. 1819.24 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  4646. 1819.24 s [opt-env-conf-test] " end",
  4647. 1819.24 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4648. 1819.24 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  4649. 1819.24 s [opt-env-conf-test] " if test -d $val",
  4650. 1819.24 s [opt-env-conf-test] " echo -E \"$val/\"",
  4651. 1819.24 s [opt-env-conf-test] " else",
  4652. 1819.24 s [opt-env-conf-test] " echo -E \"$val\"",
  4653. 1819.24 s [opt-env-conf-test] " end",
  4654. 1819.24 s [opt-env-conf-test] " end",
  4655. 1819.24 s [opt-env-conf-test] "end",
  4656. 1819.24 s [opt-env-conf-test] "",
  4657. 1819.24 s [opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4658. 1819.24 s [opt-env-conf-test] ]
  4659. 1819.24 s [opt-env-conf-test]
  4660. 1819.24 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4661. 1819.24 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4662. 1819.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4663. 1819.24 s [opt-env-conf-test] @@ -113,27 +113,7 @@
  4664. 1819.24 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4665. 1819.24 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4666. 1819.24 s [opt-env-conf-test] in unlines
  4667. 1819.24 s [opt-env-conf-test] - [ " function " ++ functionName,
  4668. 1819.24 s [opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
  4669. 1819.24 s [opt-env-conf-test] - " # Hack around fish issue #3934",
  4670. 1819.24 s [opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4671. 1819.24 s [opt-env-conf-test] - " set -l cn (count $cn)",
  4672. 1819.24 s [opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4673. 1819.24 s [opt-env-conf-test] - " for arg in $cl",
  4674. 1819.24 s [opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
  4675. 1819.24 s [opt-env-conf-test] - " end",
  4676. 1819.24 s [opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4677. 1819.24 s [opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
  4678. 1819.24 s [opt-env-conf-test] - " if test -d $val",
  4679. 1819.24 s [opt-env-conf-test] - " echo -E \"$val/\"",
  4680. 1819.24 s [opt-env-conf-test] - " else",
  4681. 1819.24 s [opt-env-conf-test] - " echo -E \"$val\"",
  4682. 1819.24 s [opt-env-conf-test] - " end",
  4683. 1819.24 s [opt-env-conf-test] - " end",
  4684. 1819.24 s [opt-env-conf-test] - "end",
  4685. 1819.24 s [opt-env-conf-test] - "",
  4686. 1819.24 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4687. 1819.24 s [opt-env-conf-test] ]
  4688. 1819.24 s [opt-env-conf-test]
  4689. 1819.24 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4690. 1819.24 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4691. 1819.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4692. 1819.24 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  4693. 1819.24 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4694. 1819.24 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4695. 1819.24 s [opt-env-conf-test] in unlines
  4696. 1819.24 s [opt-env-conf-test] [ " function " ++ functionName,
  4697. 1819.24 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  4698. 1819.24 s [opt-env-conf-test] " # Hack around fish issue #3934",
  4699. 1819.24 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4700. 1819.24 s [opt-env-conf-test] " set -l cn (count $cn)",
  4701. 1819.24 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4702. 1819.24 s [opt-env-conf-test] " for arg in $cl",
  4703. 1819.24 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  4704. 1819.24 s [opt-env-conf-test] " end",
  4705. 1819.24 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4706. 1819.24 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  4707. 1819.24 s [opt-env-conf-test] " if test -d $val",
  4708. 1819.24 s [opt-env-conf-test] " echo -E \"$val/\"",
  4709. 1819.24 s [opt-env-conf-test] " else",
  4710. 1819.24 s [opt-env-conf-test] " echo -E \"$val\"",
  4711. 1819.24 s [opt-env-conf-test] " end",
  4712. 1819.24 s [opt-env-conf-test] " end",
  4713. 1819.24 s [opt-env-conf-test] "end",
  4714. 1819.24 s [opt-env-conf-test] "",
  4715. 1819.24 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4716. 1819.24 s [opt-env-conf-test] ]
  4717. 1819.24 s [opt-env-conf-test]
  4718. 1819.24 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4719. 1819.24 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4720. 1819.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4721. 1819.24 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  4722. 1819.24 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4723. 1819.24 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4724. 1819.24 s [opt-env-conf-test] unlines
  4725. 1819.24 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  4726. 1819.24 s [opt-env-conf-test] "",
  4727. 1819.24 s [opt-env-conf-test] "local request",
  4728. 1819.24 s [opt-env-conf-test] "local completions",
  4729. 1819.24 s [opt-env-conf-test] "local word",
  4730. 1819.24 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  4731. 1819.24 s [opt-env-conf-test] "",
  4732. 1819.24 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4733. 1819.24 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  4734. 1819.24 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  4735. 1819.24 s [opt-env-conf-test] "done",
  4736. 1819.24 s [opt-env-conf-test] "",
  4737. 1819.24 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4738. 1819.24 s [opt-env-conf-test] "",
  4739. 1819.24 s [opt-env-conf-test] "for word in $completions; do",
  4740. 1819.24 s [opt-env-conf-test] " local -a parts",
  4741. 1819.24 s [opt-env-conf-test] "",
  4742. 1819.24 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  4743. 1819.24 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  4744. 1819.24 s [opt-env-conf-test] "",
  4745. 1819.24 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  4746. 1819.24 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  4747. 1819.24 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  4748. 1819.24 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  4749. 1819.24 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  4750. 1819.24 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4751. 1819.24 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  4752. 1819.24 s [opt-env-conf-test] " else",
  4753. 1819.24 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4754. 1820.92 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  4755. 1820.92 s [opt-env-conf-test] " fi",
  4756. 1820.92 s [opt-env-conf-test] " else",
  4757. 1820.92 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  4758. 1820.92 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  4759. 1820.92 s [opt-env-conf-test] " else",
  4760. 1820.92 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  4761. 1820.92 s [opt-env-conf-test] " fi",
  4762. 1820.92 s [opt-env-conf-test] " fi",
  4763. 1820.92 s [opt-env-conf-test] "done"
  4764. 1820.92 s [opt-env-conf-test] ]
  4765. 1820.92 s [opt-env-conf-test]
  4766. 1820.92 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4767. 1820.92 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4768. 1820.92 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
  4769. 1820.92 s [opt-env-conf-test] @@ -168,22 +168,6 @@
  4770. 1820.92 s [opt-env-conf-test] -- import System.IO
  4771. 1820.92 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4772. 1820.92 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4773. 1820.92 s [opt-env-conf-test] - if enriched
  4774. 1820.92 s [opt-env-conf-test] - then
  4775. 1820.92 s [opt-env-conf-test] - putStr $
  4776. 1820.93 s [opt-env-conf-test] - unlines $
  4777. 1820.93 s [opt-env-conf-test] - map
  4778. 1820.93 s [opt-env-conf-test] - ( \Completion {..} ->
  4779. 1820.93 s [opt-env-conf-test] - let val = completionResultValue completionSuggestion
  4780. 1820.93 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4781. 1820.93 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4782. 1820.93 s [opt-env-conf-test] - (False, Nothing) -> val
  4783. 1820.93 s [opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
  4784. 1820.93 s [opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
  4785. 1820.93 s [opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
  4786. 1820.93 s [opt-env-conf-test] - )
  4787. 1820.93 s [opt-env-conf-test] - evaluatedCompletions
  4788. 1820.93 s [opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4789. 1820.93 s [opt-env-conf-test] pure ()
  4790. 1820.93 s [opt-env-conf-test]
  4791. 1820.93 s [opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
  4792. 1820.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  4793. 1820.93 s [opt-env-conf-test] @@ -40,22 +40,7 @@
  4794. 1820.93 s [opt-env-conf-test] bashCompletionScript progPath progname =
  4795. 1820.93 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4796. 1820.93 s [opt-env-conf-test] in unlines
  4797. 1820.93 s [opt-env-conf-test] - [ functionName ++ "()",
  4798. 1820.93 s [opt-env-conf-test] - "{",
  4799. 1820.93 s [opt-env-conf-test] - " local CMDLINE",
  4800. 1820.93 s [opt-env-conf-test] - " local IFS=$'\\n'",
  4801. 1820.93 s [opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
  4802. 1820.93 s [opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
  4803. 1820.93 s [opt-env-conf-test] - "",
  4804. 1820.93 s [opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
  4805. 1820.93 s [opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  4806. 1820.93 s [opt-env-conf-test] - " done",
  4807. 1820.93 s [opt-env-conf-test] - "",
  4808. 1820.93 s [opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  4809. 1820.93 s [opt-env-conf-test] - "}",
  4810. 1820.93 s [opt-env-conf-test] - "",
  4811. 1820.93 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  4812. 1820.93 s [opt-env-conf-test] ]
  4813. 1820.93 s [opt-env-conf-test]
  4814. 1820.93 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  4815. 1820.93 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  4816. 1820.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4817. 1820.93 s [opt-env-conf-test] @@ -64,46 +64,7 @@
  4818. 1820.93 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4819. 1820.93 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4820. 1820.93 s [opt-env-conf-test] unlines
  4821. 1820.93 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  4822. 1820.93 s [opt-env-conf-test] - "",
  4823. 1820.93 s [opt-env-conf-test] - "local request",
  4824. 1820.93 s [opt-env-conf-test] - "local completions",
  4825. 1820.93 s [opt-env-conf-test] - "local word",
  4826. 1820.93 s [opt-env-conf-test] - "local index=$((CURRENT - 1))",
  4827. 1820.93 s [opt-env-conf-test] - "",
  4828. 1820.93 s [opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4829. 1820.93 s [opt-env-conf-test] - "for arg in ${words[@]}; do",
  4830. 1820.93 s [opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
  4831. 1820.93 s [opt-env-conf-test] - "done",
  4832. 1820.93 s [opt-env-conf-test] - "",
  4833. 1820.93 s [opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4834. 1820.93 s [opt-env-conf-test] - "",
  4835. 1820.93 s [opt-env-conf-test] - "for word in $completions; do",
  4836. 1820.93 s [opt-env-conf-test] - " local -a parts",
  4837. 1820.93 s [opt-env-conf-test] - "",
  4838. 1820.93 s [opt-env-conf-test] - " # Split the line at a tab if there is one.",
  4839. 1820.93 s [opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
  4840. 1820.93 s [opt-env-conf-test] - "",
  4841. 1820.93 s [opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
  4842. 1820.93 s [opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
  4843. 1820.93 s [opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
  4844. 1820.93 s [opt-env-conf-test] - " compadd -d desc -- $parts[1]",
  4845. 1820.93 s [opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
  4846. 1820.93 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4847. 1820.93 s [opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
  4848. 1820.93 s [opt-env-conf-test] - " else",
  4849. 1820.93 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4850. 1820.93 s [opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
  4851. 1820.94 s [opt-env-conf-test] - " fi",
  4852. 1820.94 s [opt-env-conf-test] - " else",
  4853. 1820.94 s [opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
  4854. 1820.94 s [opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
  4855. 1820.94 s [opt-env-conf-test] - " else",
  4856. 1820.94 s [opt-env-conf-test] - " compadd -f -- $parts[1]",
  4857. 1820.94 s [opt-env-conf-test] - " fi",
  4858. 1820.94 s [opt-env-conf-test] - " fi",
  4859. 1820.94 s [opt-env-conf-test] - "done"
  4860. 1820.94 s [opt-env-conf-test] ]
  4861. 1820.94 s [opt-env-conf-test]
  4862. 1820.94 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4863. 1824.19 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4864. 1824.19 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4865. 1824.28 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  4866. 1824.28 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4867. 1824.28 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4868. 1824.28 s [opt-env-conf-test] unlines
  4869. 1824.28 s [opt-env-conf-test] [ "#compdef " ++ progname,
  4870. 1824.28 s [opt-env-conf-test] "",
  4871. 1824.28 s [opt-env-conf-test] "local request",
  4872. 1824.28 s [opt-env-conf-test] "local completions",
  4873. 1824.28 s [opt-env-conf-test] "local word",
  4874. 1824.29 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  4875. 1824.29 s [opt-env-conf-test] "",
  4876. 1824.29 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4877. 1824.29 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  4878. 1824.29 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  4879. 1824.29 s [opt-env-conf-test] "done",
  4880. 1824.29 s [opt-env-conf-test] "",
  4881. 1824.29 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4882. 1824.29 s [opt-env-conf-test] "",
  4883. 1824.29 s [opt-env-conf-test] "for word in $completions; do",
  4884. 1824.29 s [opt-env-conf-test] " local -a parts",
  4885. 1824.29 s [opt-env-conf-test] "",
  4886. 1824.29 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  4887. 1824.29 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  4888. 1824.29 s [opt-env-conf-test] "",
  4889. 1824.29 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  4890. 1824.29 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  4891. 1824.29 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  4892. 1824.29 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  4893. 1824.29 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  4894. 1824.29 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4895. 1824.29 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  4896. 1824.29 s [opt-env-conf-test] " else",
  4897. 1824.29 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4898. 1824.29 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  4899. 1824.29 s [opt-env-conf-test] " fi",
  4900. 1824.29 s [opt-env-conf-test] " else",
  4901. 1824.29 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  4902. 1824.29 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  4903. 1824.29 s [opt-env-conf-test] " else",
  4904. 1824.29 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  4905. 1824.29 s [opt-env-conf-test] " fi",
  4906. 1824.29 s [opt-env-conf-test] " fi",
  4907. 1824.29 s [opt-env-conf-test] - "done"
  4908. 1824.29 s [opt-env-conf-test] ]
  4909. 1824.29 s [opt-env-conf-test]
  4910. 1824.29 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4911. 1824.29 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4912. 1824.29 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  4913. 1824.29 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  4914. 1824.29 s [opt-env-conf-test] bashCompletionScript progPath progname =
  4915. 1824.29 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4916. 1824.29 s [opt-env-conf-test] in unlines
  4917. 1824.29 s [opt-env-conf-test] - [ functionName ++ "()",
  4918. 1824.30 s [opt-env-conf-test] "{",
  4919. 1824.30 s [opt-env-conf-test] " local CMDLINE",
  4920. 1824.30 s [opt-env-conf-test] " local IFS=$'\\n'",
  4921. 1824.30 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  4922. 1824.30 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  4923. 1824.30 s [opt-env-conf-test] "",
  4924. 1824.30 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  4925. 1824.30 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  4926. 1824.30 s [opt-env-conf-test] " done",
  4927. 1824.30 s [opt-env-conf-test] "",
  4928. 1824.30 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  4929. 1824.30 s [opt-env-conf-test] "}",
  4930. 1824.30 s [opt-env-conf-test] "",
  4931. 1824.30 s [opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
  4932. 1824.30 s [opt-env-conf-test] ]
  4933. 1824.30 s [opt-env-conf-test]
  4934. 1824.30 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  4935. 1824.30 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  4936. 1824.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  4937. 1824.30 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4938. 1824.30 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4939. 1824.30 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4940. 1824.30 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4941. 1824.30 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4942. 1824.30 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc True caps f <$> go p
  4943. 1824.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4944. 1824.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4945. 1824.30 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4946. 1824.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  4947. 1824.30 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  4948. 1824.30 s [opt-env-conf-test] bashCompletionScript progPath progname =
  4949. 1824.30 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4950. 1824.30 s [opt-env-conf-test] in unlines
  4951. 1824.30 s [opt-env-conf-test] [ functionName ++ "()",
  4952. 1824.30 s [opt-env-conf-test] "{",
  4953. 1824.30 s [opt-env-conf-test] " local CMDLINE",
  4954. 1824.30 s [opt-env-conf-test] " local IFS=$'\\n'",
  4955. 1824.30 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  4956. 1824.30 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  4957. 1824.30 s [opt-env-conf-test] "",
  4958. 1824.30 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  4959. 1824.30 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  4960. 1824.30 s [opt-env-conf-test] " done",
  4961. 1824.30 s [opt-env-conf-test] "",
  4962. 1824.30 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  4963. 1824.30 s [opt-env-conf-test] "}",
  4964. 1824.30 s [opt-env-conf-test] "",
  4965. 1824.30 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  4966. 1824.30 s [opt-env-conf-test] ]
  4967. 1824.30 s [opt-env-conf-test]
  4968. 1824.30 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  4969. 1824.30 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  4970. 1824.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  4971. 1824.30 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4972. 1824.30 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4973. 1824.30 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4974. 1824.30 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4975. 1824.30 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4976. 1824.30 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc False caps f <$> go p
  4977. 1824.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4978. 1824.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4979. 1824.30 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4980. 1824.31 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
  4981. 1824.31 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4982. 1824.31 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4983. 1824.31 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4984. 1824.31 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4985. 1824.31 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4986. 1824.31 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc not (forgivable) caps f <$> go p
  4987. 1824.31 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4988. 1824.31 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4989. 1824.31 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4990. 1824.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  4991. 1824.31 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  4992. 1824.31 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  4993. 1824.31 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  4994. 1824.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  4995. 1824.31 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  4996. 1824.31 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing True caps f (go p)
  4997. 1824.31 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  4998. 1824.31 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  4999. 1824.31 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  5000. 1824.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  5001. 1824.31 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  5002. 1824.31 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  5003. 1824.31 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  5004. 1824.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  5005. 1824.31 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  5006. 1824.31 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing False caps f (go p)
  5007. 1824.31 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  5008. 1824.31 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  5009. 1824.31 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  5010. 1824.31 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
  5011. 1824.31 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  5012. 1824.31 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  5013. 1828.40 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  5014. 1828.41 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  5015. 1828.41 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  5016. 1828.41 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing not (forgivable) caps f (go p)
  5017. 1828.41 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  5018. 1828.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  5019. 1828.41 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  5020. 1828.41 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
  5021. 1828.41 s [opt-env-conf-test] @@ -702,7 +702,7 @@
  5022. 1828.41 s [opt-env-conf-test] let (mDefault, cs) = go bs
  5023. 1828.41 s [opt-env-conf-test] in case b of
  5024. 1828.41 s [opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
  5025. 1828.41 s [opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  5026. 1828.41 s [opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> Nothing, cs)
  5027. 1828.41 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5028. 1828.41 s [opt-env-conf-test]
  5029. 1828.41 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  5030. 1828.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  5031. 1828.41 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  5032. 1828.41 s [opt-env-conf-test] [] -> (Nothing, [])
  5033. 1828.41 s [opt-env-conf-test] (b : bs) ->
  5034. 1828.41 s [opt-env-conf-test] let (mDefault, cs) = go bs
  5035. 1828.41 s [opt-env-conf-test] in case b of
  5036. 1828.41 s [opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
  5037. 1828.41 s [opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  5038. 1828.41 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5039. 1828.41 s [opt-env-conf-test]
  5040. 1828.41 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  5041. 1828.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  5042. 1828.41 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  5043. 1828.41 s [opt-env-conf-test] [] -> (Nothing, [])
  5044. 1828.41 s [opt-env-conf-test] (b : bs) ->
  5045. 1828.41 s [opt-env-conf-test] let (mDefault, cs) = go bs
  5046. 1828.41 s [opt-env-conf-test] in case b of
  5047. 1828.41 s [opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
  5048. 1828.41 s [opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  5049. 1828.41 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5050. 1828.41 s [opt-env-conf-test]
  5051. 1828.41 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  5052. 1828.41 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
  5053. 1828.41 s [opt-env-conf-test] @@ -683,7 +683,7 @@
  5054. 1828.41 s [opt-env-conf-test]
  5055. 1828.41 s [opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
  5056. 1828.41 s [opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  5057. 1828.41 s [opt-env-conf-test] -checkMapIOForgivable = ParserCheck mLoc True Set.empty
  5058. 1828.41 s [opt-env-conf-test] +checkMapIOForgivable = ParserCheck mLoc False Set.empty
  5059. 1828.41 s [opt-env-conf-test] where
  5060. 1828.41 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5061. 1828.42 s [opt-env-conf-test]
  5062. 1828.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  5063. 1828.42 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  5064. 1828.42 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  5065. 1828.42 s [opt-env-conf-test] withFrozenCallStack $
  5066. 1828.42 s [opt-env-conf-test] checkMapEitherForgivable
  5067. 1828.42 s [opt-env-conf-test] ( \a -> case func a of
  5068. 1828.42 s [opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  5069. 1828.42 s [opt-env-conf-test] - Just b -> Right b
  5070. 1828.42 s [opt-env-conf-test] )
  5071. 1828.42 s [opt-env-conf-test] p
  5072. 1828.42 s [opt-env-conf-test]
  5073. 1828.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  5074. 1828.42 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  5075. 1828.42 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  5076. 1828.42 s [opt-env-conf-test] withFrozenCallStack $
  5077. 1828.42 s [opt-env-conf-test] checkMapEitherForgivable
  5078. 1828.42 s [opt-env-conf-test] ( \a -> case func a of
  5079. 1828.42 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  5080. 1828.42 s [opt-env-conf-test] Just b -> Right b
  5081. 1828.42 s [opt-env-conf-test] )
  5082. 1828.42 s [opt-env-conf-test] p
  5083. 1828.42 s [opt-env-conf-test]
  5084. 1828.42 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  5085. 1828.42 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5086. 1828.42 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5087. 1828.42 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5088. 1828.42 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5089. 1828.42 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5090. 1828.42 s [opt-env-conf-test] + ParserCheck mLoc' True (Set.insert cap caps) f p
  5091. 1828.42 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5092. 1828.42 s [opt-env-conf-test] where
  5093. 1828.42 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5094. 1828.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  5095. 1828.42 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  5096. 1828.42 s [opt-env-conf-test] checkMapMaybe func p =
  5097. 1828.42 s [opt-env-conf-test] withFrozenCallStack $
  5098. 1828.42 s [opt-env-conf-test] checkMapEither
  5099. 1828.42 s [opt-env-conf-test] ( \a -> case func a of
  5100. 1828.42 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
  5101. 1828.42 s [opt-env-conf-test] Just b -> Right b
  5102. 1828.42 s [opt-env-conf-test] )
  5103. 1828.42 s [opt-env-conf-test] p
  5104. 1828.42 s [opt-env-conf-test]
  5105. 1828.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  5106. 1828.42 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  5107. 1828.42 s [opt-env-conf-test] checkMapMaybe func p =
  5108. 1828.42 s [opt-env-conf-test] withFrozenCallStack $
  5109. 1828.42 s [opt-env-conf-test] checkMapEither
  5110. 1828.42 s [opt-env-conf-test] ( \a -> case func a of
  5111. 1828.42 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  5112. 1828.42 s [opt-env-conf-test] - Just b -> Right b
  5113. 1828.42 s [opt-env-conf-test] )
  5114. 1828.42 s [opt-env-conf-test] p
  5115. 1828.42 s [opt-env-conf-test]
  5116. 1828.42 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5117. 1828.42 s [opt-env-conf-test] @@ -1016,13 +1016,7 @@
  5118. 1828.42 s [opt-env-conf-test] withFrozenCallStack $
  5119. 1828.42 s [opt-env-conf-test] choice $
  5120. 1828.43 s [opt-env-conf-test] catMaybes
  5121. 1828.43 s [opt-env-conf-test] - [ bareOption,
  5122. 1828.43 s [opt-env-conf-test] - fileOption,
  5123. 1828.43 s [opt-env-conf-test] - bareEnv,
  5124. 1828.43 s [opt-env-conf-test] - fileEnv,
  5125. 1828.43 s [opt-env-conf-test] - bareConf,
  5126. 1828.43 s [opt-env-conf-test] - fileConf
  5127. 1828.43 s [opt-env-conf-test] ]
  5128. 1828.43 s [opt-env-conf-test] where
  5129. 1828.43 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5130. 1828.43 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5131. 1828.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5132. 1828.43 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  5133. 1828.43 s [opt-env-conf-test] withFrozenCallStack $
  5134. 1828.43 s [opt-env-conf-test] choice $
  5135. 1828.43 s [opt-env-conf-test] catMaybes
  5136. 1828.43 s [opt-env-conf-test] - [ bareOption,
  5137. 1828.43 s [opt-env-conf-test] fileOption,
  5138. 1828.43 s [opt-env-conf-test] bareEnv,
  5139. 1828.43 s [opt-env-conf-test] fileEnv,
  5140. 1828.43 s [opt-env-conf-test] bareConf,
  5141. 1828.43 s [opt-env-conf-test] fileConf
  5142. 1828.43 s [opt-env-conf-test] ]
  5143. 1828.43 s [opt-env-conf-test] where
  5144. 1828.43 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5145. 1828.43 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5146. 1828.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  5147. 1828.43 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  5148. 1828.43 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5149. 1828.43 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5150. 1828.43 s [opt-env-conf-test] bareSetting p f = do
  5151. 1828.43 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  5152. 1828.43 s [opt-env-conf-test] guard $ p s
  5153. 1828.43 s [opt-env-conf-test] pure $
  5154. 1828.43 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  5155. 1828.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  5156. 1828.43 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  5157. 1828.43 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5158. 1828.43 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5159. 1828.43 s [opt-env-conf-test] bareSetting p f = do
  5160. 1828.43 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  5161. 1828.43 s [opt-env-conf-test] guard $ p s
  5162. 1828.43 s [opt-env-conf-test] pure $
  5163. 1828.43 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  5164. 1828.43 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
  5165. 1828.43 s [opt-env-conf-test] @@ -1090,7 +1090,7 @@
  5166. 1828.43 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  5167. 1828.43 s [opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
  5168. 1828.43 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5169. 1828.43 s [opt-env-conf-test] - i -> Just i
  5170. 1828.43 s [opt-env-conf-test] + i -> Nothing
  5171. 1828.43 s [opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
  5172. 1828.43 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5173. 1828.43 s [opt-env-conf-test] BuildTryOption -> Nothing
  5174. 1828.43 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
  5175. 1828.43 s [opt-env-conf-test] @@ -1069,7 +1069,7 @@
  5176. 1828.43 s [opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
  5177. 1828.43 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  5178. 1828.43 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5179. 1828.43 s [opt-env-conf-test] - i -> Just i
  5180. 1828.43 s [opt-env-conf-test] + i -> Nothing
  5181. 1828.43 s [opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
  5182. 1828.43 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5183. 1828.43 s [opt-env-conf-test] BuildTryOption -> Nothing
  5184. 1828.43 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  5185. 1828.43 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  5186. 1828.43 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5187. 1828.43 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  5188. 1828.43 s [opt-env-conf-test] fileSetting p f = do
  5189. 1828.43 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  5190. 1828.44 s [opt-env-conf-test] guard $ p s
  5191. 1828.44 s [opt-env-conf-test] pure $
  5192. 1828.44 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5193. 1828.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  5194. 1828.44 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  5195. 1828.44 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5196. 1828.44 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  5197. 1828.44 s [opt-env-conf-test] fileSetting p f = do
  5198. 1828.44 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  5199. 1834.22 s [opt-env-conf-test] guard $ p s
  5200. 1834.22 s [opt-env-conf-test] pure $
  5201. 1834.22 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5202. 1834.24 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
  5203. 1834.24 s [opt-env-conf-test] @@ -1052,7 +1052,7 @@
  5204. 1834.24 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  5205. 1834.24 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  5206. 1834.24 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5207. 1834.24 s [opt-env-conf-test] - i -> Just i
  5208. 1834.24 s [opt-env-conf-test] + i -> Nothing
  5209. 1834.24 s [opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
  5210. 1834.24 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5211. 1834.24 s [opt-env-conf-test] BuildAddShort _ -> Nothing
  5212. 1834.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  5213. 1834.24 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  5214. 1834.25 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5215. 1834.25 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  5216. 1834.25 s [opt-env-conf-test] fileSetting p f = do
  5217. 1834.25 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  5218. 1834.25 s [opt-env-conf-test] guard $ p s
  5219. 1834.25 s [opt-env-conf-test] pure $
  5220. 1834.25 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  5221. 1834.25 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
  5222. 1834.25 s [opt-env-conf-test] @@ -1060,7 +1060,7 @@
  5223. 1834.25 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  5224. 1834.25 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  5225. 1834.25 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5226. 1834.25 s [opt-env-conf-test] - i -> Just i
  5227. 1834.25 s [opt-env-conf-test] + i -> Nothing
  5228. 1834.25 s [opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
  5229. 1834.25 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5230. 1834.25 s [opt-env-conf-test] BuildTryOption -> Nothing
  5231. 1834.25 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
  5232. 1834.25 s [opt-env-conf-test] @@ -1081,7 +1081,7 @@
  5233. 1834.25 s [opt-env-conf-test] suffixEnvVarSetting "_FILE" e
  5234. 1834.25 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  5235. 1834.25 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5236. 1834.25 s [opt-env-conf-test] - i -> Just i
  5237. 1834.25 s [opt-env-conf-test] + i -> Nothing
  5238. 1834.25 s [opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
  5239. 1834.25 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5240. 1834.25 s [opt-env-conf-test] BuildTryOption -> Nothing
  5241. 1834.25 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
  5242. 1834.25 s [opt-env-conf-test] @@ -1099,7 +1099,7 @@
  5243. 1834.25 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  5244. 1834.25 s [opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
  5245. 1834.25 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5246. 1834.25 s [opt-env-conf-test] - i -> Just i
  5247. 1834.25 s [opt-env-conf-test] + i -> Nothing
  5248. 1834.25 s [opt-env-conf-test]
  5249. 1834.25 s [opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
  5250. 1834.25 s [opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
  5251. 1834.25 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
  5252. 1834.25 s [opt-env-conf-test] @@ -661,7 +661,7 @@
  5253. 1834.25 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5254. 1834.25 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5255. 1834.25 s [opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5256. 1834.25 s [opt-env-conf-test] - p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5257. 1834.25 s [opt-env-conf-test] + p -> ParserCheck mLoc True (Set.singleton cap) (pure . Right) p
  5258. 1834.25 s [opt-env-conf-test] where
  5259. 1834.25 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5260. 1834.25 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5261. 1834.25 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
  5262. 1834.25 s [opt-env-conf-test] @@ -615,7 +615,7 @@
  5263. 1834.25 s [opt-env-conf-test]
  5264. 1834.25 s [opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
  5265. 1834.25 s [opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  5266. 1834.25 s [opt-env-conf-test] -checkMapIO = ParserCheck mLoc False Set.empty
  5267. 1834.25 s [opt-env-conf-test] +checkMapIO = ParserCheck mLoc True Set.empty
  5268. 1834.25 s [opt-env-conf-test] where
  5269. 1834.25 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5270. 1834.25 s [opt-env-conf-test]
  5271. 1834.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  5272. 1834.25 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  5273. 1834.25 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5274. 1834.25 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5275. 1834.25 s [opt-env-conf-test] bareSetting p f = do
  5276. 1834.26 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  5277. 1834.26 s [opt-env-conf-test] guard $ p s
  5278. 1834.26 s [opt-env-conf-test] pure $
  5279. 1834.26 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  5280. 1834.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5281. 1834.26 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  5282. 1834.26 s [opt-env-conf-test] withFrozenCallStack $
  5283. 1834.26 s [opt-env-conf-test] choice $
  5284. 1834.26 s [opt-env-conf-test] catMaybes
  5285. 1834.26 s [opt-env-conf-test] [ bareOption,
  5286. 1834.26 s [opt-env-conf-test] fileOption,
  5287. 1834.26 s [opt-env-conf-test] bareEnv,
  5288. 1834.26 s [opt-env-conf-test] fileEnv,
  5289. 1834.26 s [opt-env-conf-test] bareConf,
  5290. 1834.26 s [opt-env-conf-test] - fileConf
  5291. 1834.26 s [opt-env-conf-test] ]
  5292. 1834.26 s [opt-env-conf-test] where
  5293. 1834.26 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5294. 1834.26 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5295. 1834.26 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
  5296. 1834.26 s [opt-env-conf-test] @@ -560,7 +560,7 @@
  5297. 1834.26 s [opt-env-conf-test] ParserCommands {} -> p'
  5298. 1834.26 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5299. 1834.26 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5300. 1834.26 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5301. 1834.26 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Nothing}
  5302. 1834.26 s [opt-env-conf-test] Just _ -> p
  5303. 1834.26 s [opt-env-conf-test]
  5304. 1834.26 s [opt-env-conf-test] -- | Try a list of parsers in order
  5305. 1834.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  5306. 1834.26 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5307. 1834.26 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5308. 1834.26 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5309. 1834.26 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5310. 1834.26 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5311. 1834.26 s [opt-env-conf-test] + ParserCheck mLoc' False (Set.insert cap caps) f p
  5312. 1834.26 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5313. 1834.26 s [opt-env-conf-test] where
  5314. 1834.26 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5315. 1834.26 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
  5316. 1834.26 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5317. 1834.26 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5318. 1834.26 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5319. 1834.26 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5320. 1834.26 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5321. 1834.26 s [opt-env-conf-test] + ParserCheck mLoc' not (forgivable) (Set.insert cap caps) f p
  5322. 1834.26 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5323. 1834.26 s [opt-env-conf-test] where
  5324. 1834.26 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5325. 1834.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  5326. 1834.26 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  5327. 1834.26 s [opt-env-conf-test] ParserCheck {} -> p'
  5328. 1834.26 s [opt-env-conf-test] ParserCommands {} -> p'
  5329. 1834.26 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5330. 1834.26 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5331. 1834.26 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5332. 1834.26 s [opt-env-conf-test] Just _ -> p
  5333. 1834.26 s [opt-env-conf-test]
  5334. 1834.26 s [opt-env-conf-test] -- | Try a list of parsers in order
  5335. 1834.26 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5336. 1834.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  5337. 1834.26 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  5338. 1834.26 s [opt-env-conf-test] ParserCheck {} -> p'
  5339. 1834.26 s [opt-env-conf-test] ParserCommands {} -> p'
  5340. 1834.26 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5341. 1834.26 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5342. 1834.26 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5343. 1834.26 s [opt-env-conf-test] - Just _ -> p
  5344. 1834.26 s [opt-env-conf-test]
  5345. 1834.26 s [opt-env-conf-test] -- | Try a list of parsers in order
  5346. 1834.26 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5347. 1834.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5348. 1834.26 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5349. 1834.26 s [opt-env-conf-test] where
  5350. 1834.26 s [opt-env-conf-test] go p =
  5351. 1834.26 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5352. 1834.26 s [opt-env-conf-test] in case p of
  5353. 1834.26 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  5354. 1834.26 s [opt-env-conf-test] ParserAp {} -> p'
  5355. 1834.26 s [opt-env-conf-test] ParserSelect {} -> p'
  5356. 1834.26 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5357. 1834.26 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5358. 1834.26 s [opt-env-conf-test] ParserMany {} -> p'
  5359. 1834.26 s [opt-env-conf-test] ParserSome {} -> p'
  5360. 1834.26 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5361. 1834.26 s [opt-env-conf-test] ParserCheck {} -> p'
  5362. 1834.26 s [opt-env-conf-test] ParserCommands {} -> p'
  5363. 1834.26 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5364. 1834.26 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5365. 1837.89 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5366. 1837.89 s [opt-env-conf-test] Just _ -> p
  5367. 1837.89 s [opt-env-conf-test]
  5368. 1837.90 s [opt-env-conf-test] -- | Try a list of parsers in order
  5369. 1837.90 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5370. 1837.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5371. 1837.90 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5372. 1837.90 s [opt-env-conf-test] where
  5373. 1837.90 s [opt-env-conf-test] go p =
  5374. 1837.90 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5375. 1837.90 s [opt-env-conf-test] in case p of
  5376. 1837.90 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5377. 1837.90 s [opt-env-conf-test] - ParserAp {} -> p'
  5378. 1837.90 s [opt-env-conf-test] ParserSelect {} -> p'
  5379. 1837.90 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5380. 1837.90 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5381. 1837.90 s [opt-env-conf-test] ParserMany {} -> p'
  5382. 1837.90 s [opt-env-conf-test] ParserSome {} -> p'
  5383. 1837.90 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5384. 1837.90 s [opt-env-conf-test] ParserCheck {} -> p'
  5385. 1837.90 s [opt-env-conf-test] ParserCommands {} -> p'
  5386. 1837.90 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5387. 1837.90 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5388. 1837.90 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5389. 1837.90 s [opt-env-conf-test] Just _ -> p
  5390. 1837.90 s [opt-env-conf-test]
  5391. 1837.90 s [opt-env-conf-test] -- | Try a list of parsers in order
  5392. 1837.90 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5393. 1837.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5394. 1837.90 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5395. 1837.90 s [opt-env-conf-test] where
  5396. 1837.90 s [opt-env-conf-test] go p =
  5397. 1837.90 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5398. 1837.90 s [opt-env-conf-test] in case p of
  5399. 1837.90 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5400. 1837.90 s [opt-env-conf-test] ParserAp {} -> p'
  5401. 1837.90 s [opt-env-conf-test] - ParserSelect {} -> p'
  5402. 1837.90 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5403. 1837.90 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5404. 1837.90 s [opt-env-conf-test] ParserMany {} -> p'
  5405. 1837.90 s [opt-env-conf-test] ParserSome {} -> p'
  5406. 1837.90 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5407. 1837.90 s [opt-env-conf-test] ParserCheck {} -> p'
  5408. 1837.90 s [opt-env-conf-test] ParserCommands {} -> p'
  5409. 1837.90 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5410. 1837.90 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5411. 1837.90 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5412. 1837.90 s [opt-env-conf-test] Just _ -> p
  5413. 1837.90 s [opt-env-conf-test]
  5414. 1837.90 s [opt-env-conf-test] -- | Try a list of parsers in order
  5415. 1837.90 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5416. 1837.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5417. 1837.90 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5418. 1837.90 s [opt-env-conf-test] where
  5419. 1837.90 s [opt-env-conf-test] go p =
  5420. 1837.90 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5421. 1837.90 s [opt-env-conf-test] in case p of
  5422. 1837.90 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5423. 1837.90 s [opt-env-conf-test] ParserAp {} -> p'
  5424. 1837.90 s [opt-env-conf-test] ParserSelect {} -> p'
  5425. 1837.90 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  5426. 1837.90 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5427. 1837.91 s [opt-env-conf-test] ParserMany {} -> p'
  5428. 1837.91 s [opt-env-conf-test] ParserSome {} -> p'
  5429. 1837.91 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5430. 1837.91 s [opt-env-conf-test] ParserCheck {} -> p'
  5431. 1837.91 s [opt-env-conf-test] ParserCommands {} -> p'
  5432. 1837.91 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5433. 1837.91 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5434. 1837.91 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5435. 1837.91 s [opt-env-conf-test] Just _ -> p
  5436. 1837.91 s [opt-env-conf-test]
  5437. 1837.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  5438. 1837.91 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5439. 1837.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5440. 1837.91 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5441. 1837.91 s [opt-env-conf-test] where
  5442. 1837.91 s [opt-env-conf-test] go p =
  5443. 1837.91 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5444. 1837.91 s [opt-env-conf-test] in case p of
  5445. 1837.91 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5446. 1837.91 s [opt-env-conf-test] ParserAp {} -> p'
  5447. 1837.91 s [opt-env-conf-test] ParserSelect {} -> p'
  5448. 1837.91 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5449. 1837.91 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5450. 1837.91 s [opt-env-conf-test] ParserMany {} -> p'
  5451. 1837.91 s [opt-env-conf-test] ParserSome {} -> p'
  5452. 1837.91 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5453. 1837.91 s [opt-env-conf-test] ParserCheck {} -> p'
  5454. 1837.91 s [opt-env-conf-test] ParserCommands {} -> p'
  5455. 1837.91 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5456. 1837.91 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5457. 1837.91 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5458. 1837.91 s [opt-env-conf-test] Just _ -> p
  5459. 1837.91 s [opt-env-conf-test]
  5460. 1837.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  5461. 1837.91 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5462. 1837.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5463. 1837.91 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5464. 1837.91 s [opt-env-conf-test] where
  5465. 1837.91 s [opt-env-conf-test] go p =
  5466. 1837.91 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5467. 1837.91 s [opt-env-conf-test] in case p of
  5468. 1837.91 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5469. 1837.91 s [opt-env-conf-test] ParserAp {} -> p'
  5470. 1837.91 s [opt-env-conf-test] ParserSelect {} -> p'
  5471. 1837.91 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5472. 1837.91 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5473. 1837.91 s [opt-env-conf-test] - ParserMany {} -> p'
  5474. 1837.91 s [opt-env-conf-test] ParserSome {} -> p'
  5475. 1837.91 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5476. 1837.91 s [opt-env-conf-test] ParserCheck {} -> p'
  5477. 1837.91 s [opt-env-conf-test] ParserCommands {} -> p'
  5478. 1837.91 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5479. 1837.91 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5480. 1837.91 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5481. 1837.91 s [opt-env-conf-test] Just _ -> p
  5482. 1837.91 s [opt-env-conf-test]
  5483. 1837.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  5484. 1837.91 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5485. 1837.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5486. 1837.91 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5487. 1837.91 s [opt-env-conf-test] where
  5488. 1837.91 s [opt-env-conf-test] go p =
  5489. 1837.91 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5490. 1837.91 s [opt-env-conf-test] in case p of
  5491. 1837.91 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5492. 1837.91 s [opt-env-conf-test] ParserAp {} -> p'
  5493. 1837.91 s [opt-env-conf-test] ParserSelect {} -> p'
  5494. 1837.91 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5495. 1837.91 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5496. 1837.91 s [opt-env-conf-test] ParserMany {} -> p'
  5497. 1837.91 s [opt-env-conf-test] - ParserSome {} -> p'
  5498. 1837.91 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5499. 1837.91 s [opt-env-conf-test] ParserCheck {} -> p'
  5500. 1837.91 s [opt-env-conf-test] ParserCommands {} -> p'
  5501. 1837.91 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5502. 1837.91 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5503. 1837.91 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5504. 1837.91 s [opt-env-conf-test] Just _ -> p
  5505. 1837.91 s [opt-env-conf-test]
  5506. 1837.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  5507. 1837.92 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5508. 1837.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5509. 1837.92 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5510. 1837.92 s [opt-env-conf-test] where
  5511. 1837.92 s [opt-env-conf-test] go p =
  5512. 1837.92 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5513. 1837.92 s [opt-env-conf-test] in case p of
  5514. 1837.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5515. 1837.92 s [opt-env-conf-test] ParserAp {} -> p'
  5516. 1837.92 s [opt-env-conf-test] ParserSelect {} -> p'
  5517. 1837.92 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5518. 1837.92 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5519. 1837.92 s [opt-env-conf-test] ParserMany {} -> p'
  5520. 1837.92 s [opt-env-conf-test] ParserSome {} -> p'
  5521. 1837.92 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  5522. 1837.92 s [opt-env-conf-test] ParserCheck {} -> p'
  5523. 1837.92 s [opt-env-conf-test] ParserCommands {} -> p'
  5524. 1837.92 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5525. 1837.92 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5526. 1837.92 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5527. 1837.92 s [opt-env-conf-test] Just _ -> p
  5528. 1837.92 s [opt-env-conf-test]
  5529. 1837.92 s [opt-env-conf-test] -- | Try a list of parsers in order
  5530. 1837.92 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5531. 1837.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5532. 1837.92 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5533. 1837.92 s [opt-env-conf-test] where
  5534. 1837.92 s [opt-env-conf-test] go p =
  5535. 1837.92 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5536. 1837.92 s [opt-env-conf-test] in case p of
  5537. 1837.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5538. 1837.92 s [opt-env-conf-test] ParserAp {} -> p'
  5539. 1837.92 s [opt-env-conf-test] ParserSelect {} -> p'
  5540. 1837.92 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5541. 1837.92 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5542. 1837.92 s [opt-env-conf-test] ParserMany {} -> p'
  5543. 1837.92 s [opt-env-conf-test] ParserSome {} -> p'
  5544. 1837.92 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5545. 1837.92 s [opt-env-conf-test] - ParserCheck {} -> p'
  5546. 1837.92 s [opt-env-conf-test] ParserCommands {} -> p'
  5547. 1837.92 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5548. 1837.92 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5549. 1837.92 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5550. 1837.92 s [opt-env-conf-test] Just _ -> p
  5551. 1837.92 s [opt-env-conf-test]
  5552. 1837.92 s [opt-env-conf-test] -- | Try a list of parsers in order
  5553. 1837.92 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5554. 1837.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5555. 1837.92 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5556. 1837.92 s [opt-env-conf-test] where
  5557. 1837.92 s [opt-env-conf-test] go p =
  5558. 1837.92 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5559. 1837.92 s [opt-env-conf-test] in case p of
  5560. 1837.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5561. 1837.92 s [opt-env-conf-test] ParserAp {} -> p'
  5562. 1837.92 s [opt-env-conf-test] ParserSelect {} -> p'
  5563. 1837.92 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5564. 1837.92 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5565. 1837.92 s [opt-env-conf-test] ParserMany {} -> p'
  5566. 1837.92 s [opt-env-conf-test] ParserSome {} -> p'
  5567. 1837.92 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5568. 1837.92 s [opt-env-conf-test] ParserCheck {} -> p'
  5569. 1837.92 s [opt-env-conf-test] ParserCommands {} -> p'
  5570. 1837.92 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  5571. 1841.23 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5572. 1841.23 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5573. 1841.30 s [opt-env-conf-test] Just _ -> p
  5574. 1841.30 s [opt-env-conf-test]
  5575. 1841.30 s [opt-env-conf-test] -- | Try a list of parsers in order
  5576. 1841.30 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5577. 1841.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5578. 1841.30 s [opt-env-conf-test] @@ -547,21 +547,18 @@
  5579. 1841.30 s [opt-env-conf-test] where
  5580. 1841.30 s [opt-env-conf-test] go p =
  5581. 1841.30 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5582. 1841.31 s [opt-env-conf-test] in case p of
  5583. 1841.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5584. 1841.31 s [opt-env-conf-test] ParserAp {} -> p'
  5585. 1841.31 s [opt-env-conf-test] ParserSelect {} -> p'
  5586. 1841.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5587. 1841.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5588. 1841.31 s [opt-env-conf-test] ParserMany {} -> p'
  5589. 1841.31 s [opt-env-conf-test] ParserSome {} -> p'
  5590. 1841.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5591. 1841.31 s [opt-env-conf-test] ParserCheck {} -> p'
  5592. 1841.31 s [opt-env-conf-test] ParserCommands {} -> p'
  5593. 1841.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5594. 1841.31 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  5595. 1841.31 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5596. 1841.31 s [opt-env-conf-test] - Just _ -> p
  5597. 1841.31 s [opt-env-conf-test]
  5598. 1841.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  5599. 1841.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5600. 1841.31 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
  5601. 1841.31 s [opt-env-conf-test] @@ -874,7 +874,7 @@
  5602. 1841.31 s [opt-env-conf-test] withFrozenCallStack $
  5603. 1841.31 s [opt-env-conf-test] choice $
  5604. 1841.31 s [opt-env-conf-test] catMaybes
  5605. 1841.31 s [opt-env-conf-test] - [ Just parseDummy,
  5606. 1841.31 s [opt-env-conf-test] + [ Nothing,
  5607. 1841.31 s [opt-env-conf-test] Just parseDisableSwitch,
  5608. 1841.31 s [opt-env-conf-test] Just parseEnableSwitch,
  5609. 1841.31 s [opt-env-conf-test] parseEnv,
  5610. 1841.31 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
  5611. 1841.31 s [opt-env-conf-test] @@ -875,7 +875,7 @@
  5612. 1841.31 s [opt-env-conf-test] choice $
  5613. 1841.31 s [opt-env-conf-test] catMaybes
  5614. 1841.31 s [opt-env-conf-test] [ Just parseDummy,
  5615. 1841.31 s [opt-env-conf-test] - Just parseDisableSwitch,
  5616. 1841.31 s [opt-env-conf-test] + Nothing,
  5617. 1841.31 s [opt-env-conf-test] Just parseEnableSwitch,
  5618. 1841.31 s [opt-env-conf-test] parseEnv,
  5619. 1841.31 s [opt-env-conf-test] parseConfigVal,
  5620. 1841.31 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
  5621. 1841.31 s [opt-env-conf-test] @@ -876,7 +876,7 @@
  5622. 1841.31 s [opt-env-conf-test] catMaybes
  5623. 1841.31 s [opt-env-conf-test] [ Just parseDummy,
  5624. 1841.31 s [opt-env-conf-test] Just parseDisableSwitch,
  5625. 1841.31 s [opt-env-conf-test] - Just parseEnableSwitch,
  5626. 1841.31 s [opt-env-conf-test] + Nothing,
  5627. 1841.31 s [opt-env-conf-test] parseEnv,
  5628. 1841.31 s [opt-env-conf-test] parseConfigVal,
  5629. 1841.31 s [opt-env-conf-test] parseDefaultVal
  5630. 1841.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5631. 1841.31 s [opt-env-conf-test] @@ -874,13 +874,7 @@
  5632. 1841.31 s [opt-env-conf-test] withFrozenCallStack $
  5633. 1841.31 s [opt-env-conf-test] choice $
  5634. 1841.31 s [opt-env-conf-test] catMaybes
  5635. 1841.31 s [opt-env-conf-test] - [ Just parseDummy,
  5636. 1841.31 s [opt-env-conf-test] - Just parseDisableSwitch,
  5637. 1841.32 s [opt-env-conf-test] - Just parseEnableSwitch,
  5638. 1841.32 s [opt-env-conf-test] - parseEnv,
  5639. 1841.32 s [opt-env-conf-test] - parseConfigVal,
  5640. 1841.32 s [opt-env-conf-test] - parseDefaultVal
  5641. 1841.32 s [opt-env-conf-test] ]
  5642. 1841.32 s [opt-env-conf-test] where
  5643. 1841.32 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5644. 1841.32 s [opt-env-conf-test] s = buildSetting builders
  5645. 1841.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5646. 1841.32 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  5647. 1841.32 s [opt-env-conf-test] withFrozenCallStack $
  5648. 1841.32 s [opt-env-conf-test] choice $
  5649. 1841.32 s [opt-env-conf-test] catMaybes
  5650. 1841.32 s [opt-env-conf-test] - [ Just parseDummy,
  5651. 1841.32 s [opt-env-conf-test] Just parseDisableSwitch,
  5652. 1841.32 s [opt-env-conf-test] Just parseEnableSwitch,
  5653. 1841.32 s [opt-env-conf-test] parseEnv,
  5654. 1841.32 s [opt-env-conf-test] parseConfigVal,
  5655. 1841.32 s [opt-env-conf-test] parseDefaultVal
  5656. 1841.32 s [opt-env-conf-test] ]
  5657. 1841.32 s [opt-env-conf-test] where
  5658. 1841.32 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5659. 1841.32 s [opt-env-conf-test] s = buildSetting builders
  5660. 1841.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5661. 1841.32 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  5662. 1841.32 s [opt-env-conf-test] withFrozenCallStack $
  5663. 1841.32 s [opt-env-conf-test] choice $
  5664. 1841.32 s [opt-env-conf-test] catMaybes
  5665. 1841.32 s [opt-env-conf-test] [ Just parseDummy,
  5666. 1841.32 s [opt-env-conf-test] Just parseDisableSwitch,
  5667. 1841.32 s [opt-env-conf-test] Just parseEnableSwitch,
  5668. 1841.32 s [opt-env-conf-test] parseEnv,
  5669. 1841.32 s [opt-env-conf-test] parseConfigVal,
  5670. 1841.32 s [opt-env-conf-test] - parseDefaultVal
  5671. 1841.32 s [opt-env-conf-test] ]
  5672. 1841.32 s [opt-env-conf-test] where
  5673. 1841.32 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5674. 1841.32 s [opt-env-conf-test] s = buildSetting builders
  5675. 1841.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5676. 1841.32 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5677. 1841.32 s [opt-env-conf-test] where
  5678. 1841.32 s [opt-env-conf-test] go p =
  5679. 1841.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5680. 1841.32 s [opt-env-conf-test] in case p of
  5681. 1841.32 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5682. 1841.32 s [opt-env-conf-test] ParserAp {} -> p'
  5683. 1841.32 s [opt-env-conf-test] ParserSelect {} -> p'
  5684. 1841.32 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5685. 1841.32 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5686. 1841.32 s [opt-env-conf-test] ParserMany {} -> p'
  5687. 1841.32 s [opt-env-conf-test] ParserSome {} -> p'
  5688. 1841.32 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5689. 1841.32 s [opt-env-conf-test] ParserCheck {} -> p'
  5690. 1841.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  5691. 1841.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5692. 1841.33 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5693. 1841.33 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5694. 1841.33 s [opt-env-conf-test] Just _ -> p
  5695. 1841.33 s [opt-env-conf-test]
  5696. 1841.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  5697. 1841.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5698. 1841.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  5699. 1841.33 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5700. 1841.33 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5701. 1841.33 s [opt-env-conf-test] parseDefaultVal = do
  5702. 1841.33 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5703. 1841.33 s [opt-env-conf-test] - pure $ pure dv
  5704. 1841.33 s [opt-env-conf-test] + pure $ pure True
  5705. 1841.33 s [opt-env-conf-test]
  5706. 1841.33 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5707. 1841.33 s [opt-env-conf-test] parseEnableSwitch =
  5708. 1841.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  5709. 1841.33 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5710. 1841.33 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5711. 1841.33 s [opt-env-conf-test] parseDefaultVal = do
  5712. 1841.33 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5713. 1841.33 s [opt-env-conf-test] - pure $ pure dv
  5714. 1841.33 s [opt-env-conf-test] + pure $ pure False
  5715. 1841.33 s [opt-env-conf-test]
  5716. 1841.33 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5717. 1841.33 s [opt-env-conf-test] parseEnableSwitch =
  5718. 1841.33 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
  5719. 1841.33 s [opt-env-conf-test] @@ -902,7 +902,7 @@
  5720. 1841.33 s [opt-env-conf-test] settingConfigVals = Nothing,
  5721. 1841.33 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5722. 1841.33 s [opt-env-conf-test] settingExamples = [],
  5723. 1841.33 s [opt-env-conf-test] - settingHidden = True,
  5724. 1841.33 s [opt-env-conf-test] + settingHidden = False,
  5725. 1841.33 s [opt-env-conf-test] settingMetavar = Nothing,
  5726. 1841.33 s [opt-env-conf-test] settingHelp = Nothing,
  5727. 1841.33 s [opt-env-conf-test] settingCompleter = Nothing,
  5728. 1841.33 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
  5729. 1841.33 s [opt-env-conf-test] @@ -915,7 +915,7 @@
  5730. 1841.33 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5731. 1841.33 s [opt-env-conf-test] settingReaders = [],
  5732. 1841.33 s [opt-env-conf-test] settingTryArgument = False,
  5733. 1841.33 s [opt-env-conf-test] - settingSwitchValue = Just False,
  5734. 1841.33 s [opt-env-conf-test] + settingSwitchValue = Just True,
  5735. 1841.33 s [opt-env-conf-test] settingTryOption = False,
  5736. 1841.33 s [opt-env-conf-test] settingEnvVars = Nothing,
  5737. 1841.33 s [opt-env-conf-test] settingConfigVals = Nothing,
  5738. 1841.33 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
  5739. 1841.33 s [opt-env-conf-test] @@ -915,7 +915,7 @@
  5740. 1841.33 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5741. 1841.33 s [opt-env-conf-test] settingReaders = [],
  5742. 1841.33 s [opt-env-conf-test] settingTryArgument = False,
  5743. 1841.33 s [opt-env-conf-test] - settingSwitchValue = Just False,
  5744. 1841.33 s [opt-env-conf-test] + settingSwitchValue = Nothing,
  5745. 1841.33 s [opt-env-conf-test] settingTryOption = False,
  5746. 1841.33 s [opt-env-conf-test] settingEnvVars = Nothing,
  5747. 1841.33 s [opt-env-conf-test] settingConfigVals = Nothing,
  5748. 1841.33 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
  5749. 1841.33 s [opt-env-conf-test] @@ -916,7 +916,7 @@
  5750. 1841.33 s [opt-env-conf-test] settingReaders = [],
  5751. 1841.33 s [opt-env-conf-test] settingTryArgument = False,
  5752. 1841.33 s [opt-env-conf-test] settingSwitchValue = Just False,
  5753. 1841.33 s [opt-env-conf-test] - settingTryOption = False,
  5754. 1841.34 s [opt-env-conf-test] + settingTryOption = True,
  5755. 1841.34 s [opt-env-conf-test] settingEnvVars = Nothing,
  5756. 1841.34 s [opt-env-conf-test] settingConfigVals = Nothing,
  5757. 1841.34 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5758. 1841.34 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
  5759. 1841.34 s [opt-env-conf-test] @@ -914,7 +914,7 @@
  5760. 1841.34 s [opt-env-conf-test] Setting
  5761. 1841.34 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5762. 1841.34 s [opt-env-conf-test] settingReaders = [],
  5763. 1841.34 s [opt-env-conf-test] - settingTryArgument = False,
  5764. 1841.34 s [opt-env-conf-test] + settingTryArgument = True,
  5765. 1842.68 s [opt-env-conf-test] settingSwitchValue = Just False,
  5766. 1842.69 s [opt-env-conf-test] settingTryOption = False,
  5767. 1842.69 s [opt-env-conf-test] settingEnvVars = Nothing,
  5768. 1842.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
  5769. 1842.69 s [opt-env-conf-test] @@ -921,7 +921,7 @@
  5770. 1842.69 s [opt-env-conf-test] settingConfigVals = Nothing,
  5771. 1842.69 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5772. 1842.69 s [opt-env-conf-test] settingExamples = [],
  5773. 1842.69 s [opt-env-conf-test] - settingHidden = True,
  5774. 1842.69 s [opt-env-conf-test] + settingHidden = False,
  5775. 1842.69 s [opt-env-conf-test] settingMetavar = Nothing,
  5776. 1842.69 s [opt-env-conf-test] settingHelp = Nothing,
  5777. 1842.69 s [opt-env-conf-test] settingCompleter = Nothing,
  5778. 1842.69 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
  5779. 1842.69 s [opt-env-conf-test] @@ -896,7 +896,7 @@
  5780. 1842.69 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5781. 1842.69 s [opt-env-conf-test] settingReaders = [],
  5782. 1842.69 s [opt-env-conf-test] settingTryArgument = False,
  5783. 1842.69 s [opt-env-conf-test] - settingSwitchValue = Just True,
  5784. 1842.69 s [opt-env-conf-test] + settingSwitchValue = Nothing,
  5785. 1842.69 s [opt-env-conf-test] settingTryOption = False,
  5786. 1842.69 s [opt-env-conf-test] settingEnvVars = Nothing,
  5787. 1842.69 s [opt-env-conf-test] settingConfigVals = Nothing,
  5788. 1842.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
  5789. 1842.69 s [opt-env-conf-test] @@ -936,7 +936,7 @@
  5790. 1842.69 s [opt-env-conf-test] Setting
  5791. 1842.69 s [opt-env-conf-test] { settingDasheds = [],
  5792. 1842.69 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  5793. 1842.69 s [opt-env-conf-test] - settingTryArgument = False,
  5794. 1842.69 s [opt-env-conf-test] + settingTryArgument = True,
  5795. 1842.69 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5796. 1842.69 s [opt-env-conf-test] settingTryOption = False,
  5797. 1842.69 s [opt-env-conf-test] settingEnvVars = Just ne,
  5798. 1842.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
  5799. 1842.69 s [opt-env-conf-test] @@ -938,7 +938,7 @@
  5800. 1842.69 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  5801. 1842.69 s [opt-env-conf-test] settingTryArgument = False,
  5802. 1842.69 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5803. 1842.69 s [opt-env-conf-test] - settingTryOption = False,
  5804. 1842.69 s [opt-env-conf-test] + settingTryOption = True,
  5805. 1842.69 s [opt-env-conf-test] settingEnvVars = Just ne,
  5806. 1842.69 s [opt-env-conf-test] settingConfigVals = Nothing,
  5807. 1842.69 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5808. 1842.69 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
  5809. 1842.69 s [opt-env-conf-test] @@ -897,7 +897,7 @@
  5810. 1842.69 s [opt-env-conf-test] settingReaders = [],
  5811. 1842.69 s [opt-env-conf-test] settingTryArgument = False,
  5812. 1842.69 s [opt-env-conf-test] settingSwitchValue = Just True,
  5813. 1842.69 s [opt-env-conf-test] - settingTryOption = False,
  5814. 1842.69 s [opt-env-conf-test] + settingTryOption = True,
  5815. 1842.69 s [opt-env-conf-test] settingEnvVars = Nothing,
  5816. 1842.70 s [opt-env-conf-test] settingConfigVals = Nothing,
  5817. 1842.70 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5818. 1842.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
  5819. 1842.70 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5820. 1842.70 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5821. 1842.70 s [opt-env-conf-test] parseDefaultVal = do
  5822. 1842.70 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5823. 1842.70 s [opt-env-conf-test] - pure $ pure dv
  5824. 1842.70 s [opt-env-conf-test] + pure $ pure not (dv)
  5825. 1842.70 s [opt-env-conf-test]
  5826. 1842.70 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5827. 1842.70 s [opt-env-conf-test] parseEnableSwitch =
  5828. 1842.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
  5829. 1842.70 s [opt-env-conf-test] @@ -943,7 +943,7 @@
  5830. 1842.70 s [opt-env-conf-test] settingConfigVals = Nothing,
  5831. 1842.70 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5832. 1842.70 s [opt-env-conf-test] settingExamples = [],
  5833. 1842.70 s [opt-env-conf-test] - settingHidden = False,
  5834. 1842.70 s [opt-env-conf-test] + settingHidden = True,
  5835. 1842.70 s [opt-env-conf-test] settingMetavar = Just "BOOL",
  5836. 1842.70 s [opt-env-conf-test] settingHelp = settingHelp s,
  5837. 1842.70 s [opt-env-conf-test] settingCompleter = Nothing,
  5838. 1842.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
  5839. 1842.70 s [opt-env-conf-test] @@ -957,7 +957,7 @@
  5840. 1842.70 s [opt-env-conf-test] Setting
  5841. 1842.70 s [opt-env-conf-test] { settingDasheds = [],
  5842. 1842.70 s [opt-env-conf-test] settingReaders = [],
  5843. 1842.70 s [opt-env-conf-test] - settingTryArgument = False,
  5844. 1842.70 s [opt-env-conf-test] + settingTryArgument = True,
  5845. 1842.70 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5846. 1842.70 s [opt-env-conf-test] settingTryOption = False,
  5847. 1842.70 s [opt-env-conf-test] settingEnvVars = Nothing,
  5848. 1842.70 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
  5849. 1842.70 s [opt-env-conf-test] @@ -939,7 +939,7 @@
  5850. 1842.70 s [opt-env-conf-test] settingTryArgument = False,
  5851. 1842.70 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5852. 1842.70 s [opt-env-conf-test] settingTryOption = False,
  5853. 1842.70 s [opt-env-conf-test] - settingEnvVars = Just ne,
  5854. 1842.70 s [opt-env-conf-test] + settingEnvVars = Nothing,
  5855. 1842.70 s [opt-env-conf-test] settingConfigVals = Nothing,
  5856. 1842.70 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5857. 1842.70 s [opt-env-conf-test] settingExamples = [],
  5858. 1842.70 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
  5859. 1842.70 s [opt-env-conf-test] @@ -944,7 +944,7 @@
  5860. 1842.70 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5861. 1842.70 s [opt-env-conf-test] settingExamples = [],
  5862. 1842.70 s [opt-env-conf-test] settingHidden = False,
  5863. 1842.70 s [opt-env-conf-test] - settingMetavar = Just "BOOL",
  5864. 1842.70 s [opt-env-conf-test] + settingMetavar = Nothing,
  5865. 1842.70 s [opt-env-conf-test] settingHelp = settingHelp s,
  5866. 1842.70 s [opt-env-conf-test] settingCompleter = Nothing,
  5867. 1842.70 s [opt-env-conf-test] settingRequiredCapabilities = Set.empty
  5868. 1842.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
  5869. 1842.70 s [opt-env-conf-test] @@ -895,7 +895,7 @@
  5870. 1842.70 s [opt-env-conf-test] Setting
  5871. 1842.70 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5872. 1842.70 s [opt-env-conf-test] settingReaders = [],
  5873. 1842.70 s [opt-env-conf-test] - settingTryArgument = False,
  5874. 1842.70 s [opt-env-conf-test] + settingTryArgument = True,
  5875. 1842.70 s [opt-env-conf-test] settingSwitchValue = Just True,
  5876. 1842.70 s [opt-env-conf-test] settingTryOption = False,
  5877. 1842.70 s [opt-env-conf-test] settingEnvVars = Nothing,
  5878. 1842.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
  5879. 1842.70 s [opt-env-conf-test] @@ -896,7 +896,7 @@
  5880. 1842.70 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5881. 1842.70 s [opt-env-conf-test] settingReaders = [],
  5882. 1842.70 s [opt-env-conf-test] settingTryArgument = False,
  5883. 1842.70 s [opt-env-conf-test] - settingSwitchValue = Just True,
  5884. 1842.70 s [opt-env-conf-test] + settingSwitchValue = Just False,
  5885. 1842.70 s [opt-env-conf-test] settingTryOption = False,
  5886. 1842.70 s [opt-env-conf-test] settingEnvVars = Nothing,
  5887. 1842.70 s [opt-env-conf-test] settingConfigVals = Nothing,
  5888. 1842.70 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
  5889. 1842.70 s [opt-env-conf-test] @@ -964,7 +964,7 @@
  5890. 1842.70 s [opt-env-conf-test] settingConfigVals = Just ne,
  5891. 1842.70 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5892. 1842.70 s [opt-env-conf-test] settingExamples = [],
  5893. 1842.70 s [opt-env-conf-test] - settingHidden = False,
  5894. 1842.70 s [opt-env-conf-test] + settingHidden = True,
  5895. 1842.70 s [opt-env-conf-test] settingMetavar = Nothing,
  5896. 1842.70 s [opt-env-conf-test] settingHelp = settingHelp s,
  5897. 1842.71 s [opt-env-conf-test] settingCompleter = Nothing,
  5898. 1842.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
  5899. 1842.71 s [opt-env-conf-test] @@ -976,7 +976,7 @@
  5900. 1842.71 s [opt-env-conf-test] Setting
  5901. 1842.71 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  5902. 1842.71 s [opt-env-conf-test] settingReaders = [],
  5903. 1842.71 s [opt-env-conf-test] - settingTryArgument = False,
  5904. 1842.71 s [opt-env-conf-test] + settingTryArgument = True,
  5905. 1842.71 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  5906. 1842.71 s [opt-env-conf-test] settingTryOption = False,
  5907. 1842.71 s [opt-env-conf-test] settingEnvVars = Nothing,
  5908. 1842.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
  5909. 1842.71 s [opt-env-conf-test] @@ -959,7 +959,7 @@
  5910. 1842.71 s [opt-env-conf-test] settingReaders = [],
  5911. 1842.71 s [opt-env-conf-test] settingTryArgument = False,
  5912. 1842.71 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5913. 1842.71 s [opt-env-conf-test] - settingTryOption = False,
  5914. 1842.71 s [opt-env-conf-test] + settingTryOption = True,
  5915. 1842.71 s [opt-env-conf-test] settingEnvVars = Nothing,
  5916. 1842.71 s [opt-env-conf-test] settingConfigVals = Just ne,
  5917. 1842.71 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5918. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  5919. 1842.71 s [opt-env-conf-test] @@ -480,10 +480,7 @@
  5920. 1842.71 s [opt-env-conf-test] withFrozenCallStack $
  5921. 1842.71 s [opt-env-conf-test] setting $
  5922. 1842.71 s [opt-env-conf-test] builders
  5923. 1842.71 s [opt-env-conf-test] - ++ [ reader str,
  5924. 1842.71 s [opt-env-conf-test] - metavar "FILE_PATH",
  5925. 1842.71 s [opt-env-conf-test] - completer filePath
  5926. 1842.71 s [opt-env-conf-test] ]
  5927. 1842.71 s [opt-env-conf-test]
  5928. 1842.71 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  5929. 1842.71 s [opt-env-conf-test] --
  5930. 1842.71 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
  5931. 1842.71 s [opt-env-conf-test] @@ -961,7 +961,7 @@
  5932. 1842.71 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5933. 1842.71 s [opt-env-conf-test] settingTryOption = False,
  5934. 1842.71 s [opt-env-conf-test] settingEnvVars = Nothing,
  5935. 1842.71 s [opt-env-conf-test] - settingConfigVals = Just ne,
  5936. 1842.71 s [opt-env-conf-test] + settingConfigVals = Nothing,
  5937. 1842.71 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5938. 1842.71 s [opt-env-conf-test] settingExamples = [],
  5939. 1842.71 s [opt-env-conf-test] settingHidden = False,
  5940. 1842.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
  5941. 1842.71 s [opt-env-conf-test] @@ -983,7 +983,7 @@
  5942. 1842.71 s [opt-env-conf-test] settingConfigVals = Nothing,
  5943. 1842.71 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5944. 1842.71 s [opt-env-conf-test] settingExamples = [],
  5945. 1842.71 s [opt-env-conf-test] - settingHidden = False,
  5946. 1842.71 s [opt-env-conf-test] + settingHidden = True,
  5947. 1842.71 s [opt-env-conf-test] settingMetavar = Nothing,
  5948. 1842.71 s [opt-env-conf-test] settingHelp = settingHelp s,
  5949. 1842.71 s [opt-env-conf-test] settingCompleter = Nothing,
  5950. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  5951. 1842.71 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  5952. 1842.71 s [opt-env-conf-test] withFrozenCallStack $
  5953. 1842.71 s [opt-env-conf-test] setting $
  5954. 1842.71 s [opt-env-conf-test] builders
  5955. 1842.71 s [opt-env-conf-test] ++ [ reader str,
  5956. 1842.71 s [opt-env-conf-test] metavar "FILE_PATH",
  5957. 1842.71 s [opt-env-conf-test] - completer filePath
  5958. 1842.71 s [opt-env-conf-test] ]
  5959. 1842.71 s [opt-env-conf-test]
  5960. 1842.71 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  5961. 1842.71 s [opt-env-conf-test] --
  5962. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  5963. 1842.71 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  5964. 1842.71 s [opt-env-conf-test] long "config-file",
  5965. 1842.71 s [opt-env-conf-test] env "CONFIG_FILE",
  5966. 1842.71 s [opt-env-conf-test] help "Path to the configuration file",
  5967. 1842.71 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5968. 1842.71 s [opt-env-conf-test] ]
  5969. 1842.71 s [opt-env-conf-test]
  5970. 1842.71 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5971. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  5972. 1842.71 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  5973. 1842.71 s [opt-env-conf-test] long "config-file",
  5974. 1842.71 s [opt-env-conf-test] env "CONFIG_FILE",
  5975. 1842.71 s [opt-env-conf-test] help "Path to the configuration file",
  5976. 1842.71 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5977. 1842.71 s [opt-env-conf-test] ]
  5978. 1842.71 s [opt-env-conf-test]
  5979. 1842.71 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5980. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  5981. 1842.71 s [opt-env-conf-test] @@ -822,12 +822,7 @@
  5982. 1842.71 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  5983. 1842.71 s [opt-env-conf-test] configuredConfigFile =
  5984. 1842.71 s [opt-env-conf-test] filePathSetting
  5985. 1842.71 s [opt-env-conf-test] - [ option,
  5986. 1842.71 s [opt-env-conf-test] - long "config-file",
  5987. 1842.71 s [opt-env-conf-test] - env "CONFIG_FILE",
  5988. 1842.71 s [opt-env-conf-test] - help "Path to the configuration file",
  5989. 1842.71 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5990. 1842.71 s [opt-env-conf-test] ]
  5991. 1842.71 s [opt-env-conf-test]
  5992. 1842.71 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5993. 1842.71 s [opt-env-conf-test] --
  5994. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  5995. 1842.71 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  5996. 1842.71 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  5997. 1842.71 s [opt-env-conf-test] configuredConfigFile =
  5998. 1842.71 s [opt-env-conf-test] filePathSetting
  5999. 1842.71 s [opt-env-conf-test] [ option,
  6000. 1842.71 s [opt-env-conf-test] long "config-file",
  6001. 1842.71 s [opt-env-conf-test] env "CONFIG_FILE",
  6002. 1842.71 s [opt-env-conf-test] help "Path to the configuration file",
  6003. 1842.71 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  6004. 1842.71 s [opt-env-conf-test] ]
  6005. 1842.71 s [opt-env-conf-test]
  6006. 1842.71 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6007. 1842.71 s [opt-env-conf-test] --
  6008. 1842.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
  6009. 1842.71 s [opt-env-conf-test] @@ -978,7 +978,7 @@
  6010. 1842.71 s [opt-env-conf-test] settingReaders = [],
  6011. 1842.71 s [opt-env-conf-test] settingTryArgument = False,
  6012. 1842.71 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  6013. 1842.71 s [opt-env-conf-test] - settingTryOption = False,
  6014. 1842.71 s [opt-env-conf-test] + settingTryOption = True,
  6015. 1842.71 s [opt-env-conf-test] settingEnvVars = Nothing,
  6016. 1842.71 s [opt-env-conf-test] settingConfigVals = Nothing,
  6017. 1842.71 s [opt-env-conf-test] settingDefaultValue = Nothing,
  6018. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  6019. 1842.71 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  6020. 1842.71 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  6021. 1842.71 s [opt-env-conf-test] configuredConfigFile =
  6022. 1842.71 s [opt-env-conf-test] filePathSetting
  6023. 1842.71 s [opt-env-conf-test] - [ option,
  6024. 1842.71 s [opt-env-conf-test] long "config-file",
  6025. 1842.71 s [opt-env-conf-test] env "CONFIG_FILE",
  6026. 1842.71 s [opt-env-conf-test] help "Path to the configuration file",
  6027. 1842.71 s [opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
  6028. 1842.71 s [opt-env-conf-test] ]
  6029. 1842.71 s [opt-env-conf-test]
  6030. 1842.71 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  6031. 1842.71 s [opt-env-conf-test] --
  6032. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6033. 1842.71 s [opt-env-conf-test] @@ -497,10 +497,7 @@
  6034. 1842.71 s [opt-env-conf-test] withFrozenCallStack $
  6035. 1842.71 s [opt-env-conf-test] setting $
  6036. 1842.71 s [opt-env-conf-test] builders
  6037. 1842.71 s [opt-env-conf-test] - ++ [ reader str,
  6038. 1842.71 s [opt-env-conf-test] - metavar "DIRECTORY_PATH",
  6039. 1842.71 s [opt-env-conf-test] - completer directoryPath
  6040. 1842.71 s [opt-env-conf-test] ]
  6041. 1842.71 s [opt-env-conf-test]
  6042. 1842.71 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6043. 1842.71 s [opt-env-conf-test] --
  6044. 1842.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6045. 1842.71 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  6046. 1842.71 s [opt-env-conf-test] withFrozenCallStack $
  6047. 1842.72 s [opt-env-conf-test] setting $
  6048. 1842.72 s [opt-env-conf-test] builders
  6049. 1842.72 s [opt-env-conf-test] ++ [ reader str,
  6050. 1842.72 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  6051. 1842.72 s [opt-env-conf-test] - completer directoryPath
  6052. 1842.72 s [opt-env-conf-test] ]
  6053. 1842.72 s [opt-env-conf-test]
  6054. 1842.72 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6055. 1842.72 s [opt-env-conf-test] --
  6056. 1842.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  6057. 1842.72 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  6058. 1842.72 s [opt-env-conf-test] withFrozenCallStack $
  6059. 1842.72 s [opt-env-conf-test] setting $
  6060. 1842.72 s [opt-env-conf-test] builders
  6061. 1842.72 s [opt-env-conf-test] - ++ [ reader str,
  6062. 1842.72 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  6063. 1842.72 s [opt-env-conf-test] completer directoryPath
  6064. 1842.72 s [opt-env-conf-test] ]
  6065. 1842.72 s [opt-env-conf-test]
  6066. 1842.72 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  6067. 1842.72 s [opt-env-conf-test] --
  6068. 1842.72 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
  6069. 1842.72 s [opt-env-conf-test] @@ -771,7 +771,7 @@
  6070. 1842.72 s [opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
  6071. 1842.72 s [opt-env-conf-test] combineMaybeObjects Nothing mo = mo
  6072. 1842.72 s [opt-env-conf-test] combineMaybeObjects mo Nothing = mo
  6073. 1842.72 s [opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = Just (combiner o1 o2)
  6074. 1842.72 s [opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = Nothing
  6075. 1842.72 s [opt-env-conf-test]
  6076. 1842.72 s [opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
  6077. 1842.72 s [opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
  6078. 1842.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  6079. 1842.72 s [opt-env-conf-test] @@ -785,11 +785,8 @@
  6080. 1842.72 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  6081. 1842.72 s [opt-env-conf-test] mapIO
  6082. 1842.72 s [opt-env-conf-test] ( \mXdgDir -> do
  6083. 1842.72 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  6084. 1842.72 s [opt-env-conf-test] Just d -> resolveDir' d
  6085. 1842.72 s [opt-env-conf-test] - Nothing -> do
  6086. 1842.72 s [opt-env-conf-test] - home <- getHomeDir
  6087. 1842.72 s [opt-env-conf-test] - resolveDir home ".config"
  6088. 1842.72 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  6089. 1842.72 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  6090. 1842.72 s [opt-env-conf-test] )
  6091. 1842.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  6092. 1842.72 s [opt-env-conf-test] @@ -785,11 +785,10 @@
  6093. 1842.72 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  6094. 1842.72 s [opt-env-conf-test] mapIO
  6095. 1842.72 s [opt-env-conf-test] ( \mXdgDir -> do
  6096. 1842.72 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  6097. 1842.72 s [opt-env-conf-test] - Just d -> resolveDir' d
  6098. 1842.72 s [opt-env-conf-test] Nothing -> do
  6099. 1842.72 s [opt-env-conf-test] home <- getHomeDir
  6100. 1842.72 s [opt-env-conf-test] resolveDir home ".config"
  6101. 1842.72 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  6102. 1842.72 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  6103. 1842.72 s [opt-env-conf-test] )
  6104. 1842.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  6105. 1842.72 s [opt-env-conf-test] @@ -796,12 +796,7 @@
  6106. 1842.72 s [opt-env-conf-test] $ optional
  6107. 1842.72 s [opt-env-conf-test] $ withFrozenCallStack
  6108. 1842.72 s [opt-env-conf-test] $ setting
  6109. 1842.72 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  6110. 1842.72 s [opt-env-conf-test] - reader str,
  6111. 1842.72 s [opt-env-conf-test] - env "XDG_CONFIG_HOME",
  6112. 1842.72 s [opt-env-conf-test] - metavar "DIRECTORY",
  6113. 1842.72 s [opt-env-conf-test] - hidden
  6114. 1842.72 s [opt-env-conf-test] ]
  6115. 1842.72 s [opt-env-conf-test]
  6116. 1842.72 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  6117. 1842.72 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  6118. 1842.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  6119. 1842.72 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  6120. 1842.72 s [opt-env-conf-test] $ optional
  6121. 1842.72 s [opt-env-conf-test] $ withFrozenCallStack
  6122. 1842.72 s [opt-env-conf-test] $ setting
  6123. 1842.72 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  6124. 1842.72 s [opt-env-conf-test] reader str,
  6125. 1842.72 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  6126. 1842.72 s [opt-env-conf-test] metavar "DIRECTORY",
  6127. 1842.72 s [opt-env-conf-test] hidden
  6128. 1842.72 s [opt-env-conf-test] ]
  6129. 1842.72 s [opt-env-conf-test]
  6130. 1842.72 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  6131. 1842.72 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  6132. 1842.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  6133. 1842.72 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  6134. 1842.72 s [opt-env-conf-test] $ optional
  6135. 1842.72 s [opt-env-conf-test] $ withFrozenCallStack
  6136. 1842.72 s [opt-env-conf-test] $ setting
  6137. 1842.72 s [opt-env-conf-test] [ help "Path to the XDG configuration directory",
  6138. 1842.72 s [opt-env-conf-test] reader str,
  6139. 1842.72 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  6140. 1842.72 s [opt-env-conf-test] metavar "DIRECTORY",
  6141. 1842.72 s [opt-env-conf-test] - hidden
  6142. 1842.72 s [opt-env-conf-test] ]
  6143. 1842.72 s [opt-env-conf-test]
  6144. 1847.12 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  6145. 1847.21 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  6146. 1847.21 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6147. 1847.21 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6148. 1847.21 s [opt-env-conf-test] where
  6149. 1847.21 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6150. 1847.21 s [opt-env-conf-test] go d = \case
  6151. 1847.21 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6152. 1847.21 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  6153. 1847.21 s [opt-env-conf-test] ParserAp pf pa ->
  6154. 1847.21 s [opt-env-conf-test] showParen (d > 10) $
  6155. 1847.21 s [opt-env-conf-test] showString "Ap "
  6156. 1847.21 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6157. 1847.21 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6158. 1847.21 s [opt-env-conf-test] where
  6159. 1847.21 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6160. 1847.21 s [opt-env-conf-test] go d = \case
  6161. 1847.21 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6162. 1847.21 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  6163. 1847.22 s [opt-env-conf-test] ParserAp pf pa ->
  6164. 1847.22 s [opt-env-conf-test] showParen (d > 10) $
  6165. 1847.22 s [opt-env-conf-test] showString "Ap "
  6166. 1847.22 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  6167. 1847.22 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6168. 1847.22 s [opt-env-conf-test] where
  6169. 1847.22 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6170. 1847.22 s [opt-env-conf-test] go d = \case
  6171. 1847.22 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6172. 1847.22 s [opt-env-conf-test] + ParserPure _ -> showParen (d <= 10) $ showString "Pure _"
  6173. 1847.22 s [opt-env-conf-test] ParserAp pf pa ->
  6174. 1847.22 s [opt-env-conf-test] showParen (d > 10) $
  6175. 1847.22 s [opt-env-conf-test] showString "Ap "
  6176. 1847.22 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  6177. 1847.22 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6178. 1847.22 s [opt-env-conf-test] where
  6179. 1847.22 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6180. 1847.22 s [opt-env-conf-test] go d = \case
  6181. 1847.22 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6182. 1847.22 s [opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
  6183. 1847.22 s [opt-env-conf-test] ParserAp pf pa ->
  6184. 1847.22 s [opt-env-conf-test] showParen (d > 10) $
  6185. 1847.22 s [opt-env-conf-test] showString "Ap "
  6186. 1847.22 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
  6187. 1847.22 s [opt-env-conf-test] @@ -977,7 +977,7 @@
  6188. 1847.22 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  6189. 1847.22 s [opt-env-conf-test] settingReaders = [],
  6190. 1847.22 s [opt-env-conf-test] settingTryArgument = False,
  6191. 1847.22 s [opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
  6192. 1847.22 s [opt-env-conf-test] + settingSwitchValue = Just False, -- Unused
  6193. 1847.22 s [opt-env-conf-test] settingTryOption = False,
  6194. 1847.22 s [opt-env-conf-test] settingEnvVars = Nothing,
  6195. 1847.22 s [opt-env-conf-test] settingConfigVals = Nothing,
  6196. 1847.22 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
  6197. 1847.22 s [opt-env-conf-test] @@ -977,7 +977,7 @@
  6198. 1847.22 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  6199. 1847.22 s [opt-env-conf-test] settingReaders = [],
  6200. 1847.22 s [opt-env-conf-test] settingTryArgument = False,
  6201. 1847.22 s [opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
  6202. 1847.22 s [opt-env-conf-test] + settingSwitchValue = Nothing, -- Unused
  6203. 1847.22 s [opt-env-conf-test] settingTryOption = False,
  6204. 1847.22 s [opt-env-conf-test] settingEnvVars = Nothing,
  6205. 1847.22 s [opt-env-conf-test] settingConfigVals = Nothing,
  6206. 1847.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  6207. 1847.22 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  6208. 1847.22 s [opt-env-conf-test] withFrozenCallStack $
  6209. 1847.22 s [opt-env-conf-test] setting $
  6210. 1847.23 s [opt-env-conf-test] builders
  6211. 1847.23 s [opt-env-conf-test] - ++ [ reader str,
  6212. 1847.23 s [opt-env-conf-test] metavar "FILE_PATH",
  6213. 1847.23 s [opt-env-conf-test] completer filePath
  6214. 1847.23 s [opt-env-conf-test] ]
  6215. 1847.23 s [opt-env-conf-test]
  6216. 1847.23 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  6217. 1847.23 s [opt-env-conf-test] --
  6218. 1847.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
  6219. 1847.23 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6220. 1847.23 s [opt-env-conf-test] where
  6221. 1847.23 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6222. 1847.23 s [opt-env-conf-test] go d = \case
  6223. 1847.23 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6224. 1847.23 s [opt-env-conf-test] + ParserPure _ -> showParen (not (d > 10)) $ showString "Pure _"
  6225. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6226. 1847.23 s [opt-env-conf-test] showParen (d > 10) $
  6227. 1847.23 s [opt-env-conf-test] showString "Ap "
  6228. 1847.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
  6229. 1847.23 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6230. 1847.23 s [opt-env-conf-test] where
  6231. 1847.23 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6232. 1847.23 s [opt-env-conf-test] go d = \case
  6233. 1847.23 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6234. 1847.23 s [opt-env-conf-test] + ParserPure _ -> showParen not ((d > 10)) $ showString "Pure _"
  6235. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6236. 1847.23 s [opt-env-conf-test] showParen (d > 10) $
  6237. 1847.23 s [opt-env-conf-test] showString "Ap "
  6238. 1847.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  6239. 1847.23 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6240. 1847.23 s [opt-env-conf-test] where
  6241. 1847.23 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6242. 1847.23 s [opt-env-conf-test] go d = \case
  6243. 1847.23 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6244. 1847.23 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  6245. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6246. 1847.23 s [opt-env-conf-test] showParen (d > 10) $
  6247. 1847.23 s [opt-env-conf-test] showString "Ap "
  6248. 1847.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  6249. 1847.23 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6250. 1847.23 s [opt-env-conf-test] where
  6251. 1847.23 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6252. 1847.23 s [opt-env-conf-test] go d = \case
  6253. 1847.23 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6254. 1847.23 s [opt-env-conf-test] + ParserPure _ -> showParen False $ showString "Pure _"
  6255. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6256. 1847.23 s [opt-env-conf-test] showParen (d > 10) $
  6257. 1847.23 s [opt-env-conf-test] showString "Ap "
  6258. 1847.23 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  6259. 1847.23 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6260. 1847.23 s [opt-env-conf-test] go d = \case
  6261. 1847.23 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6262. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6263. 1847.23 s [opt-env-conf-test] - showParen (d > 10) $
  6264. 1847.23 s [opt-env-conf-test] + showParen (d > -10) $
  6265. 1847.23 s [opt-env-conf-test] showString "Ap "
  6266. 1847.23 s [opt-env-conf-test] . go 11 pf
  6267. 1847.23 s [opt-env-conf-test] . showString " "
  6268. 1847.23 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  6269. 1847.23 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6270. 1847.23 s [opt-env-conf-test] go d = \case
  6271. 1847.23 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6272. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6273. 1847.23 s [opt-env-conf-test] - showParen (d > 10) $
  6274. 1847.23 s [opt-env-conf-test] + showParen (d < 10) $
  6275. 1847.23 s [opt-env-conf-test] showString "Ap "
  6276. 1847.23 s [opt-env-conf-test] . go 11 pf
  6277. 1847.23 s [opt-env-conf-test] . showString " "
  6278. 1847.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  6279. 1847.23 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6280. 1847.23 s [opt-env-conf-test] where
  6281. 1847.23 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6282. 1847.23 s [opt-env-conf-test] go d = \case
  6283. 1847.23 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6284. 1847.23 s [opt-env-conf-test] + ParserPure _ -> showParen (False) $ showString "Pure _"
  6285. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6286. 1847.23 s [opt-env-conf-test] showParen (d > 10) $
  6287. 1847.23 s [opt-env-conf-test] showString "Ap "
  6288. 1847.23 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  6289. 1847.23 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6290. 1847.23 s [opt-env-conf-test] go d = \case
  6291. 1847.23 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6292. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6293. 1847.23 s [opt-env-conf-test] - showParen (d > 10) $
  6294. 1847.23 s [opt-env-conf-test] + showParen (d >= 10) $
  6295. 1847.23 s [opt-env-conf-test] showString "Ap "
  6296. 1847.23 s [opt-env-conf-test] . go 11 pf
  6297. 1847.23 s [opt-env-conf-test] . showString " "
  6298. 1847.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
  6299. 1847.23 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6300. 1847.23 s [opt-env-conf-test] go d = \case
  6301. 1847.23 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6302. 1847.23 s [opt-env-conf-test] ParserAp pf pa ->
  6303. 1847.23 s [opt-env-conf-test] - showParen (d > 10) $
  6304. 1847.24 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6305. 1847.24 s [opt-env-conf-test] showString "Ap "
  6306. 1847.24 s [opt-env-conf-test] . go 11 pf
  6307. 1847.24 s [opt-env-conf-test] . showString " "
  6308. 1847.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  6309. 1847.24 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6310. 1847.24 s [opt-env-conf-test] go d = \case
  6311. 1847.24 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6312. 1847.24 s [opt-env-conf-test] ParserAp pf pa ->
  6313. 1847.24 s [opt-env-conf-test] - showParen (d > 10) $
  6314. 1847.24 s [opt-env-conf-test] + showParen False $
  6315. 1847.24 s [opt-env-conf-test] showString "Ap "
  6316. 1847.24 s [opt-env-conf-test] . go 11 pf
  6317. 1847.24 s [opt-env-conf-test] . showString " "
  6318. 1847.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
  6319. 1847.24 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6320. 1847.24 s [opt-env-conf-test] go d = \case
  6321. 1847.24 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6322. 1847.24 s [opt-env-conf-test] ParserAp pf pa ->
  6323. 1847.24 s [opt-env-conf-test] - showParen (d > 10) $
  6324. 1850.84 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6325. 1850.84 s [opt-env-conf-test] showString "Ap "
  6326. 1850.84 s [opt-env-conf-test] . go 11 pf
  6327. 1850.84 s [opt-env-conf-test] . showString " "
  6328. 1850.84 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6329. 1850.84 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6330. 1850.84 s [opt-env-conf-test] ParserAp pf pa ->
  6331. 1850.84 s [opt-env-conf-test] showParen (d > 10) $
  6332. 1850.84 s [opt-env-conf-test] showString "Ap "
  6333. 1850.85 s [opt-env-conf-test] - . go 11 pf
  6334. 1850.85 s [opt-env-conf-test] + . go 1 pf
  6335. 1850.85 s [opt-env-conf-test] . showString " "
  6336. 1850.85 s [opt-env-conf-test] . go 11 pa
  6337. 1850.85 s [opt-env-conf-test] ParserSelect pe pf ->
  6338. 1850.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  6339. 1850.85 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6340. 1850.85 s [opt-env-conf-test] go d = \case
  6341. 1850.85 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6342. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6343. 1850.85 s [opt-env-conf-test] - showParen (d > 10) $
  6344. 1850.85 s [opt-env-conf-test] + showParen (True) $
  6345. 1850.85 s [opt-env-conf-test] showString "Ap "
  6346. 1850.85 s [opt-env-conf-test] . go 11 pf
  6347. 1850.85 s [opt-env-conf-test] . showString " "
  6348. 1850.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  6349. 1850.85 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6350. 1850.85 s [opt-env-conf-test] where
  6351. 1850.85 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6352. 1850.85 s [opt-env-conf-test] go d = \case
  6353. 1850.85 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6354. 1850.85 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  6355. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6356. 1850.85 s [opt-env-conf-test] showParen (d > 10) $
  6357. 1850.85 s [opt-env-conf-test] showString "Ap "
  6358. 1850.85 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  6359. 1850.85 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6360. 1850.85 s [opt-env-conf-test] go d = \case
  6361. 1850.85 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6362. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6363. 1850.85 s [opt-env-conf-test] - showParen (d > 10) $
  6364. 1850.85 s [opt-env-conf-test] + showParen (d > 0) $
  6365. 1850.85 s [opt-env-conf-test] showString "Ap "
  6366. 1850.85 s [opt-env-conf-test] . go 11 pf
  6367. 1850.85 s [opt-env-conf-test] . showString " "
  6368. 1850.85 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  6369. 1850.85 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6370. 1850.85 s [opt-env-conf-test] go d = \case
  6371. 1850.85 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6372. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6373. 1850.85 s [opt-env-conf-test] - showParen (d > 10) $
  6374. 1850.85 s [opt-env-conf-test] + showParen (d > 1) $
  6375. 1850.85 s [opt-env-conf-test] showString "Ap "
  6376. 1850.85 s [opt-env-conf-test] . go 11 pf
  6377. 1850.85 s [opt-env-conf-test] . showString " "
  6378. 1850.85 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  6379. 1850.85 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6380. 1850.85 s [opt-env-conf-test] go d = \case
  6381. 1850.85 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6382. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6383. 1850.85 s [opt-env-conf-test] - showParen (d > 10) $
  6384. 1850.85 s [opt-env-conf-test] + showParen (d <= 10) $
  6385. 1850.85 s [opt-env-conf-test] showString "Ap "
  6386. 1850.85 s [opt-env-conf-test] . go 11 pf
  6387. 1850.85 s [opt-env-conf-test] . showString " "
  6388. 1850.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  6389. 1850.85 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6390. 1850.85 s [opt-env-conf-test] go d = \case
  6391. 1850.85 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6392. 1850.85 s [opt-env-conf-test] ParserAp pf pa ->
  6393. 1850.85 s [opt-env-conf-test] - showParen (d > 10) $
  6394. 1850.85 s [opt-env-conf-test] + showParen (False) $
  6395. 1850.85 s [opt-env-conf-test] showString "Ap "
  6396. 1850.85 s [opt-env-conf-test] . go 11 pf
  6397. 1850.85 s [opt-env-conf-test] . showString " "
  6398. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6399. 1850.86 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6400. 1850.86 s [opt-env-conf-test] ParserAp pf pa ->
  6401. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6402. 1850.86 s [opt-env-conf-test] showString "Ap "
  6403. 1850.86 s [opt-env-conf-test] - . go 11 pf
  6404. 1850.86 s [opt-env-conf-test] + . go 0 pf
  6405. 1850.86 s [opt-env-conf-test] . showString " "
  6406. 1850.86 s [opt-env-conf-test] . go 11 pa
  6407. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6408. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  6409. 1850.86 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6410. 1850.86 s [opt-env-conf-test] where
  6411. 1850.86 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6412. 1850.86 s [opt-env-conf-test] go d = \case
  6413. 1850.86 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6414. 1850.86 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  6415. 1850.86 s [opt-env-conf-test] ParserAp pf pa ->
  6416. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6417. 1850.86 s [opt-env-conf-test] showString "Ap "
  6418. 1850.86 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  6419. 1850.86 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  6420. 1850.86 s [opt-env-conf-test] where
  6421. 1850.86 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  6422. 1850.86 s [opt-env-conf-test] go d = \case
  6423. 1850.86 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6424. 1850.86 s [opt-env-conf-test] + ParserPure _ -> showParen (d >= 10) $ showString "Pure _"
  6425. 1850.86 s [opt-env-conf-test] ParserAp pf pa ->
  6426. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6427. 1850.86 s [opt-env-conf-test] showString "Ap "
  6428. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6429. 1850.86 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6430. 1850.86 s [opt-env-conf-test] ParserAp pf pa ->
  6431. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6432. 1850.86 s [opt-env-conf-test] showString "Ap "
  6433. 1850.86 s [opt-env-conf-test] - . go 11 pf
  6434. 1850.86 s [opt-env-conf-test] + . go -11 pf
  6435. 1850.86 s [opt-env-conf-test] . showString " "
  6436. 1850.86 s [opt-env-conf-test] . go 11 pa
  6437. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6438. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6439. 1850.86 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6440. 1850.86 s [opt-env-conf-test] showString "Ap "
  6441. 1850.86 s [opt-env-conf-test] . go 11 pf
  6442. 1850.86 s [opt-env-conf-test] . showString " "
  6443. 1850.86 s [opt-env-conf-test] - . go 11 pa
  6444. 1850.86 s [opt-env-conf-test] + . go 1 pa
  6445. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6446. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6447. 1850.86 s [opt-env-conf-test] showString "Select "
  6448. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6449. 1850.86 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6450. 1850.86 s [opt-env-conf-test] showString "Ap "
  6451. 1850.86 s [opt-env-conf-test] . go 11 pf
  6452. 1850.86 s [opt-env-conf-test] . showString " "
  6453. 1850.86 s [opt-env-conf-test] - . go 11 pa
  6454. 1850.86 s [opt-env-conf-test] + . go 0 pa
  6455. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6456. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6457. 1850.86 s [opt-env-conf-test] showString "Select "
  6458. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6459. 1850.86 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6460. 1850.86 s [opt-env-conf-test] showString "Ap "
  6461. 1850.86 s [opt-env-conf-test] . go 11 pf
  6462. 1850.86 s [opt-env-conf-test] . showString " "
  6463. 1850.86 s [opt-env-conf-test] - . go 11 pa
  6464. 1850.86 s [opt-env-conf-test] + . go -11 pa
  6465. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6466. 1850.86 s [opt-env-conf-test] showParen (d > 10) $
  6467. 1850.86 s [opt-env-conf-test] showString "Select "
  6468. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6469. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6470. 1850.86 s [opt-env-conf-test] . showString " "
  6471. 1850.86 s [opt-env-conf-test] . go 11 pa
  6472. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6473. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6474. 1850.86 s [opt-env-conf-test] + showParen (d > 1) $
  6475. 1850.86 s [opt-env-conf-test] showString "Select "
  6476. 1850.86 s [opt-env-conf-test] . go 11 pe
  6477. 1850.86 s [opt-env-conf-test] . showString " "
  6478. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6479. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6480. 1850.86 s [opt-env-conf-test] . showString " "
  6481. 1850.86 s [opt-env-conf-test] . go 11 pa
  6482. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6483. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6484. 1850.86 s [opt-env-conf-test] + showParen (d > -10) $
  6485. 1850.86 s [opt-env-conf-test] showString "Select "
  6486. 1850.86 s [opt-env-conf-test] . go 11 pe
  6487. 1850.86 s [opt-env-conf-test] . showString " "
  6488. 1850.86 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6489. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6490. 1850.86 s [opt-env-conf-test] . showString " "
  6491. 1850.86 s [opt-env-conf-test] . go 11 pa
  6492. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6493. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6494. 1850.86 s [opt-env-conf-test] + showParen (d > 0) $
  6495. 1850.86 s [opt-env-conf-test] showString "Select "
  6496. 1850.86 s [opt-env-conf-test] . go 11 pe
  6497. 1850.86 s [opt-env-conf-test] . showString " "
  6498. 1850.86 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6499. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6500. 1850.86 s [opt-env-conf-test] . showString " "
  6501. 1850.86 s [opt-env-conf-test] . go 11 pa
  6502. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6503. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6504. 1850.86 s [opt-env-conf-test] + showParen (d <= 10) $
  6505. 1850.86 s [opt-env-conf-test] showString "Select "
  6506. 1850.86 s [opt-env-conf-test] . go 11 pe
  6507. 1850.86 s [opt-env-conf-test] . showString " "
  6508. 1850.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  6509. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6510. 1850.86 s [opt-env-conf-test] . showString " "
  6511. 1850.86 s [opt-env-conf-test] . go 11 pa
  6512. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6513. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6514. 1850.86 s [opt-env-conf-test] + showParen (True) $
  6515. 1850.86 s [opt-env-conf-test] showString "Select "
  6516. 1850.86 s [opt-env-conf-test] . go 11 pe
  6517. 1850.86 s [opt-env-conf-test] . showString " "
  6518. 1850.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
  6519. 1850.86 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6520. 1850.86 s [opt-env-conf-test] . showString " "
  6521. 1850.86 s [opt-env-conf-test] . go 11 pa
  6522. 1850.86 s [opt-env-conf-test] ParserSelect pe pf ->
  6523. 1850.86 s [opt-env-conf-test] - showParen (d > 10) $
  6524. 1850.86 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6525. 1850.86 s [opt-env-conf-test] showString "Select "
  6526. 1850.86 s [opt-env-conf-test] . go 11 pe
  6527. 1851.68 s [opt-env-conf-test] . showString " "
  6528. 1851.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  6529. 1851.68 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6530. 1851.68 s [opt-env-conf-test] . showString " "
  6531. 1851.68 s [opt-env-conf-test] . go 11 pa
  6532. 1851.68 s [opt-env-conf-test] ParserSelect pe pf ->
  6533. 1851.68 s [opt-env-conf-test] - showParen (d > 10) $
  6534. 1851.68 s [opt-env-conf-test] + showParen (False) $
  6535. 1851.68 s [opt-env-conf-test] showString "Select "
  6536. 1851.68 s [opt-env-conf-test] . go 11 pe
  6537. 1851.68 s [opt-env-conf-test] . showString " "
  6538. 1851.68 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6539. 1851.68 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6540. 1851.68 s [opt-env-conf-test] . showString " "
  6541. 1851.68 s [opt-env-conf-test] . go 11 pa
  6542. 1851.68 s [opt-env-conf-test] ParserSelect pe pf ->
  6543. 1851.68 s [opt-env-conf-test] - showParen (d > 10) $
  6544. 1851.68 s [opt-env-conf-test] + showParen (d >= 10) $
  6545. 1851.68 s [opt-env-conf-test] showString "Select "
  6546. 1851.68 s [opt-env-conf-test] . go 11 pe
  6547. 1851.68 s [opt-env-conf-test] . showString " "
  6548. 1851.68 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6549. 1851.68 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6550. 1851.68 s [opt-env-conf-test] . showString " "
  6551. 1851.68 s [opt-env-conf-test] . go 11 pa
  6552. 1851.68 s [opt-env-conf-test] ParserSelect pe pf ->
  6553. 1851.68 s [opt-env-conf-test] - showParen (d > 10) $
  6554. 1851.69 s [opt-env-conf-test] + showParen (d < 10) $
  6555. 1851.69 s [opt-env-conf-test] showString "Select "
  6556. 1851.69 s [opt-env-conf-test] . go 11 pe
  6557. 1851.69 s [opt-env-conf-test] . showString " "
  6558. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  6559. 1851.69 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  6560. 1851.69 s [opt-env-conf-test] ParserSelect pe pf ->
  6561. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6562. 1851.69 s [opt-env-conf-test] showString "Select "
  6563. 1851.69 s [opt-env-conf-test] - . go 11 pe
  6564. 1851.69 s [opt-env-conf-test] + . go 0 pe
  6565. 1851.69 s [opt-env-conf-test] . showString " "
  6566. 1851.69 s [opt-env-conf-test] . go 11 pf
  6567. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6568. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  6569. 1851.69 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  6570. 1851.69 s [opt-env-conf-test] ParserSelect pe pf ->
  6571. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6572. 1851.69 s [opt-env-conf-test] showString "Select "
  6573. 1851.69 s [opt-env-conf-test] - . go 11 pe
  6574. 1851.69 s [opt-env-conf-test] + . go 1 pe
  6575. 1851.69 s [opt-env-conf-test] . showString " "
  6576. 1851.69 s [opt-env-conf-test] . go 11 pf
  6577. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6578. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  6579. 1851.69 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  6580. 1851.69 s [opt-env-conf-test] ParserSelect pe pf ->
  6581. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6582. 1851.69 s [opt-env-conf-test] showString "Select "
  6583. 1851.69 s [opt-env-conf-test] - . go 11 pe
  6584. 1851.69 s [opt-env-conf-test] + . go -11 pe
  6585. 1851.69 s [opt-env-conf-test] . showString " "
  6586. 1851.69 s [opt-env-conf-test] . go 11 pf
  6587. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6588. 1851.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
  6589. 1851.69 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6590. 1851.69 s [opt-env-conf-test] . showString " "
  6591. 1851.69 s [opt-env-conf-test] . go 11 pa
  6592. 1851.69 s [opt-env-conf-test] ParserSelect pe pf ->
  6593. 1851.69 s [opt-env-conf-test] - showParen (d > 10) $
  6594. 1851.69 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6595. 1851.69 s [opt-env-conf-test] showString "Select "
  6596. 1851.69 s [opt-env-conf-test] . go 11 pe
  6597. 1851.69 s [opt-env-conf-test] . showString " "
  6598. 1851.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  6599. 1851.69 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6600. 1851.69 s [opt-env-conf-test] go d = \case
  6601. 1851.69 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6602. 1851.69 s [opt-env-conf-test] ParserAp pf pa ->
  6603. 1851.69 s [opt-env-conf-test] - showParen (d > 10) $
  6604. 1851.69 s [opt-env-conf-test] + showParen True $
  6605. 1851.69 s [opt-env-conf-test] showString "Ap "
  6606. 1851.69 s [opt-env-conf-test] . go 11 pf
  6607. 1851.69 s [opt-env-conf-test] . showString " "
  6608. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  6609. 1851.69 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  6610. 1851.69 s [opt-env-conf-test] showString "Select "
  6611. 1851.69 s [opt-env-conf-test] . go 11 pe
  6612. 1851.69 s [opt-env-conf-test] . showString " "
  6613. 1851.69 s [opt-env-conf-test] - . go 11 pf
  6614. 1851.69 s [opt-env-conf-test] + . go 1 pf
  6615. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6616. 1851.69 s [opt-env-conf-test] showString "Empty "
  6617. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6618. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  6619. 1851.69 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  6620. 1851.69 s [opt-env-conf-test] showString "Select "
  6621. 1851.69 s [opt-env-conf-test] . go 11 pe
  6622. 1851.69 s [opt-env-conf-test] . showString " "
  6623. 1851.69 s [opt-env-conf-test] - . go 11 pf
  6624. 1851.69 s [opt-env-conf-test] + . go -11 pf
  6625. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6626. 1851.69 s [opt-env-conf-test] showString "Empty "
  6627. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6628. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  6629. 1851.69 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  6630. 1851.69 s [opt-env-conf-test] . go 11 pf
  6631. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6632. 1851.69 s [opt-env-conf-test] showString "Empty "
  6633. 1851.69 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6634. 1851.69 s [opt-env-conf-test] + . showsPrec 0 mLoc
  6635. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6636. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6637. 1851.69 s [opt-env-conf-test] showString "Alt "
  6638. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  6639. 1851.69 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  6640. 1851.69 s [opt-env-conf-test] . go 11 pf
  6641. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6642. 1851.69 s [opt-env-conf-test] showString "Empty "
  6643. 1851.69 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6644. 1851.69 s [opt-env-conf-test] + . showsPrec 1 mLoc
  6645. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6646. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6647. 1851.69 s [opt-env-conf-test] showString "Alt "
  6648. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6649. 1851.69 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6650. 1851.69 s [opt-env-conf-test] showString "Empty "
  6651. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6652. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6653. 1851.69 s [opt-env-conf-test] - showParen (d > 10) $
  6654. 1851.69 s [opt-env-conf-test] + showParen (d > 1) $
  6655. 1851.69 s [opt-env-conf-test] showString "Alt "
  6656. 1851.69 s [opt-env-conf-test] . go 11 p1
  6657. 1851.69 s [opt-env-conf-test] . showString " "
  6658. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  6659. 1851.69 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  6660. 1851.69 s [opt-env-conf-test] . go 11 pf
  6661. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6662. 1851.69 s [opt-env-conf-test] showString "Empty "
  6663. 1851.69 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6664. 1851.69 s [opt-env-conf-test] + . showsPrec -11 mLoc
  6665. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6666. 1851.69 s [opt-env-conf-test] showParen (d > 10) $
  6667. 1851.69 s [opt-env-conf-test] showString "Alt "
  6668. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  6669. 1851.69 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  6670. 1851.69 s [opt-env-conf-test] showString "Select "
  6671. 1851.69 s [opt-env-conf-test] . go 11 pe
  6672. 1851.69 s [opt-env-conf-test] . showString " "
  6673. 1851.69 s [opt-env-conf-test] - . go 11 pf
  6674. 1851.69 s [opt-env-conf-test] + . go 0 pf
  6675. 1851.69 s [opt-env-conf-test] ParserEmpty mLoc ->
  6676. 1851.69 s [opt-env-conf-test] showString "Empty "
  6677. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6678. 1851.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6679. 1851.69 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6680. 1851.69 s [opt-env-conf-test] showString "Empty "
  6681. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6682. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6683. 1851.69 s [opt-env-conf-test] - showParen (d > 10) $
  6684. 1851.69 s [opt-env-conf-test] + showParen (d > 0) $
  6685. 1851.69 s [opt-env-conf-test] showString "Alt "
  6686. 1851.69 s [opt-env-conf-test] . go 11 p1
  6687. 1851.69 s [opt-env-conf-test] . showString " "
  6688. 1851.69 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  6689. 1851.69 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6690. 1851.69 s [opt-env-conf-test] showString "Empty "
  6691. 1851.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6692. 1851.69 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6693. 1851.69 s [opt-env-conf-test] - showParen (d > 10) $
  6694. 1851.69 s [opt-env-conf-test] + showParen (d < 10) $
  6695. 1851.69 s [opt-env-conf-test] showString "Alt "
  6696. 1851.70 s [opt-env-conf-test] . go 11 p1
  6697. 1851.70 s [opt-env-conf-test] . showString " "
  6698. 1851.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  6699. 1851.70 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6700. 1851.70 s [opt-env-conf-test] showString "Empty "
  6701. 1851.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  6702. 1851.70 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6703. 1851.70 s [opt-env-conf-test] - showParen (d > 10) $
  6704. 1851.70 s [opt-env-conf-test] + showParen (True) $
  6705. 1851.70 s [opt-env-conf-test] showString "Alt "
  6706. 1851.70 s [opt-env-conf-test] . go 11 p1
  6707. 1851.70 s [opt-env-conf-test] . showString " "
  6708. 1851.70 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  6709. 1851.70 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6710. 1851.70 s [opt-env-conf-test] showString "Empty "
  6711. 1851.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  6712. 1851.70 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6713. 1851.70 s [opt-env-conf-test] - showParen (d > 10) $
  6714. 1851.70 s [opt-env-conf-test] + showParen (d >= 10) $
  6715. 1851.70 s [opt-env-conf-test] showString "Alt "
  6716. 1851.70 s [opt-env-conf-test] . go 11 p1
  6717. 1851.70 s [opt-env-conf-test] . showString " "
  6718. 1851.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  6719. 1851.70 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6720. 1851.70 s [opt-env-conf-test] . showString " "
  6721. 1851.70 s [opt-env-conf-test] . go 11 pa
  6722. 1851.70 s [opt-env-conf-test] ParserSelect pe pf ->
  6723. 1851.70 s [opt-env-conf-test] - showParen (d > 10) $
  6724. 1851.70 s [opt-env-conf-test] + showParen False $
  6725. 1851.70 s [opt-env-conf-test] showString "Select "
  6726. 1851.70 s [opt-env-conf-test] . go 11 pe
  6727. 1851.70 s [opt-env-conf-test] . showString " "
  6728. 1851.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  6729. 1851.70 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6730. 1851.70 s [opt-env-conf-test] . showString " "
  6731. 1851.70 s [opt-env-conf-test] . go 11 pa
  6732. 1851.70 s [opt-env-conf-test] ParserSelect pe pf ->
  6733. 1859.42 s [opt-env-conf-test] - showParen (d > 10) $
  6734. 1859.45 s [opt-env-conf-test] + showParen True $
  6735. 1859.45 s [opt-env-conf-test] showString "Select "
  6736. 1859.45 s [opt-env-conf-test] . go 11 pe
  6737. 1859.45 s [opt-env-conf-test] . showString " "
  6738. 1859.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  6739. 1859.45 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6740. 1859.45 s [opt-env-conf-test] showString "Empty "
  6741. 1859.45 s [opt-env-conf-test] . showsPrec 11 mLoc
  6742. 1859.45 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6743. 1859.45 s [opt-env-conf-test] - showParen (d > 10) $
  6744. 1859.45 s [opt-env-conf-test] + showParen True $
  6745. 1859.45 s [opt-env-conf-test] showString "Alt "
  6746. 1859.45 s [opt-env-conf-test] . go 11 p1
  6747. 1859.45 s [opt-env-conf-test] . showString " "
  6748. 1859.45 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6749. 1859.45 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6750. 1859.45 s [opt-env-conf-test] showString "Empty "
  6751. 1859.45 s [opt-env-conf-test] . showsPrec 11 mLoc
  6752. 1859.45 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6753. 1859.45 s [opt-env-conf-test] - showParen (d > 10) $
  6754. 1859.45 s [opt-env-conf-test] + showParen (d > -10) $
  6755. 1859.45 s [opt-env-conf-test] showString "Alt "
  6756. 1859.45 s [opt-env-conf-test] . go 11 p1
  6757. 1859.45 s [opt-env-conf-test] . showString " "
  6758. 1859.45 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
  6759. 1859.45 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6760. 1859.45 s [opt-env-conf-test] showString "Empty "
  6761. 1859.45 s [opt-env-conf-test] . showsPrec 11 mLoc
  6762. 1859.45 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6763. 1859.45 s [opt-env-conf-test] - showParen (d > 10) $
  6764. 1859.45 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6765. 1859.45 s [opt-env-conf-test] showString "Alt "
  6766. 1859.45 s [opt-env-conf-test] . go 11 p1
  6767. 1859.46 s [opt-env-conf-test] . showString " "
  6768. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6769. 1859.46 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6770. 1859.46 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6771. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6772. 1859.46 s [opt-env-conf-test] showString "Alt "
  6773. 1859.46 s [opt-env-conf-test] - . go 11 p1
  6774. 1859.46 s [opt-env-conf-test] + . go 0 p1
  6775. 1859.46 s [opt-env-conf-test] . showString " "
  6776. 1859.46 s [opt-env-conf-test] . go 11 p2
  6777. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6778. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6779. 1859.46 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6780. 1859.46 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6781. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6782. 1859.46 s [opt-env-conf-test] showString "Alt "
  6783. 1859.46 s [opt-env-conf-test] - . go 11 p1
  6784. 1859.46 s [opt-env-conf-test] + . go 1 p1
  6785. 1859.46 s [opt-env-conf-test] . showString " "
  6786. 1859.46 s [opt-env-conf-test] . go 11 p2
  6787. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6788. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6789. 1859.46 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6790. 1859.46 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6791. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6792. 1859.46 s [opt-env-conf-test] showString "Alt "
  6793. 1859.46 s [opt-env-conf-test] - . go 11 p1
  6794. 1859.46 s [opt-env-conf-test] + . go -11 p1
  6795. 1859.46 s [opt-env-conf-test] . showString " "
  6796. 1859.46 s [opt-env-conf-test] . go 11 p2
  6797. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6798. 1859.46 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  6799. 1859.46 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6800. 1859.46 s [opt-env-conf-test] showString "Empty "
  6801. 1859.46 s [opt-env-conf-test] . showsPrec 11 mLoc
  6802. 1859.46 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6803. 1859.46 s [opt-env-conf-test] - showParen (d > 10) $
  6804. 1859.46 s [opt-env-conf-test] + showParen False $
  6805. 1859.46 s [opt-env-conf-test] showString "Alt "
  6806. 1859.46 s [opt-env-conf-test] . go 11 p1
  6807. 1859.46 s [opt-env-conf-test] . showString " "
  6808. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6809. 1859.46 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6810. 1859.46 s [opt-env-conf-test] showString "Alt "
  6811. 1859.46 s [opt-env-conf-test] . go 11 p1
  6812. 1859.46 s [opt-env-conf-test] . showString " "
  6813. 1859.46 s [opt-env-conf-test] - . go 11 p2
  6814. 1859.46 s [opt-env-conf-test] + . go 0 p2
  6815. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6816. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6817. 1859.46 s [opt-env-conf-test] showString "Many "
  6818. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6819. 1859.46 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6820. 1859.46 s [opt-env-conf-test] showString "Alt "
  6821. 1859.46 s [opt-env-conf-test] . go 11 p1
  6822. 1859.46 s [opt-env-conf-test] . showString " "
  6823. 1859.46 s [opt-env-conf-test] - . go 11 p2
  6824. 1859.46 s [opt-env-conf-test] + . go 1 p2
  6825. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6826. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6827. 1859.46 s [opt-env-conf-test] showString "Many "
  6828. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6829. 1859.46 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6830. 1859.46 s [opt-env-conf-test] showString "Alt "
  6831. 1859.46 s [opt-env-conf-test] . go 11 p1
  6832. 1859.46 s [opt-env-conf-test] . showString " "
  6833. 1859.46 s [opt-env-conf-test] - . go 11 p2
  6834. 1859.46 s [opt-env-conf-test] + . go -11 p2
  6835. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6836. 1859.46 s [opt-env-conf-test] showParen (d > 10) $
  6837. 1859.46 s [opt-env-conf-test] showString "Many "
  6838. 1859.46 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6839. 1859.46 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6840. 1859.46 s [opt-env-conf-test] . showString " "
  6841. 1859.46 s [opt-env-conf-test] . go 11 p2
  6842. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6843. 1859.46 s [opt-env-conf-test] - showParen (d > 10) $
  6844. 1859.46 s [opt-env-conf-test] + showParen (d > 1) $
  6845. 1859.46 s [opt-env-conf-test] showString "Many "
  6846. 1859.46 s [opt-env-conf-test] . showsPrec 11 mLoc
  6847. 1859.46 s [opt-env-conf-test] . showString " "
  6848. 1859.46 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6849. 1859.46 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6850. 1859.46 s [opt-env-conf-test] . showString " "
  6851. 1859.46 s [opt-env-conf-test] . go 11 p2
  6852. 1859.46 s [opt-env-conf-test] ParserMany mLoc p ->
  6853. 1859.46 s [opt-env-conf-test] - showParen (d > 10) $
  6854. 1859.46 s [opt-env-conf-test] + showParen (d < 10) $
  6855. 1859.46 s [opt-env-conf-test] showString "Many "
  6856. 1859.46 s [opt-env-conf-test] . showsPrec 11 mLoc
  6857. 1859.47 s [opt-env-conf-test] . showString " "
  6858. 1859.47 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6859. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6860. 1859.47 s [opt-env-conf-test] . showString " "
  6861. 1859.47 s [opt-env-conf-test] . go 11 p2
  6862. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6863. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6864. 1859.47 s [opt-env-conf-test] + showParen (d > -10) $
  6865. 1859.47 s [opt-env-conf-test] showString "Many "
  6866. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6867. 1859.47 s [opt-env-conf-test] . showString " "
  6868. 1859.47 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6869. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6870. 1859.47 s [opt-env-conf-test] . showString " "
  6871. 1859.47 s [opt-env-conf-test] . go 11 p2
  6872. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6873. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6874. 1859.47 s [opt-env-conf-test] + showParen (d > 0) $
  6875. 1859.47 s [opt-env-conf-test] showString "Many "
  6876. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6877. 1859.47 s [opt-env-conf-test] . showString " "
  6878. 1859.47 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6879. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6880. 1859.47 s [opt-env-conf-test] . showString " "
  6881. 1859.47 s [opt-env-conf-test] . go 11 p2
  6882. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6883. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6884. 1859.47 s [opt-env-conf-test] + showParen (d <= 10) $
  6885. 1859.47 s [opt-env-conf-test] showString "Many "
  6886. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6887. 1859.47 s [opt-env-conf-test] . showString " "
  6888. 1859.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  6889. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6890. 1859.47 s [opt-env-conf-test] . showString " "
  6891. 1859.47 s [opt-env-conf-test] . go 11 p2
  6892. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6893. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6894. 1859.47 s [opt-env-conf-test] + showParen (True) $
  6895. 1859.47 s [opt-env-conf-test] showString "Many "
  6896. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6897. 1859.47 s [opt-env-conf-test] . showString " "
  6898. 1859.47 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6899. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6900. 1859.47 s [opt-env-conf-test] . showString " "
  6901. 1859.47 s [opt-env-conf-test] . go 11 p2
  6902. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6903. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6904. 1859.47 s [opt-env-conf-test] + showParen (d >= 10) $
  6905. 1859.47 s [opt-env-conf-test] showString "Many "
  6906. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6907. 1859.47 s [opt-env-conf-test] . showString " "
  6908. 1859.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  6909. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6910. 1859.47 s [opt-env-conf-test] . showString " "
  6911. 1859.47 s [opt-env-conf-test] . go 11 p2
  6912. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6913. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6914. 1859.47 s [opt-env-conf-test] + showParen (False) $
  6915. 1859.47 s [opt-env-conf-test] showString "Many "
  6916. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6917. 1859.47 s [opt-env-conf-test] . showString " "
  6918. 1859.47 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
  6919. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6920. 1859.47 s [opt-env-conf-test] . showString " "
  6921. 1859.47 s [opt-env-conf-test] . go 11 p2
  6922. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6923. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6924. 1859.47 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6925. 1859.47 s [opt-env-conf-test] showString "Many "
  6926. 1859.47 s [opt-env-conf-test] . showsPrec 11 mLoc
  6927. 1859.47 s [opt-env-conf-test] . showString " "
  6928. 1859.47 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  6929. 1859.47 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6930. 1859.47 s [opt-env-conf-test] . showString " "
  6931. 1859.47 s [opt-env-conf-test] . go 11 p2
  6932. 1859.47 s [opt-env-conf-test] ParserMany mLoc p ->
  6933. 1859.47 s [opt-env-conf-test] - showParen (d > 10) $
  6934. 1859.47 s [opt-env-conf-test] + showParen False $
  6935. 1859.47 s [opt-env-conf-test] showString "Many "
  6936. 1866.65 s [opt-env-conf-test] . showsPrec 11 mLoc
  6937. 1866.65 s [opt-env-conf-test] . showString " "
  6938. 1866.65 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  6939. 1866.67 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6940. 1866.67 s [opt-env-conf-test] . showString " "
  6941. 1866.67 s [opt-env-conf-test] . go 11 p2
  6942. 1866.67 s [opt-env-conf-test] ParserMany mLoc p ->
  6943. 1866.67 s [opt-env-conf-test] - showParen (d > 10) $
  6944. 1866.67 s [opt-env-conf-test] + showParen True $
  6945. 1866.67 s [opt-env-conf-test] showString "Many "
  6946. 1866.67 s [opt-env-conf-test] . showsPrec 11 mLoc
  6947. 1866.67 s [opt-env-conf-test] . showString " "
  6948. 1866.67 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  6949. 1866.67 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  6950. 1866.68 s [opt-env-conf-test] ParserMany mLoc p ->
  6951. 1866.68 s [opt-env-conf-test] showParen (d > 10) $
  6952. 1866.68 s [opt-env-conf-test] showString "Many "
  6953. 1866.68 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6954. 1866.68 s [opt-env-conf-test] + . showsPrec 1 mLoc
  6955. 1866.68 s [opt-env-conf-test] . showString " "
  6956. 1866.68 s [opt-env-conf-test] . go 11 p
  6957. 1866.68 s [opt-env-conf-test] ParserSome mLoc p ->
  6958. 1866.68 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  6959. 1866.68 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  6960. 1866.68 s [opt-env-conf-test] ParserMany mLoc p ->
  6961. 1866.68 s [opt-env-conf-test] showParen (d > 10) $
  6962. 1866.68 s [opt-env-conf-test] showString "Many "
  6963. 1866.68 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6964. 1866.68 s [opt-env-conf-test] + . showsPrec 0 mLoc
  6965. 1866.68 s [opt-env-conf-test] . showString " "
  6966. 1866.68 s [opt-env-conf-test] . go 11 p
  6967. 1866.68 s [opt-env-conf-test] ParserSome mLoc p ->
  6968. 1866.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
  6969. 1866.68 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6970. 1866.68 s [opt-env-conf-test] . showString " "
  6971. 1866.68 s [opt-env-conf-test] . go 11 p2
  6972. 1866.68 s [opt-env-conf-test] ParserMany mLoc p ->
  6973. 1866.68 s [opt-env-conf-test] - showParen (d > 10) $
  6974. 1866.68 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6975. 1866.68 s [opt-env-conf-test] showString "Many "
  6976. 1866.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  6977. 1866.68 s [opt-env-conf-test] . showString " "
  6978. 1866.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
  6979. 1866.68 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6980. 1866.68 s [opt-env-conf-test] showString "Empty "
  6981. 1866.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  6982. 1866.68 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6983. 1866.68 s [opt-env-conf-test] - showParen (d > 10) $
  6984. 1866.68 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6985. 1866.68 s [opt-env-conf-test] showString "Alt "
  6986. 1866.68 s [opt-env-conf-test] . go 11 p1
  6987. 1866.68 s [opt-env-conf-test] . showString " "
  6988. 1866.68 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  6989. 1866.68 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6990. 1866.68 s [opt-env-conf-test] showString "Empty "
  6991. 1866.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  6992. 1866.68 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6993. 1866.68 s [opt-env-conf-test] - showParen (d > 10) $
  6994. 1866.68 s [opt-env-conf-test] + showParen (d <= 10) $
  6995. 1866.68 s [opt-env-conf-test] showString "Alt "
  6996. 1866.69 s [opt-env-conf-test] . go 11 p1
  6997. 1866.69 s [opt-env-conf-test] . showString " "
  6998. 1866.69 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  6999. 1866.69 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7000. 1866.69 s [opt-env-conf-test] . showString " "
  7001. 1866.69 s [opt-env-conf-test] . go 11 p
  7002. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7003. 1866.69 s [opt-env-conf-test] - showParen (d > 10) $
  7004. 1866.69 s [opt-env-conf-test] + showParen (d <= 10) $
  7005. 1866.69 s [opt-env-conf-test] showString "Some "
  7006. 1866.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7007. 1866.69 s [opt-env-conf-test] . showString " "
  7008. 1866.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7009. 1866.69 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7010. 1866.69 s [opt-env-conf-test] . showString " "
  7011. 1866.69 s [opt-env-conf-test] . go 11 p
  7012. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7013. 1866.69 s [opt-env-conf-test] - showParen (d > 10) $
  7014. 1866.69 s [opt-env-conf-test] + showParen (d > -10) $
  7015. 1866.69 s [opt-env-conf-test] showString "Some "
  7016. 1866.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7017. 1866.69 s [opt-env-conf-test] . showString " "
  7018. 1866.69 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  7019. 1866.69 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7020. 1866.69 s [opt-env-conf-test] . showString " "
  7021. 1866.69 s [opt-env-conf-test] . go 11 p
  7022. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7023. 1866.69 s [opt-env-conf-test] - showParen (d > 10) $
  7024. 1866.69 s [opt-env-conf-test] + showParen (d >= 10) $
  7025. 1866.69 s [opt-env-conf-test] showString "Some "
  7026. 1866.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7027. 1866.69 s [opt-env-conf-test] . showString " "
  7028. 1866.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  7029. 1866.69 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7030. 1866.69 s [opt-env-conf-test] . showString " "
  7031. 1866.69 s [opt-env-conf-test] . go 11 p
  7032. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7033. 1866.69 s [opt-env-conf-test] - showParen (d > 10) $
  7034. 1866.69 s [opt-env-conf-test] + showParen (True) $
  7035. 1866.69 s [opt-env-conf-test] showString "Some "
  7036. 1866.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7037. 1866.69 s [opt-env-conf-test] . showString " "
  7038. 1866.69 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7039. 1866.69 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7040. 1866.69 s [opt-env-conf-test] showString "Many "
  7041. 1866.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  7042. 1866.69 s [opt-env-conf-test] . showString " "
  7043. 1866.69 s [opt-env-conf-test] - . go 11 p
  7044. 1866.69 s [opt-env-conf-test] + . go 1 p
  7045. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7046. 1866.69 s [opt-env-conf-test] showParen (d > 10) $
  7047. 1866.69 s [opt-env-conf-test] showString "Some "
  7048. 1866.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  7049. 1866.69 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7050. 1866.69 s [opt-env-conf-test] . showString " "
  7051. 1866.69 s [opt-env-conf-test] . go 11 p
  7052. 1866.69 s [opt-env-conf-test] ParserSome mLoc p ->
  7053. 1866.69 s [opt-env-conf-test] - showParen (d > 10) $
  7054. 1866.69 s [opt-env-conf-test] + showParen (False) $
  7055. 1866.69 s [opt-env-conf-test] showString "Some "
  7056. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7057. 1866.70 s [opt-env-conf-test] . showString " "
  7058. 1866.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7059. 1866.70 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7060. 1866.70 s [opt-env-conf-test] showString "Many "
  7061. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7062. 1866.70 s [opt-env-conf-test] . showString " "
  7063. 1866.70 s [opt-env-conf-test] - . go 11 p
  7064. 1866.70 s [opt-env-conf-test] + . go -11 p
  7065. 1866.70 s [opt-env-conf-test] ParserSome mLoc p ->
  7066. 1866.70 s [opt-env-conf-test] showParen (d > 10) $
  7067. 1866.70 s [opt-env-conf-test] showString "Some "
  7068. 1866.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
  7069. 1866.70 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7070. 1866.70 s [opt-env-conf-test] . showString " "
  7071. 1866.70 s [opt-env-conf-test] . go 11 p
  7072. 1866.70 s [opt-env-conf-test] ParserSome mLoc p ->
  7073. 1866.70 s [opt-env-conf-test] - showParen (d > 10) $
  7074. 1866.70 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7075. 1866.70 s [opt-env-conf-test] showString "Some "
  7076. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7077. 1866.70 s [opt-env-conf-test] . showString " "
  7078. 1866.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7079. 1866.70 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7080. 1866.70 s [opt-env-conf-test] . showString " "
  7081. 1866.70 s [opt-env-conf-test] . go 11 p
  7082. 1866.70 s [opt-env-conf-test] ParserSome mLoc p ->
  7083. 1866.70 s [opt-env-conf-test] - showParen (d > 10) $
  7084. 1866.70 s [opt-env-conf-test] + showParen (d > 0) $
  7085. 1866.70 s [opt-env-conf-test] showString "Some "
  7086. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7087. 1866.70 s [opt-env-conf-test] . showString " "
  7088. 1866.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7089. 1866.70 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7090. 1866.70 s [opt-env-conf-test] ParserSome mLoc p ->
  7091. 1866.70 s [opt-env-conf-test] showParen (d > 10) $
  7092. 1866.70 s [opt-env-conf-test] showString "Some "
  7093. 1866.70 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7094. 1866.70 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7095. 1866.70 s [opt-env-conf-test] . showString " "
  7096. 1866.70 s [opt-env-conf-test] . go 11 p
  7097. 1866.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7098. 1866.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  7099. 1866.70 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7100. 1866.70 s [opt-env-conf-test] . showString " "
  7101. 1866.70 s [opt-env-conf-test] . go 11 p
  7102. 1866.70 s [opt-env-conf-test] ParserSome mLoc p ->
  7103. 1866.70 s [opt-env-conf-test] - showParen (d > 10) $
  7104. 1866.70 s [opt-env-conf-test] + showParen True $
  7105. 1866.70 s [opt-env-conf-test] showString "Some "
  7106. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7107. 1866.70 s [opt-env-conf-test] . showString " "
  7108. 1866.70 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  7109. 1866.70 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  7110. 1866.70 s [opt-env-conf-test] showString "Some "
  7111. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7112. 1866.70 s [opt-env-conf-test] . showString " "
  7113. 1866.70 s [opt-env-conf-test] - . go 11 p
  7114. 1866.70 s [opt-env-conf-test] + . go 0 p
  7115. 1866.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7116. 1866.70 s [opt-env-conf-test] showParen (d > 10) $
  7117. 1866.70 s [opt-env-conf-test] showString "AllOrNothing "
  7118. 1866.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  7119. 1866.70 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7120. 1866.70 s [opt-env-conf-test] showString "Empty "
  7121. 1866.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  7122. 1866.70 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7123. 1866.70 s [opt-env-conf-test] - showParen (d > 10) $
  7124. 1866.70 s [opt-env-conf-test] + showParen (False) $
  7125. 1866.70 s [opt-env-conf-test] showString "Alt "
  7126. 1866.70 s [opt-env-conf-test] . go 11 p1
  7127. 1866.70 s [opt-env-conf-test] . showString " "
  7128. 1866.70 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7129. 1866.70 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7130. 1866.70 s [opt-env-conf-test] . showString " "
  7131. 1866.70 s [opt-env-conf-test] . go 11 p
  7132. 1866.70 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7133. 1866.70 s [opt-env-conf-test] - showParen (d > 10) $
  7134. 1866.70 s [opt-env-conf-test] + showParen (d < 10) $
  7135. 1868.02 s [opt-env-conf-test] showString "AllOrNothing "
  7136. 1868.02 s [opt-env-conf-test] . showsPrec 11 mLoc
  7137. 1868.02 s [opt-env-conf-test] . showString " "
  7138. 1868.02 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7139. 1868.02 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7140. 1868.02 s [opt-env-conf-test] . showString " "
  7141. 1868.02 s [opt-env-conf-test] . go 11 p
  7142. 1868.02 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7143. 1868.02 s [opt-env-conf-test] - showParen (d > 10) $
  7144. 1868.02 s [opt-env-conf-test] + showParen (d <= 10) $
  7145. 1868.02 s [opt-env-conf-test] showString "AllOrNothing "
  7146. 1868.02 s [opt-env-conf-test] . showsPrec 11 mLoc
  7147. 1868.02 s [opt-env-conf-test] . showString " "
  7148. 1868.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7149. 1868.02 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7150. 1868.02 s [opt-env-conf-test] . showString " "
  7151. 1868.02 s [opt-env-conf-test] . go 11 p
  7152. 1868.02 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7153. 1868.02 s [opt-env-conf-test] - showParen (d > 10) $
  7154. 1868.02 s [opt-env-conf-test] + showParen (d > -10) $
  7155. 1868.02 s [opt-env-conf-test] showString "AllOrNothing "
  7156. 1868.02 s [opt-env-conf-test] . showsPrec 11 mLoc
  7157. 1868.02 s [opt-env-conf-test] . showString " "
  7158. 1868.02 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7159. 1868.02 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7160. 1868.02 s [opt-env-conf-test] . showString " "
  7161. 1868.02 s [opt-env-conf-test] . go 11 p
  7162. 1868.02 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7163. 1868.02 s [opt-env-conf-test] - showParen (d > 10) $
  7164. 1868.02 s [opt-env-conf-test] + showParen (d >= 10) $
  7165. 1868.02 s [opt-env-conf-test] showString "AllOrNothing "
  7166. 1868.02 s [opt-env-conf-test] . showsPrec 11 mLoc
  7167. 1868.03 s [opt-env-conf-test] . showString " "
  7168. 1868.03 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  7169. 1868.03 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7170. 1868.03 s [opt-env-conf-test] . showString " "
  7171. 1868.03 s [opt-env-conf-test] . go 11 p
  7172. 1868.03 s [opt-env-conf-test] ParserSome mLoc p ->
  7173. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7174. 1868.03 s [opt-env-conf-test] + showParen (d < 10) $
  7175. 1868.03 s [opt-env-conf-test] showString "Some "
  7176. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7177. 1868.03 s [opt-env-conf-test] . showString " "
  7178. 1868.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7179. 1868.03 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7180. 1868.03 s [opt-env-conf-test] . showString " "
  7181. 1868.03 s [opt-env-conf-test] . go 11 p
  7182. 1868.03 s [opt-env-conf-test] ParserSome mLoc p ->
  7183. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7184. 1868.03 s [opt-env-conf-test] + showParen (d > 1) $
  7185. 1868.03 s [opt-env-conf-test] showString "Some "
  7186. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7187. 1868.03 s [opt-env-conf-test] . showString " "
  7188. 1868.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  7189. 1868.03 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  7190. 1868.03 s [opt-env-conf-test] showString "Some "
  7191. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7192. 1868.03 s [opt-env-conf-test] . showString " "
  7193. 1868.03 s [opt-env-conf-test] - . go 11 p
  7194. 1868.03 s [opt-env-conf-test] + . go 1 p
  7195. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7196. 1868.03 s [opt-env-conf-test] showParen (d > 10) $
  7197. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7198. 1868.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7199. 1868.03 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7200. 1868.03 s [opt-env-conf-test] . showString " "
  7201. 1868.03 s [opt-env-conf-test] . go 11 p
  7202. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7203. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7204. 1868.03 s [opt-env-conf-test] + showParen (True) $
  7205. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7206. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7207. 1868.03 s [opt-env-conf-test] . showString " "
  7208. 1868.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7209. 1868.03 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7210. 1868.03 s [opt-env-conf-test] . showString " "
  7211. 1868.03 s [opt-env-conf-test] . go 11 p
  7212. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7213. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7214. 1868.03 s [opt-env-conf-test] + showParen (False) $
  7215. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7216. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7217. 1868.03 s [opt-env-conf-test] . showString " "
  7218. 1868.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7219. 1868.03 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7220. 1868.03 s [opt-env-conf-test] . showString " "
  7221. 1868.03 s [opt-env-conf-test] . go 11 p
  7222. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7223. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7224. 1868.03 s [opt-env-conf-test] + showParen True $
  7225. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7226. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7227. 1868.03 s [opt-env-conf-test] . showString " "
  7228. 1868.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
  7229. 1868.03 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7230. 1868.03 s [opt-env-conf-test] . showString " "
  7231. 1868.03 s [opt-env-conf-test] . go 11 p
  7232. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7233. 1868.03 s [opt-env-conf-test] - showParen (d > 10) $
  7234. 1868.03 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7235. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7236. 1868.03 s [opt-env-conf-test] . showsPrec 11 mLoc
  7237. 1868.03 s [opt-env-conf-test] . showString " "
  7238. 1868.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7239. 1868.03 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7240. 1868.03 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7241. 1868.03 s [opt-env-conf-test] showParen (d > 10) $
  7242. 1868.03 s [opt-env-conf-test] showString "AllOrNothing "
  7243. 1868.04 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7244. 1868.04 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7245. 1868.04 s [opt-env-conf-test] . showString " "
  7246. 1868.04 s [opt-env-conf-test] . go 11 p
  7247. 1868.04 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7248. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7249. 1868.04 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7250. 1868.04 s [opt-env-conf-test] ParserSome mLoc p ->
  7251. 1868.04 s [opt-env-conf-test] showParen (d > 10) $
  7252. 1868.04 s [opt-env-conf-test] showString "Some "
  7253. 1868.04 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7254. 1868.04 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7255. 1868.04 s [opt-env-conf-test] . showString " "
  7256. 1868.04 s [opt-env-conf-test] . go 11 p
  7257. 1868.04 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7258. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7259. 1868.04 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7260. 1868.04 s [opt-env-conf-test] . showString " "
  7261. 1868.04 s [opt-env-conf-test] . go 11 p
  7262. 1868.04 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7263. 1868.04 s [opt-env-conf-test] - showParen (d > 10) $
  7264. 1868.04 s [opt-env-conf-test] + showParen (d > 0) $
  7265. 1868.04 s [opt-env-conf-test] showString "AllOrNothing "
  7266. 1868.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  7267. 1868.04 s [opt-env-conf-test] . showString " "
  7268. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  7269. 1868.04 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  7270. 1868.04 s [opt-env-conf-test] ParserSome mLoc p ->
  7271. 1868.04 s [opt-env-conf-test] showParen (d > 10) $
  7272. 1868.04 s [opt-env-conf-test] showString "Some "
  7273. 1868.04 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7274. 1868.04 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7275. 1868.04 s [opt-env-conf-test] . showString " "
  7276. 1868.04 s [opt-env-conf-test] . go 11 p
  7277. 1868.04 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7278. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  7279. 1868.04 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  7280. 1868.04 s [opt-env-conf-test] showString "Some "
  7281. 1868.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  7282. 1868.04 s [opt-env-conf-test] . showString " "
  7283. 1868.04 s [opt-env-conf-test] - . go 11 p
  7284. 1868.04 s [opt-env-conf-test] + . go -11 p
  7285. 1868.04 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7286. 1868.04 s [opt-env-conf-test] showParen (d > 10) $
  7287. 1868.04 s [opt-env-conf-test] showString "AllOrNothing "
  7288. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7289. 1868.04 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7290. 1868.04 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7291. 1868.04 s [opt-env-conf-test] showParen (d > 10) $
  7292. 1868.04 s [opt-env-conf-test] showString "AllOrNothing "
  7293. 1868.04 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7294. 1868.04 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7295. 1868.04 s [opt-env-conf-test] . showString " "
  7296. 1868.04 s [opt-env-conf-test] . go 11 p
  7297. 1868.04 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7298. 1868.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
  7299. 1868.04 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7300. 1868.04 s [opt-env-conf-test] . showString " "
  7301. 1868.04 s [opt-env-conf-test] . go 11 p
  7302. 1868.04 s [opt-env-conf-test] ParserSome mLoc p ->
  7303. 1868.04 s [opt-env-conf-test] - showParen (d > 10) $
  7304. 1868.04 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7305. 1868.04 s [opt-env-conf-test] showString "Some "
  7306. 1868.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  7307. 1868.04 s [opt-env-conf-test] . showString " "
  7308. 1868.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  7309. 1868.04 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7310. 1868.04 s [opt-env-conf-test] . showString " "
  7311. 1868.04 s [opt-env-conf-test] . go 11 p
  7312. 1868.04 s [opt-env-conf-test] ParserSome mLoc p ->
  7313. 1868.04 s [opt-env-conf-test] - showParen (d > 10) $
  7314. 1868.04 s [opt-env-conf-test] + showParen False $
  7315. 1868.04 s [opt-env-conf-test] showString "Some "
  7316. 1868.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  7317. 1868.04 s [opt-env-conf-test] . showString " "
  7318. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7319. 1868.04 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7320. 1868.04 s [opt-env-conf-test] showString "AllOrNothing "
  7321. 1868.04 s [opt-env-conf-test] . showsPrec 11 mLoc
  7322. 1868.04 s [opt-env-conf-test] . showString " "
  7323. 1868.04 s [opt-env-conf-test] - . go 11 p
  7324. 1868.04 s [opt-env-conf-test] + . go 1 p
  7325. 1868.04 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7326. 1868.04 s [opt-env-conf-test] showParen (d > 10) $
  7327. 1868.04 s [opt-env-conf-test] showString "Check "
  7328. 1868.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7329. 1868.04 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7330. 1868.04 s [opt-env-conf-test] showString "AllOrNothing "
  7331. 1870.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7332. 1870.93 s [opt-env-conf-test] . showString " "
  7333. 1870.93 s [opt-env-conf-test] - . go 11 p
  7334. 1870.93 s [opt-env-conf-test] + . go -11 p
  7335. 1870.93 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7336. 1870.93 s [opt-env-conf-test] showParen (d > 10) $
  7337. 1870.93 s [opt-env-conf-test] showString "Check "
  7338. 1870.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7339. 1870.93 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7340. 1870.93 s [opt-env-conf-test] . showString " "
  7341. 1870.93 s [opt-env-conf-test] . go 11 p
  7342. 1870.93 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7343. 1870.93 s [opt-env-conf-test] - showParen (d > 10) $
  7344. 1870.93 s [opt-env-conf-test] + showParen (d > 0) $
  7345. 1870.93 s [opt-env-conf-test] showString "Check "
  7346. 1870.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7347. 1870.93 s [opt-env-conf-test] . showString " "
  7348. 1870.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7349. 1870.93 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7350. 1870.93 s [opt-env-conf-test] . showString " "
  7351. 1870.93 s [opt-env-conf-test] . go 11 p
  7352. 1870.93 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7353. 1870.93 s [opt-env-conf-test] - showParen (d > 10) $
  7354. 1870.93 s [opt-env-conf-test] + showParen (d > 1) $
  7355. 1870.93 s [opt-env-conf-test] showString "Check "
  7356. 1870.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7357. 1870.93 s [opt-env-conf-test] . showString " "
  7358. 1870.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7359. 1870.93 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7360. 1870.93 s [opt-env-conf-test] . showString " "
  7361. 1870.93 s [opt-env-conf-test] . go 11 p
  7362. 1870.93 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7363. 1870.93 s [opt-env-conf-test] - showParen (d > 10) $
  7364. 1870.93 s [opt-env-conf-test] + showParen (d > -10) $
  7365. 1870.93 s [opt-env-conf-test] showString "Check "
  7366. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7367. 1870.94 s [opt-env-conf-test] . showString " "
  7368. 1870.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
  7369. 1870.94 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7370. 1870.94 s [opt-env-conf-test] . showString " "
  7371. 1870.94 s [opt-env-conf-test] . go 11 p
  7372. 1870.94 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7373. 1870.94 s [opt-env-conf-test] - showParen (d > 10) $
  7374. 1870.94 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7375. 1870.94 s [opt-env-conf-test] showString "AllOrNothing "
  7376. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7377. 1870.94 s [opt-env-conf-test] . showString " "
  7378. 1870.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7379. 1870.94 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7380. 1870.94 s [opt-env-conf-test] showString "AllOrNothing "
  7381. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7382. 1870.94 s [opt-env-conf-test] . showString " "
  7383. 1870.94 s [opt-env-conf-test] - . go 11 p
  7384. 1870.94 s [opt-env-conf-test] + . go 0 p
  7385. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7386. 1870.94 s [opt-env-conf-test] showParen (d > 10) $
  7387. 1870.94 s [opt-env-conf-test] showString "Check "
  7388. 1870.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  7389. 1870.94 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7390. 1870.94 s [opt-env-conf-test] . showString " "
  7391. 1870.94 s [opt-env-conf-test] . go 11 p
  7392. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7393. 1870.94 s [opt-env-conf-test] - showParen (d > 10) $
  7394. 1870.94 s [opt-env-conf-test] + showParen (True) $
  7395. 1870.94 s [opt-env-conf-test] showString "Check "
  7396. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7397. 1870.94 s [opt-env-conf-test] . showString " "
  7398. 1870.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  7399. 1870.94 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7400. 1870.94 s [opt-env-conf-test] . showString " "
  7401. 1870.94 s [opt-env-conf-test] . go 11 p
  7402. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7403. 1870.94 s [opt-env-conf-test] - showParen (d > 10) $
  7404. 1870.94 s [opt-env-conf-test] + showParen (False) $
  7405. 1870.94 s [opt-env-conf-test] showString "Check "
  7406. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7407. 1870.94 s [opt-env-conf-test] . showString " "
  7408. 1870.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  7409. 1870.94 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7410. 1870.94 s [opt-env-conf-test] . showString " "
  7411. 1870.94 s [opt-env-conf-test] . go 11 p
  7412. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7413. 1870.94 s [opt-env-conf-test] - showParen (d > 10) $
  7414. 1870.94 s [opt-env-conf-test] + showParen True $
  7415. 1870.94 s [opt-env-conf-test] showString "Check "
  7416. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7417. 1870.94 s [opt-env-conf-test] . showString " "
  7418. 1870.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  7419. 1870.94 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7420. 1870.94 s [opt-env-conf-test] . showString " "
  7421. 1870.94 s [opt-env-conf-test] . go 11 p
  7422. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7423. 1870.94 s [opt-env-conf-test] - showParen (d > 10) $
  7424. 1870.94 s [opt-env-conf-test] + showParen False $
  7425. 1870.94 s [opt-env-conf-test] showString "Check "
  7426. 1870.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7427. 1870.94 s [opt-env-conf-test] . showString " "
  7428. 1870.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7429. 1870.94 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7430. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7431. 1870.94 s [opt-env-conf-test] showParen (d > 10) $
  7432. 1870.94 s [opt-env-conf-test] showString "Check "
  7433. 1870.94 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7434. 1870.94 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7435. 1870.94 s [opt-env-conf-test] . showString " "
  7436. 1870.94 s [opt-env-conf-test] . showsPrec 11 forgivable
  7437. 1870.94 s [opt-env-conf-test] . showString " "
  7438. 1870.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7439. 1870.94 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7440. 1870.94 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7441. 1870.94 s [opt-env-conf-test] showParen (d > 10) $
  7442. 1870.94 s [opt-env-conf-test] showString "Check "
  7443. 1870.94 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7444. 1870.95 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7445. 1870.95 s [opt-env-conf-test] . showString " "
  7446. 1870.95 s [opt-env-conf-test] . showsPrec 11 forgivable
  7447. 1870.95 s [opt-env-conf-test] . showString " "
  7448. 1870.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7449. 1870.95 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7450. 1870.95 s [opt-env-conf-test] showString "Check "
  7451. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7452. 1870.95 s [opt-env-conf-test] . showString " "
  7453. 1870.95 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7454. 1870.95 s [opt-env-conf-test] + . showsPrec 0 forgivable
  7455. 1870.95 s [opt-env-conf-test] . showString " "
  7456. 1870.95 s [opt-env-conf-test] . showsPrec 11 caps
  7457. 1870.95 s [opt-env-conf-test] . showString " _ "
  7458. 1870.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7459. 1870.95 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7460. 1870.95 s [opt-env-conf-test] showString "Check "
  7461. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7462. 1870.95 s [opt-env-conf-test] . showString " "
  7463. 1870.95 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7464. 1870.95 s [opt-env-conf-test] + . showsPrec 1 forgivable
  7465. 1870.95 s [opt-env-conf-test] . showString " "
  7466. 1870.95 s [opt-env-conf-test] . showsPrec 11 caps
  7467. 1870.95 s [opt-env-conf-test] . showString " _ "
  7468. 1870.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7469. 1870.95 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7470. 1870.95 s [opt-env-conf-test] showString "Check "
  7471. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7472. 1870.95 s [opt-env-conf-test] . showString " "
  7473. 1870.95 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7474. 1870.95 s [opt-env-conf-test] + . showsPrec -11 forgivable
  7475. 1870.95 s [opt-env-conf-test] . showString " "
  7476. 1870.95 s [opt-env-conf-test] . showsPrec 11 caps
  7477. 1870.95 s [opt-env-conf-test] . showString " _ "
  7478. 1870.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  7479. 1870.95 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7480. 1870.95 s [opt-env-conf-test] showString "Check "
  7481. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7482. 1870.95 s [opt-env-conf-test] . showString " "
  7483. 1870.95 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7484. 1870.95 s [opt-env-conf-test] + . showsPrec 11 True
  7485. 1870.95 s [opt-env-conf-test] . showString " "
  7486. 1870.95 s [opt-env-conf-test] . showsPrec 11 caps
  7487. 1870.95 s [opt-env-conf-test] . showString " _ "
  7488. 1870.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
  7489. 1870.95 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7490. 1870.95 s [opt-env-conf-test] showString "Check "
  7491. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7492. 1870.95 s [opt-env-conf-test] . showString " "
  7493. 1870.95 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7494. 1870.95 s [opt-env-conf-test] + . showsPrec 11 not (forgivable)
  7495. 1870.95 s [opt-env-conf-test] . showString " "
  7496. 1870.95 s [opt-env-conf-test] . showsPrec 11 caps
  7497. 1870.95 s [opt-env-conf-test] . showString " _ "
  7498. 1870.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7499. 1870.95 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7500. 1870.95 s [opt-env-conf-test] . showString " "
  7501. 1870.95 s [opt-env-conf-test] . showsPrec 11 forgivable
  7502. 1870.95 s [opt-env-conf-test] . showString " "
  7503. 1870.95 s [opt-env-conf-test] - . showsPrec 11 caps
  7504. 1870.95 s [opt-env-conf-test] + . showsPrec 0 caps
  7505. 1870.95 s [opt-env-conf-test] . showString " _ "
  7506. 1870.95 s [opt-env-conf-test] . go 11 p
  7507. 1870.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7508. 1870.95 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7509. 1870.95 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7510. 1870.95 s [opt-env-conf-test] . showString " "
  7511. 1870.95 s [opt-env-conf-test] . go 11 p
  7512. 1870.95 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7513. 1870.95 s [opt-env-conf-test] - showParen (d > 10) $
  7514. 1870.95 s [opt-env-conf-test] + showParen (d >= 10) $
  7515. 1870.95 s [opt-env-conf-test] showString "Check "
  7516. 1870.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7517. 1870.95 s [opt-env-conf-test] . showString " "
  7518. 1870.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7519. 1876.24 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7520. 1876.24 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7521. 1876.24 s [opt-env-conf-test] showParen (d > 10) $
  7522. 1876.27 s [opt-env-conf-test] showString "Check "
  7523. 1876.27 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7524. 1876.27 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7525. 1876.27 s [opt-env-conf-test] . showString " "
  7526. 1876.27 s [opt-env-conf-test] . showsPrec 11 forgivable
  7527. 1876.27 s [opt-env-conf-test] . showString " "
  7528. 1876.27 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7529. 1876.27 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7530. 1876.27 s [opt-env-conf-test] . showString " "
  7531. 1876.27 s [opt-env-conf-test] . go 11 p
  7532. 1876.27 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7533. 1876.27 s [opt-env-conf-test] - showParen (d > 10) $
  7534. 1876.27 s [opt-env-conf-test] + showParen (d <= 10) $
  7535. 1876.27 s [opt-env-conf-test] showString "Check "
  7536. 1876.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  7537. 1876.27 s [opt-env-conf-test] . showString " "
  7538. 1876.27 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
  7539. 1876.27 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7540. 1876.27 s [opt-env-conf-test] . showString " "
  7541. 1876.27 s [opt-env-conf-test] . go 11 p
  7542. 1876.27 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7543. 1876.27 s [opt-env-conf-test] - showParen (d > 10) $
  7544. 1876.27 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7545. 1876.27 s [opt-env-conf-test] showString "Check "
  7546. 1876.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  7547. 1876.27 s [opt-env-conf-test] . showString " "
  7548. 1876.27 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7549. 1876.27 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7550. 1876.27 s [opt-env-conf-test] . showString " "
  7551. 1876.27 s [opt-env-conf-test] . go 11 p
  7552. 1876.27 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7553. 1876.27 s [opt-env-conf-test] - showParen (d > 10) $
  7554. 1876.27 s [opt-env-conf-test] + showParen (d < 10) $
  7555. 1876.27 s [opt-env-conf-test] showString "Check "
  7556. 1876.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  7557. 1876.27 s [opt-env-conf-test] . showString " "
  7558. 1876.27 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
  7559. 1876.27 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7560. 1876.27 s [opt-env-conf-test] . showString " "
  7561. 1876.27 s [opt-env-conf-test] . go 11 p
  7562. 1876.27 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7563. 1876.27 s [opt-env-conf-test] - showParen (d > 10) $
  7564. 1876.27 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7565. 1876.27 s [opt-env-conf-test] showString "Check "
  7566. 1876.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  7567. 1876.27 s [opt-env-conf-test] . showString " "
  7568. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7569. 1876.28 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7570. 1876.28 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7571. 1876.28 s [opt-env-conf-test] showParen (d > 10) $
  7572. 1876.28 s [opt-env-conf-test] showString "AllOrNothing "
  7573. 1876.28 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7574. 1876.28 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7575. 1876.28 s [opt-env-conf-test] . showString " "
  7576. 1876.28 s [opt-env-conf-test] . go 11 p
  7577. 1876.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7578. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7579. 1876.28 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7580. 1876.28 s [opt-env-conf-test] . showString " "
  7581. 1876.28 s [opt-env-conf-test] . go 11 p
  7582. 1876.28 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7583. 1876.28 s [opt-env-conf-test] - showParen (d > 10) $
  7584. 1876.28 s [opt-env-conf-test] + showParen (d > 1) $
  7585. 1876.28 s [opt-env-conf-test] showString "AllOrNothing "
  7586. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7587. 1876.28 s [opt-env-conf-test] . showString " "
  7588. 1876.28 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7589. 1876.28 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7590. 1876.28 s [opt-env-conf-test] . showString " "
  7591. 1876.28 s [opt-env-conf-test] . go 11 p
  7592. 1876.28 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7593. 1876.28 s [opt-env-conf-test] - showParen (d > 10) $
  7594. 1876.28 s [opt-env-conf-test] + showParen False $
  7595. 1876.28 s [opt-env-conf-test] showString "AllOrNothing "
  7596. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7597. 1876.28 s [opt-env-conf-test] . showString " "
  7598. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  7599. 1876.28 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  7600. 1876.28 s [opt-env-conf-test] ParserMany mLoc p ->
  7601. 1876.28 s [opt-env-conf-test] showParen (d > 10) $
  7602. 1876.28 s [opt-env-conf-test] showString "Many "
  7603. 1876.28 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7604. 1876.28 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7605. 1876.28 s [opt-env-conf-test] . showString " "
  7606. 1876.28 s [opt-env-conf-test] . go 11 p
  7607. 1876.28 s [opt-env-conf-test] ParserSome mLoc p ->
  7608. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  7609. 1876.28 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  7610. 1876.28 s [opt-env-conf-test] showString "Many "
  7611. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7612. 1876.28 s [opt-env-conf-test] . showString " "
  7613. 1876.28 s [opt-env-conf-test] - . go 11 p
  7614. 1876.28 s [opt-env-conf-test] + . go 0 p
  7615. 1876.28 s [opt-env-conf-test] ParserSome mLoc p ->
  7616. 1876.28 s [opt-env-conf-test] showParen (d > 10) $
  7617. 1876.28 s [opt-env-conf-test] showString "Some "
  7618. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7619. 1876.28 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7620. 1876.28 s [opt-env-conf-test] . showString " "
  7621. 1876.28 s [opt-env-conf-test] . showsPrec 11 forgivable
  7622. 1876.28 s [opt-env-conf-test] . showString " "
  7623. 1876.28 s [opt-env-conf-test] - . showsPrec 11 caps
  7624. 1876.28 s [opt-env-conf-test] + . showsPrec 1 caps
  7625. 1876.28 s [opt-env-conf-test] . showString " _ "
  7626. 1876.28 s [opt-env-conf-test] . go 11 p
  7627. 1876.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7628. 1876.28 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  7629. 1876.28 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7630. 1876.28 s [opt-env-conf-test] showString "Check "
  7631. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7632. 1876.28 s [opt-env-conf-test] . showString " "
  7633. 1876.28 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7634. 1876.28 s [opt-env-conf-test] + . showsPrec 11 False
  7635. 1876.28 s [opt-env-conf-test] . showString " "
  7636. 1876.28 s [opt-env-conf-test] . showsPrec 11 caps
  7637. 1876.28 s [opt-env-conf-test] . showString " _ "
  7638. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7639. 1876.28 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7640. 1876.28 s [opt-env-conf-test] . showString " "
  7641. 1876.28 s [opt-env-conf-test] . showsPrec 11 caps
  7642. 1876.28 s [opt-env-conf-test] . showString " _ "
  7643. 1876.28 s [opt-env-conf-test] - . go 11 p
  7644. 1876.28 s [opt-env-conf-test] + . go -11 p
  7645. 1876.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7646. 1876.28 s [opt-env-conf-test] showParen (d > 10) $
  7647. 1876.28 s [opt-env-conf-test] showString "Commands "
  7648. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  7649. 1876.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7650. 1876.28 s [opt-env-conf-test] . showString " _ "
  7651. 1876.28 s [opt-env-conf-test] . go 11 p
  7652. 1876.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7653. 1876.28 s [opt-env-conf-test] - showParen (d > 10) $
  7654. 1876.28 s [opt-env-conf-test] + showParen (d > 1) $
  7655. 1876.28 s [opt-env-conf-test] showString "Commands "
  7656. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7657. 1876.28 s [opt-env-conf-test] . showString " "
  7658. 1876.28 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7659. 1876.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7660. 1876.28 s [opt-env-conf-test] . showString " _ "
  7661. 1876.28 s [opt-env-conf-test] . go 11 p
  7662. 1876.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7663. 1876.28 s [opt-env-conf-test] - showParen (d > 10) $
  7664. 1876.28 s [opt-env-conf-test] + showParen (d < 10) $
  7665. 1876.28 s [opt-env-conf-test] showString "Commands "
  7666. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7667. 1876.28 s [opt-env-conf-test] . showString " "
  7668. 1876.28 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7669. 1876.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7670. 1876.28 s [opt-env-conf-test] . showString " _ "
  7671. 1876.28 s [opt-env-conf-test] . go 11 p
  7672. 1876.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7673. 1876.28 s [opt-env-conf-test] - showParen (d > 10) $
  7674. 1876.28 s [opt-env-conf-test] + showParen (d >= 10) $
  7675. 1876.28 s [opt-env-conf-test] showString "Commands "
  7676. 1876.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  7677. 1876.28 s [opt-env-conf-test] . showString " "
  7678. 1876.28 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7679. 1876.28 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7680. 1876.28 s [opt-env-conf-test] . showString " "
  7681. 1876.28 s [opt-env-conf-test] . showsPrec 11 caps
  7682. 1876.29 s [opt-env-conf-test] . showString " _ "
  7683. 1876.29 s [opt-env-conf-test] - . go 11 p
  7684. 1876.29 s [opt-env-conf-test] + . go 0 p
  7685. 1876.29 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7686. 1876.29 s [opt-env-conf-test] showParen (d > 10) $
  7687. 1876.29 s [opt-env-conf-test] showString "Commands "
  7688. 1876.29 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7689. 1876.29 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7690. 1876.29 s [opt-env-conf-test] . showString " "
  7691. 1876.29 s [opt-env-conf-test] . showsPrec 11 caps
  7692. 1876.29 s [opt-env-conf-test] . showString " _ "
  7693. 1876.29 s [opt-env-conf-test] - . go 11 p
  7694. 1876.29 s [opt-env-conf-test] + . go 1 p
  7695. 1876.29 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7696. 1876.29 s [opt-env-conf-test] showParen (d > 10) $
  7697. 1876.29 s [opt-env-conf-test] showString "Commands "
  7698. 1876.29 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
  7699. 1876.29 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7700. 1876.29 s [opt-env-conf-test] . showString " _ "
  7701. 1876.29 s [opt-env-conf-test] . go 11 p
  7702. 1876.29 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7703. 1876.29 s [opt-env-conf-test] - showParen (d > 10) $
  7704. 1876.29 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7705. 1876.29 s [opt-env-conf-test] showString "Commands "
  7706. 1876.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  7707. 1876.29 s [opt-env-conf-test] . showString " "
  7708. 1876.29 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  7709. 1876.29 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7710. 1876.29 s [opt-env-conf-test] . showString " _ "
  7711. 1876.29 s [opt-env-conf-test] . go 11 p
  7712. 1876.29 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7713. 1883.89 s [opt-env-conf-test] - showParen (d > 10) $
  7714. 1883.92 s [opt-env-conf-test] + showParen False $
  7715. 1883.92 s [opt-env-conf-test] showString "Commands "
  7716. 1883.92 s [opt-env-conf-test] . showsPrec 11 mLoc
  7717. 1883.92 s [opt-env-conf-test] . showString " "
  7718. 1883.92 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
  7719. 1883.92 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7720. 1883.92 s [opt-env-conf-test] . showString " _ "
  7721. 1883.92 s [opt-env-conf-test] . go 11 p
  7722. 1883.92 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7723. 1883.92 s [opt-env-conf-test] - showParen (d > 10) $
  7724. 1883.92 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7725. 1883.92 s [opt-env-conf-test] showString "Commands "
  7726. 1883.92 s [opt-env-conf-test] . showsPrec 11 mLoc
  7727. 1883.92 s [opt-env-conf-test] . showString " "
  7728. 1883.92 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7729. 1883.92 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7730. 1883.92 s [opt-env-conf-test] . showString " "
  7731. 1883.92 s [opt-env-conf-test] . showsPrec 11 forgivable
  7732. 1883.92 s [opt-env-conf-test] . showString " "
  7733. 1883.92 s [opt-env-conf-test] - . showsPrec 11 caps
  7734. 1883.92 s [opt-env-conf-test] + . showsPrec -11 caps
  7735. 1883.92 s [opt-env-conf-test] . showString " _ "
  7736. 1883.92 s [opt-env-conf-test] . go 11 p
  7737. 1883.92 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7738. 1883.92 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  7739. 1883.92 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7740. 1883.92 s [opt-env-conf-test] . showString " _ "
  7741. 1883.92 s [opt-env-conf-test] . go 11 p
  7742. 1883.92 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7743. 1883.92 s [opt-env-conf-test] - showParen (d > 10) $
  7744. 1883.93 s [opt-env-conf-test] + showParen (d > 0) $
  7745. 1883.93 s [opt-env-conf-test] showString "Commands "
  7746. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7747. 1883.93 s [opt-env-conf-test] . showString " "
  7748. 1883.93 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  7749. 1883.93 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7750. 1883.93 s [opt-env-conf-test] . showString " _ "
  7751. 1883.93 s [opt-env-conf-test] . go 11 p
  7752. 1883.93 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7753. 1883.93 s [opt-env-conf-test] - showParen (d > 10) $
  7754. 1883.93 s [opt-env-conf-test] + showParen (d > -10) $
  7755. 1883.93 s [opt-env-conf-test] showString "Commands "
  7756. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7757. 1883.93 s [opt-env-conf-test] . showString " "
  7758. 1883.93 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7759. 1883.93 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7760. 1883.93 s [opt-env-conf-test] . showString " _ "
  7761. 1883.93 s [opt-env-conf-test] . go 11 p
  7762. 1883.93 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7763. 1883.93 s [opt-env-conf-test] - showParen (d > 10) $
  7764. 1883.93 s [opt-env-conf-test] + showParen (d <= 10) $
  7765. 1883.93 s [opt-env-conf-test] showString "Commands "
  7766. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7767. 1883.93 s [opt-env-conf-test] . showString " "
  7768. 1883.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  7769. 1883.93 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7770. 1883.93 s [opt-env-conf-test] . showString " _ "
  7771. 1883.93 s [opt-env-conf-test] . go 11 p
  7772. 1883.93 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7773. 1883.93 s [opt-env-conf-test] - showParen (d > 10) $
  7774. 1883.93 s [opt-env-conf-test] + showParen (False) $
  7775. 1883.93 s [opt-env-conf-test] showString "Commands "
  7776. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7777. 1883.93 s [opt-env-conf-test] . showString " "
  7778. 1883.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  7779. 1883.93 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7780. 1883.93 s [opt-env-conf-test] . showString " _ "
  7781. 1883.93 s [opt-env-conf-test] . go 11 p
  7782. 1883.93 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7783. 1883.93 s [opt-env-conf-test] - showParen (d > 10) $
  7784. 1883.93 s [opt-env-conf-test] + showParen (True) $
  7785. 1883.93 s [opt-env-conf-test] showString "Commands "
  7786. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7787. 1883.93 s [opt-env-conf-test] . showString " "
  7788. 1883.93 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  7789. 1883.93 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7790. 1883.93 s [opt-env-conf-test] . showString " _ "
  7791. 1883.93 s [opt-env-conf-test] . go 11 p
  7792. 1883.93 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7793. 1883.93 s [opt-env-conf-test] - showParen (d > 10) $
  7794. 1883.93 s [opt-env-conf-test] + showParen True $
  7795. 1883.93 s [opt-env-conf-test] showString "Commands "
  7796. 1883.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  7797. 1883.93 s [opt-env-conf-test] . showString " "
  7798. 1883.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  7799. 1883.94 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  7800. 1883.94 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7801. 1883.94 s [opt-env-conf-test] showParen (d > 10) $
  7802. 1883.94 s [opt-env-conf-test] showString "Commands "
  7803. 1883.94 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7804. 1883.94 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7805. 1883.94 s [opt-env-conf-test] . showString " "
  7806. 1883.94 s [opt-env-conf-test] . showsPrec 11 mDefault
  7807. 1883.94 s [opt-env-conf-test] . showString " "
  7808. 1883.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  7809. 1883.94 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  7810. 1883.94 s [opt-env-conf-test] showString "Commands "
  7811. 1883.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7812. 1883.94 s [opt-env-conf-test] . showString " "
  7813. 1883.94 s [opt-env-conf-test] - . showsPrec 11 mDefault
  7814. 1883.94 s [opt-env-conf-test] + . showsPrec 1 mDefault
  7815. 1883.94 s [opt-env-conf-test] . showString " "
  7816. 1883.94 s [opt-env-conf-test] . showListWith
  7817. 1883.94 s [opt-env-conf-test] showCommandABit
  7818. 1883.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  7819. 1883.94 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  7820. 1883.94 s [opt-env-conf-test] showString "Commands "
  7821. 1883.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7822. 1883.94 s [opt-env-conf-test] . showString " "
  7823. 1883.94 s [opt-env-conf-test] - . showsPrec 11 mDefault
  7824. 1883.94 s [opt-env-conf-test] + . showsPrec 0 mDefault
  7825. 1883.94 s [opt-env-conf-test] . showString " "
  7826. 1883.94 s [opt-env-conf-test] . showListWith
  7827. 1883.94 s [opt-env-conf-test] showCommandABit
  7828. 1883.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  7829. 1883.94 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  7830. 1883.94 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7831. 1883.94 s [opt-env-conf-test] showParen (d > 10) $
  7832. 1883.94 s [opt-env-conf-test] showString "Commands "
  7833. 1883.94 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7834. 1883.94 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7835. 1883.94 s [opt-env-conf-test] . showString " "
  7836. 1883.94 s [opt-env-conf-test] . showsPrec 11 mDefault
  7837. 1883.94 s [opt-env-conf-test] . showString " "
  7838. 1883.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  7839. 1883.94 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  7840. 1883.94 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7841. 1883.94 s [opt-env-conf-test] showParen (d > 10) $
  7842. 1883.94 s [opt-env-conf-test] showString "Commands "
  7843. 1883.94 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7844. 1883.94 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7845. 1883.94 s [opt-env-conf-test] . showString " "
  7846. 1883.95 s [opt-env-conf-test] . showsPrec 11 mDefault
  7847. 1883.95 s [opt-env-conf-test] . showString " "
  7848. 1883.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  7849. 1883.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7850. 1883.95 s [opt-env-conf-test] showCommandABit
  7851. 1883.95 s [opt-env-conf-test] cs
  7852. 1883.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7853. 1883.95 s [opt-env-conf-test] - showParen (d > 10) $
  7854. 1883.95 s [opt-env-conf-test] + showParen (False) $
  7855. 1883.95 s [opt-env-conf-test] showString "WithConfig _ "
  7856. 1883.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7857. 1883.95 s [opt-env-conf-test] . showString " "
  7858. 1883.95 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7859. 1883.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7860. 1883.95 s [opt-env-conf-test] showCommandABit
  7861. 1883.95 s [opt-env-conf-test] cs
  7862. 1883.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7863. 1883.95 s [opt-env-conf-test] - showParen (d > 10) $
  7864. 1883.95 s [opt-env-conf-test] + showParen (d <= 10) $
  7865. 1883.95 s [opt-env-conf-test] showString "WithConfig _ "
  7866. 1883.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7867. 1883.95 s [opt-env-conf-test] . showString " "
  7868. 1883.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  7869. 1883.95 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  7870. 1883.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7871. 1883.95 s [opt-env-conf-test] showParen (d > 10) $
  7872. 1883.95 s [opt-env-conf-test] showString "WithConfig _ "
  7873. 1883.95 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7874. 1883.95 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7875. 1883.95 s [opt-env-conf-test] . showString " "
  7876. 1883.95 s [opt-env-conf-test] . go 11 p1
  7877. 1883.95 s [opt-env-conf-test] . showString " "
  7878. 1883.95 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7879. 1883.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7880. 1883.95 s [opt-env-conf-test] showCommandABit
  7881. 1883.95 s [opt-env-conf-test] cs
  7882. 1883.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7883. 1883.95 s [opt-env-conf-test] - showParen (d > 10) $
  7884. 1883.95 s [opt-env-conf-test] + showParen (d >= 10) $
  7885. 1883.95 s [opt-env-conf-test] showString "WithConfig _ "
  7886. 1883.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7887. 1883.95 s [opt-env-conf-test] . showString " "
  7888. 1883.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  7889. 1883.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7890. 1883.95 s [opt-env-conf-test] showCommandABit
  7891. 1883.95 s [opt-env-conf-test] cs
  7892. 1883.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7893. 1883.95 s [opt-env-conf-test] - showParen (d > 10) $
  7894. 1883.95 s [opt-env-conf-test] + showParen (True) $
  7895. 1883.95 s [opt-env-conf-test] showString "WithConfig _ "
  7896. 1883.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7897. 1883.95 s [opt-env-conf-test] . showString " "
  7898. 1883.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
  7899. 1883.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7900. 1883.95 s [opt-env-conf-test] showCommandABit
  7901. 1883.95 s [opt-env-conf-test] cs
  7902. 1883.96 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7903. 1886.94 s [opt-env-conf-test] - showParen (d > 10) $
  7904. 1886.94 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7905. 1886.94 s [opt-env-conf-test] showString "WithConfig _ "
  7906. 1886.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7907. 1886.94 s [opt-env-conf-test] . showString " "
  7908. 1886.94 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  7909. 1886.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7910. 1886.94 s [opt-env-conf-test] showCommandABit
  7911. 1886.94 s [opt-env-conf-test] cs
  7912. 1886.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7913. 1886.94 s [opt-env-conf-test] - showParen (d > 10) $
  7914. 1886.94 s [opt-env-conf-test] + showParen (d > 0) $
  7915. 1886.94 s [opt-env-conf-test] showString "WithConfig _ "
  7916. 1886.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7917. 1886.94 s [opt-env-conf-test] . showString " "
  7918. 1886.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  7919. 1886.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7920. 1886.94 s [opt-env-conf-test] showCommandABit
  7921. 1886.94 s [opt-env-conf-test] cs
  7922. 1886.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7923. 1886.94 s [opt-env-conf-test] - showParen (d > 10) $
  7924. 1886.94 s [opt-env-conf-test] + showParen False $
  7925. 1886.94 s [opt-env-conf-test] showString "WithConfig _ "
  7926. 1886.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  7927. 1886.94 s [opt-env-conf-test] . showString " "
  7928. 1886.94 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
  7929. 1886.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7930. 1886.94 s [opt-env-conf-test] showCommandABit
  7931. 1886.95 s [opt-env-conf-test] cs
  7932. 1886.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7933. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7934. 1886.95 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7935. 1886.95 s [opt-env-conf-test] showString "WithConfig _ "
  7936. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7937. 1886.95 s [opt-env-conf-test] . showString " "
  7938. 1886.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  7939. 1886.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7940. 1886.95 s [opt-env-conf-test] showCommandABit
  7941. 1886.95 s [opt-env-conf-test] cs
  7942. 1886.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7943. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7944. 1886.95 s [opt-env-conf-test] + showParen (d > -10) $
  7945. 1886.95 s [opt-env-conf-test] showString "WithConfig _ "
  7946. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7947. 1886.95 s [opt-env-conf-test] . showString " "
  7948. 1886.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  7949. 1886.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7950. 1886.95 s [opt-env-conf-test] showCommandABit
  7951. 1886.95 s [opt-env-conf-test] cs
  7952. 1886.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7953. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7954. 1886.95 s [opt-env-conf-test] + showParen True $
  7955. 1886.95 s [opt-env-conf-test] showString "WithConfig _ "
  7956. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7957. 1886.95 s [opt-env-conf-test] . showString " "
  7958. 1886.95 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7959. 1886.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7960. 1886.95 s [opt-env-conf-test] showCommandABit
  7961. 1886.95 s [opt-env-conf-test] cs
  7962. 1886.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7963. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7964. 1886.95 s [opt-env-conf-test] + showParen (d < 10) $
  7965. 1886.95 s [opt-env-conf-test] showString "WithConfig _ "
  7966. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7967. 1886.95 s [opt-env-conf-test] . showString " "
  7968. 1886.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  7969. 1886.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7970. 1886.95 s [opt-env-conf-test] showCommandABit
  7971. 1886.95 s [opt-env-conf-test] cs
  7972. 1886.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7973. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7974. 1886.95 s [opt-env-conf-test] + showParen (d > 1) $
  7975. 1886.95 s [opt-env-conf-test] showString "WithConfig _ "
  7976. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7977. 1886.95 s [opt-env-conf-test] . showString " "
  7978. 1886.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  7979. 1886.95 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  7980. 1886.95 s [opt-env-conf-test] . showString " "
  7981. 1886.95 s [opt-env-conf-test] . go 11 p1
  7982. 1886.95 s [opt-env-conf-test] . showString " "
  7983. 1886.95 s [opt-env-conf-test] - . go 11 p2
  7984. 1886.95 s [opt-env-conf-test] + . go -11 p2
  7985. 1886.95 s [opt-env-conf-test] ParserSetting mLoc p ->
  7986. 1886.95 s [opt-env-conf-test] showParen (d > 10) $
  7987. 1886.95 s [opt-env-conf-test] showString "Setting "
  7988. 1886.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  7989. 1886.95 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7990. 1886.95 s [opt-env-conf-test] . showString " "
  7991. 1886.95 s [opt-env-conf-test] . go 11 p2
  7992. 1886.95 s [opt-env-conf-test] ParserSetting mLoc p ->
  7993. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  7994. 1886.95 s [opt-env-conf-test] + showParen (d > -10) $
  7995. 1886.95 s [opt-env-conf-test] showString "Setting "
  7996. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  7997. 1886.95 s [opt-env-conf-test] . showString " "
  7998. 1886.95 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  7999. 1886.95 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8000. 1886.95 s [opt-env-conf-test] . showString " "
  8001. 1886.95 s [opt-env-conf-test] . go 11 p2
  8002. 1886.95 s [opt-env-conf-test] ParserSetting mLoc p ->
  8003. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  8004. 1886.95 s [opt-env-conf-test] + showParen (d >= 10) $
  8005. 1886.95 s [opt-env-conf-test] showString "Setting "
  8006. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  8007. 1886.95 s [opt-env-conf-test] . showString " "
  8008. 1886.95 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8009. 1886.95 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8010. 1886.95 s [opt-env-conf-test] . showString " "
  8011. 1886.95 s [opt-env-conf-test] . go 11 p2
  8012. 1886.95 s [opt-env-conf-test] ParserSetting mLoc p ->
  8013. 1886.95 s [opt-env-conf-test] - showParen (d > 10) $
  8014. 1886.95 s [opt-env-conf-test] + showParen (d > 0) $
  8015. 1886.95 s [opt-env-conf-test] showString "Setting "
  8016. 1886.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  8017. 1886.95 s [opt-env-conf-test] . showString " "
  8018. 1886.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
  8019. 1886.95 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8020. 1886.95 s [opt-env-conf-test] . showString " "
  8021. 1886.95 s [opt-env-conf-test] . go 11 p2
  8022. 1886.95 s [opt-env-conf-test] ParserSetting mLoc p ->
  8023. 1886.96 s [opt-env-conf-test] - showParen (d > 10) $
  8024. 1886.96 s [opt-env-conf-test] + showParen (not (d > 10)) $
  8025. 1886.96 s [opt-env-conf-test] showString "Setting "
  8026. 1886.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  8027. 1886.96 s [opt-env-conf-test] . showString " "
  8028. 1886.96 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  8029. 1886.96 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8030. 1886.96 s [opt-env-conf-test] . showString " "
  8031. 1886.96 s [opt-env-conf-test] . go 11 p2
  8032. 1886.96 s [opt-env-conf-test] ParserSetting mLoc p ->
  8033. 1886.96 s [opt-env-conf-test] - showParen (d > 10) $
  8034. 1886.96 s [opt-env-conf-test] + showParen False $
  8035. 1886.96 s [opt-env-conf-test] showString "Setting "
  8036. 1886.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  8037. 1886.96 s [opt-env-conf-test] . showString " "
  8038. 1886.96 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
  8039. 1886.96 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8040. 1886.96 s [opt-env-conf-test] . showString " "
  8041. 1886.96 s [opt-env-conf-test] . go 11 p2
  8042. 1886.96 s [opt-env-conf-test] ParserSetting mLoc p ->
  8043. 1886.96 s [opt-env-conf-test] - showParen (d > 10) $
  8044. 1886.96 s [opt-env-conf-test] + showParen not ((d > 10)) $
  8045. 1886.96 s [opt-env-conf-test] showString "Setting "
  8046. 1886.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  8047. 1886.96 s [opt-env-conf-test] . showString " "
  8048. 1886.96 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8049. 1886.96 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8050. 1886.96 s [opt-env-conf-test] ParserSetting mLoc p ->
  8051. 1886.96 s [opt-env-conf-test] showParen (d > 10) $
  8052. 1886.96 s [opt-env-conf-test] showString "Setting "
  8053. 1886.96 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8054. 1886.96 s [opt-env-conf-test] + . showsPrec 0 mLoc
  8055. 1886.96 s [opt-env-conf-test] . showString " "
  8056. 1886.96 s [opt-env-conf-test] . showSettingABit p
  8057. 1886.96 s [opt-env-conf-test]
  8058. 1886.96 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  8059. 1886.96 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8060. 1886.96 s [opt-env-conf-test] . showString " "
  8061. 1886.96 s [opt-env-conf-test] . go 11 p2
  8062. 1886.96 s [opt-env-conf-test] ParserSetting mLoc p ->
  8063. 1886.96 s [opt-env-conf-test] - showParen (d > 10) $
  8064. 1886.96 s [opt-env-conf-test] + showParen (d < 10) $
  8065. 1886.96 s [opt-env-conf-test] showString "Setting "
  8066. 1886.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  8067. 1886.96 s [opt-env-conf-test] . showString " "
  8068. 1886.96 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8069. 1886.96 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8070. 1886.96 s [opt-env-conf-test] ParserSetting mLoc p ->
  8071. 1886.96 s [opt-env-conf-test] showParen (d > 10) $
  8072. 1886.96 s [opt-env-conf-test] showString "Setting "
  8073. 1886.96 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8074. 1886.96 s [opt-env-conf-test] + . showsPrec 1 mLoc
  8075. 1886.96 s [opt-env-conf-test] . showString " "
  8076. 1886.96 s [opt-env-conf-test] . showSettingABit p
  8077. 1886.96 s [opt-env-conf-test]
  8078. 1886.96 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  8079. 1886.96 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  8080. 1886.96 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  8081. 1886.96 s [opt-env-conf-test] showCommandABit Command {..} =
  8082. 1886.96 s [opt-env-conf-test] showString "Command "
  8083. 1886.96 s [opt-env-conf-test] - . showsPrec 11 commandArg
  8084. 1886.96 s [opt-env-conf-test] + . showsPrec 0 commandArg
  8085. 1886.96 s [opt-env-conf-test] . showString " "
  8086. 1886.96 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8087. 1886.96 s [opt-env-conf-test] . showString " "
  8088. 1886.96 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  8089. 1886.96 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  8090. 1886.96 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  8091. 1886.96 s [opt-env-conf-test] showCommandABit Command {..} =
  8092. 1886.96 s [opt-env-conf-test] showString "Command "
  8093. 1886.96 s [opt-env-conf-test] - . showsPrec 11 commandArg
  8094. 1886.96 s [opt-env-conf-test] + . showsPrec 1 commandArg
  8095. 1886.96 s [opt-env-conf-test] . showString " "
  8096. 1886.96 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8097. 1886.96 s [opt-env-conf-test] . showString " "
  8098. 1886.96 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  8099. 1892.84 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  8100. 1892.87 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8101. 1892.87 s [opt-env-conf-test] showParen (d > 10) $
  8102. 1892.87 s [opt-env-conf-test] showString "WithConfig _ "
  8103. 1892.87 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8104. 1892.87 s [opt-env-conf-test] + . showsPrec 1 mLoc
  8105. 1892.87 s [opt-env-conf-test] . showString " "
  8106. 1892.87 s [opt-env-conf-test] . go 11 p1
  8107. 1892.87 s [opt-env-conf-test] . showString " "
  8108. 1892.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  8109. 1892.87 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  8110. 1892.87 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  8111. 1892.87 s [opt-env-conf-test] showCommandABit Command {..} =
  8112. 1892.87 s [opt-env-conf-test] showString "Command "
  8113. 1892.87 s [opt-env-conf-test] - . showsPrec 11 commandArg
  8114. 1892.87 s [opt-env-conf-test] + . showsPrec -11 commandArg
  8115. 1892.87 s [opt-env-conf-test] . showString " "
  8116. 1892.87 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8117. 1892.87 s [opt-env-conf-test] . showString " "
  8118. 1892.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8119. 1892.87 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8120. 1892.87 s [opt-env-conf-test] showString "Command "
  8121. 1892.87 s [opt-env-conf-test] . showsPrec 11 commandArg
  8122. 1892.87 s [opt-env-conf-test] . showString " "
  8123. 1892.87 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8124. 1892.88 s [opt-env-conf-test] + . showsPrec 0 commandHelp
  8125. 1892.88 s [opt-env-conf-test] . showString " "
  8126. 1892.88 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8127. 1892.88 s [opt-env-conf-test]
  8128. 1892.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8129. 1892.88 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8130. 1892.88 s [opt-env-conf-test] ParserSetting mLoc p ->
  8131. 1892.88 s [opt-env-conf-test] showParen (d > 10) $
  8132. 1892.88 s [opt-env-conf-test] showString "Setting "
  8133. 1892.88 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8134. 1892.88 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8135. 1892.88 s [opt-env-conf-test] . showString " "
  8136. 1892.88 s [opt-env-conf-test] . showSettingABit p
  8137. 1892.88 s [opt-env-conf-test]
  8138. 1892.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8139. 1892.88 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8140. 1892.88 s [opt-env-conf-test] showString "Command "
  8141. 1892.88 s [opt-env-conf-test] . showsPrec 11 commandArg
  8142. 1892.88 s [opt-env-conf-test] . showString " "
  8143. 1892.88 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8144. 1892.88 s [opt-env-conf-test] + . showsPrec -11 commandHelp
  8145. 1892.88 s [opt-env-conf-test] . showString " "
  8146. 1892.88 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8147. 1892.88 s [opt-env-conf-test]
  8148. 1892.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  8149. 1892.88 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  8150. 1892.88 s [opt-env-conf-test] showString "Commands "
  8151. 1892.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  8152. 1892.88 s [opt-env-conf-test] . showString " "
  8153. 1892.88 s [opt-env-conf-test] - . showsPrec 11 mDefault
  8154. 1892.88 s [opt-env-conf-test] + . showsPrec -11 mDefault
  8155. 1892.88 s [opt-env-conf-test] . showString " "
  8156. 1892.88 s [opt-env-conf-test] . showListWith
  8157. 1892.88 s [opt-env-conf-test] showCommandABit
  8158. 1892.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8159. 1892.88 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8160. 1892.88 s [opt-env-conf-test] . showString " "
  8161. 1892.88 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8162. 1892.88 s [opt-env-conf-test] . showString " "
  8163. 1892.88 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8164. 1892.88 s [opt-env-conf-test] + . showParserPrec 0 commandParser
  8165. 1892.88 s [opt-env-conf-test]
  8166. 1892.88 s [opt-env-conf-test] -- | A 'Parser' structure
  8167. 1892.88 s [opt-env-conf-test] --
  8168. 1892.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8169. 1892.88 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8170. 1892.88 s [opt-env-conf-test] . showString " "
  8171. 1892.88 s [opt-env-conf-test] . go 11 p2
  8172. 1892.88 s [opt-env-conf-test] ParserSetting mLoc p ->
  8173. 1892.89 s [opt-env-conf-test] - showParen (d > 10) $
  8174. 1892.89 s [opt-env-conf-test] + showParen (d > 1) $
  8175. 1892.89 s [opt-env-conf-test] showString "Setting "
  8176. 1892.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  8177. 1892.89 s [opt-env-conf-test] . showString " "
  8178. 1892.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8179. 1892.89 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8180. 1892.89 s [opt-env-conf-test] . showString " "
  8181. 1892.89 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8182. 1892.89 s [opt-env-conf-test] . showString " "
  8183. 1892.89 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8184. 1892.89 s [opt-env-conf-test] + . showParserPrec 1 commandParser
  8185. 1892.89 s [opt-env-conf-test]
  8186. 1892.89 s [opt-env-conf-test] -- | A 'Parser' structure
  8187. 1892.89 s [opt-env-conf-test] --
  8188. 1892.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8189. 1892.89 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8190. 1892.89 s [opt-env-conf-test] . showString " "
  8191. 1892.89 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8192. 1892.89 s [opt-env-conf-test] . showString " "
  8193. 1892.89 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8194. 1892.89 s [opt-env-conf-test] + . showParserPrec -11 commandParser
  8195. 1892.89 s [opt-env-conf-test]
  8196. 1892.89 s [opt-env-conf-test] -- | A 'Parser' structure
  8197. 1892.89 s [opt-env-conf-test] --
  8198. 1892.89 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
  8199. 1892.89 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  8200. 1892.89 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8201. 1892.89 s [opt-env-conf-test]
  8202. 1892.89 s [opt-env-conf-test] showParserABit :: Parser a -> String
  8203. 1892.89 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  8204. 1892.89 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  8205. 1892.89 s [opt-env-conf-test]
  8206. 1892.89 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  8207. 1892.89 s [opt-env-conf-test] showParserPrec = go
  8208. 1892.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8209. 1892.89 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8210. 1892.89 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8211. 1892.89 s [opt-env-conf-test] isEmpty = \case
  8212. 1892.89 s [opt-env-conf-test] ParserPure _ -> False
  8213. 1892.89 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8214. 1892.89 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  8215. 1892.89 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8216. 1892.89 s [opt-env-conf-test] ParserEmpty _ -> True
  8217. 1892.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8218. 1892.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8219. 1892.89 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8220. 1892.89 s [opt-env-conf-test] isEmpty = \case
  8221. 1892.89 s [opt-env-conf-test] ParserPure _ -> False
  8222. 1892.89 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8223. 1892.89 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8224. 1892.90 s [opt-env-conf-test] + ParserSelect pe pf -> True && isEmpty pf
  8225. 1892.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8226. 1892.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8227. 1892.90 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8228. 1892.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8229. 1892.90 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8230. 1892.90 s [opt-env-conf-test] isEmpty = \case
  8231. 1892.90 s [opt-env-conf-test] ParserPure _ -> False
  8232. 1892.90 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8233. 1892.90 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8234. 1892.90 s [opt-env-conf-test] + ParserSelect pe pf -> False && isEmpty pf
  8235. 1892.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8236. 1892.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8237. 1892.90 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8238. 1892.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8239. 1892.90 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8240. 1892.90 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8241. 1892.90 s [opt-env-conf-test] isEmpty = \case
  8242. 1892.90 s [opt-env-conf-test] ParserPure _ -> False
  8243. 1892.90 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8244. 1892.90 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  8245. 1892.90 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8246. 1892.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8247. 1892.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8248. 1892.90 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8249. 1892.90 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8250. 1892.90 s [opt-env-conf-test] showString "Command "
  8251. 1892.90 s [opt-env-conf-test] . showsPrec 11 commandArg
  8252. 1892.90 s [opt-env-conf-test] . showString " "
  8253. 1892.90 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8254. 1892.90 s [opt-env-conf-test] + . showsPrec 1 commandHelp
  8255. 1892.90 s [opt-env-conf-test] . showString " "
  8256. 1892.90 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8257. 1892.90 s [opt-env-conf-test]
  8258. 1892.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8259. 1892.90 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8260. 1892.90 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8261. 1892.90 s [opt-env-conf-test] isEmpty = \case
  8262. 1892.90 s [opt-env-conf-test] ParserPure _ -> False
  8263. 1892.90 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8264. 1892.90 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  8265. 1892.90 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8266. 1892.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8267. 1892.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8268. 1892.90 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
  8269. 1892.90 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8270. 1892.90 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8271. 1892.90 s [opt-env-conf-test] isEmpty = \case
  8272. 1892.90 s [opt-env-conf-test] ParserPure _ -> False
  8273. 1892.90 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8274. 1892.90 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf || isEmpty pa
  8275. 1892.90 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8276. 1892.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8277. 1892.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8278. 1892.90 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  8279. 1892.90 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  8280. 1892.90 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8281. 1892.90 s [opt-env-conf-test] showParen (d > 10) $
  8282. 1892.90 s [opt-env-conf-test] showString "WithConfig _ "
  8283. 1892.90 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8284. 1892.90 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8285. 1892.90 s [opt-env-conf-test] . showString " "
  8286. 1892.91 s [opt-env-conf-test] . go 11 p1
  8287. 1892.91 s [opt-env-conf-test] . showString " "
  8288. 1892.91 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
  8289. 1892.91 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8290. 1892.91 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8291. 1892.91 s [opt-env-conf-test] isEmpty = \case
  8292. 1892.91 s [opt-env-conf-test] ParserPure _ -> False
  8293. 1896.72 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8294. 1896.72 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf && isEmpty pa)
  8295. 1896.72 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8296. 1896.72 s [opt-env-conf-test] ParserEmpty _ -> True
  8297. 1896.72 s [opt-env-conf-test] ParserAlt _ _ -> False
  8298. 1896.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  8299. 1896.72 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8300. 1896.72 s [opt-env-conf-test] . showString " "
  8301. 1896.72 s [opt-env-conf-test] . go 11 p2
  8302. 1896.72 s [opt-env-conf-test] ParserSetting mLoc p ->
  8303. 1896.72 s [opt-env-conf-test] - showParen (d > 10) $
  8304. 1896.72 s [opt-env-conf-test] + showParen True $
  8305. 1896.72 s [opt-env-conf-test] showString "Setting "
  8306. 1896.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  8307. 1896.72 s [opt-env-conf-test] . showString " "
  8308. 1896.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8309. 1896.72 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8310. 1896.72 s [opt-env-conf-test] . showString " "
  8311. 1896.72 s [opt-env-conf-test] . go 11 p1
  8312. 1896.72 s [opt-env-conf-test] . showString " "
  8313. 1896.72 s [opt-env-conf-test] - . go 11 p2
  8314. 1896.72 s [opt-env-conf-test] + . go 1 p2
  8315. 1896.72 s [opt-env-conf-test] ParserSetting mLoc p ->
  8316. 1896.72 s [opt-env-conf-test] showParen (d > 10) $
  8317. 1896.72 s [opt-env-conf-test] showString "Setting "
  8318. 1896.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8319. 1896.72 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8320. 1896.72 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8321. 1896.72 s [opt-env-conf-test] isEmpty = \case
  8322. 1896.72 s [opt-env-conf-test] ParserPure _ -> False
  8323. 1896.72 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8324. 1896.72 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  8325. 1896.72 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8326. 1896.72 s [opt-env-conf-test] ParserEmpty _ -> True
  8327. 1896.72 s [opt-env-conf-test] ParserAlt _ _ -> False
  8328. 1896.73 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8329. 1896.73 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8330. 1896.73 s [opt-env-conf-test] . showString " "
  8331. 1896.73 s [opt-env-conf-test] . go 11 p1
  8332. 1896.73 s [opt-env-conf-test] . showString " "
  8333. 1896.73 s [opt-env-conf-test] - . go 11 p2
  8334. 1896.73 s [opt-env-conf-test] + . go 0 p2
  8335. 1896.73 s [opt-env-conf-test] ParserSetting mLoc p ->
  8336. 1896.73 s [opt-env-conf-test] showParen (d > 10) $
  8337. 1896.73 s [opt-env-conf-test] showString "Setting "
  8338. 1896.73 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8339. 1896.73 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8340. 1896.73 s [opt-env-conf-test] showString "WithConfig _ "
  8341. 1896.73 s [opt-env-conf-test] . showsPrec 11 mLoc
  8342. 1896.73 s [opt-env-conf-test] . showString " "
  8343. 1896.73 s [opt-env-conf-test] - . go 11 p1
  8344. 1896.73 s [opt-env-conf-test] + . go 0 p1
  8345. 1896.73 s [opt-env-conf-test] . showString " "
  8346. 1896.73 s [opt-env-conf-test] . go 11 p2
  8347. 1896.73 s [opt-env-conf-test] ParserSetting mLoc p ->
  8348. 1896.73 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8349. 1896.73 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8350. 1896.73 s [opt-env-conf-test] showString "WithConfig _ "
  8351. 1896.73 s [opt-env-conf-test] . showsPrec 11 mLoc
  8352. 1896.73 s [opt-env-conf-test] . showString " "
  8353. 1896.73 s [opt-env-conf-test] - . go 11 p1
  8354. 1896.73 s [opt-env-conf-test] + . go 1 p1
  8355. 1896.73 s [opt-env-conf-test] . showString " "
  8356. 1896.73 s [opt-env-conf-test] . go 11 p2
  8357. 1896.73 s [opt-env-conf-test] ParserSetting mLoc p ->
  8358. 1896.73 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8359. 1896.73 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8360. 1896.73 s [opt-env-conf-test] showString "WithConfig _ "
  8361. 1896.73 s [opt-env-conf-test] . showsPrec 11 mLoc
  8362. 1896.73 s [opt-env-conf-test] . showString " "
  8363. 1896.73 s [opt-env-conf-test] - . go 11 p1
  8364. 1896.73 s [opt-env-conf-test] + . go -11 p1
  8365. 1896.73 s [opt-env-conf-test] . showString " "
  8366. 1896.73 s [opt-env-conf-test] . go 11 p2
  8367. 1896.73 s [opt-env-conf-test] ParserSetting mLoc p ->
  8368. 1896.73 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
  8369. 1896.73 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8370. 1896.73 s [opt-env-conf-test] isEmpty = \case
  8371. 1896.73 s [opt-env-conf-test] ParserPure _ -> False
  8372. 1896.73 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8373. 1896.73 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8374. 1896.73 s [opt-env-conf-test] + ParserSelect pe pf -> not (isEmpty pe) && isEmpty pf
  8375. 1896.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8376. 1896.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8377. 1896.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8378. 1896.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8379. 1896.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8380. 1896.74 s [opt-env-conf-test] isEmpty = \case
  8381. 1896.74 s [opt-env-conf-test] ParserPure _ -> False
  8382. 1896.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8383. 1896.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8384. 1896.74 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && False
  8385. 1896.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8386. 1896.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8387. 1896.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8388. 1896.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8389. 1896.74 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8390. 1896.74 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8391. 1896.74 s [opt-env-conf-test] isEmpty = \case
  8392. 1896.74 s [opt-env-conf-test] ParserPure _ -> False
  8393. 1896.74 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8394. 1896.74 s [opt-env-conf-test] + ParserAp pf pa -> False
  8395. 1896.74 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8396. 1896.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8397. 1896.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8398. 1896.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  8399. 1896.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8400. 1896.74 s [opt-env-conf-test] . showString " "
  8401. 1896.74 s [opt-env-conf-test] . go 11 p2
  8402. 1896.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  8403. 1896.74 s [opt-env-conf-test] - showParen (d > 10) $
  8404. 1896.74 s [opt-env-conf-test] + showParen (True) $
  8405. 1896.74 s [opt-env-conf-test] showString "Setting "
  8406. 1896.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  8407. 1896.74 s [opt-env-conf-test] . showString " "
  8408. 1896.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  8409. 1896.74 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8410. 1896.74 s [opt-env-conf-test] . showString " "
  8411. 1896.74 s [opt-env-conf-test] . go 11 p2
  8412. 1896.74 s [opt-env-conf-test] ParserSetting mLoc p ->
  8413. 1896.74 s [opt-env-conf-test] - showParen (d > 10) $
  8414. 1896.74 s [opt-env-conf-test] + showParen (False) $
  8415. 1896.74 s [opt-env-conf-test] showString "Setting "
  8416. 1896.74 s [opt-env-conf-test] . showsPrec 11 mLoc
  8417. 1896.74 s [opt-env-conf-test] . showString " "
  8418. 1896.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8419. 1896.74 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8420. 1896.74 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8421. 1896.74 s [opt-env-conf-test] isEmpty = \case
  8422. 1896.74 s [opt-env-conf-test] ParserPure _ -> False
  8423. 1896.74 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8424. 1896.74 s [opt-env-conf-test] + ParserAp pf pa -> True
  8425. 1896.74 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8426. 1896.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8427. 1896.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8428. 1896.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
  8429. 1896.74 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8430. 1896.74 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8431. 1896.74 s [opt-env-conf-test] isEmpty = \case
  8432. 1896.74 s [opt-env-conf-test] ParserPure _ -> False
  8433. 1896.74 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8434. 1896.75 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf) && isEmpty pa
  8435. 1896.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8436. 1896.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8437. 1896.75 s [opt-env-conf-test] ParserAlt _ _ -> False
  8438. 1896.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
  8439. 1896.75 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8440. 1896.75 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8441. 1896.75 s [opt-env-conf-test] isEmpty = \case
  8442. 1896.75 s [opt-env-conf-test] ParserPure _ -> False
  8443. 1896.75 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8444. 1896.75 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not (isEmpty pa)
  8445. 1896.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8446. 1896.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8447. 1896.75 s [opt-env-conf-test] ParserAlt _ _ -> False
  8448. 1896.75 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
  8449. 1896.75 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  8450. 1896.75 s [opt-env-conf-test] (<|>) p1 p2 =
  8451. 1896.75 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8452. 1896.75 s [opt-env-conf-test] isEmpty = \case
  8453. 1896.75 s [opt-env-conf-test] - ParserPure _ -> False
  8454. 1896.75 s [opt-env-conf-test] + ParserPure _ -> True
  8455. 1896.75 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8456. 1896.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8457. 1896.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8458. 1896.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8459. 1896.75 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8460. 1896.75 s [opt-env-conf-test] isEmpty = \case
  8461. 1896.75 s [opt-env-conf-test] ParserPure _ -> False
  8462. 1896.75 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8463. 1898.80 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8464. 1898.88 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && True
  8465. 1898.88 s [opt-env-conf-test] ParserEmpty _ -> True
  8466. 1898.88 s [opt-env-conf-test] ParserAlt _ _ -> False
  8467. 1898.88 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8468. 1898.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
  8469. 1898.88 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8470. 1898.88 s [opt-env-conf-test] isEmpty = \case
  8471. 1898.88 s [opt-env-conf-test] ParserPure _ -> False
  8472. 1898.88 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8473. 1898.88 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8474. 1898.88 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && not (isEmpty pf)
  8475. 1898.88 s [opt-env-conf-test] ParserEmpty _ -> True
  8476. 1898.88 s [opt-env-conf-test] ParserAlt _ _ -> False
  8477. 1898.88 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8478. 1898.88 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  8479. 1898.88 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8480. 1898.88 s [opt-env-conf-test] . showString " "
  8481. 1898.88 s [opt-env-conf-test] . go 11 p2
  8482. 1898.88 s [opt-env-conf-test] ParserSetting mLoc p ->
  8483. 1898.88 s [opt-env-conf-test] - showParen (d > 10) $
  8484. 1898.88 s [opt-env-conf-test] + showParen (d <= 10) $
  8485. 1898.88 s [opt-env-conf-test] showString "Setting "
  8486. 1898.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  8487. 1898.88 s [opt-env-conf-test] . showString " "
  8488. 1898.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  8489. 1898.88 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  8490. 1898.88 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8491. 1898.88 s [opt-env-conf-test] ParserEmpty _ -> True
  8492. 1898.88 s [opt-env-conf-test] ParserAlt _ _ -> False
  8493. 1898.88 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  8494. 1898.88 s [opt-env-conf-test] + ParserMany _ p -> False
  8495. 1898.88 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8496. 1898.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8497. 1898.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8498. 1898.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  8499. 1898.88 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  8500. 1898.88 s [opt-env-conf-test] ParserEmpty _ -> True
  8501. 1898.88 s [opt-env-conf-test] ParserAlt _ _ -> False
  8502. 1898.88 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8503. 1898.88 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  8504. 1898.88 s [opt-env-conf-test] + ParserSome _ p -> False
  8505. 1898.88 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8506. 1898.88 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8507. 1898.88 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8508. 1898.88 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
  8509. 1898.88 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  8510. 1898.88 s [opt-env-conf-test] ParserEmpty _ -> True
  8511. 1898.88 s [opt-env-conf-test] ParserAlt _ _ -> False
  8512. 1898.88 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8513. 1898.88 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  8514. 1898.88 s [opt-env-conf-test] + ParserSome _ p -> not (isEmpty p)
  8515. 1898.89 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8516. 1898.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8517. 1898.89 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8518. 1898.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  8519. 1898.89 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  8520. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8521. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8522. 1898.89 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8523. 1898.89 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  8524. 1898.89 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  8525. 1898.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8526. 1898.89 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8527. 1898.89 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8528. 1898.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  8529. 1898.89 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  8530. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8531. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8532. 1898.89 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8533. 1898.89 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  8534. 1898.89 s [opt-env-conf-test] + ParserAllOrNothing _ p -> True
  8535. 1898.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8536. 1898.89 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8537. 1898.89 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8538. 1898.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
  8539. 1898.89 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  8540. 1898.89 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8541. 1898.89 s [opt-env-conf-test] ParserEmpty _ -> True
  8542. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8543. 1898.89 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  8544. 1898.89 s [opt-env-conf-test] + ParserMany _ p -> not (isEmpty p)
  8545. 1898.89 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8546. 1898.89 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8547. 1898.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8548. 1898.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
  8549. 1898.89 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  8550. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8551. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8552. 1898.89 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8553. 1898.89 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  8554. 1898.89 s [opt-env-conf-test] + ParserAllOrNothing _ p -> not (isEmpty p)
  8555. 1898.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8556. 1898.89 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8557. 1898.89 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8558. 1898.89 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  8559. 1898.89 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  8560. 1898.89 s [opt-env-conf-test] ParserPure _ -> False
  8561. 1898.89 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8562. 1898.89 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8563. 1898.89 s [opt-env-conf-test] - ParserEmpty _ -> True
  8564. 1898.89 s [opt-env-conf-test] + ParserEmpty _ -> False
  8565. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8566. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8567. 1898.89 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8568. 1898.89 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
  8569. 1898.89 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8570. 1898.89 s [opt-env-conf-test] isEmpty = \case
  8571. 1898.89 s [opt-env-conf-test] ParserPure _ -> False
  8572. 1898.89 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8573. 1898.89 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8574. 1898.89 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe || isEmpty pf
  8575. 1898.89 s [opt-env-conf-test] ParserEmpty _ -> True
  8576. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8577. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8578. 1898.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8579. 1898.89 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8580. 1898.89 s [opt-env-conf-test] isEmpty = \case
  8581. 1898.89 s [opt-env-conf-test] ParserPure _ -> False
  8582. 1898.89 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8583. 1898.89 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8584. 1898.89 s [opt-env-conf-test] + ParserSelect pe pf -> False
  8585. 1898.89 s [opt-env-conf-test] ParserEmpty _ -> True
  8586. 1898.89 s [opt-env-conf-test] ParserAlt _ _ -> False
  8587. 1898.89 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8588. 1898.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8589. 1898.89 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8590. 1898.89 s [opt-env-conf-test] isEmpty = \case
  8591. 1898.89 s [opt-env-conf-test] ParserPure _ -> False
  8592. 1898.89 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8593. 1898.89 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8594. 1898.89 s [opt-env-conf-test] + ParserSelect pe pf -> True
  8595. 1898.89 s [opt-env-conf-test] ParserEmpty _ -> True
  8596. 1898.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8597. 1898.90 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8598. 1898.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
  8599. 1898.90 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8600. 1898.90 s [opt-env-conf-test] isEmpty = \case
  8601. 1898.90 s [opt-env-conf-test] ParserPure _ -> False
  8602. 1898.90 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8603. 1898.90 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8604. 1898.90 s [opt-env-conf-test] + ParserSelect pe pf -> not (isEmpty pe && isEmpty pf)
  8605. 1898.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8606. 1898.90 s [opt-env-conf-test] ParserAlt _ _ -> False
  8607. 1898.90 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8608. 1898.90 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
  8609. 1898.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  8610. 1898.90 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8611. 1898.90 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8612. 1898.90 s [opt-env-conf-test] ParserEmpty _ -> True
  8613. 1898.90 s [opt-env-conf-test] - ParserAlt _ _ -> False
  8614. 1898.90 s [opt-env-conf-test] + ParserAlt _ _ -> True
  8615. 1898.90 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8616. 1898.90 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8617. 1898.90 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8618. 1898.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  8619. 1902.30 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  8620. 1902.30 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8621. 1902.30 s [opt-env-conf-test] ParserEmpty _ -> True
  8622. 1902.30 s [opt-env-conf-test] ParserAlt _ _ -> False
  8623. 1902.30 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  8624. 1902.30 s [opt-env-conf-test] + ParserMany _ p -> True
  8625. 1902.30 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8626. 1902.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8627. 1902.31 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8628. 1902.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  8629. 1902.31 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  8630. 1902.31 s [opt-env-conf-test] ParserEmpty _ -> True
  8631. 1902.31 s [opt-env-conf-test] ParserAlt _ _ -> False
  8632. 1902.31 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8633. 1902.31 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  8634. 1902.31 s [opt-env-conf-test] + ParserSome _ p -> True
  8635. 1902.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8636. 1902.31 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8637. 1902.31 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8638. 1902.31 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
  8639. 1902.31 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8640. 1902.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8641. 1902.31 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8642. 1902.31 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8643. 1902.31 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8644. 1902.31 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not (isEmpty pc) && isEmpty ps
  8645. 1902.31 s [opt-env-conf-test] ParserSetting _ _ -> False
  8646. 1902.31 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8647. 1902.31 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8648. 1902.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  8649. 1902.31 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8650. 1902.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8651. 1902.31 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8652. 1902.31 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8653. 1902.31 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8654. 1902.31 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && True
  8655. 1902.31 s [opt-env-conf-test] ParserSetting _ _ -> False
  8656. 1902.31 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8657. 1902.31 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8658. 1902.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  8659. 1902.31 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8660. 1902.31 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8661. 1902.31 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8662. 1902.31 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8663. 1902.31 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8664. 1902.31 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && False
  8665. 1902.31 s [opt-env-conf-test] ParserSetting _ _ -> False
  8666. 1902.31 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8667. 1902.31 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8668. 1902.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  8669. 1902.31 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8670. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8671. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8672. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8673. 1902.32 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8674. 1902.32 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False && isEmpty ps
  8675. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8676. 1902.32 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8677. 1902.32 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8678. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  8679. 1902.32 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  8680. 1902.32 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8681. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8682. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8683. 1902.32 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  8684. 1902.32 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> True
  8685. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8686. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8687. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8688. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  8689. 1902.32 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8690. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8691. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8692. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8693. 1902.32 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8694. 1902.32 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  8695. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8696. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8697. 1902.32 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8698. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  8699. 1902.32 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  8700. 1902.32 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8701. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8702. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8703. 1902.32 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  8704. 1902.32 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  8705. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8706. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8707. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8708. 1902.32 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
  8709. 1902.32 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  8710. 1902.32 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8711. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8712. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8713. 1902.32 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  8714. 1902.32 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> not (isEmpty p)
  8715. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8716. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8717. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8718. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  8719. 1902.32 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8720. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8721. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8722. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8723. 1902.32 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8724. 1902.32 s [opt-env-conf-test] + ParserCommands _ _ cs -> True
  8725. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8726. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8727. 1902.32 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8728. 1902.32 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
  8729. 1902.32 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8730. 1902.32 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8731. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8732. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8733. 1902.32 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8734. 1902.32 s [opt-env-conf-test] + ParserCommands _ _ cs -> not (null cs)
  8735. 1902.32 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8736. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8737. 1902.32 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8738. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  8739. 1902.32 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8740. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8741. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8742. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8743. 1902.32 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8744. 1902.32 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True && isEmpty ps
  8745. 1902.32 s [opt-env-conf-test] ParserSetting _ _ -> False
  8746. 1902.32 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8747. 1902.32 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8748. 1902.32 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  8749. 1902.32 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8750. 1902.32 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8751. 1902.32 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8752. 1902.32 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8753. 1902.32 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8754. 1902.33 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True
  8755. 1902.33 s [opt-env-conf-test] ParserSetting _ _ -> False
  8756. 1902.33 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8757. 1902.33 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8758. 1902.33 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
  8759. 1902.33 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  8760. 1902.33 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8761. 1902.33 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8762. 1905.11 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8763. 1905.11 s [opt-env-conf-test] - ParserSetting _ _ -> False
  8764. 1905.18 s [opt-env-conf-test] + ParserSetting _ _ -> True
  8765. 1905.18 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8766. 1905.18 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8767. 1905.18 s [opt-env-conf-test] (True, False) -> p2
  8768. 1905.18 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
  8769. 1905.18 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8770. 1905.18 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8771. 1905.18 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8772. 1905.18 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8773. 1905.18 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8774. 1905.18 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not (isEmpty pc && isEmpty ps)
  8775. 1905.18 s [opt-env-conf-test] ParserSetting _ _ -> False
  8776. 1905.18 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8777. 1905.18 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8778. 1905.18 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
  8779. 1905.18 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8780. 1905.18 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8781. 1905.18 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8782. 1905.18 s [opt-env-conf-test] ParserSetting _ _ -> False
  8783. 1905.18 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8784. 1905.19 s [opt-env-conf-test] + in case (not (isEmpty p1), isEmpty p2) of
  8785. 1905.19 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8786. 1905.19 s [opt-env-conf-test] (True, False) -> p2
  8787. 1905.19 s [opt-env-conf-test] (False, True) -> p1
  8788. 1905.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  8789. 1905.19 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8790. 1905.19 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8791. 1905.19 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8792. 1905.19 s [opt-env-conf-test] ParserSetting _ _ -> False
  8793. 1905.19 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8794. 1905.19 s [opt-env-conf-test] + in case (isEmpty p1, True) of
  8795. 1905.19 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8796. 1905.19 s [opt-env-conf-test] (True, False) -> p2
  8797. 1905.19 s [opt-env-conf-test] (False, True) -> p1
  8798. 1905.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  8799. 1905.19 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8800. 1905.19 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8801. 1905.19 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8802. 1905.19 s [opt-env-conf-test] ParserSetting _ _ -> False
  8803. 1905.19 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8804. 1905.19 s [opt-env-conf-test] + in case (True, isEmpty p2) of
  8805. 1905.19 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8806. 1905.19 s [opt-env-conf-test] (True, False) -> p2
  8807. 1905.19 s [opt-env-conf-test] (False, True) -> p1
  8808. 1905.19 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  8809. 1905.19 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8810. 1905.19 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8811. 1905.19 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8812. 1905.19 s [opt-env-conf-test] ParserSetting _ _ -> False
  8813. 1905.19 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8814. 1905.19 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  8815. 1905.19 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8816. 1905.19 s [opt-env-conf-test] (True, False) -> p2
  8817. 1905.19 s [opt-env-conf-test] (False, True) -> p1
  8818. 1905.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8819. 1905.19 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8820. 1905.19 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8821. 1905.19 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8822. 1905.19 s [opt-env-conf-test] ParserSetting _ _ -> False
  8823. 1905.19 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8824. 1905.19 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8825. 1905.19 s [opt-env-conf-test] (True, False) -> p2
  8826. 1905.19 s [opt-env-conf-test] - (False, True) -> p1
  8827. 1905.19 s [opt-env-conf-test] (False, False) ->
  8828. 1905.19 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8829. 1905.19 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8830. 1905.19 s [opt-env-conf-test] -- alts to always be right-leaning
  8831. 1905.19 s [opt-env-conf-test] --
  8832. 1905.19 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8833. 1905.19 s [opt-env-conf-test] -- p
  8834. 1905.19 s [opt-env-conf-test] -- / \
  8835. 1905.19 s [opt-env-conf-test] -- p1 p2
  8836. 1905.19 s [opt-env-conf-test] -- / \
  8837. 1905.19 s [opt-env-conf-test] -- p3 p4
  8838. 1905.19 s [opt-env-conf-test] --
  8839. 1905.20 s [opt-env-conf-test] -- We need to rearrange it to
  8840. 1905.20 s [opt-env-conf-test] -- p
  8841. 1905.20 s [opt-env-conf-test] -- / \
  8842. 1905.20 s [opt-env-conf-test] -- p1 ++ p3 p4
  8843. 1905.20 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8844. 1905.20 s [opt-env-conf-test] go (go p1' p3') p4'
  8845. 1905.20 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8846. 1905.20 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8847. 1905.20 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8848. 1905.20 s [opt-env-conf-test] in go p1 p2
  8849. 1905.20 s [opt-env-conf-test] many = ParserMany Nothing
  8850. 1905.20 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8851. 1905.20 s [opt-env-conf-test]
  8852. 1905.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8853. 1905.20 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8854. 1905.20 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8855. 1905.20 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8856. 1905.20 s [opt-env-conf-test] ParserSetting _ _ -> False
  8857. 1905.20 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8858. 1905.20 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8859. 1905.20 s [opt-env-conf-test] - (True, False) -> p2
  8860. 1905.20 s [opt-env-conf-test] (False, True) -> p1
  8861. 1905.20 s [opt-env-conf-test] (False, False) ->
  8862. 1905.20 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8863. 1905.20 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8864. 1905.20 s [opt-env-conf-test] -- alts to always be right-leaning
  8865. 1905.20 s [opt-env-conf-test] --
  8866. 1905.20 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8867. 1905.20 s [opt-env-conf-test] -- p
  8868. 1905.20 s [opt-env-conf-test] -- / \
  8869. 1905.20 s [opt-env-conf-test] -- p1 p2
  8870. 1905.20 s [opt-env-conf-test] -- / \
  8871. 1905.20 s [opt-env-conf-test] -- p3 p4
  8872. 1905.20 s [opt-env-conf-test] --
  8873. 1905.20 s [opt-env-conf-test] -- We need to rearrange it to
  8874. 1905.20 s [opt-env-conf-test] -- p
  8875. 1905.20 s [opt-env-conf-test] -- / \
  8876. 1905.20 s [opt-env-conf-test] -- p1 ++ p3 p4
  8877. 1905.20 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8878. 1905.20 s [opt-env-conf-test] go (go p1' p3') p4'
  8879. 1905.20 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8880. 1905.20 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8881. 1905.20 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8882. 1905.20 s [opt-env-conf-test] in go p1 p2
  8883. 1905.20 s [opt-env-conf-test] many = ParserMany Nothing
  8884. 1905.20 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8885. 1905.20 s [opt-env-conf-test]
  8886. 1905.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  8887. 1905.20 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  8888. 1905.20 s [opt-env-conf-test]
  8889. 1905.20 s [opt-env-conf-test] instance Applicative Parser where
  8890. 1905.20 s [opt-env-conf-test] pure = ParserPure
  8891. 1905.20 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  8892. 1905.20 s [opt-env-conf-test] -- Homomorphism law for applicative
  8893. 1905.20 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  8894. 1905.20 s [opt-env-conf-test] _ -> ParserAp p1 p2
  8895. 1905.20 s [opt-env-conf-test]
  8896. 1905.20 s [opt-env-conf-test] instance Selective Parser where
  8897. 1905.20 s [opt-env-conf-test] select = ParserSelect
  8898. 1905.20 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  8899. 1905.20 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  8900. 1905.20 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  8901. 1905.20 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  8902. 1905.20 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  8903. 1905.20 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  8904. 1905.21 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc True caps (fmap (fmap f) . g) p
  8905. 1905.21 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  8906. 1905.21 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  8907. 1905.21 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  8908. 1905.21 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8909. 1905.21 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8910. 1905.21 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8911. 1905.21 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8912. 1905.21 s [opt-env-conf-test] ParserSetting _ _ -> False
  8913. 1905.21 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8914. 1905.21 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  8915. 1905.21 s [opt-env-conf-test] (True, False) -> p2
  8916. 1905.21 s [opt-env-conf-test] (False, True) -> p1
  8917. 1905.21 s [opt-env-conf-test] (False, False) ->
  8918. 1905.21 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8919. 1905.21 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8920. 1905.21 s [opt-env-conf-test] -- alts to always be right-leaning
  8921. 1905.21 s [opt-env-conf-test] --
  8922. 1905.21 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8923. 1905.21 s [opt-env-conf-test] -- p
  8924. 1905.21 s [opt-env-conf-test] -- / \
  8925. 1905.21 s [opt-env-conf-test] -- p1 p2
  8926. 1905.21 s [opt-env-conf-test] -- / \
  8927. 1907.27 s [opt-env-conf-test] -- p3 p4
  8928. 1907.27 s [opt-env-conf-test] --
  8929. 1907.27 s [opt-env-conf-test] -- We need to rearrange it to
  8930. 1907.27 s [opt-env-conf-test] -- p
  8931. 1907.27 s [opt-env-conf-test] -- / \
  8932. 1907.27 s [opt-env-conf-test] -- p1 ++ p3 p4
  8933. 1907.27 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8934. 1907.27 s [opt-env-conf-test] go (go p1' p3') p4'
  8935. 1907.27 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8936. 1907.27 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8937. 1907.27 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8938. 1907.27 s [opt-env-conf-test] in go p1 p2
  8939. 1907.27 s [opt-env-conf-test] many = ParserMany Nothing
  8940. 1907.27 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8941. 1907.27 s [opt-env-conf-test]
  8942. 1907.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  8943. 1907.27 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  8944. 1907.27 s [opt-env-conf-test]
  8945. 1907.27 s [opt-env-conf-test] instance Applicative Parser where
  8946. 1907.27 s [opt-env-conf-test] pure = ParserPure
  8947. 1907.27 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  8948. 1907.27 s [opt-env-conf-test] -- Homomorphism law for applicative
  8949. 1907.27 s [opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
  8950. 1907.27 s [opt-env-conf-test] - _ -> ParserAp p1 p2
  8951. 1907.27 s [opt-env-conf-test]
  8952. 1907.27 s [opt-env-conf-test] instance Selective Parser where
  8953. 1907.27 s [opt-env-conf-test] select = ParserSelect
  8954. 1907.27 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
  8955. 1907.27 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8956. 1907.27 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8957. 1907.27 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8958. 1907.27 s [opt-env-conf-test] ParserSetting _ _ -> False
  8959. 1907.27 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8960. 1907.27 s [opt-env-conf-test] + in case (isEmpty p1, not (isEmpty p2)) of
  8961. 1907.27 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8962. 1907.27 s [opt-env-conf-test] (True, False) -> p2
  8963. 1907.27 s [opt-env-conf-test] (False, True) -> p1
  8964. 1907.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  8965. 1907.27 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  8966. 1907.27 s [opt-env-conf-test] (True, False) -> p2
  8967. 1907.27 s [opt-env-conf-test] (False, True) -> p1
  8968. 1907.27 s [opt-env-conf-test] (False, False) ->
  8969. 1907.27 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8970. 1907.28 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8971. 1907.28 s [opt-env-conf-test] -- alts to always be right-leaning
  8972. 1907.28 s [opt-env-conf-test] --
  8973. 1907.28 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8974. 1907.28 s [opt-env-conf-test] -- p
  8975. 1907.28 s [opt-env-conf-test] -- / \
  8976. 1907.28 s [opt-env-conf-test] -- p1 p2
  8977. 1907.28 s [opt-env-conf-test] -- / \
  8978. 1907.28 s [opt-env-conf-test] -- p3 p4
  8979. 1907.28 s [opt-env-conf-test] --
  8980. 1907.28 s [opt-env-conf-test] -- We need to rearrange it to
  8981. 1907.28 s [opt-env-conf-test] -- p
  8982. 1907.28 s [opt-env-conf-test] -- / \
  8983. 1907.28 s [opt-env-conf-test] -- p1 ++ p3 p4
  8984. 1907.28 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8985. 1907.28 s [opt-env-conf-test] go (go p1' p3') p4'
  8986. 1907.28 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8987. 1907.28 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8988. 1907.28 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8989. 1907.28 s [opt-env-conf-test] in go p1 p2
  8990. 1907.28 s [opt-env-conf-test] many = ParserMany Nothing
  8991. 1907.28 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8992. 1907.28 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  8993. 1907.28 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8994. 1907.28 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8995. 1907.28 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8996. 1907.28 s [opt-env-conf-test] ParserSetting _ _ -> False
  8997. 1907.28 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8998. 1907.28 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  8999. 1907.28 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9000. 1907.28 s [opt-env-conf-test] (True, False) -> p2
  9001. 1907.28 s [opt-env-conf-test] (False, True) -> p1
  9002. 1907.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  9003. 1907.28 s [opt-env-conf-test] @@ -269,26 +269,25 @@
  9004. 1907.28 s [opt-env-conf-test] (True, False) -> p2
  9005. 1907.28 s [opt-env-conf-test] (False, True) -> p1
  9006. 1907.28 s [opt-env-conf-test] (False, False) ->
  9007. 1907.28 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9008. 1907.28 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9009. 1907.28 s [opt-env-conf-test] -- alts to always be right-leaning
  9010. 1907.28 s [opt-env-conf-test] --
  9011. 1907.28 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9012. 1907.28 s [opt-env-conf-test] -- p
  9013. 1907.28 s [opt-env-conf-test] -- / \
  9014. 1907.28 s [opt-env-conf-test] -- p1 p2
  9015. 1907.28 s [opt-env-conf-test] -- / \
  9016. 1907.28 s [opt-env-conf-test] -- p3 p4
  9017. 1907.28 s [opt-env-conf-test] --
  9018. 1907.28 s [opt-env-conf-test] -- We need to rearrange it to
  9019. 1907.28 s [opt-env-conf-test] -- p
  9020. 1907.28 s [opt-env-conf-test] -- / \
  9021. 1907.28 s [opt-env-conf-test] -- p1 ++ p3 p4
  9022. 1907.28 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9023. 1907.28 s [opt-env-conf-test] go (go p1' p3') p4'
  9024. 1907.28 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9025. 1907.28 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9026. 1907.28 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  9027. 1907.28 s [opt-env-conf-test] in go p1 p2
  9028. 1907.28 s [opt-env-conf-test] many = ParserMany Nothing
  9029. 1907.28 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9030. 1907.28 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
  9031. 1907.28 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  9032. 1907.28 s [opt-env-conf-test] lintParser =
  9033. 1907.28 s [opt-env-conf-test] either Just (const Nothing)
  9034. 1907.28 s [opt-env-conf-test] . validationToEither
  9035. 1907.28 s [opt-env-conf-test] - . (`runReader` False) -- Set to true for parsers that have a way to load conf
  9036. 1907.28 s [opt-env-conf-test] + . (`runReader` True) -- Set to true for parsers that have a way to load conf
  9037. 1907.28 s [opt-env-conf-test] . runValidationT
  9038. 1907.28 s [opt-env-conf-test] . go
  9039. 1907.28 s [opt-env-conf-test] where
  9040. 1907.28 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
  9041. 1907.28 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  9042. 1907.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9043. 1907.28 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9044. 1907.28 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9045. 1907.28 s [opt-env-conf-test] - p -> ParserCheck Nothing True Set.empty (pure . Right . f) p
  9046. 1907.28 s [opt-env-conf-test] + p -> ParserCheck Nothing False Set.empty (pure . Right . f) p
  9047. 1907.28 s [opt-env-conf-test]
  9048. 1907.28 s [opt-env-conf-test] instance Applicative Parser where
  9049. 1907.28 s [opt-env-conf-test] pure = ParserPure
  9050. 1907.28 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
  9051. 1907.28 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  9052. 1907.28 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  9053. 1907.28 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  9054. 1907.28 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  9055. 1907.28 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  9056. 1907.28 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc not (forgivable) caps (fmap (fmap f) . g) p
  9057. 1907.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9058. 1907.28 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9059. 1907.28 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9060. 1907.28 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  9061. 1907.28 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9062. 1907.28 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9063. 1907.28 s [opt-env-conf-test] c1 <- go p1
  9064. 1907.28 s [opt-env-conf-test] c2 <- go p2
  9065. 1907.28 s [opt-env-conf-test] - pure (c1 || c2)
  9066. 1907.28 s [opt-env-conf-test] + pure (True || c2)
  9067. 1907.28 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9068. 1907.28 s [opt-env-conf-test] c1 <- go p1
  9069. 1907.28 s [opt-env-conf-test] c2 <- go p2
  9070. 1907.28 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
  9071. 1907.28 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  9072. 1907.28 s [opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
  9073. 1907.28 s [opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
  9074. 1907.28 s [opt-env-conf-test] go = \case
  9075. 1907.28 s [opt-env-conf-test] - ParserPure _ -> pure False
  9076. 1907.28 s [opt-env-conf-test] + ParserPure _ -> pure True
  9077. 1907.28 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9078. 1907.28 s [opt-env-conf-test] c1 <- go p1
  9079. 1907.28 s [opt-env-conf-test] c2 <- go p2
  9080. 1907.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  9081. 1907.28 s [opt-env-conf-test] @@ -264,32 +264,10 @@
  9082. 1907.28 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9083. 1907.28 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9084. 1907.28 s [opt-env-conf-test] ParserSetting _ _ -> False
  9085. 1907.28 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9086. 1907.28 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9087. 1907.28 s [opt-env-conf-test] (True, False) -> p2
  9088. 1907.28 s [opt-env-conf-test] (False, True) -> p1
  9089. 1907.28 s [opt-env-conf-test] - (False, False) ->
  9090. 1907.28 s [opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
  9091. 1907.28 s [opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
  9092. 1907.29 s [opt-env-conf-test] - -- alts to always be right-leaning
  9093. 1907.29 s [opt-env-conf-test] - --
  9094. 1907.29 s [opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9095. 1910.57 s [opt-env-conf-test] - -- p
  9096. 1910.65 s [opt-env-conf-test] - -- / \
  9097. 1910.65 s [opt-env-conf-test] - -- p1 p2
  9098. 1910.65 s [opt-env-conf-test] - -- / \
  9099. 1910.65 s [opt-env-conf-test] - -- p3 p4
  9100. 1910.65 s [opt-env-conf-test] - --
  9101. 1910.65 s [opt-env-conf-test] - -- We need to rearrange it to
  9102. 1910.65 s [opt-env-conf-test] - -- p
  9103. 1910.65 s [opt-env-conf-test] - -- / \
  9104. 1910.65 s [opt-env-conf-test] - -- p1 ++ p3 p4
  9105. 1910.65 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9106. 1910.65 s [opt-env-conf-test] - go (go p1' p3') p4'
  9107. 1910.65 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9108. 1910.65 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9109. 1910.65 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  9110. 1910.65 s [opt-env-conf-test] - in go p1 p2
  9111. 1910.65 s [opt-env-conf-test] many = ParserMany Nothing
  9112. 1910.65 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9113. 1910.65 s [opt-env-conf-test]
  9114. 1910.65 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  9115. 1910.65 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9116. 1910.65 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9117. 1910.65 s [opt-env-conf-test] c1 <- go p1
  9118. 1910.65 s [opt-env-conf-test] c2 <- go p2
  9119. 1910.65 s [opt-env-conf-test] - pure (c1 || c2)
  9120. 1910.65 s [opt-env-conf-test] + pure (c1 || True)
  9121. 1910.65 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9122. 1910.65 s [opt-env-conf-test] c1 <- go p1
  9123. 1910.65 s [opt-env-conf-test] c2 <- go p2
  9124. 1910.66 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
  9125. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9126. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9127. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9128. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9129. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9130. 1910.66 s [opt-env-conf-test] + pure (not (c1) || c2)
  9131. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9132. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9133. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9134. 1910.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  9135. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9136. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9137. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9138. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9139. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9140. 1910.66 s [opt-env-conf-test] + pure (False || c2)
  9141. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9142. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9143. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9144. 1910.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  9145. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9146. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9147. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9148. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9149. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9150. 1910.66 s [opt-env-conf-test] + pure (c1 || False)
  9151. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9152. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9153. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9154. 1910.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9155. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9156. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9157. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9158. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9159. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9160. 1910.66 s [opt-env-conf-test] + pure (False)
  9161. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9162. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9163. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9164. 1910.66 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:250:15-23
  9165. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9166. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9167. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9168. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9169. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9170. 1910.66 s [opt-env-conf-test] + pure (c1 && c2)
  9171. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9172. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9173. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9174. 1910.66 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9175. 1910.66 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9176. 1910.66 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9177. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9178. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9179. 1910.66 s [opt-env-conf-test] - pure (c1 || c2)
  9180. 1910.66 s [opt-env-conf-test] + pure (True)
  9181. 1910.66 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9182. 1910.66 s [opt-env-conf-test] c1 <- go p1
  9183. 1910.66 s [opt-env-conf-test] c2 <- go p2
  9184. 1910.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  9185. 1910.67 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  9186. 1910.67 s [opt-env-conf-test] (True, False) -> p2
  9187. 1910.67 s [opt-env-conf-test] (False, True) -> p1
  9188. 1910.67 s [opt-env-conf-test] (False, False) ->
  9189. 1910.67 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  9190. 1910.67 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  9191. 1910.67 s [opt-env-conf-test] -- alts to always be right-leaning
  9192. 1910.67 s [opt-env-conf-test] --
  9193. 1910.67 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  9194. 1910.67 s [opt-env-conf-test] -- p
  9195. 1910.67 s [opt-env-conf-test] -- / \
  9196. 1910.67 s [opt-env-conf-test] -- p1 p2
  9197. 1910.67 s [opt-env-conf-test] -- / \
  9198. 1910.67 s [opt-env-conf-test] -- p3 p4
  9199. 1910.67 s [opt-env-conf-test] --
  9200. 1910.67 s [opt-env-conf-test] -- We need to rearrange it to
  9201. 1910.67 s [opt-env-conf-test] -- p
  9202. 1910.67 s [opt-env-conf-test] -- / \
  9203. 1910.67 s [opt-env-conf-test] -- p1 ++ p3 p4
  9204. 1910.67 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  9205. 1910.67 s [opt-env-conf-test] - go (go p1' p3') p4'
  9206. 1910.67 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  9207. 1910.67 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  9208. 1910.67 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  9209. 1910.67 s [opt-env-conf-test] in go p1 p2
  9210. 1910.67 s [opt-env-conf-test] many = ParserMany Nothing
  9211. 1910.67 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  9212. 1910.67 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
  9213. 1910.67 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9214. 1910.67 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9215. 1910.67 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9216. 1910.67 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9217. 1910.67 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9218. 1910.67 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc || isEmpty ps
  9219. 1910.67 s [opt-env-conf-test] ParserSetting _ _ -> False
  9220. 1910.67 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9221. 1910.67 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9222. 1910.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  9223. 1910.67 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  9224. 1910.67 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  9225. 1910.67 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  9226. 1910.67 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  9227. 1910.67 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  9228. 1910.67 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc False caps (fmap (fmap f) . g) p
  9229. 1910.67 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  9230. 1910.67 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  9231. 1910.67 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  9232. 1910.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9233. 1910.67 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9234. 1910.67 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9235. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9236. 1910.67 s [opt-env-conf-test] c2 <- go p2
  9237. 1910.67 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9238. 1910.67 s [opt-env-conf-test] + pure (c1 || True) -- TODO: is this right?
  9239. 1910.67 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9240. 1910.67 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9241. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9242. 1910.67 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
  9243. 1910.67 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9244. 1910.67 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9245. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9246. 1910.67 s [opt-env-conf-test] c2 <- go p2
  9247. 1910.67 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9248. 1910.67 s [opt-env-conf-test] + pure (c1 || not (c2)) -- TODO: is this right?
  9249. 1910.67 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9250. 1910.67 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9251. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9252. 1910.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  9253. 1910.67 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9254. 1910.67 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9255. 1910.67 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9256. 1910.67 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9257. 1910.67 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9258. 1910.67 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False
  9259. 1910.67 s [opt-env-conf-test] ParserSetting _ _ -> False
  9260. 1910.67 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9261. 1910.67 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9262. 1910.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9263. 1910.67 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9264. 1910.67 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9265. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9266. 1910.67 s [opt-env-conf-test] c2 <- go p2
  9267. 1910.67 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9268. 1910.67 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9269. 1910.67 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9270. 1910.67 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9271. 1910.67 s [opt-env-conf-test] c1 <- go p1
  9272. 1914.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
  9273. 1914.23 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9274. 1914.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9275. 1914.23 s [opt-env-conf-test] c1 <- go p1
  9276. 1914.23 s [opt-env-conf-test] c2 <- go p2
  9277. 1914.23 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9278. 1914.23 s [opt-env-conf-test] + pure (not (c1) || c2) -- TODO: is this right?
  9279. 1914.23 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9280. 1914.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9281. 1914.23 s [opt-env-conf-test] c1 <- go p1
  9282. 1914.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
  9283. 1914.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9284. 1914.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9285. 1914.23 s [opt-env-conf-test] c1 <- go p1
  9286. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9287. 1914.24 s [opt-env-conf-test] - pure (c1 || c2)
  9288. 1914.24 s [opt-env-conf-test] + pure not ((c1 || c2))
  9289. 1914.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9290. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9291. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9292. 1914.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
  9293. 1914.24 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9294. 1914.24 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9295. 1914.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9296. 1914.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9297. 1914.24 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9298. 1914.24 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && not (isEmpty ps)
  9299. 1914.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  9300. 1914.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9301. 1914.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9302. 1914.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  9303. 1914.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9304. 1914.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9305. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9306. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9307. 1914.24 s [opt-env-conf-test] - pure (c1 || c2)
  9308. 1914.24 s [opt-env-conf-test] + pure False
  9309. 1914.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9310. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9311. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9312. 1914.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9313. 1914.24 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9314. 1914.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9315. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9316. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9317. 1914.24 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9318. 1914.24 s [opt-env-conf-test] + pure (True || c2) -- TODO: is this right?
  9319. 1914.24 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9320. 1914.24 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9321. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9322. 1914.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
  9323. 1914.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9324. 1914.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9325. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9326. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9327. 1914.24 s [opt-env-conf-test] - pure (c1 || c2)
  9328. 1914.24 s [opt-env-conf-test] + pure (c1 || not (c2))
  9329. 1914.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9330. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9331. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9332. 1914.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9333. 1914.24 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9334. 1914.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9335. 1914.24 s [opt-env-conf-test] c1 <- go p1
  9336. 1914.24 s [opt-env-conf-test] c2 <- go p2
  9337. 1914.24 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9338. 1914.24 s [opt-env-conf-test] + pure (False || c2) -- TODO: is this right?
  9339. 1914.25 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9340. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9341. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9342. 1914.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9343. 1914.25 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9344. 1914.25 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9345. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9346. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9347. 1914.25 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9348. 1914.25 s [opt-env-conf-test] + pure (c1 || False) -- TODO: is this right?
  9349. 1914.25 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9350. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9351. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9352. 1914.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  9353. 1914.25 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9354. 1914.25 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9355. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9356. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9357. 1914.25 s [opt-env-conf-test] - pure (c1 || c2)
  9358. 1914.25 s [opt-env-conf-test] + pure True
  9359. 1914.25 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9360. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9361. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9362. 1914.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
  9363. 1914.25 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9364. 1914.25 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9365. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9366. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9367. 1914.25 s [opt-env-conf-test] - pure (c1 || c2)
  9368. 1914.25 s [opt-env-conf-test] + pure (not (c1 || c2))
  9369. 1914.25 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9370. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9371. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9372. 1914.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  9373. 1914.25 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9374. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9375. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9376. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9377. 1914.25 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9378. 1914.25 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9379. 1914.25 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9380. 1914.25 s [opt-env-conf-test] ParserMany mLoc p -> do
  9381. 1914.25 s [opt-env-conf-test] c <- go p
  9382. 1914.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
  9383. 1914.25 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9384. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9385. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9386. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9387. 1914.25 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9388. 1914.25 s [opt-env-conf-test] + pure (not (c1 && c2)) -- TODO: is this right?
  9389. 1914.25 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9390. 1914.25 s [opt-env-conf-test] ParserMany mLoc p -> do
  9391. 1914.25 s [opt-env-conf-test] c <- go p
  9392. 1914.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  9393. 1914.25 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9394. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9395. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9396. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9397. 1914.25 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9398. 1914.25 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9399. 1914.25 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9400. 1914.25 s [opt-env-conf-test] ParserMany mLoc p -> do
  9401. 1914.25 s [opt-env-conf-test] c <- go p
  9402. 1914.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  9403. 1914.25 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9404. 1914.25 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9405. 1914.25 s [opt-env-conf-test] c1 <- go p1
  9406. 1914.25 s [opt-env-conf-test] c2 <- go p2
  9407. 1914.25 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9408. 1914.25 s [opt-env-conf-test] + pure False -- TODO: is this right?
  9409. 1914.25 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9410. 1914.25 s [opt-env-conf-test] ParserMany mLoc p -> do
  9411. 1914.25 s [opt-env-conf-test] c <- go p
  9412. 1914.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  9413. 1914.26 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9414. 1914.26 s [opt-env-conf-test] when (not c) $
  9415. 1914.26 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9416. 1914.26 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9417. 1914.26 s [opt-env-conf-test] - pure c
  9418. 1914.26 s [opt-env-conf-test] + pure True
  9419. 1914.26 s [opt-env-conf-test] ParserSome mLoc p -> do
  9420. 1914.26 s [opt-env-conf-test] c <- go p
  9421. 1914.26 s [opt-env-conf-test] when (not c) $
  9422. 1914.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  9423. 1914.26 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9424. 1914.26 s [opt-env-conf-test] when (not c) $
  9425. 1914.26 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9426. 1914.26 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9427. 1914.26 s [opt-env-conf-test] - pure c
  9428. 1914.26 s [opt-env-conf-test] + pure False
  9429. 1914.26 s [opt-env-conf-test] ParserSome mLoc p -> do
  9430. 1914.26 s [opt-env-conf-test] c <- go p
  9431. 1914.26 s [opt-env-conf-test] when (not c) $
  9432. 1914.26 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
  9433. 1914.26 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  9434. 1914.26 s [opt-env-conf-test] when (not c) $
  9435. 1914.26 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9436. 1914.26 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9437. 1914.26 s [opt-env-conf-test] - pure c
  9438. 1914.26 s [opt-env-conf-test] + pure not (c)
  9439. 1914.26 s [opt-env-conf-test] ParserSome mLoc p -> do
  9440. 1914.26 s [opt-env-conf-test] c <- go p
  9441. 1914.26 s [opt-env-conf-test] when (not c) $
  9442. 1914.26 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
  9443. 1914.26 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9444. 1914.26 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9445. 1914.26 s [opt-env-conf-test] c1 <- go p1
  9446. 1914.26 s [opt-env-conf-test] c2 <- go p2
  9447. 1914.26 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9448. 1914.26 s [opt-env-conf-test] + pure not ((c1 || c2)) -- TODO: is this right?
  9449. 1914.26 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9450. 1914.26 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9451. 1914.26 s [opt-env-conf-test] c1 <- go p1
  9452. 1914.26 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:259:15-23
  9453. 1914.26 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9454. 1914.26 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9455. 1914.26 s [opt-env-conf-test] c1 <- go p1
  9456. 1914.26 s [opt-env-conf-test] c2 <- go p2
  9457. 1916.35 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9458. 1916.43 s [opt-env-conf-test] + pure (c1 || c2) -- TODO: is this right?
  9459. 1916.43 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9460. 1916.43 s [opt-env-conf-test] ParserMany mLoc p -> do
  9461. 1916.43 s [opt-env-conf-test] c <- go p
  9462. 1916.43 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:254:15-23
  9463. 1916.43 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9464. 1916.43 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9465. 1916.43 s [opt-env-conf-test] c1 <- go p1
  9466. 1916.43 s [opt-env-conf-test] c2 <- go p2
  9467. 1916.43 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9468. 1916.43 s [opt-env-conf-test] + pure (c1 && c2) -- TODO: is this right?
  9469. 1916.43 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9470. 1916.43 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9471. 1916.43 s [opt-env-conf-test] c1 <- go p1
  9472. 1916.43 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  9473. 1916.43 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9474. 1916.43 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9475. 1916.43 s [opt-env-conf-test] c1 <- go p1
  9476. 1916.43 s [opt-env-conf-test] c2 <- go p2
  9477. 1916.43 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9478. 1916.43 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  9479. 1916.43 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9480. 1916.43 s [opt-env-conf-test] ParserMany mLoc p -> do
  9481. 1916.43 s [opt-env-conf-test] c <- go p
  9482. 1916.43 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9483. 1916.43 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9484. 1916.43 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9485. 1916.43 s [opt-env-conf-test] c1 <- go p1
  9486. 1916.43 s [opt-env-conf-test] c2 <- go p2
  9487. 1916.43 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9488. 1916.43 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  9489. 1916.43 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9490. 1916.43 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9491. 1916.43 s [opt-env-conf-test] c1 <- go p1
  9492. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  9493. 1916.44 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9494. 1916.44 s [opt-env-conf-test] when (not c) $
  9495. 1916.44 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9496. 1916.44 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9497. 1916.44 s [opt-env-conf-test] - pure c
  9498. 1916.44 s [opt-env-conf-test] + pure True
  9499. 1916.44 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9500. 1916.44 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9501. 1916.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9502. 1916.44 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
  9503. 1916.44 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9504. 1916.44 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9505. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9506. 1916.44 s [opt-env-conf-test] c2 <- go p2
  9507. 1916.44 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9508. 1916.44 s [opt-env-conf-test] + pure not ((c1 && c2)) -- TODO: is this right?
  9509. 1916.44 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9510. 1916.44 s [opt-env-conf-test] ParserMany mLoc p -> do
  9511. 1916.44 s [opt-env-conf-test] c <- go p
  9512. 1916.44 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
  9513. 1916.44 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9514. 1916.44 s [opt-env-conf-test] when (not c) $
  9515. 1916.44 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9516. 1916.44 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9517. 1916.44 s [opt-env-conf-test] - pure c
  9518. 1916.44 s [opt-env-conf-test] + pure not (c)
  9519. 1916.44 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9520. 1916.44 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9521. 1916.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9522. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9523. 1916.44 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9524. 1916.44 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9525. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9526. 1916.44 s [opt-env-conf-test] c2 <- go p2
  9527. 1916.44 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9528. 1916.44 s [opt-env-conf-test] + pure False -- TODO: is this right?
  9529. 1916.44 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9530. 1916.44 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9531. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9532. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9533. 1916.44 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9534. 1916.44 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9535. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9536. 1916.44 s [opt-env-conf-test] c2 <- go p2
  9537. 1916.44 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9538. 1916.44 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9539. 1916.44 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9540. 1916.44 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9541. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9542. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  9543. 1916.44 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  9544. 1916.44 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9545. 1916.44 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9546. 1916.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9547. 1916.44 s [opt-env-conf-test] - if null cs
  9548. 1916.44 s [opt-env-conf-test] + if False
  9549. 1916.44 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9550. 1916.44 s [opt-env-conf-test] else do
  9551. 1916.44 s [opt-env-conf-test] for_ mDefault $ \d ->
  9552. 1916.44 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
  9553. 1916.44 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  9554. 1916.44 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9555. 1916.44 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9556. 1916.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9557. 1916.44 s [opt-env-conf-test] - if null cs
  9558. 1916.44 s [opt-env-conf-test] + if not (null cs)
  9559. 1916.44 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9560. 1916.44 s [opt-env-conf-test] else do
  9561. 1916.44 s [opt-env-conf-test] for_ mDefault $ \d ->
  9562. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  9563. 1916.44 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9564. 1916.44 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9565. 1916.44 s [opt-env-conf-test] c1 <- go p1
  9566. 1916.44 s [opt-env-conf-test] c2 <- go p2
  9567. 1916.44 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9568. 1916.44 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  9569. 1916.44 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9570. 1916.44 s [opt-env-conf-test] ParserMany mLoc p -> do
  9571. 1916.44 s [opt-env-conf-test] c <- go p
  9572. 1916.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  9573. 1916.44 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  9574. 1916.44 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9575. 1916.44 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9576. 1916.44 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9577. 1916.44 s [opt-env-conf-test] - if null cs
  9578. 1916.45 s [opt-env-conf-test] + if True
  9579. 1916.45 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9580. 1916.45 s [opt-env-conf-test] else do
  9581. 1916.45 s [opt-env-conf-test] for_ mDefault $ \d ->
  9582. 1916.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
  9583. 1916.45 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  9584. 1916.45 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9585. 1916.45 s [opt-env-conf-test] else do
  9586. 1916.45 s [opt-env-conf-test] for_ mDefault $ \d ->
  9587. 1916.45 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  9588. 1916.45 s [opt-env-conf-test] + when (True) $
  9589. 1916.45 s [opt-env-conf-test] validationTFailure $
  9590. 1916.45 s [opt-env-conf-test] LintError mLoc $
  9591. 1916.45 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  9592. 1916.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9593. 1916.45 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9594. 1916.45 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9595. 1916.45 s [opt-env-conf-test] c1 <- go p1
  9596. 1916.45 s [opt-env-conf-test] c2 <- go p2
  9597. 1916.45 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9598. 1916.45 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  9599. 1916.45 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9600. 1916.45 s [opt-env-conf-test] ParserMany mLoc p -> do
  9601. 1916.45 s [opt-env-conf-test] c <- go p
  9602. 1916.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  9603. 1916.45 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9604. 1916.45 s [opt-env-conf-test] when (not c) $
  9605. 1916.45 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9606. 1916.45 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9607. 1916.45 s [opt-env-conf-test] - pure c
  9608. 1916.45 s [opt-env-conf-test] + pure False
  9609. 1916.45 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9610. 1916.45 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9611. 1916.45 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9612. 1916.45 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
  9613. 1916.45 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9614. 1916.45 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9615. 1916.45 s [opt-env-conf-test] c1 <- go p1
  9616. 1916.45 s [opt-env-conf-test] c2 <- go p2
  9617. 1916.45 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9618. 1916.45 s [opt-env-conf-test] + pure (not (c1) && c2) -- TODO: is this right?
  9619. 1916.45 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9620. 1916.45 s [opt-env-conf-test] ParserMany mLoc p -> do
  9621. 1916.45 s [opt-env-conf-test] c <- go p
  9622. 1922.37 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
  9623. 1922.37 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  9624. 1922.39 s [opt-env-conf-test] c1 <- go p1
  9625. 1922.39 s [opt-env-conf-test] c2 <- go p2
  9626. 1922.39 s [opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
  9627. 1922.39 s [opt-env-conf-test] - ParserEmpty _ -> pure True
  9628. 1922.39 s [opt-env-conf-test] + ParserEmpty _ -> pure False
  9629. 1922.39 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9630. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9631. 1922.40 s [opt-env-conf-test] c2 <- go p2
  9632. 1922.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9633. 1922.40 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9634. 1922.40 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9635. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9636. 1922.40 s [opt-env-conf-test] c2 <- go p2
  9637. 1922.40 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9638. 1922.40 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  9639. 1922.40 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9640. 1922.40 s [opt-env-conf-test] ParserMany mLoc p -> do
  9641. 1922.40 s [opt-env-conf-test] c <- go p
  9642. 1922.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  9643. 1922.40 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9644. 1922.40 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9645. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9646. 1922.40 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9647. 1922.40 s [opt-env-conf-test] - pure $ c1 || c2
  9648. 1922.40 s [opt-env-conf-test] + pure $ True || c2
  9649. 1922.40 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9650. 1922.40 s [opt-env-conf-test] case settingHelp of
  9651. 1922.40 s [opt-env-conf-test] Nothing ->
  9652. 1922.40 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
  9653. 1922.40 s [opt-env-conf-test] @@ -275,13 +275,8 @@
  9654. 1922.40 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9655. 1922.40 s [opt-env-conf-test] if null cs
  9656. 1922.40 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9657. 1922.40 s [opt-env-conf-test] else do
  9658. 1922.40 s [opt-env-conf-test] - for_ mDefault $ \d ->
  9659. 1922.40 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  9660. 1922.40 s [opt-env-conf-test] - validationTFailure $
  9661. 1922.40 s [opt-env-conf-test] - LintError mLoc $
  9662. 1922.40 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand d
  9663. 1922.40 s [opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
  9664. 1922.40 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9665. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9666. 1922.40 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9667. 1922.40 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
  9668. 1922.40 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9669. 1922.40 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9670. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9671. 1922.40 s [opt-env-conf-test] c2 <- go p2
  9672. 1922.40 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9673. 1922.40 s [opt-env-conf-test] + pure (not (c1 || c2)) -- TODO: is this right?
  9674. 1922.40 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9675. 1922.40 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9676. 1922.40 s [opt-env-conf-test] c1 <- go p1
  9677. 1922.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
  9678. 1922.40 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  9679. 1922.40 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9680. 1922.40 s [opt-env-conf-test] else do
  9681. 1922.40 s [opt-env-conf-test] for_ mDefault $ \d ->
  9682. 1922.40 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  9683. 1922.40 s [opt-env-conf-test] + when True $
  9684. 1922.40 s [opt-env-conf-test] validationTFailure $
  9685. 1922.40 s [opt-env-conf-test] LintError mLoc $
  9686. 1922.40 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  9687. 1922.40 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
  9688. 1922.41 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  9689. 1922.41 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9690. 1922.41 s [opt-env-conf-test] else do
  9691. 1922.41 s [opt-env-conf-test] for_ mDefault $ \d ->
  9692. 1922.41 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  9693. 1922.41 s [opt-env-conf-test] + when (not (isNothing (find ((== d) . commandArg) cs))) $
  9694. 1922.41 s [opt-env-conf-test] validationTFailure $
  9695. 1922.41 s [opt-env-conf-test] LintError mLoc $
  9696. 1922.41 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  9697. 1922.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
  9698. 1922.41 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9699. 1922.41 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9700. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9701. 1922.41 s [opt-env-conf-test] c2 <- go p2
  9702. 1922.41 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9703. 1922.41 s [opt-env-conf-test] + pure (c1 && not (c2)) -- TODO: is this right?
  9704. 1922.41 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9705. 1922.41 s [opt-env-conf-test] ParserMany mLoc p -> do
  9706. 1922.41 s [opt-env-conf-test] c <- go p
  9707. 1922.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  9708. 1922.41 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9709. 1922.41 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9710. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9711. 1922.41 s [opt-env-conf-test] c2 <- go p2
  9712. 1922.41 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9713. 1922.41 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  9714. 1922.41 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9715. 1922.41 s [opt-env-conf-test] ParserMany mLoc p -> do
  9716. 1922.41 s [opt-env-conf-test] c <- go p
  9717. 1922.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
  9718. 1922.41 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  9719. 1922.41 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9720. 1922.41 s [opt-env-conf-test] else do
  9721. 1922.41 s [opt-env-conf-test] for_ mDefault $ \d ->
  9722. 1922.41 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  9723. 1922.41 s [opt-env-conf-test] + when not ((isNothing (find ((== d) . commandArg) cs))) $
  9724. 1922.41 s [opt-env-conf-test] validationTFailure $
  9725. 1922.41 s [opt-env-conf-test] LintError mLoc $
  9726. 1922.41 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  9727. 1922.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  9728. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9729. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9730. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9731. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9732. 1922.41 s [opt-env-conf-test] - pure $ c1 || c2
  9733. 1922.41 s [opt-env-conf-test] + pure $ c1 || True
  9734. 1922.41 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9735. 1922.41 s [opt-env-conf-test] case settingHelp of
  9736. 1922.41 s [opt-env-conf-test] Nothing ->
  9737. 1922.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
  9738. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9739. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9740. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9741. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9742. 1922.41 s [opt-env-conf-test] - pure $ c1 || c2
  9743. 1922.41 s [opt-env-conf-test] + pure $ not (c1) || c2
  9744. 1922.41 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9745. 1922.41 s [opt-env-conf-test] case settingHelp of
  9746. 1922.41 s [opt-env-conf-test] Nothing ->
  9747. 1922.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  9748. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9749. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9750. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9751. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9752. 1922.41 s [opt-env-conf-test] - pure $ c1 || c2
  9753. 1922.41 s [opt-env-conf-test] + pure $ False || c2
  9754. 1922.41 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9755. 1922.41 s [opt-env-conf-test] case settingHelp of
  9756. 1922.41 s [opt-env-conf-test] Nothing ->
  9757. 1922.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
  9758. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9759. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9760. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9761. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9762. 1922.41 s [opt-env-conf-test] - pure $ c1 || c2
  9763. 1922.41 s [opt-env-conf-test] + pure $ c1 || not (c2)
  9764. 1922.41 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9765. 1922.41 s [opt-env-conf-test] case settingHelp of
  9766. 1922.41 s [opt-env-conf-test] Nothing ->
  9767. 1922.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  9768. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9769. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9770. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9771. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9772. 1922.41 s [opt-env-conf-test] - pure $ c1 || c2
  9773. 1922.41 s [opt-env-conf-test] + pure $ True
  9774. 1922.41 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9775. 1922.41 s [opt-env-conf-test] case settingHelp of
  9776. 1922.41 s [opt-env-conf-test] Nothing ->
  9777. 1922.41 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
  9778. 1922.41 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9779. 1922.41 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9780. 1922.41 s [opt-env-conf-test] c1 <- go p1
  9781. 1922.41 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9782. 1922.42 s [opt-env-conf-test] - pure $ c1 || c2
  9783. 1922.42 s [opt-env-conf-test] + pure $ c1 && c2
  9784. 1924.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9785. 1924.89 s [opt-env-conf-test] case settingHelp of
  9786. 1924.89 s [opt-env-conf-test] Nothing ->
  9787. 1924.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  9788. 1924.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9789. 1924.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9790. 1924.90 s [opt-env-conf-test] c1 <- go p1
  9791. 1924.90 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9792. 1924.90 s [opt-env-conf-test] - pure $ c1 || c2
  9793. 1924.90 s [opt-env-conf-test] + pure $ False
  9794. 1924.90 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9795. 1924.90 s [opt-env-conf-test] case settingHelp of
  9796. 1924.90 s [opt-env-conf-test] Nothing ->
  9797. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  9798. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9799. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9800. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9801. 1924.90 s [opt-env-conf-test] and
  9802. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9803. 1924.90 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  9804. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9805. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9806. 1924.90 s [opt-env-conf-test] ]
  9807. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  9808. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9809. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9810. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9811. 1924.90 s [opt-env-conf-test] and
  9812. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9813. 1924.90 s [opt-env-conf-test] + [ False || settingTryOption || isJust settingSwitchValue,
  9814. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9815. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9816. 1924.90 s [opt-env-conf-test] ]
  9817. 1924.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
  9818. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9819. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9820. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9821. 1924.90 s [opt-env-conf-test] and
  9822. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9823. 1924.90 s [opt-env-conf-test] + [ not (settingTryArgument) || settingTryOption || isJust settingSwitchValue,
  9824. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9825. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9826. 1924.90 s [opt-env-conf-test] ]
  9827. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  9828. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9829. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9830. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9831. 1924.90 s [opt-env-conf-test] and
  9832. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9833. 1924.90 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  9834. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9835. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9836. 1924.90 s [opt-env-conf-test] ]
  9837. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  9838. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9839. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9840. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9841. 1924.90 s [opt-env-conf-test] and
  9842. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9843. 1924.90 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  9844. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9845. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9846. 1924.90 s [opt-env-conf-test] ]
  9847. 1924.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
  9848. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9849. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9850. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9851. 1924.90 s [opt-env-conf-test] and
  9852. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9853. 1924.90 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption) || isJust settingSwitchValue,
  9854. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9855. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9856. 1924.90 s [opt-env-conf-test] ]
  9857. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  9858. 1924.90 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9859. 1924.90 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9860. 1924.90 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9861. 1924.90 s [opt-env-conf-test] and
  9862. 1924.90 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9863. 1924.90 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  9864. 1924.90 s [opt-env-conf-test] null settingEnvVars,
  9865. 1924.90 s [opt-env-conf-test] null settingConfigVals
  9866. 1924.90 s [opt-env-conf-test] ]
  9867. 1924.90 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  9868. 1924.91 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9869. 1924.91 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9870. 1924.91 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9871. 1924.91 s [opt-env-conf-test] and
  9872. 1924.91 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9873. 1924.91 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || False,
  9874. 1924.91 s [opt-env-conf-test] null settingEnvVars,
  9875. 1924.91 s [opt-env-conf-test] null settingConfigVals
  9876. 1924.91 s [opt-env-conf-test] ]
  9877. 1924.91 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
  9878. 1924.91 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9879. 1924.91 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9880. 1924.91 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9881. 1924.91 s [opt-env-conf-test] and
  9882. 1924.91 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9883. 1924.91 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || not (isJust settingSwitchValue),
  9884. 1924.91 s [opt-env-conf-test] null settingEnvVars,
  9885. 1924.91 s [opt-env-conf-test] null settingConfigVals
  9886. 1924.91 s [opt-env-conf-test] ]
  9887. 1924.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  9888. 1924.91 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9889. 1924.91 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9890. 1924.91 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9891. 1924.91 s [opt-env-conf-test] and
  9892. 1924.91 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9893. 1924.91 s [opt-env-conf-test] + [ settingTryArgument || False,
  9894. 1924.91 s [opt-env-conf-test] null settingEnvVars,
  9895. 1924.91 s [opt-env-conf-test] null settingConfigVals
  9896. 1924.91 s [opt-env-conf-test] ]
  9897. 1924.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  9898. 1924.91 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9899. 1924.91 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9900. 1924.91 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9901. 1924.91 s [opt-env-conf-test] and
  9902. 1924.91 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9903. 1924.91 s [opt-env-conf-test] + [ settingTryArgument || True,
  9904. 1924.91 s [opt-env-conf-test] null settingEnvVars,
  9905. 1924.91 s [opt-env-conf-test] null settingConfigVals
  9906. 1924.91 s [opt-env-conf-test] ]
  9907. 1924.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  9908. 1924.91 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9909. 1924.91 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9910. 1924.91 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9911. 1924.91 s [opt-env-conf-test] and
  9912. 1924.91 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9913. 1930.01 s [opt-env-conf-test] + [ True,
  9914. 1930.01 s [opt-env-conf-test] null settingEnvVars,
  9915. 1930.03 s [opt-env-conf-test] null settingConfigVals
  9916. 1930.03 s [opt-env-conf-test] ]
  9917. 1930.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  9918. 1930.03 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9919. 1930.03 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9920. 1930.03 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9921. 1930.03 s [opt-env-conf-test] and
  9922. 1930.03 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9923. 1930.03 s [opt-env-conf-test] + [ False,
  9924. 1930.03 s [opt-env-conf-test] null settingEnvVars,
  9925. 1930.03 s [opt-env-conf-test] null settingConfigVals
  9926. 1930.03 s [opt-env-conf-test] ]
  9927. 1930.03 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
  9928. 1930.03 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9929. 1930.03 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9930. 1930.03 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9931. 1930.03 s [opt-env-conf-test] and
  9932. 1930.03 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9933. 1930.03 s [opt-env-conf-test] + [ settingTryArgument && settingTryOption || isJust settingSwitchValue,
  9934. 1930.03 s [opt-env-conf-test] null settingEnvVars,
  9935. 1930.04 s [opt-env-conf-test] null settingConfigVals
  9936. 1930.04 s [opt-env-conf-test] ]
  9937. 1930.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
  9938. 1930.04 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9939. 1930.04 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9940. 1930.04 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9941. 1930.04 s [opt-env-conf-test] and
  9942. 1930.04 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9943. 1930.04 s [opt-env-conf-test] + [ not (settingTryArgument || settingTryOption || isJust settingSwitchValue),
  9944. 1930.04 s [opt-env-conf-test] null settingEnvVars,
  9945. 1930.04 s [opt-env-conf-test] null settingConfigVals
  9946. 1930.04 s [opt-env-conf-test] ]
  9947. 1930.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
  9948. 1930.04 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9949. 1930.04 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9950. 1930.04 s [opt-env-conf-test] c1 <- go p1
  9951. 1930.04 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9952. 1930.04 s [opt-env-conf-test] - pure $ c1 || c2
  9953. 1930.04 s [opt-env-conf-test] + pure $ not (c1 || c2)
  9954. 1930.04 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9955. 1930.04 s [opt-env-conf-test] case settingHelp of
  9956. 1930.04 s [opt-env-conf-test] Nothing ->
  9957. 1930.04 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
  9958. 1930.04 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9959. 1930.04 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9960. 1930.04 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9961. 1930.04 s [opt-env-conf-test] and
  9962. 1930.04 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9963. 1930.04 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption && isJust settingSwitchValue,
  9964. 1930.04 s [opt-env-conf-test] null settingEnvVars,
  9965. 1930.04 s [opt-env-conf-test] null settingConfigVals
  9966. 1930.04 s [opt-env-conf-test] ]
  9967. 1930.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
  9968. 1930.04 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  9969. 1930.04 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9970. 1930.04 s [opt-env-conf-test] and
  9971. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9972. 1930.04 s [opt-env-conf-test] - null settingEnvVars,
  9973. 1930.04 s [opt-env-conf-test] + not (null settingEnvVars),
  9974. 1930.04 s [opt-env-conf-test] null settingConfigVals
  9975. 1930.04 s [opt-env-conf-test] ]
  9976. 1930.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  9977. 1930.04 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9978. 1930.04 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9979. 1930.04 s [opt-env-conf-test] c1 <- go p1
  9980. 1930.04 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9981. 1930.04 s [opt-env-conf-test] - pure $ c1 || c2
  9982. 1930.04 s [opt-env-conf-test] + pure $ c1 || False
  9983. 1930.04 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9984. 1930.04 s [opt-env-conf-test] case settingHelp of
  9985. 1930.04 s [opt-env-conf-test] Nothing ->
  9986. 1930.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  9987. 1930.04 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  9988. 1930.04 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9989. 1930.04 s [opt-env-conf-test] and
  9990. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9991. 1930.04 s [opt-env-conf-test] - null settingEnvVars,
  9992. 1930.04 s [opt-env-conf-test] + False,
  9993. 1930.04 s [opt-env-conf-test] null settingConfigVals
  9994. 1930.04 s [opt-env-conf-test] ]
  9995. 1930.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  9996. 1930.04 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  9997. 1930.04 s [opt-env-conf-test] and
  9998. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9999. 1930.04 s [opt-env-conf-test] null settingEnvVars,
  10000. 1930.04 s [opt-env-conf-test] - null settingConfigVals
  10001. 1930.04 s [opt-env-conf-test] + False
  10002. 1930.04 s [opt-env-conf-test] ]
  10003. 1930.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  10004. 1930.04 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  10005. 1930.04 s [opt-env-conf-test] and
  10006. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10007. 1930.04 s [opt-env-conf-test] null settingEnvVars,
  10008. 1930.04 s [opt-env-conf-test] - null settingConfigVals
  10009. 1930.04 s [opt-env-conf-test] + True
  10010. 1930.04 s [opt-env-conf-test] ]
  10011. 1930.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
  10012. 1930.04 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  10013. 1930.04 s [opt-env-conf-test] and
  10014. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10015. 1930.04 s [opt-env-conf-test] null settingEnvVars,
  10016. 1930.04 s [opt-env-conf-test] - null settingConfigVals
  10017. 1930.04 s [opt-env-conf-test] + not (null settingConfigVals)
  10018. 1930.04 s [opt-env-conf-test] ]
  10019. 1930.04 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  10020. 1930.04 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  10021. 1930.04 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10022. 1930.04 s [opt-env-conf-test] and
  10023. 1930.04 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10024. 1930.05 s [opt-env-conf-test] - null settingEnvVars,
  10025. 1930.05 s [opt-env-conf-test] + True,
  10026. 1930.05 s [opt-env-conf-test] null settingConfigVals
  10027. 1930.05 s [opt-env-conf-test] ]
  10028. 1930.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
  10029. 1930.05 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  10030. 1930.05 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10031. 1930.05 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10032. 1930.05 s [opt-env-conf-test] and
  10033. 1930.05 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10034. 1930.05 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption || isJust settingSwitchValue),
  10035. 1930.05 s [opt-env-conf-test] null settingEnvVars,
  10036. 1930.05 s [opt-env-conf-test] null settingConfigVals
  10037. 1930.05 s [opt-env-conf-test] ]
  10038. 1930.05 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10039. 1930.05 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  10040. 1930.05 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10041. 1930.05 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10042. 1930.05 s [opt-env-conf-test] and
  10043. 1930.05 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10044. 1930.05 s [opt-env-conf-test] null settingEnvVars,
  10045. 1930.05 s [opt-env-conf-test] null settingConfigVals
  10046. 1930.05 s [opt-env-conf-test] ]
  10047. 1930.05 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  10048. 1930.05 s [opt-env-conf-test] @@ -76,20 +76,7 @@
  10049. 1930.05 s [opt-env-conf-test] " parses nothing."
  10050. 1930.05 s [opt-env-conf-test] ]
  10051. 1930.05 s [opt-env-conf-test] ],
  10052. 1930.05 s [opt-env-conf-test] - [ [ "Add an ",
  10053. 1930.05 s [opt-env-conf-test] - functionChunk "argument",
  10054. 1930.05 s [opt-env-conf-test] - ", ",
  10055. 1930.05 s [opt-env-conf-test] - functionChunk "switch",
  10056. 1930.05 s [opt-env-conf-test] - ", ",
  10057. 1930.05 s [opt-env-conf-test] - functionChunk "option",
  10058. 1930.05 s [opt-env-conf-test] - ", ",
  10059. 1930.05 s [opt-env-conf-test] - functionChunk "env",
  10060. 1930.05 s [opt-env-conf-test] - ", ",
  10061. 1930.05 s [opt-env-conf-test] - functionChunk "conf",
  10062. 1930.05 s [opt-env-conf-test] - ", or ",
  10063. 1930.05 s [opt-env-conf-test] - functionChunk "value",
  10064. 1930.05 s [opt-env-conf-test] - "."
  10065. 1930.05 s [opt-env-conf-test] ]
  10066. 1930.05 s [opt-env-conf-test] ]
  10067. 1930.05 s [opt-env-conf-test] ]
  10068. 1930.05 s [opt-env-conf-test] LintErrorDashInShort ->
  10069. 1932.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  10070. 1932.55 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  10071. 1932.55 s [opt-env-conf-test] " parses nothing."
  10072. 1932.55 s [opt-env-conf-test] ]
  10073. 1932.55 s [opt-env-conf-test] ],
  10074. 1932.55 s [opt-env-conf-test] - [ [ "Add an ",
  10075. 1932.55 s [opt-env-conf-test] functionChunk "argument",
  10076. 1932.55 s [opt-env-conf-test] ", ",
  10077. 1932.55 s [opt-env-conf-test] functionChunk "switch",
  10078. 1932.55 s [opt-env-conf-test] ", ",
  10079. 1932.55 s [opt-env-conf-test] functionChunk "option",
  10080. 1932.55 s [opt-env-conf-test] ", ",
  10081. 1932.55 s [opt-env-conf-test] functionChunk "env",
  10082. 1932.55 s [opt-env-conf-test] ", ",
  10083. 1932.55 s [opt-env-conf-test] functionChunk "conf",
  10084. 1932.55 s [opt-env-conf-test] ", or ",
  10085. 1932.55 s [opt-env-conf-test] functionChunk "value",
  10086. 1932.55 s [opt-env-conf-test] "."
  10087. 1932.55 s [opt-env-conf-test] ]
  10088. 1932.55 s [opt-env-conf-test] ]
  10089. 1932.55 s [opt-env-conf-test] ]
  10090. 1932.55 s [opt-env-conf-test] LintErrorDashInShort ->
  10091. 1932.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  10092. 1932.55 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  10093. 1932.55 s [opt-env-conf-test] " parses nothing."
  10094. 1932.55 s [opt-env-conf-test] ]
  10095. 1932.55 s [opt-env-conf-test] ],
  10096. 1932.55 s [opt-env-conf-test] [ [ "Add an ",
  10097. 1932.55 s [opt-env-conf-test] functionChunk "argument",
  10098. 1932.55 s [opt-env-conf-test] ", ",
  10099. 1932.55 s [opt-env-conf-test] functionChunk "switch",
  10100. 1932.55 s [opt-env-conf-test] ", ",
  10101. 1932.55 s [opt-env-conf-test] functionChunk "option",
  10102. 1932.55 s [opt-env-conf-test] ", ",
  10103. 1932.55 s [opt-env-conf-test] functionChunk "env",
  10104. 1932.55 s [opt-env-conf-test] ", ",
  10105. 1932.55 s [opt-env-conf-test] functionChunk "conf",
  10106. 1932.55 s [opt-env-conf-test] ", or ",
  10107. 1932.55 s [opt-env-conf-test] functionChunk "value",
  10108. 1932.55 s [opt-env-conf-test] - "."
  10109. 1932.55 s [opt-env-conf-test] ]
  10110. 1932.55 s [opt-env-conf-test] ]
  10111. 1932.55 s [opt-env-conf-test] ]
  10112. 1932.55 s [opt-env-conf-test] LintErrorDashInShort ->
  10113. 1932.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  10114. 1932.56 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10115. 1932.56 s [opt-env-conf-test] pure $
  10116. 1932.56 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10117. 1932.56 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10118. 1932.56 s [opt-env-conf-test] - and
  10119. 1932.56 s [opt-env-conf-test] + True
  10120. 1932.56 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10121. 1932.56 s [opt-env-conf-test] null settingEnvVars,
  10122. 1932.56 s [opt-env-conf-test] null settingConfigVals
  10123. 1932.56 s [opt-env-conf-test] ]
  10124. 1932.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10125. 1932.56 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  10126. 1932.56 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10127. 1932.56 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10128. 1932.56 s [opt-env-conf-test] and
  10129. 1932.56 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10130. 1932.56 s [opt-env-conf-test] null settingEnvVars,
  10131. 1932.56 s [opt-env-conf-test] - null settingConfigVals
  10132. 1932.56 s [opt-env-conf-test] ]
  10133. 1932.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  10134. 1932.56 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10135. 1932.56 s [opt-env-conf-test] pure $
  10136. 1932.56 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10137. 1932.56 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10138. 1932.56 s [opt-env-conf-test] - and
  10139. 1932.56 s [opt-env-conf-test] + False
  10140. 1932.56 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10141. 1932.56 s [opt-env-conf-test] null settingEnvVars,
  10142. 1932.56 s [opt-env-conf-test] null settingConfigVals
  10143. 1932.56 s [opt-env-conf-test] ]
  10144. 1932.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10145. 1932.56 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  10146. 1932.56 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10147. 1932.56 s [opt-env-conf-test] LintErrorEmptySetting ->
  10148. 1932.56 s [opt-env-conf-test] concat
  10149. 1932.56 s [opt-env-conf-test] [ [ [ "This ",
  10150. 1932.56 s [opt-env-conf-test] functionChunk "setting",
  10151. 1932.56 s [opt-env-conf-test] - " parses nothing."
  10152. 1932.56 s [opt-env-conf-test] ]
  10153. 1932.56 s [opt-env-conf-test] ],
  10154. 1932.56 s [opt-env-conf-test] [ [ "Add an ",
  10155. 1932.56 s [opt-env-conf-test] functionChunk "argument",
  10156. 1932.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10157. 1932.56 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10158. 1932.56 s [opt-env-conf-test] ]
  10159. 1932.56 s [opt-env-conf-test] LintErrorDashInShort ->
  10160. 1932.56 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10161. 1932.56 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10162. 1932.56 s [opt-env-conf-test] ]
  10163. 1932.56 s [opt-env-conf-test] LintErrorDashInLong s ->
  10164. 1932.56 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10165. 1932.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10166. 1932.56 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  10167. 1932.56 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10168. 1932.56 s [opt-env-conf-test] LintErrorEmptySetting ->
  10169. 1932.56 s [opt-env-conf-test] concat
  10170. 1932.56 s [opt-env-conf-test] - [ [ [ "This ",
  10171. 1932.56 s [opt-env-conf-test] functionChunk "setting",
  10172. 1932.56 s [opt-env-conf-test] " parses nothing."
  10173. 1932.56 s [opt-env-conf-test] ]
  10174. 1932.56 s [opt-env-conf-test] ],
  10175. 1932.56 s [opt-env-conf-test] [ [ "Add an ",
  10176. 1932.56 s [opt-env-conf-test] functionChunk "argument",
  10177. 1932.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  10178. 1932.56 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  10179. 1932.56 s [opt-env-conf-test] ]
  10180. 1932.56 s [opt-env-conf-test] ]
  10181. 1932.56 s [opt-env-conf-test] LintErrorDashInShort ->
  10182. 1932.56 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10183. 1932.57 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10184. 1932.57 s [opt-env-conf-test] ]
  10185. 1932.57 s [opt-env-conf-test] LintErrorDashInLong s ->
  10186. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10187. 1932.57 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10188. 1932.57 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10189. 1932.57 s [opt-env-conf-test] case lintErrorMessage of
  10190. 1932.57 s [opt-env-conf-test] LintErrorUndocumented ->
  10191. 1932.57 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10192. 1932.57 s [opt-env-conf-test] LintErrorEmptySetting ->
  10193. 1932.57 s [opt-env-conf-test] concat
  10194. 1932.57 s [opt-env-conf-test] [ [ [ "This ",
  10195. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10196. 1932.57 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10197. 1932.57 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10198. 1932.57 s [opt-env-conf-test] case lintErrorMessage of
  10199. 1932.57 s [opt-env-conf-test] LintErrorUndocumented ->
  10200. 1932.57 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10201. 1932.57 s [opt-env-conf-test] LintErrorEmptySetting ->
  10202. 1932.57 s [opt-env-conf-test] concat
  10203. 1932.57 s [opt-env-conf-test] [ [ [ "This ",
  10204. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  10205. 1932.57 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  10206. 1932.57 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10207. 1932.57 s [opt-env-conf-test] case lintErrorMessage of
  10208. 1932.57 s [opt-env-conf-test] LintErrorUndocumented ->
  10209. 1932.57 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10210. 1932.57 s [opt-env-conf-test] LintErrorEmptySetting ->
  10211. 1932.57 s [opt-env-conf-test] concat
  10212. 1932.57 s [opt-env-conf-test] [ [ [ "This ",
  10213. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  10214. 1932.57 s [opt-env-conf-test] @@ -71,10 +71,7 @@
  10215. 1932.57 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10216. 1932.57 s [opt-env-conf-test] LintErrorEmptySetting ->
  10217. 1932.57 s [opt-env-conf-test] concat
  10218. 1932.57 s [opt-env-conf-test] - [ [ [ "This ",
  10219. 1932.57 s [opt-env-conf-test] - functionChunk "setting",
  10220. 1932.57 s [opt-env-conf-test] - " parses nothing."
  10221. 1932.57 s [opt-env-conf-test] ]
  10222. 1932.57 s [opt-env-conf-test] ],
  10223. 1932.57 s [opt-env-conf-test] [ [ "Add an ",
  10224. 1932.57 s [opt-env-conf-test] functionChunk "argument",
  10225. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  10226. 1932.57 s [opt-env-conf-test] @@ -337,7 +337,4 @@
  10227. 1932.57 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10228. 1932.57 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10229. 1932.57 s [opt-env-conf-test] and
  10230. 1932.57 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10231. 1932.57 s [opt-env-conf-test] - null settingEnvVars,
  10232. 1932.57 s [opt-env-conf-test] - null settingConfigVals
  10233. 1932.57 s [opt-env-conf-test] ]
  10234. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  10235. 1932.57 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  10236. 1932.57 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10237. 1932.57 s [opt-env-conf-test] ]
  10238. 1932.57 s [opt-env-conf-test] LintErrorDashInLong s ->
  10239. 1932.57 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10240. 1932.57 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10241. 1932.57 s [opt-env-conf-test] [ "Try ",
  10242. 1932.57 s [opt-env-conf-test] functionChunk "long",
  10243. 1932.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
  10244. 1932.57 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  10245. 1932.57 s [opt-env-conf-test] pure $
  10246. 1932.57 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  10247. 1932.57 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  10248. 1932.57 s [opt-env-conf-test] - and
  10249. 1932.57 s [opt-env-conf-test] + not (and
  10250. 1932.57 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  10251. 1932.57 s [opt-env-conf-test] null settingEnvVars,
  10252. 1932.57 s [opt-env-conf-test] null settingConfigVals
  10253. 1932.57 s [opt-env-conf-test] - ]
  10254. 1932.57 s [opt-env-conf-test] + ])
  10255. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10256. 1932.57 s [opt-env-conf-test] @@ -99,19 +99,7 @@
  10257. 1932.57 s [opt-env-conf-test] LintErrorDashInLong s ->
  10258. 1932.57 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10259. 1932.57 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10260. 1932.57 s [opt-env-conf-test] - [ "Try ",
  10261. 1932.57 s [opt-env-conf-test] - functionChunk "long",
  10262. 1932.57 s [opt-env-conf-test] - " ",
  10263. 1932.57 s [opt-env-conf-test] - chunk $
  10264. 1932.57 s [opt-env-conf-test] - T.pack $
  10265. 1932.57 s [opt-env-conf-test] - show $
  10266. 1932.57 s [opt-env-conf-test] - let go = \case
  10267. 1932.57 s [opt-env-conf-test] - [] -> []
  10268. 1932.57 s [opt-env-conf-test] - '-' : cs -> go cs
  10269. 1932.57 s [opt-env-conf-test] - c : cs -> c : cs
  10270. 1932.57 s [opt-env-conf-test] - in go $ NE.toList s,
  10271. 1932.57 s [opt-env-conf-test] - " instead."
  10272. 1932.57 s [opt-env-conf-test] ]
  10273. 1932.57 s [opt-env-conf-test] ]
  10274. 1932.57 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10275. 1932.57 s [opt-env-conf-test] [ [ functionChunk "argument",
  10276. 1932.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10277. 1932.57 s [opt-env-conf-test] @@ -97,22 +97,7 @@
  10278. 1939.92 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10279. 1939.92 s [opt-env-conf-test] ]
  10280. 1939.95 s [opt-env-conf-test] LintErrorDashInLong s ->
  10281. 1939.95 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10282. 1939.95 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10283. 1939.95 s [opt-env-conf-test] - [ "Try ",
  10284. 1939.95 s [opt-env-conf-test] - functionChunk "long",
  10285. 1939.95 s [opt-env-conf-test] - " ",
  10286. 1939.95 s [opt-env-conf-test] - chunk $
  10287. 1939.95 s [opt-env-conf-test] - T.pack $
  10288. 1939.95 s [opt-env-conf-test] - show $
  10289. 1939.95 s [opt-env-conf-test] - let go = \case
  10290. 1939.95 s [opt-env-conf-test] - [] -> []
  10291. 1939.95 s [opt-env-conf-test] - '-' : cs -> go cs
  10292. 1939.95 s [opt-env-conf-test] - c : cs -> c : cs
  10293. 1939.95 s [opt-env-conf-test] - in go $ NE.toList s,
  10294. 1939.95 s [opt-env-conf-test] - " instead."
  10295. 1939.95 s [opt-env-conf-test] - ]
  10296. 1939.95 s [opt-env-conf-test] ]
  10297. 1939.95 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10298. 1939.95 s [opt-env-conf-test] [ [ functionChunk "argument",
  10299. 1939.95 s [opt-env-conf-test] " has no ",
  10300. 1939.95 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10301. 1939.95 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10302. 1939.95 s [opt-env-conf-test] LintErrorDashInLong s ->
  10303. 1939.95 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10304. 1939.95 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10305. 1939.95 s [opt-env-conf-test] [ "Try ",
  10306. 1939.95 s [opt-env-conf-test] functionChunk "long",
  10307. 1939.95 s [opt-env-conf-test] " ",
  10308. 1939.95 s [opt-env-conf-test] chunk $
  10309. 1939.95 s [opt-env-conf-test] T.pack $
  10310. 1939.95 s [opt-env-conf-test] show $
  10311. 1939.95 s [opt-env-conf-test] let go = \case
  10312. 1939.95 s [opt-env-conf-test] [] -> []
  10313. 1939.95 s [opt-env-conf-test] '-' : cs -> go cs
  10314. 1939.95 s [opt-env-conf-test] c : cs -> c : cs
  10315. 1939.95 s [opt-env-conf-test] in go $ NE.toList s,
  10316. 1939.95 s [opt-env-conf-test] - " instead."
  10317. 1939.95 s [opt-env-conf-test] ]
  10318. 1939.95 s [opt-env-conf-test] ]
  10319. 1939.95 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10320. 1939.95 s [opt-env-conf-test] [ [ functionChunk "argument",
  10321. 1939.95 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10322. 1939.95 s [opt-env-conf-test] @@ -97,22 +97,9 @@
  10323. 1939.95 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10324. 1939.95 s [opt-env-conf-test] ]
  10325. 1939.95 s [opt-env-conf-test] LintErrorDashInLong s ->
  10326. 1939.95 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10327. 1939.95 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10328. 1939.95 s [opt-env-conf-test] - [ "Try ",
  10329. 1939.95 s [opt-env-conf-test] - functionChunk "long",
  10330. 1939.95 s [opt-env-conf-test] - " ",
  10331. 1939.96 s [opt-env-conf-test] - chunk $
  10332. 1939.96 s [opt-env-conf-test] - T.pack $
  10333. 1939.96 s [opt-env-conf-test] - show $
  10334. 1939.96 s [opt-env-conf-test] - let go = \case
  10335. 1939.96 s [opt-env-conf-test] - [] -> []
  10336. 1939.96 s [opt-env-conf-test] - '-' : cs -> go cs
  10337. 1939.96 s [opt-env-conf-test] - c : cs -> c : cs
  10338. 1939.96 s [opt-env-conf-test] - in go $ NE.toList s,
  10339. 1939.96 s [opt-env-conf-test] - " instead."
  10340. 1939.96 s [opt-env-conf-test] - ]
  10341. 1939.96 s [opt-env-conf-test] ]
  10342. 1939.96 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10343. 1939.96 s [opt-env-conf-test] [ [ functionChunk "argument",
  10344. 1939.96 s [opt-env-conf-test] " has no ",
  10345. 1939.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10346. 1939.96 s [opt-env-conf-test] @@ -97,22 +97,21 @@
  10347. 1939.96 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10348. 1939.96 s [opt-env-conf-test] ]
  10349. 1939.96 s [opt-env-conf-test] LintErrorDashInLong s ->
  10350. 1939.96 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10351. 1939.96 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10352. 1939.96 s [opt-env-conf-test] [ "Try ",
  10353. 1939.96 s [opt-env-conf-test] functionChunk "long",
  10354. 1939.96 s [opt-env-conf-test] " ",
  10355. 1939.96 s [opt-env-conf-test] chunk $
  10356. 1939.96 s [opt-env-conf-test] T.pack $
  10357. 1939.96 s [opt-env-conf-test] show $
  10358. 1939.96 s [opt-env-conf-test] let go = \case
  10359. 1939.96 s [opt-env-conf-test] [] -> []
  10360. 1939.96 s [opt-env-conf-test] '-' : cs -> go cs
  10361. 1939.96 s [opt-env-conf-test] c : cs -> c : cs
  10362. 1939.96 s [opt-env-conf-test] in go $ NE.toList s,
  10363. 1939.96 s [opt-env-conf-test] " instead."
  10364. 1939.96 s [opt-env-conf-test] ]
  10365. 1939.96 s [opt-env-conf-test] ]
  10366. 1939.96 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10367. 1939.96 s [opt-env-conf-test] [ [ functionChunk "argument",
  10368. 1939.96 s [opt-env-conf-test] " has no ",
  10369. 1939.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10370. 1939.96 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10371. 1939.96 s [opt-env-conf-test] ]
  10372. 1939.96 s [opt-env-conf-test] LintErrorDashInLong s ->
  10373. 1939.96 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10374. 1939.96 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10375. 1939.96 s [opt-env-conf-test] [ "Try ",
  10376. 1939.96 s [opt-env-conf-test] functionChunk "long",
  10377. 1939.96 s [opt-env-conf-test] " ",
  10378. 1939.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10379. 1939.96 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10380. 1939.96 s [opt-env-conf-test] ]
  10381. 1939.96 s [opt-env-conf-test] LintErrorDashInLong s ->
  10382. 1939.96 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10383. 1939.96 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10384. 1939.96 s [opt-env-conf-test] [ "Try ",
  10385. 1939.96 s [opt-env-conf-test] functionChunk "long",
  10386. 1939.96 s [opt-env-conf-test] " ",
  10387. 1939.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  10388. 1939.96 s [opt-env-conf-test] @@ -93,9 +93,8 @@
  10389. 1939.96 s [opt-env-conf-test] ]
  10390. 1939.96 s [opt-env-conf-test] ]
  10391. 1939.96 s [opt-env-conf-test] LintErrorDashInShort ->
  10392. 1939.96 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10393. 1939.96 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10394. 1939.96 s [opt-env-conf-test] ]
  10395. 1939.96 s [opt-env-conf-test] LintErrorDashInLong s ->
  10396. 1939.96 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10397. 1939.96 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10398. 1939.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  10399. 1939.97 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  10400. 1939.97 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10401. 1939.97 s [opt-env-conf-test] ]
  10402. 1939.97 s [opt-env-conf-test] LintErrorDashInLong s ->
  10403. 1939.97 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10404. 1939.97 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10405. 1939.97 s [opt-env-conf-test] [ "Try ",
  10406. 1939.97 s [opt-env-conf-test] functionChunk "long",
  10407. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  10408. 1939.97 s [opt-env-conf-test] @@ -146,13 +146,7 @@
  10409. 1939.97 s [opt-env-conf-test] ]
  10410. 1939.97 s [opt-env-conf-test] ]
  10411. 1939.97 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10412. 1939.97 s [opt-env-conf-test] - [ [ functionChunk "option",
  10413. 1939.97 s [opt-env-conf-test] - " or ",
  10414. 1939.97 s [opt-env-conf-test] - functionChunk "name",
  10415. 1939.97 s [opt-env-conf-test] - " has no ",
  10416. 1939.97 s [opt-env-conf-test] - functionChunk "metavar",
  10417. 1939.97 s [opt-env-conf-test] - "."
  10418. 1939.97 s [opt-env-conf-test] ]
  10419. 1939.97 s [opt-env-conf-test] ]
  10420. 1939.97 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10421. 1939.97 s [opt-env-conf-test] [ [ functionChunk "switch",
  10422. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10423. 1939.97 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  10424. 1939.97 s [opt-env-conf-test] ]
  10425. 1939.97 s [opt-env-conf-test] ]
  10426. 1939.97 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10427. 1939.97 s [opt-env-conf-test] - [ [ functionChunk "option",
  10428. 1939.97 s [opt-env-conf-test] " has no ",
  10429. 1939.97 s [opt-env-conf-test] functionChunk "long",
  10430. 1939.97 s [opt-env-conf-test] " or ",
  10431. 1939.97 s [opt-env-conf-test] functionChunk "short",
  10432. 1939.97 s [opt-env-conf-test] "."
  10433. 1939.97 s [opt-env-conf-test] ]
  10434. 1939.97 s [opt-env-conf-test] ]
  10435. 1939.97 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10436. 1939.97 s [opt-env-conf-test] [ [ functionChunk "option",
  10437. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10438. 1939.97 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10439. 1939.97 s [opt-env-conf-test] ]
  10440. 1939.97 s [opt-env-conf-test] LintErrorDashInShort ->
  10441. 1939.97 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10442. 1939.97 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10443. 1939.97 s [opt-env-conf-test] ]
  10444. 1939.97 s [opt-env-conf-test] LintErrorDashInLong s ->
  10445. 1939.97 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10446. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10447. 1939.97 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10448. 1939.97 s [opt-env-conf-test] LintErrorDashInLong s ->
  10449. 1939.97 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10450. 1939.97 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10451. 1939.97 s [opt-env-conf-test] - [ "Try ",
  10452. 1939.97 s [opt-env-conf-test] functionChunk "long",
  10453. 1939.97 s [opt-env-conf-test] " ",
  10454. 1939.97 s [opt-env-conf-test] chunk $
  10455. 1939.97 s [opt-env-conf-test] T.pack $
  10456. 1939.97 s [opt-env-conf-test] show $
  10457. 1939.97 s [opt-env-conf-test] let go = \case
  10458. 1939.97 s [opt-env-conf-test] [] -> []
  10459. 1939.97 s [opt-env-conf-test] '-' : cs -> go cs
  10460. 1939.97 s [opt-env-conf-test] c : cs -> c : cs
  10461. 1939.97 s [opt-env-conf-test] in go $ NE.toList s,
  10462. 1939.97 s [opt-env-conf-test] " instead."
  10463. 1939.97 s [opt-env-conf-test] ]
  10464. 1939.97 s [opt-env-conf-test] ]
  10465. 1939.97 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10466. 1939.97 s [opt-env-conf-test] [ [ functionChunk "argument",
  10467. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10468. 1939.97 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10469. 1939.97 s [opt-env-conf-test] ]
  10470. 1939.97 s [opt-env-conf-test] LintErrorDashInShort ->
  10471. 1939.97 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10472. 1939.97 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10473. 1939.97 s [opt-env-conf-test] ]
  10474. 1939.97 s [opt-env-conf-test] LintErrorDashInLong s ->
  10475. 1939.97 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10476. 1939.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  10477. 1939.97 s [opt-env-conf-test] @@ -93,9 +93,7 @@
  10478. 1939.97 s [opt-env-conf-test] ]
  10479. 1939.97 s [opt-env-conf-test] ]
  10480. 1939.97 s [opt-env-conf-test] LintErrorDashInShort ->
  10481. 1939.97 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10482. 1939.97 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10483. 1939.97 s [opt-env-conf-test] ]
  10484. 1939.97 s [opt-env-conf-test] LintErrorDashInLong s ->
  10485. 1939.97 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10486. 1944.93 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10487. 1944.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  10488. 1944.97 s [opt-env-conf-test] @@ -71,27 +71,22 @@
  10489. 1944.97 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10490. 1944.97 s [opt-env-conf-test] LintErrorEmptySetting ->
  10491. 1944.97 s [opt-env-conf-test] concat
  10492. 1944.97 s [opt-env-conf-test] - [ [ [ "This ",
  10493. 1944.97 s [opt-env-conf-test] - functionChunk "setting",
  10494. 1944.98 s [opt-env-conf-test] - " parses nothing."
  10495. 1944.98 s [opt-env-conf-test] - ]
  10496. 1944.98 s [opt-env-conf-test] - ],
  10497. 1944.98 s [opt-env-conf-test] [ [ "Add an ",
  10498. 1944.98 s [opt-env-conf-test] functionChunk "argument",
  10499. 1944.98 s [opt-env-conf-test] ", ",
  10500. 1944.98 s [opt-env-conf-test] functionChunk "switch",
  10501. 1944.98 s [opt-env-conf-test] ", ",
  10502. 1944.98 s [opt-env-conf-test] functionChunk "option",
  10503. 1944.98 s [opt-env-conf-test] ", ",
  10504. 1944.98 s [opt-env-conf-test] functionChunk "env",
  10505. 1944.98 s [opt-env-conf-test] ", ",
  10506. 1944.98 s [opt-env-conf-test] functionChunk "conf",
  10507. 1944.98 s [opt-env-conf-test] ", or ",
  10508. 1944.98 s [opt-env-conf-test] functionChunk "value",
  10509. 1944.98 s [opt-env-conf-test] "."
  10510. 1944.98 s [opt-env-conf-test] ]
  10511. 1944.98 s [opt-env-conf-test] ]
  10512. 1944.98 s [opt-env-conf-test] ]
  10513. 1944.98 s [opt-env-conf-test] LintErrorDashInShort ->
  10514. 1944.98 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10515. 1944.98 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10516. 1944.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  10517. 1944.98 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  10518. 1944.98 s [opt-env-conf-test] ]
  10519. 1944.98 s [opt-env-conf-test] ]
  10520. 1944.98 s [opt-env-conf-test] LintErrorDashInShort ->
  10521. 1944.98 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10522. 1944.98 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10523. 1944.98 s [opt-env-conf-test] ]
  10524. 1944.98 s [opt-env-conf-test] LintErrorDashInLong s ->
  10525. 1944.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  10526. 1944.98 s [opt-env-conf-test] @@ -71,27 +71,7 @@
  10527. 1944.98 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  10528. 1944.98 s [opt-env-conf-test] LintErrorEmptySetting ->
  10529. 1944.98 s [opt-env-conf-test] concat
  10530. 1944.98 s [opt-env-conf-test] - [ [ [ "This ",
  10531. 1944.98 s [opt-env-conf-test] - functionChunk "setting",
  10532. 1944.98 s [opt-env-conf-test] - " parses nothing."
  10533. 1944.98 s [opt-env-conf-test] - ]
  10534. 1944.98 s [opt-env-conf-test] - ],
  10535. 1944.98 s [opt-env-conf-test] - [ [ "Add an ",
  10536. 1944.98 s [opt-env-conf-test] - functionChunk "argument",
  10537. 1944.98 s [opt-env-conf-test] - ", ",
  10538. 1944.98 s [opt-env-conf-test] - functionChunk "switch",
  10539. 1944.98 s [opt-env-conf-test] - ", ",
  10540. 1944.98 s [opt-env-conf-test] - functionChunk "option",
  10541. 1944.98 s [opt-env-conf-test] - ", ",
  10542. 1944.98 s [opt-env-conf-test] - functionChunk "env",
  10543. 1944.98 s [opt-env-conf-test] - ", ",
  10544. 1944.98 s [opt-env-conf-test] - functionChunk "conf",
  10545. 1944.98 s [opt-env-conf-test] - ", or ",
  10546. 1944.99 s [opt-env-conf-test] - functionChunk "value",
  10547. 1944.99 s [opt-env-conf-test] - "."
  10548. 1944.99 s [opt-env-conf-test] - ]
  10549. 1944.99 s [opt-env-conf-test] - ]
  10550. 1944.99 s [opt-env-conf-test] ]
  10551. 1944.99 s [opt-env-conf-test] LintErrorDashInShort ->
  10552. 1944.99 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10553. 1944.99 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10554. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10555. 1944.99 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  10556. 1944.99 s [opt-env-conf-test] ]
  10557. 1944.99 s [opt-env-conf-test] ]
  10558. 1944.99 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10559. 1944.99 s [opt-env-conf-test] [ [ functionChunk "option",
  10560. 1944.99 s [opt-env-conf-test] " has no ",
  10561. 1944.99 s [opt-env-conf-test] functionChunk "long",
  10562. 1944.99 s [opt-env-conf-test] " or ",
  10563. 1944.99 s [opt-env-conf-test] functionChunk "short",
  10564. 1944.99 s [opt-env-conf-test] - "."
  10565. 1944.99 s [opt-env-conf-test] ]
  10566. 1944.99 s [opt-env-conf-test] ]
  10567. 1944.99 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10568. 1944.99 s [opt-env-conf-test] [ [ functionChunk "option",
  10569. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10570. 1944.99 s [opt-env-conf-test] @@ -137,13 +137,7 @@
  10571. 1944.99 s [opt-env-conf-test] ]
  10572. 1944.99 s [opt-env-conf-test] ]
  10573. 1944.99 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10574. 1944.99 s [opt-env-conf-test] - [ [ functionChunk "option",
  10575. 1944.99 s [opt-env-conf-test] - " has no ",
  10576. 1944.99 s [opt-env-conf-test] - functionChunk "long",
  10577. 1944.99 s [opt-env-conf-test] - " or ",
  10578. 1944.99 s [opt-env-conf-test] - functionChunk "short",
  10579. 1944.99 s [opt-env-conf-test] - "."
  10580. 1944.99 s [opt-env-conf-test] ]
  10581. 1944.99 s [opt-env-conf-test] ]
  10582. 1944.99 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10583. 1944.99 s [opt-env-conf-test] [ [ functionChunk "option",
  10584. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  10585. 1944.99 s [opt-env-conf-test] @@ -155,13 +155,7 @@
  10586. 1944.99 s [opt-env-conf-test] ]
  10587. 1944.99 s [opt-env-conf-test] ]
  10588. 1944.99 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10589. 1944.99 s [opt-env-conf-test] - [ [ functionChunk "switch",
  10590. 1944.99 s [opt-env-conf-test] - " has no ",
  10591. 1944.99 s [opt-env-conf-test] - functionChunk "long",
  10592. 1944.99 s [opt-env-conf-test] - " or ",
  10593. 1944.99 s [opt-env-conf-test] - functionChunk "short",
  10594. 1944.99 s [opt-env-conf-test] - "."
  10595. 1944.99 s [opt-env-conf-test] ]
  10596. 1944.99 s [opt-env-conf-test] ]
  10597. 1944.99 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10598. 1944.99 s [opt-env-conf-test] [ [ functionChunk "long",
  10599. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  10600. 1944.99 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  10601. 1944.99 s [opt-env-conf-test] ]
  10602. 1944.99 s [opt-env-conf-test] ]
  10603. 1944.99 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10604. 1944.99 s [opt-env-conf-test] [ [ functionChunk "switch",
  10605. 1944.99 s [opt-env-conf-test] " has no ",
  10606. 1944.99 s [opt-env-conf-test] functionChunk "long",
  10607. 1944.99 s [opt-env-conf-test] " or ",
  10608. 1944.99 s [opt-env-conf-test] functionChunk "short",
  10609. 1944.99 s [opt-env-conf-test] - "."
  10610. 1944.99 s [opt-env-conf-test] ]
  10611. 1944.99 s [opt-env-conf-test] ]
  10612. 1944.99 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10613. 1944.99 s [opt-env-conf-test] [ [ functionChunk "long",
  10614. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  10615. 1944.99 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  10616. 1944.99 s [opt-env-conf-test] ]
  10617. 1944.99 s [opt-env-conf-test] ]
  10618. 1944.99 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10619. 1944.99 s [opt-env-conf-test] [ [ functionChunk "option",
  10620. 1944.99 s [opt-env-conf-test] " or ",
  10621. 1944.99 s [opt-env-conf-test] functionChunk "name",
  10622. 1944.99 s [opt-env-conf-test] " has no ",
  10623. 1944.99 s [opt-env-conf-test] functionChunk "metavar",
  10624. 1944.99 s [opt-env-conf-test] - "."
  10625. 1944.99 s [opt-env-conf-test] ]
  10626. 1944.99 s [opt-env-conf-test] ]
  10627. 1944.99 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10628. 1944.99 s [opt-env-conf-test] [ [ functionChunk "switch",
  10629. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  10630. 1944.99 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  10631. 1944.99 s [opt-env-conf-test] ]
  10632. 1944.99 s [opt-env-conf-test] ]
  10633. 1944.99 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10634. 1944.99 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  10635. 1944.99 s [opt-env-conf-test] " was called with an unknown command: ",
  10636. 1944.99 s [opt-env-conf-test] - commandChunk c
  10637. 1944.99 s [opt-env-conf-test] ]
  10638. 1944.99 s [opt-env-conf-test] ]
  10639. 1944.99 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10640. 1944.99 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10641. 1944.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10642. 1944.99 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10643. 1944.99 s [opt-env-conf-test] ]
  10644. 1944.99 s [opt-env-conf-test] ]
  10645. 1944.99 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10646. 1944.99 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10647. 1944.99 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10648. 1944.99 s [opt-env-conf-test] ]
  10649. 1944.99 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10650. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10651. 1945.00 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10652. 1945.00 s [opt-env-conf-test] ]
  10653. 1945.00 s [opt-env-conf-test] ]
  10654. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10655. 1945.00 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10656. 1945.00 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10657. 1945.00 s [opt-env-conf-test] ]
  10658. 1945.00 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10659. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10660. 1945.00 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10661. 1945.00 s [opt-env-conf-test] ]
  10662. 1945.00 s [opt-env-conf-test] ]
  10663. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10664. 1945.00 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10665. 1945.00 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10666. 1945.00 s [opt-env-conf-test] ]
  10667. 1945.00 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10668. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  10669. 1945.00 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  10670. 1945.00 s [opt-env-conf-test] ]
  10671. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10672. 1945.00 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10673. 1945.00 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10674. 1945.00 s [opt-env-conf-test] ]
  10675. 1945.00 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10676. 1945.00 s [opt-env-conf-test] [ [ functionChunk "conf",
  10677. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  10678. 1945.00 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  10679. 1945.00 s [opt-env-conf-test] ]
  10680. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10681. 1945.00 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10682. 1945.00 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10683. 1945.00 s [opt-env-conf-test] ]
  10684. 1945.00 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10685. 1945.00 s [opt-env-conf-test] [ [ functionChunk "conf",
  10686. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  10687. 1945.00 s [opt-env-conf-test] @@ -204,9 +204,7 @@
  10688. 1945.00 s [opt-env-conf-test] ]
  10689. 1945.00 s [opt-env-conf-test] ]
  10690. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10691. 1945.00 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10692. 1945.00 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10693. 1945.00 s [opt-env-conf-test] ]
  10694. 1945.00 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10695. 1945.00 s [opt-env-conf-test] [ [ functionChunk "conf",
  10696. 1945.00 s [opt-env-conf-test] " or ",
  10697. 1945.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  10698. 1945.00 s [opt-env-conf-test] @@ -204,9 +204,8 @@
  10699. 1945.00 s [opt-env-conf-test] ]
  10700. 1945.00 s [opt-env-conf-test] ]
  10701. 1945.00 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10702. 1955.93 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10703. 1955.96 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10704. 1955.96 s [opt-env-conf-test] ]
  10705. 1955.96 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10706. 1955.96 s [opt-env-conf-test] [ [ functionChunk "conf",
  10707. 1955.96 s [opt-env-conf-test] " or ",
  10708. 1955.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10709. 1955.96 s [opt-env-conf-test] @@ -208,11 +208,7 @@
  10710. 1955.96 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10711. 1955.96 s [opt-env-conf-test] ]
  10712. 1955.96 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10713. 1955.96 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10714. 1955.96 s [opt-env-conf-test] - " or ",
  10715. 1955.96 s [opt-env-conf-test] - functionChunk "name",
  10716. 1955.96 s [opt-env-conf-test] - " was called with no way to load configuration."
  10717. 1955.96 s [opt-env-conf-test] ],
  10718. 1955.96 s [opt-env-conf-test] [ "You can load configuration with ",
  10719. 1955.96 s [opt-env-conf-test] functionChunk "withConfig",
  10720. 1955.96 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10721. 1955.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10722. 1955.96 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  10723. 1955.96 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10724. 1955.96 s [opt-env-conf-test] ]
  10725. 1955.96 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10726. 1955.96 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10727. 1955.96 s [opt-env-conf-test] " or ",
  10728. 1955.96 s [opt-env-conf-test] functionChunk "name",
  10729. 1955.96 s [opt-env-conf-test] " was called with no way to load configuration."
  10730. 1955.96 s [opt-env-conf-test] ],
  10731. 1955.96 s [opt-env-conf-test] [ "You can load configuration with ",
  10732. 1955.96 s [opt-env-conf-test] functionChunk "withConfig",
  10733. 1955.96 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10734. 1955.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10735. 1955.97 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  10736. 1955.97 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10737. 1955.97 s [opt-env-conf-test] ]
  10738. 1955.97 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10739. 1955.97 s [opt-env-conf-test] [ [ functionChunk "conf",
  10740. 1955.97 s [opt-env-conf-test] " or ",
  10741. 1955.97 s [opt-env-conf-test] functionChunk "name",
  10742. 1955.97 s [opt-env-conf-test] - " was called with no way to load configuration."
  10743. 1955.97 s [opt-env-conf-test] ],
  10744. 1955.97 s [opt-env-conf-test] [ "You can load configuration with ",
  10745. 1955.97 s [opt-env-conf-test] functionChunk "withConfig",
  10746. 1955.97 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10747. 1955.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10748. 1955.97 s [opt-env-conf-test] @@ -213,12 +213,7 @@
  10749. 1955.97 s [opt-env-conf-test] functionChunk "name",
  10750. 1955.97 s [opt-env-conf-test] " was called with no way to load configuration."
  10751. 1955.97 s [opt-env-conf-test] ],
  10752. 1955.97 s [opt-env-conf-test] - [ "You can load configuration with ",
  10753. 1955.97 s [opt-env-conf-test] - functionChunk "withConfig",
  10754. 1955.97 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  10755. 1955.97 s [opt-env-conf-test] - functionChunk "withoutConfig",
  10756. 1955.97 s [opt-env-conf-test] - "."
  10757. 1955.97 s [opt-env-conf-test] ]
  10758. 1955.97 s [opt-env-conf-test] ]
  10759. 1955.97 s [opt-env-conf-test] LintErrorManyInfinite ->
  10760. 1955.97 s [opt-env-conf-test] [ [ functionChunk "many",
  10761. 1955.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10762. 1955.97 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  10763. 1955.97 s [opt-env-conf-test] functionChunk "name",
  10764. 1955.97 s [opt-env-conf-test] " was called with no way to load configuration."
  10765. 1955.97 s [opt-env-conf-test] ],
  10766. 1955.97 s [opt-env-conf-test] - [ "You can load configuration with ",
  10767. 1955.97 s [opt-env-conf-test] functionChunk "withConfig",
  10768. 1955.97 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10769. 1955.97 s [opt-env-conf-test] functionChunk "withoutConfig",
  10770. 1955.98 s [opt-env-conf-test] "."
  10771. 1955.98 s [opt-env-conf-test] ]
  10772. 1955.98 s [opt-env-conf-test] ]
  10773. 1955.98 s [opt-env-conf-test] LintErrorManyInfinite ->
  10774. 1955.98 s [opt-env-conf-test] [ [ functionChunk "many",
  10775. 1955.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10776. 1955.98 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  10777. 1955.98 s [opt-env-conf-test] functionChunk "name",
  10778. 1955.98 s [opt-env-conf-test] " was called with no way to load configuration."
  10779. 1955.98 s [opt-env-conf-test] ],
  10780. 1955.98 s [opt-env-conf-test] [ "You can load configuration with ",
  10781. 1955.98 s [opt-env-conf-test] functionChunk "withConfig",
  10782. 1955.98 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10783. 1955.98 s [opt-env-conf-test] functionChunk "withoutConfig",
  10784. 1955.98 s [opt-env-conf-test] - "."
  10785. 1955.98 s [opt-env-conf-test] ]
  10786. 1955.98 s [opt-env-conf-test] ]
  10787. 1955.98 s [opt-env-conf-test] LintErrorManyInfinite ->
  10788. 1955.98 s [opt-env-conf-test] [ [ functionChunk "many",
  10789. 1955.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  10790. 1955.98 s [opt-env-conf-test] @@ -208,18 +208,7 @@
  10791. 1955.98 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10792. 1955.98 s [opt-env-conf-test] ]
  10793. 1955.98 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10794. 1955.98 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10795. 1955.98 s [opt-env-conf-test] - " or ",
  10796. 1955.98 s [opt-env-conf-test] - functionChunk "name",
  10797. 1955.98 s [opt-env-conf-test] - " was called with no way to load configuration."
  10798. 1955.98 s [opt-env-conf-test] - ],
  10799. 1955.98 s [opt-env-conf-test] - [ "You can load configuration with ",
  10800. 1955.98 s [opt-env-conf-test] - functionChunk "withConfig",
  10801. 1955.98 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  10802. 1955.98 s [opt-env-conf-test] - functionChunk "withoutConfig",
  10803. 1955.98 s [opt-env-conf-test] - "."
  10804. 1955.98 s [opt-env-conf-test] - ]
  10805. 1955.98 s [opt-env-conf-test] ]
  10806. 1955.98 s [opt-env-conf-test] LintErrorManyInfinite ->
  10807. 1955.98 s [opt-env-conf-test] [ [ functionChunk "many",
  10808. 1955.98 s [opt-env-conf-test] " or ",
  10809. 1955.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  10810. 1955.98 s [opt-env-conf-test] @@ -208,18 +208,13 @@
  10811. 1955.98 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10812. 1955.98 s [opt-env-conf-test] ]
  10813. 1955.98 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10814. 1955.99 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10815. 1955.99 s [opt-env-conf-test] - " or ",
  10816. 1955.99 s [opt-env-conf-test] - functionChunk "name",
  10817. 1955.99 s [opt-env-conf-test] - " was called with no way to load configuration."
  10818. 1955.99 s [opt-env-conf-test] - ],
  10819. 1955.99 s [opt-env-conf-test] [ "You can load configuration with ",
  10820. 1955.99 s [opt-env-conf-test] functionChunk "withConfig",
  10821. 1955.99 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10822. 1955.99 s [opt-env-conf-test] functionChunk "withoutConfig",
  10823. 1955.99 s [opt-env-conf-test] "."
  10824. 1955.99 s [opt-env-conf-test] ]
  10825. 1955.99 s [opt-env-conf-test] ]
  10826. 1955.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  10827. 1955.99 s [opt-env-conf-test] [ [ functionChunk "many",
  10828. 1955.99 s [opt-env-conf-test] " or ",
  10829. 1955.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  10830. 1955.99 s [opt-env-conf-test] @@ -221,11 +221,7 @@
  10831. 1955.99 s [opt-env-conf-test] ]
  10832. 1955.99 s [opt-env-conf-test] ]
  10833. 1955.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  10834. 1955.99 s [opt-env-conf-test] - [ [ functionChunk "many",
  10835. 1955.99 s [opt-env-conf-test] - " or ",
  10836. 1955.99 s [opt-env-conf-test] - functionChunk "some",
  10837. 1955.99 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  10838. 1955.99 s [opt-env-conf-test] ],
  10839. 1955.99 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10840. 1955.99 s [opt-env-conf-test] ],
  10841. 1955.99 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10842. 1955.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  10843. 1955.99 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  10844. 1955.99 s [opt-env-conf-test] ]
  10845. 1955.99 s [opt-env-conf-test] ]
  10846. 1955.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  10847. 1955.99 s [opt-env-conf-test] - [ [ functionChunk "many",
  10848. 1955.99 s [opt-env-conf-test] " or ",
  10849. 1955.99 s [opt-env-conf-test] functionChunk "some",
  10850. 1955.99 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  10851. 1955.99 s [opt-env-conf-test] ],
  10852. 1955.99 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10853. 1955.99 s [opt-env-conf-test] ],
  10854. 1955.99 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10855. 1955.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  10856. 1955.99 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  10857. 1955.99 s [opt-env-conf-test] ]
  10858. 1955.99 s [opt-env-conf-test] ]
  10859. 1955.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  10860. 1955.99 s [opt-env-conf-test] [ [ functionChunk "many",
  10861. 1955.99 s [opt-env-conf-test] " or ",
  10862. 1955.99 s [opt-env-conf-test] functionChunk "some",
  10863. 1955.99 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  10864. 1955.99 s [opt-env-conf-test] ],
  10865. 1955.99 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10866. 1955.99 s [opt-env-conf-test] ],
  10867. 1955.99 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10868. 1955.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  10869. 1955.99 s [opt-env-conf-test] @@ -221,13 +221,7 @@
  10870. 1955.99 s [opt-env-conf-test] ]
  10871. 1955.99 s [opt-env-conf-test] ]
  10872. 1955.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  10873. 1955.99 s [opt-env-conf-test] - [ [ functionChunk "many",
  10874. 1955.99 s [opt-env-conf-test] - " or ",
  10875. 1955.99 s [opt-env-conf-test] - functionChunk "some",
  10876. 1956.00 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  10877. 1956.00 s [opt-env-conf-test] - ],
  10878. 1956.00 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  10879. 1956.00 s [opt-env-conf-test] ],
  10880. 1956.00 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10881. 1956.00 s [opt-env-conf-test] ]
  10882. 1956.00 s [opt-env-conf-test]
  10883. 1956.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  10884. 1956.00 s [opt-env-conf-test] @@ -221,13 +221,8 @@
  10885. 1956.00 s [opt-env-conf-test] ]
  10886. 1956.00 s [opt-env-conf-test] ]
  10887. 1956.00 s [opt-env-conf-test] LintErrorManyInfinite ->
  10888. 1956.00 s [opt-env-conf-test] - [ [ functionChunk "many",
  10889. 1956.00 s [opt-env-conf-test] - " or ",
  10890. 1956.00 s [opt-env-conf-test] - functionChunk "some",
  10891. 1956.00 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  10892. 1956.00 s [opt-env-conf-test] - ],
  10893. 1956.00 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10894. 1956.00 s [opt-env-conf-test] ],
  10895. 1956.00 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10896. 1956.00 s [opt-env-conf-test] ]
  10897. 1956.00 s [opt-env-conf-test]
  10898. 1956.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  10899. 1956.00 s [opt-env-conf-test] @@ -66,168 +66,166 @@
  10900. 1956.00 s [opt-env-conf-test] renderLintError LintError {..} =
  10901. 1956.00 s [opt-env-conf-test] concat
  10902. 1956.00 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  10903. 1956.00 s [opt-env-conf-test] case lintErrorMessage of
  10904. 1956.00 s [opt-env-conf-test] - LintErrorUndocumented ->
  10905. 1956.00 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  10906. 1956.00 s [opt-env-conf-test] LintErrorEmptySetting ->
  10907. 1956.00 s [opt-env-conf-test] concat
  10908. 1956.00 s [opt-env-conf-test] [ [ [ "This ",
  10909. 1956.00 s [opt-env-conf-test] functionChunk "setting",
  10910. 1956.00 s [opt-env-conf-test] " parses nothing."
  10911. 1956.00 s [opt-env-conf-test] ]
  10912. 1956.00 s [opt-env-conf-test] ],
  10913. 1956.00 s [opt-env-conf-test] [ [ "Add an ",
  10914. 1956.00 s [opt-env-conf-test] functionChunk "argument",
  10915. 1956.00 s [opt-env-conf-test] ", ",
  10916. 1956.00 s [opt-env-conf-test] functionChunk "switch",
  10917. 1956.00 s [opt-env-conf-test] ", ",
  10918. 1956.00 s [opt-env-conf-test] functionChunk "option",
  10919. 1956.00 s [opt-env-conf-test] ", ",
  10920. 1956.00 s [opt-env-conf-test] functionChunk "env",
  10921. 1956.00 s [opt-env-conf-test] ", ",
  10922. 1956.00 s [opt-env-conf-test] functionChunk "conf",
  10923. 1956.00 s [opt-env-conf-test] ", or ",
  10924. 1956.00 s [opt-env-conf-test] functionChunk "value",
  10925. 1956.00 s [opt-env-conf-test] "."
  10926. 1956.00 s [opt-env-conf-test] ]
  10927. 1956.00 s [opt-env-conf-test] ]
  10928. 1956.00 s [opt-env-conf-test] ]
  10929. 1956.00 s [opt-env-conf-test] LintErrorDashInShort ->
  10930. 1956.01 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10931. 1956.01 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10932. 1956.01 s [opt-env-conf-test] ]
  10933. 1956.01 s [opt-env-conf-test] LintErrorDashInLong s ->
  10934. 1956.01 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10935. 1956.01 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10936. 1956.01 s [opt-env-conf-test] [ "Try ",
  10937. 1956.01 s [opt-env-conf-test] functionChunk "long",
  10938. 1956.01 s [opt-env-conf-test] " ",
  10939. 1956.01 s [opt-env-conf-test] chunk $
  10940. 1956.01 s [opt-env-conf-test] T.pack $
  10941. 1956.01 s [opt-env-conf-test] show $
  10942. 1956.01 s [opt-env-conf-test] let go = \case
  10943. 1956.01 s [opt-env-conf-test] [] -> []
  10944. 1956.01 s [opt-env-conf-test] '-' : cs -> go cs
  10945. 1956.01 s [opt-env-conf-test] c : cs -> c : cs
  10946. 1956.01 s [opt-env-conf-test] in go $ NE.toList s,
  10947. 1956.01 s [opt-env-conf-test] " instead."
  10948. 1956.01 s [opt-env-conf-test] ]
  10949. 1956.01 s [opt-env-conf-test] ]
  10950. 1956.01 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10951. 1956.01 s [opt-env-conf-test] [ [ functionChunk "argument",
  10952. 1956.01 s [opt-env-conf-test] " has no ",
  10953. 1956.01 s [opt-env-conf-test] functionChunk "reader",
  10954. 1956.01 s [opt-env-conf-test] "."
  10955. 1956.01 s [opt-env-conf-test] ]
  10956. 1956.01 s [opt-env-conf-test] ]
  10957. 1956.01 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10958. 1956.01 s [opt-env-conf-test] [ [ functionChunk "argument",
  10959. 1956.01 s [opt-env-conf-test] " has no ",
  10960. 1956.01 s [opt-env-conf-test] functionChunk "metavar",
  10961. 1956.01 s [opt-env-conf-test] "."
  10962. 1956.01 s [opt-env-conf-test] ]
  10963. 1956.01 s [opt-env-conf-test] ]
  10964. 1956.01 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10965. 1956.01 s [opt-env-conf-test] [ [ functionChunk "option",
  10966. 1956.01 s [opt-env-conf-test] " or ",
  10967. 1956.01 s [opt-env-conf-test] functionChunk "name",
  10968. 1956.01 s [opt-env-conf-test] " has no ",
  10969. 1956.01 s [opt-env-conf-test] functionChunk "reader",
  10970. 1956.01 s [opt-env-conf-test] "."
  10971. 1956.01 s [opt-env-conf-test] ]
  10972. 1956.01 s [opt-env-conf-test] ]
  10973. 1956.01 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10974. 1956.01 s [opt-env-conf-test] [ [ functionChunk "option",
  10975. 1956.01 s [opt-env-conf-test] " has no ",
  10976. 1956.01 s [opt-env-conf-test] functionChunk "long",
  10977. 1956.01 s [opt-env-conf-test] " or ",
  10978. 1956.01 s [opt-env-conf-test] functionChunk "short",
  10979. 1956.01 s [opt-env-conf-test] "."
  10980. 1956.01 s [opt-env-conf-test] ]
  10981. 1956.01 s [opt-env-conf-test] ]
  10982. 1956.01 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10983. 1956.01 s [opt-env-conf-test] [ [ functionChunk "option",
  10984. 1956.01 s [opt-env-conf-test] " or ",
  10985. 1956.01 s [opt-env-conf-test] functionChunk "name",
  10986. 1956.01 s [opt-env-conf-test] " has no ",
  10987. 1956.01 s [opt-env-conf-test] functionChunk "metavar",
  10988. 1956.01 s [opt-env-conf-test] "."
  10989. 1956.01 s [opt-env-conf-test] ]
  10990. 1956.01 s [opt-env-conf-test] ]
  10991. 1956.01 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10992. 1956.01 s [opt-env-conf-test] [ [ functionChunk "switch",
  10993. 1956.01 s [opt-env-conf-test] " has no ",
  10994. 1956.01 s [opt-env-conf-test] functionChunk "long",
  10995. 1956.01 s [opt-env-conf-test] " or ",
  10996. 1956.01 s [opt-env-conf-test] functionChunk "short",
  10997. 1956.01 s [opt-env-conf-test] "."
  10998. 1956.01 s [opt-env-conf-test] ]
  10999. 1956.01 s [opt-env-conf-test] ]
  11000. 1956.01 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11001. 1956.01 s [opt-env-conf-test] [ [ functionChunk "long",
  11002. 1956.01 s [opt-env-conf-test] " or ",
  11003. 1956.01 s [opt-env-conf-test] functionChunk "short",
  11004. 1956.01 s [opt-env-conf-test] " has no ",
  11005. 1956.01 s [opt-env-conf-test] functionChunk "option",
  11006. 1956.01 s [opt-env-conf-test] " or ",
  11007. 1956.02 s [opt-env-conf-test] functionChunk "switch",
  11008. 1956.02 s [opt-env-conf-test] "."
  11009. 1956.02 s [opt-env-conf-test] ]
  11010. 1956.02 s [opt-env-conf-test] ]
  11011. 1956.02 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11012. 1956.02 s [opt-env-conf-test] [ [ functionChunk "env",
  11013. 1956.02 s [opt-env-conf-test] " or ",
  11014. 1956.02 s [opt-env-conf-test] functionChunk "name",
  11015. 1956.02 s [opt-env-conf-test] " has no ",
  11016. 1956.02 s [opt-env-conf-test] functionChunk "reader",
  11017. 1956.02 s [opt-env-conf-test] "."
  11018. 1956.02 s [opt-env-conf-test] ]
  11019. 1956.02 s [opt-env-conf-test] ]
  11020. 1956.02 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11021. 1956.02 s [opt-env-conf-test] [ [ functionChunk "env",
  11022. 1956.02 s [opt-env-conf-test] " or ",
  11023. 1956.02 s [opt-env-conf-test] functionChunk "name",
  11024. 1956.02 s [opt-env-conf-test] " has no ",
  11025. 1956.02 s [opt-env-conf-test] functionChunk "metavar",
  11026. 1956.02 s [opt-env-conf-test] "."
  11027. 1956.02 s [opt-env-conf-test] ]
  11028. 1956.02 s [opt-env-conf-test] ]
  11029. 1956.02 s [opt-env-conf-test] LintErrorNoCommands ->
  11030. 1956.02 s [opt-env-conf-test] [ [ functionChunk "commands",
  11031. 1956.10 s [opt-env-conf-test] " was called with an empty list."
  11032. 1956.10 s [opt-env-conf-test] ]
  11033. 1956.10 s [opt-env-conf-test] ]
  11034. 1956.11 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11035. 1956.11 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11036. 1956.11 s [opt-env-conf-test] " was called with an unknown command: ",
  11037. 1956.11 s [opt-env-conf-test] commandChunk c
  11038. 1956.11 s [opt-env-conf-test] ]
  11039. 1956.11 s [opt-env-conf-test] ]
  11040. 1956.11 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11041. 1956.11 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11042. 1956.11 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11043. 1956.11 s [opt-env-conf-test] ]
  11044. 1956.11 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11045. 1956.11 s [opt-env-conf-test] [ [ functionChunk "conf",
  11046. 1956.11 s [opt-env-conf-test] " or ",
  11047. 1956.11 s [opt-env-conf-test] functionChunk "name",
  11048. 1956.11 s [opt-env-conf-test] " was called with no way to load configuration."
  11049. 1956.11 s [opt-env-conf-test] ],
  11050. 1956.11 s [opt-env-conf-test] [ "You can load configuration with ",
  11051. 1956.11 s [opt-env-conf-test] functionChunk "withConfig",
  11052. 1956.11 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11053. 1956.11 s [opt-env-conf-test] functionChunk "withoutConfig",
  11054. 1956.11 s [opt-env-conf-test] "."
  11055. 1956.11 s [opt-env-conf-test] ]
  11056. 1956.11 s [opt-env-conf-test] ]
  11057. 1956.11 s [opt-env-conf-test] LintErrorManyInfinite ->
  11058. 1956.11 s [opt-env-conf-test] [ [ functionChunk "many",
  11059. 1956.11 s [opt-env-conf-test] " or ",
  11060. 1956.11 s [opt-env-conf-test] functionChunk "some",
  11061. 1956.11 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11062. 1956.11 s [opt-env-conf-test] ],
  11063. 1956.11 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11064. 1956.11 s [opt-env-conf-test] ],
  11065. 1956.11 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11066. 1956.11 s [opt-env-conf-test] ]
  11067. 1956.11 s [opt-env-conf-test]
  11068. 1956.11 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11069. 1956.11 s [opt-env-conf-test] @@ -66,168 +66,145 @@
  11070. 1956.11 s [opt-env-conf-test] renderLintError LintError {..} =
  11071. 1956.11 s [opt-env-conf-test] concat
  11072. 1956.11 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11073. 1956.12 s [opt-env-conf-test] case lintErrorMessage of
  11074. 1956.12 s [opt-env-conf-test] LintErrorUndocumented ->
  11075. 1956.12 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11076. 1956.12 s [opt-env-conf-test] - LintErrorEmptySetting ->
  11077. 1956.12 s [opt-env-conf-test] - concat
  11078. 1956.12 s [opt-env-conf-test] - [ [ [ "This ",
  11079. 1956.12 s [opt-env-conf-test] - functionChunk "setting",
  11080. 1956.12 s [opt-env-conf-test] - " parses nothing."
  11081. 1956.12 s [opt-env-conf-test] - ]
  11082. 1956.12 s [opt-env-conf-test] - ],
  11083. 1956.12 s [opt-env-conf-test] - [ [ "Add an ",
  11084. 1956.12 s [opt-env-conf-test] - functionChunk "argument",
  11085. 1956.12 s [opt-env-conf-test] - ", ",
  11086. 1956.12 s [opt-env-conf-test] - functionChunk "switch",
  11087. 1956.12 s [opt-env-conf-test] - ", ",
  11088. 1956.12 s [opt-env-conf-test] - functionChunk "option",
  11089. 1956.12 s [opt-env-conf-test] - ", ",
  11090. 1956.12 s [opt-env-conf-test] - functionChunk "env",
  11091. 1956.12 s [opt-env-conf-test] - ", ",
  11092. 1956.12 s [opt-env-conf-test] - functionChunk "conf",
  11093. 1956.12 s [opt-env-conf-test] - ", or ",
  11094. 1956.12 s [opt-env-conf-test] - functionChunk "value",
  11095. 1956.12 s [opt-env-conf-test] - "."
  11096. 1956.12 s [opt-env-conf-test] - ]
  11097. 1956.12 s [opt-env-conf-test] - ]
  11098. 1956.12 s [opt-env-conf-test] - ]
  11099. 1956.12 s [opt-env-conf-test] LintErrorDashInShort ->
  11100. 1956.12 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11101. 1956.12 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11102. 1956.12 s [opt-env-conf-test] ]
  11103. 1956.12 s [opt-env-conf-test] LintErrorDashInLong s ->
  11104. 1956.12 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11105. 1956.12 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11106. 1956.12 s [opt-env-conf-test] [ "Try ",
  11107. 1956.12 s [opt-env-conf-test] functionChunk "long",
  11108. 1956.12 s [opt-env-conf-test] " ",
  11109. 1956.12 s [opt-env-conf-test] chunk $
  11110. 1956.12 s [opt-env-conf-test] T.pack $
  11111. 1956.12 s [opt-env-conf-test] show $
  11112. 1956.12 s [opt-env-conf-test] let go = \case
  11113. 1956.12 s [opt-env-conf-test] [] -> []
  11114. 1956.12 s [opt-env-conf-test] '-' : cs -> go cs
  11115. 1956.12 s [opt-env-conf-test] c : cs -> c : cs
  11116. 1956.12 s [opt-env-conf-test] in go $ NE.toList s,
  11117. 1956.12 s [opt-env-conf-test] " instead."
  11118. 1956.12 s [opt-env-conf-test] ]
  11119. 1956.12 s [opt-env-conf-test] ]
  11120. 1956.12 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11121. 1956.13 s [opt-env-conf-test] [ [ functionChunk "argument",
  11122. 1956.13 s [opt-env-conf-test] " has no ",
  11123. 1956.13 s [opt-env-conf-test] functionChunk "reader",
  11124. 1956.13 s [opt-env-conf-test] "."
  11125. 1956.13 s [opt-env-conf-test] ]
  11126. 1956.13 s [opt-env-conf-test] ]
  11127. 1956.13 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11128. 1956.13 s [opt-env-conf-test] [ [ functionChunk "argument",
  11129. 1956.13 s [opt-env-conf-test] " has no ",
  11130. 1956.13 s [opt-env-conf-test] functionChunk "metavar",
  11131. 1956.13 s [opt-env-conf-test] "."
  11132. 1956.13 s [opt-env-conf-test] ]
  11133. 1956.13 s [opt-env-conf-test] ]
  11134. 1956.13 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11135. 1956.13 s [opt-env-conf-test] [ [ functionChunk "option",
  11136. 1956.13 s [opt-env-conf-test] " or ",
  11137. 1956.13 s [opt-env-conf-test] functionChunk "name",
  11138. 1956.13 s [opt-env-conf-test] " has no ",
  11139. 1956.13 s [opt-env-conf-test] functionChunk "reader",
  11140. 1956.13 s [opt-env-conf-test] "."
  11141. 1956.13 s [opt-env-conf-test] ]
  11142. 1956.13 s [opt-env-conf-test] ]
  11143. 1956.13 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11144. 1956.13 s [opt-env-conf-test] [ [ functionChunk "option",
  11145. 1956.13 s [opt-env-conf-test] " has no ",
  11146. 1956.13 s [opt-env-conf-test] functionChunk "long",
  11147. 1956.13 s [opt-env-conf-test] " or ",
  11148. 1956.13 s [opt-env-conf-test] functionChunk "short",
  11149. 1956.13 s [opt-env-conf-test] "."
  11150. 1956.13 s [opt-env-conf-test] ]
  11151. 1956.13 s [opt-env-conf-test] ]
  11152. 1956.13 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11153. 1956.13 s [opt-env-conf-test] [ [ functionChunk "option",
  11154. 1956.13 s [opt-env-conf-test] " or ",
  11155. 1956.13 s [opt-env-conf-test] functionChunk "name",
  11156. 1956.13 s [opt-env-conf-test] " has no ",
  11157. 1956.13 s [opt-env-conf-test] functionChunk "metavar",
  11158. 1956.13 s [opt-env-conf-test] "."
  11159. 1956.13 s [opt-env-conf-test] ]
  11160. 1956.13 s [opt-env-conf-test] ]
  11161. 1956.13 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11162. 1956.13 s [opt-env-conf-test] [ [ functionChunk "switch",
  11163. 1956.13 s [opt-env-conf-test] " has no ",
  11164. 1956.13 s [opt-env-conf-test] functionChunk "long",
  11165. 1956.13 s [opt-env-conf-test] " or ",
  11166. 1956.13 s [opt-env-conf-test] functionChunk "short",
  11167. 1956.13 s [opt-env-conf-test] "."
  11168. 1956.13 s [opt-env-conf-test] ]
  11169. 1956.13 s [opt-env-conf-test] ]
  11170. 1956.13 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11171. 1956.13 s [opt-env-conf-test] [ [ functionChunk "long",
  11172. 1956.13 s [opt-env-conf-test] " or ",
  11173. 1956.13 s [opt-env-conf-test] functionChunk "short",
  11174. 1956.13 s [opt-env-conf-test] " has no ",
  11175. 1956.13 s [opt-env-conf-test] functionChunk "option",
  11176. 1956.13 s [opt-env-conf-test] " or ",
  11177. 1956.13 s [opt-env-conf-test] functionChunk "switch",
  11178. 1956.13 s [opt-env-conf-test] "."
  11179. 1956.13 s [opt-env-conf-test] ]
  11180. 1956.14 s [opt-env-conf-test] ]
  11181. 1956.14 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11182. 1956.14 s [opt-env-conf-test] [ [ functionChunk "env",
  11183. 1956.14 s [opt-env-conf-test] " or ",
  11184. 1956.14 s [opt-env-conf-test] functionChunk "name",
  11185. 1956.14 s [opt-env-conf-test] " has no ",
  11186. 1956.14 s [opt-env-conf-test] functionChunk "reader",
  11187. 1956.14 s [opt-env-conf-test] "."
  11188. 1956.14 s [opt-env-conf-test] ]
  11189. 1956.14 s [opt-env-conf-test] ]
  11190. 1956.14 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11191. 1956.14 s [opt-env-conf-test] [ [ functionChunk "env",
  11192. 1956.14 s [opt-env-conf-test] " or ",
  11193. 1956.14 s [opt-env-conf-test] functionChunk "name",
  11194. 1956.14 s [opt-env-conf-test] " has no ",
  11195. 1956.65 s [opt-env-conf-test] functionChunk "metavar",
  11196. 1956.65 s [opt-env-conf-test] "."
  11197. 1956.65 s [opt-env-conf-test] ]
  11198. 1956.65 s [opt-env-conf-test] ]
  11199. 1956.65 s [opt-env-conf-test] LintErrorNoCommands ->
  11200. 1956.65 s [opt-env-conf-test] [ [ functionChunk "commands",
  11201. 1956.65 s [opt-env-conf-test] " was called with an empty list."
  11202. 1956.65 s [opt-env-conf-test] ]
  11203. 1956.65 s [opt-env-conf-test] ]
  11204. 1956.65 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11205. 1956.65 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11206. 1956.65 s [opt-env-conf-test] " was called with an unknown command: ",
  11207. 1956.65 s [opt-env-conf-test] commandChunk c
  11208. 1956.65 s [opt-env-conf-test] ]
  11209. 1956.65 s [opt-env-conf-test] ]
  11210. 1956.65 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11211. 1956.65 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11212. 1956.65 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11213. 1956.65 s [opt-env-conf-test] ]
  11214. 1956.65 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11215. 1956.66 s [opt-env-conf-test] [ [ functionChunk "conf",
  11216. 1956.66 s [opt-env-conf-test] " or ",
  11217. 1956.66 s [opt-env-conf-test] functionChunk "name",
  11218. 1956.66 s [opt-env-conf-test] " was called with no way to load configuration."
  11219. 1956.66 s [opt-env-conf-test] ],
  11220. 1956.66 s [opt-env-conf-test] [ "You can load configuration with ",
  11221. 1956.66 s [opt-env-conf-test] functionChunk "withConfig",
  11222. 1956.66 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11223. 1956.66 s [opt-env-conf-test] functionChunk "withoutConfig",
  11224. 1956.66 s [opt-env-conf-test] "."
  11225. 1956.66 s [opt-env-conf-test] ]
  11226. 1956.66 s [opt-env-conf-test] ]
  11227. 1956.66 s [opt-env-conf-test] LintErrorManyInfinite ->
  11228. 1956.66 s [opt-env-conf-test] [ [ functionChunk "many",
  11229. 1956.66 s [opt-env-conf-test] " or ",
  11230. 1956.66 s [opt-env-conf-test] functionChunk "some",
  11231. 1956.66 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11232. 1956.66 s [opt-env-conf-test] ],
  11233. 1956.66 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11234. 1956.66 s [opt-env-conf-test] ],
  11235. 1956.66 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11236. 1956.66 s [opt-env-conf-test] ]
  11237. 1956.66 s [opt-env-conf-test]
  11238. 1956.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11239. 1956.66 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  11240. 1956.66 s [opt-env-conf-test] renderLintError LintError {..} =
  11241. 1956.66 s [opt-env-conf-test] concat
  11242. 1956.66 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11243. 1956.66 s [opt-env-conf-test] case lintErrorMessage of
  11244. 1956.66 s [opt-env-conf-test] LintErrorUndocumented ->
  11245. 1956.66 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11246. 1956.66 s [opt-env-conf-test] LintErrorEmptySetting ->
  11247. 1956.66 s [opt-env-conf-test] concat
  11248. 1956.67 s [opt-env-conf-test] [ [ [ "This ",
  11249. 1956.67 s [opt-env-conf-test] functionChunk "setting",
  11250. 1956.67 s [opt-env-conf-test] " parses nothing."
  11251. 1956.67 s [opt-env-conf-test] ]
  11252. 1956.67 s [opt-env-conf-test] ],
  11253. 1956.67 s [opt-env-conf-test] [ [ "Add an ",
  11254. 1956.67 s [opt-env-conf-test] functionChunk "argument",
  11255. 1956.67 s [opt-env-conf-test] ", ",
  11256. 1956.67 s [opt-env-conf-test] functionChunk "switch",
  11257. 1956.67 s [opt-env-conf-test] ", ",
  11258. 1956.67 s [opt-env-conf-test] functionChunk "option",
  11259. 1956.67 s [opt-env-conf-test] ", ",
  11260. 1956.67 s [opt-env-conf-test] functionChunk "env",
  11261. 1956.67 s [opt-env-conf-test] ", ",
  11262. 1956.67 s [opt-env-conf-test] functionChunk "conf",
  11263. 1956.67 s [opt-env-conf-test] ", or ",
  11264. 1956.67 s [opt-env-conf-test] functionChunk "value",
  11265. 1956.67 s [opt-env-conf-test] "."
  11266. 1956.67 s [opt-env-conf-test] ]
  11267. 1956.67 s [opt-env-conf-test] ]
  11268. 1956.67 s [opt-env-conf-test] ]
  11269. 1956.67 s [opt-env-conf-test] - LintErrorDashInShort ->
  11270. 1956.67 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  11271. 1956.67 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  11272. 1956.67 s [opt-env-conf-test] - ]
  11273. 1956.67 s [opt-env-conf-test] LintErrorDashInLong s ->
  11274. 1956.67 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11275. 1956.67 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11276. 1956.67 s [opt-env-conf-test] [ "Try ",
  11277. 1956.67 s [opt-env-conf-test] functionChunk "long",
  11278. 1956.67 s [opt-env-conf-test] " ",
  11279. 1956.67 s [opt-env-conf-test] chunk $
  11280. 1956.67 s [opt-env-conf-test] T.pack $
  11281. 1956.67 s [opt-env-conf-test] show $
  11282. 1956.67 s [opt-env-conf-test] let go = \case
  11283. 1956.67 s [opt-env-conf-test] [] -> []
  11284. 1956.67 s [opt-env-conf-test] '-' : cs -> go cs
  11285. 1956.67 s [opt-env-conf-test] c : cs -> c : cs
  11286. 1956.67 s [opt-env-conf-test] in go $ NE.toList s,
  11287. 1956.67 s [opt-env-conf-test] " instead."
  11288. 1956.67 s [opt-env-conf-test] ]
  11289. 1956.68 s [opt-env-conf-test] ]
  11290. 1956.68 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11291. 1956.68 s [opt-env-conf-test] [ [ functionChunk "argument",
  11292. 1956.68 s [opt-env-conf-test] " has no ",
  11293. 1956.68 s [opt-env-conf-test] functionChunk "reader",
  11294. 1956.68 s [opt-env-conf-test] "."
  11295. 1956.68 s [opt-env-conf-test] ]
  11296. 1956.68 s [opt-env-conf-test] ]
  11297. 1956.68 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11298. 1956.68 s [opt-env-conf-test] [ [ functionChunk "argument",
  11299. 1956.68 s [opt-env-conf-test] " has no ",
  11300. 1956.68 s [opt-env-conf-test] functionChunk "metavar",
  11301. 1956.68 s [opt-env-conf-test] "."
  11302. 1956.68 s [opt-env-conf-test] ]
  11303. 1956.68 s [opt-env-conf-test] ]
  11304. 1956.68 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11305. 1956.68 s [opt-env-conf-test] [ [ functionChunk "option",
  11306. 1956.68 s [opt-env-conf-test] " or ",
  11307. 1956.68 s [opt-env-conf-test] functionChunk "name",
  11308. 1956.68 s [opt-env-conf-test] " has no ",
  11309. 1956.68 s [opt-env-conf-test] functionChunk "reader",
  11310. 1956.68 s [opt-env-conf-test] "."
  11311. 1956.68 s [opt-env-conf-test] ]
  11312. 1956.68 s [opt-env-conf-test] ]
  11313. 1956.68 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11314. 1956.68 s [opt-env-conf-test] [ [ functionChunk "option",
  11315. 1956.68 s [opt-env-conf-test] " has no ",
  11316. 1956.68 s [opt-env-conf-test] functionChunk "long",
  11317. 1956.68 s [opt-env-conf-test] " or ",
  11318. 1956.68 s [opt-env-conf-test] functionChunk "short",
  11319. 1956.68 s [opt-env-conf-test] "."
  11320. 1956.68 s [opt-env-conf-test] ]
  11321. 1956.68 s [opt-env-conf-test] ]
  11322. 1956.68 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11323. 1956.68 s [opt-env-conf-test] [ [ functionChunk "option",
  11324. 1956.68 s [opt-env-conf-test] " or ",
  11325. 1956.68 s [opt-env-conf-test] functionChunk "name",
  11326. 1956.68 s [opt-env-conf-test] " has no ",
  11327. 1956.68 s [opt-env-conf-test] functionChunk "metavar",
  11328. 1956.68 s [opt-env-conf-test] "."
  11329. 1956.68 s [opt-env-conf-test] ]
  11330. 1956.68 s [opt-env-conf-test] ]
  11331. 1956.68 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11332. 1956.68 s [opt-env-conf-test] [ [ functionChunk "switch",
  11333. 1956.68 s [opt-env-conf-test] " has no ",
  11334. 1956.68 s [opt-env-conf-test] functionChunk "long",
  11335. 1956.68 s [opt-env-conf-test] " or ",
  11336. 1956.68 s [opt-env-conf-test] functionChunk "short",
  11337. 1956.68 s [opt-env-conf-test] "."
  11338. 1956.69 s [opt-env-conf-test] ]
  11339. 1956.69 s [opt-env-conf-test] ]
  11340. 1956.69 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11341. 1956.69 s [opt-env-conf-test] [ [ functionChunk "long",
  11342. 1956.69 s [opt-env-conf-test] " or ",
  11343. 1956.69 s [opt-env-conf-test] functionChunk "short",
  11344. 1956.69 s [opt-env-conf-test] " has no ",
  11345. 1956.69 s [opt-env-conf-test] functionChunk "option",
  11346. 1956.69 s [opt-env-conf-test] " or ",
  11347. 1956.69 s [opt-env-conf-test] functionChunk "switch",
  11348. 1956.69 s [opt-env-conf-test] "."
  11349. 1956.69 s [opt-env-conf-test] ]
  11350. 1956.69 s [opt-env-conf-test] ]
  11351. 1956.69 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11352. 1956.69 s [opt-env-conf-test] [ [ functionChunk "env",
  11353. 1956.69 s [opt-env-conf-test] " or ",
  11354. 1956.69 s [opt-env-conf-test] functionChunk "name",
  11355. 1956.69 s [opt-env-conf-test] " has no ",
  11356. 1956.69 s [opt-env-conf-test] functionChunk "reader",
  11357. 1956.69 s [opt-env-conf-test] "."
  11358. 1956.69 s [opt-env-conf-test] ]
  11359. 1956.69 s [opt-env-conf-test] ]
  11360. 1956.69 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11361. 1956.69 s [opt-env-conf-test] [ [ functionChunk "env",
  11362. 1956.69 s [opt-env-conf-test] " or ",
  11363. 1956.69 s [opt-env-conf-test] functionChunk "name",
  11364. 1956.69 s [opt-env-conf-test] " has no ",
  11365. 1956.69 s [opt-env-conf-test] functionChunk "metavar",
  11366. 1956.69 s [opt-env-conf-test] "."
  11367. 1956.69 s [opt-env-conf-test] ]
  11368. 1956.69 s [opt-env-conf-test] ]
  11369. 1956.69 s [opt-env-conf-test] LintErrorNoCommands ->
  11370. 1956.69 s [opt-env-conf-test] [ [ functionChunk "commands",
  11371. 1956.69 s [opt-env-conf-test] " was called with an empty list."
  11372. 1956.69 s [opt-env-conf-test] ]
  11373. 1956.69 s [opt-env-conf-test] ]
  11374. 1956.69 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11375. 1956.69 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11376. 1956.69 s [opt-env-conf-test] " was called with an unknown command: ",
  11377. 1956.69 s [opt-env-conf-test] commandChunk c
  11378. 1956.69 s [opt-env-conf-test] ]
  11379. 1956.69 s [opt-env-conf-test] ]
  11380. 1956.69 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11381. 1956.69 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11382. 1956.69 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11383. 1956.69 s [opt-env-conf-test] ]
  11384. 1956.69 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11385. 1956.69 s [opt-env-conf-test] [ [ functionChunk "conf",
  11386. 1956.69 s [opt-env-conf-test] " or ",
  11387. 1956.69 s [opt-env-conf-test] functionChunk "name",
  11388. 1956.69 s [opt-env-conf-test] " was called with no way to load configuration."
  11389. 1956.69 s [opt-env-conf-test] ],
  11390. 1956.69 s [opt-env-conf-test] [ "You can load configuration with ",
  11391. 1956.70 s [opt-env-conf-test] functionChunk "withConfig",
  11392. 1956.70 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11393. 1956.70 s [opt-env-conf-test] functionChunk "withoutConfig",
  11394. 1956.70 s [opt-env-conf-test] "."
  11395. 1956.70 s [opt-env-conf-test] ]
  11396. 1956.70 s [opt-env-conf-test] ]
  11397. 1956.70 s [opt-env-conf-test] LintErrorManyInfinite ->
  11398. 1956.70 s [opt-env-conf-test] [ [ functionChunk "many",
  11399. 1956.70 s [opt-env-conf-test] " or ",
  11400. 1956.70 s [opt-env-conf-test] functionChunk "some",
  11401. 1956.70 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11402. 1956.70 s [opt-env-conf-test] ],
  11403. 1956.70 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11404. 1956.70 s [opt-env-conf-test] ],
  11405. 1956.70 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11406. 1956.70 s [opt-env-conf-test] ]
  11407. 1956.70 s [opt-env-conf-test]
  11408. 1956.70 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11409. 1956.70 s [opt-env-conf-test] @@ -66,168 +66,151 @@
  11410. 1956.70 s [opt-env-conf-test] renderLintError LintError {..} =
  11411. 1956.70 s [opt-env-conf-test] concat
  11412. 1956.70 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11413. 1956.70 s [opt-env-conf-test] case lintErrorMessage of
  11414. 1956.70 s [opt-env-conf-test] LintErrorUndocumented ->
  11415. 1956.70 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11416. 1956.70 s [opt-env-conf-test] LintErrorEmptySetting ->
  11417. 1956.70 s [opt-env-conf-test] concat
  11418. 1956.70 s [opt-env-conf-test] [ [ [ "This ",
  11419. 1956.70 s [opt-env-conf-test] functionChunk "setting",
  11420. 1956.70 s [opt-env-conf-test] " parses nothing."
  11421. 1956.70 s [opt-env-conf-test] ]
  11422. 1956.70 s [opt-env-conf-test] ],
  11423. 1956.70 s [opt-env-conf-test] [ [ "Add an ",
  11424. 1956.70 s [opt-env-conf-test] functionChunk "argument",
  11425. 1956.70 s [opt-env-conf-test] ", ",
  11426. 1956.70 s [opt-env-conf-test] functionChunk "switch",
  11427. 1956.70 s [opt-env-conf-test] ", ",
  11428. 1956.70 s [opt-env-conf-test] functionChunk "option",
  11429. 1956.70 s [opt-env-conf-test] ", ",
  11430. 1956.70 s [opt-env-conf-test] functionChunk "env",
  11431. 1956.70 s [opt-env-conf-test] ", ",
  11432. 1956.70 s [opt-env-conf-test] functionChunk "conf",
  11433. 1956.70 s [opt-env-conf-test] ", or ",
  11434. 1956.70 s [opt-env-conf-test] functionChunk "value",
  11435. 1956.70 s [opt-env-conf-test] "."
  11436. 1956.70 s [opt-env-conf-test] ]
  11437. 1956.70 s [opt-env-conf-test] ]
  11438. 1956.70 s [opt-env-conf-test] ]
  11439. 1956.70 s [opt-env-conf-test] LintErrorDashInShort ->
  11440. 1956.70 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11441. 1956.70 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11442. 1956.70 s [opt-env-conf-test] ]
  11443. 1956.70 s [opt-env-conf-test] - LintErrorDashInLong s ->
  11444. 1956.70 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  11445. 1956.70 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11446. 1956.70 s [opt-env-conf-test] - [ "Try ",
  11447. 1956.70 s [opt-env-conf-test] - functionChunk "long",
  11448. 1956.70 s [opt-env-conf-test] - " ",
  11449. 1956.71 s [opt-env-conf-test] - chunk $
  11450. 1956.71 s [opt-env-conf-test] - T.pack $
  11451. 1956.71 s [opt-env-conf-test] - show $
  11452. 1956.71 s [opt-env-conf-test] - let go = \case
  11453. 1956.71 s [opt-env-conf-test] - [] -> []
  11454. 1956.71 s [opt-env-conf-test] - '-' : cs -> go cs
  11455. 1956.71 s [opt-env-conf-test] - c : cs -> c : cs
  11456. 1956.71 s [opt-env-conf-test] - in go $ NE.toList s,
  11457. 1956.71 s [opt-env-conf-test] - " instead."
  11458. 1956.71 s [opt-env-conf-test] - ]
  11459. 1956.71 s [opt-env-conf-test] - ]
  11460. 1956.71 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11461. 1956.71 s [opt-env-conf-test] [ [ functionChunk "argument",
  11462. 1956.71 s [opt-env-conf-test] " has no ",
  11463. 1956.71 s [opt-env-conf-test] functionChunk "reader",
  11464. 1956.71 s [opt-env-conf-test] "."
  11465. 1956.71 s [opt-env-conf-test] ]
  11466. 1956.71 s [opt-env-conf-test] ]
  11467. 1956.71 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11468. 1956.71 s [opt-env-conf-test] [ [ functionChunk "argument",
  11469. 1956.71 s [opt-env-conf-test] " has no ",
  11470. 1956.71 s [opt-env-conf-test] functionChunk "metavar",
  11471. 1956.71 s [opt-env-conf-test] "."
  11472. 1956.71 s [opt-env-conf-test] ]
  11473. 1956.71 s [opt-env-conf-test] ]
  11474. 1956.71 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11475. 1956.71 s [opt-env-conf-test] [ [ functionChunk "option",
  11476. 1956.71 s [opt-env-conf-test] " or ",
  11477. 1956.71 s [opt-env-conf-test] functionChunk "name",
  11478. 1956.71 s [opt-env-conf-test] " has no ",
  11479. 1956.71 s [opt-env-conf-test] functionChunk "reader",
  11480. 1956.71 s [opt-env-conf-test] "."
  11481. 1956.71 s [opt-env-conf-test] ]
  11482. 1956.71 s [opt-env-conf-test] ]
  11483. 1956.71 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11484. 1956.71 s [opt-env-conf-test] [ [ functionChunk "option",
  11485. 1956.71 s [opt-env-conf-test] " has no ",
  11486. 1956.71 s [opt-env-conf-test] functionChunk "long",
  11487. 1956.71 s [opt-env-conf-test] " or ",
  11488. 1956.71 s [opt-env-conf-test] functionChunk "short",
  11489. 1956.71 s [opt-env-conf-test] "."
  11490. 1956.71 s [opt-env-conf-test] ]
  11491. 1956.71 s [opt-env-conf-test] ]
  11492. 1956.71 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11493. 1956.71 s [opt-env-conf-test] [ [ functionChunk "option",
  11494. 1956.71 s [opt-env-conf-test] " or ",
  11495. 1956.71 s [opt-env-conf-test] functionChunk "name",
  11496. 1956.71 s [opt-env-conf-test] " has no ",
  11497. 1956.71 s [opt-env-conf-test] functionChunk "metavar",
  11498. 1956.71 s [opt-env-conf-test] "."
  11499. 1956.71 s [opt-env-conf-test] ]
  11500. 1956.71 s [opt-env-conf-test] ]
  11501. 1956.71 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11502. 1956.71 s [opt-env-conf-test] [ [ functionChunk "switch",
  11503. 1956.71 s [opt-env-conf-test] " has no ",
  11504. 1956.71 s [opt-env-conf-test] functionChunk "long",
  11505. 1956.71 s [opt-env-conf-test] " or ",
  11506. 1956.71 s [opt-env-conf-test] functionChunk "short",
  11507. 1956.71 s [opt-env-conf-test] "."
  11508. 1956.71 s [opt-env-conf-test] ]
  11509. 1956.71 s [opt-env-conf-test] ]
  11510. 1956.71 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11511. 1956.71 s [opt-env-conf-test] [ [ functionChunk "long",
  11512. 1956.71 s [opt-env-conf-test] " or ",
  11513. 1956.71 s [opt-env-conf-test] functionChunk "short",
  11514. 1956.71 s [opt-env-conf-test] " has no ",
  11515. 1956.71 s [opt-env-conf-test] functionChunk "option",
  11516. 1956.71 s [opt-env-conf-test] " or ",
  11517. 1956.71 s [opt-env-conf-test] functionChunk "switch",
  11518. 1956.71 s [opt-env-conf-test] "."
  11519. 1956.71 s [opt-env-conf-test] ]
  11520. 1956.72 s [opt-env-conf-test] ]
  11521. 1956.72 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11522. 1956.72 s [opt-env-conf-test] [ [ functionChunk "env",
  11523. 1956.72 s [opt-env-conf-test] " or ",
  11524. 1956.72 s [opt-env-conf-test] functionChunk "name",
  11525. 1956.72 s [opt-env-conf-test] " has no ",
  11526. 1956.72 s [opt-env-conf-test] functionChunk "reader",
  11527. 1956.72 s [opt-env-conf-test] "."
  11528. 1956.72 s [opt-env-conf-test] ]
  11529. 1956.72 s [opt-env-conf-test] ]
  11530. 1956.72 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11531. 1956.72 s [opt-env-conf-test] [ [ functionChunk "env",
  11532. 1956.72 s [opt-env-conf-test] " or ",
  11533. 1956.72 s [opt-env-conf-test] functionChunk "name",
  11534. 1956.72 s [opt-env-conf-test] " has no ",
  11535. 1956.72 s [opt-env-conf-test] functionChunk "metavar",
  11536. 1956.72 s [opt-env-conf-test] "."
  11537. 1956.72 s [opt-env-conf-test] ]
  11538. 1956.72 s [opt-env-conf-test] ]
  11539. 1956.72 s [opt-env-conf-test] LintErrorNoCommands ->
  11540. 1956.72 s [opt-env-conf-test] [ [ functionChunk "commands",
  11541. 1956.72 s [opt-env-conf-test] " was called with an empty list."
  11542. 1956.72 s [opt-env-conf-test] ]
  11543. 1956.72 s [opt-env-conf-test] ]
  11544. 1956.72 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11545. 1956.72 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11546. 1956.72 s [opt-env-conf-test] " was called with an unknown command: ",
  11547. 1956.72 s [opt-env-conf-test] commandChunk c
  11548. 1956.72 s [opt-env-conf-test] ]
  11549. 1956.72 s [opt-env-conf-test] ]
  11550. 1956.72 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11551. 1956.72 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11552. 1956.72 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11553. 1956.72 s [opt-env-conf-test] ]
  11554. 1956.72 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11555. 1956.72 s [opt-env-conf-test] [ [ functionChunk "conf",
  11556. 1956.72 s [opt-env-conf-test] " or ",
  11557. 1956.72 s [opt-env-conf-test] functionChunk "name",
  11558. 1956.72 s [opt-env-conf-test] " was called with no way to load configuration."
  11559. 1956.72 s [opt-env-conf-test] ],
  11560. 1956.72 s [opt-env-conf-test] [ "You can load configuration with ",
  11561. 1956.72 s [opt-env-conf-test] functionChunk "withConfig",
  11562. 1956.72 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11563. 1956.72 s [opt-env-conf-test] functionChunk "withoutConfig",
  11564. 1956.72 s [opt-env-conf-test] "."
  11565. 1956.72 s [opt-env-conf-test] ]
  11566. 1956.72 s [opt-env-conf-test] ]
  11567. 1956.72 s [opt-env-conf-test] LintErrorManyInfinite ->
  11568. 1956.72 s [opt-env-conf-test] [ [ functionChunk "many",
  11569. 1956.72 s [opt-env-conf-test] " or ",
  11570. 1956.72 s [opt-env-conf-test] functionChunk "some",
  11571. 1956.72 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11572. 1956.72 s [opt-env-conf-test] ],
  11573. 1956.72 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11574. 1956.72 s [opt-env-conf-test] ],
  11575. 1956.72 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11576. 1956.72 s [opt-env-conf-test] ]
  11577. 1956.72 s [opt-env-conf-test]
  11578. 1956.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11579. 1956.72 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  11580. 1956.72 s [opt-env-conf-test] renderLintError LintError {..} =
  11581. 1956.72 s [opt-env-conf-test] concat
  11582. 1956.72 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11583. 1956.72 s [opt-env-conf-test] case lintErrorMessage of
  11584. 1956.73 s [opt-env-conf-test] LintErrorUndocumented ->
  11585. 1956.73 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11586. 1956.73 s [opt-env-conf-test] LintErrorEmptySetting ->
  11587. 1956.73 s [opt-env-conf-test] concat
  11588. 1956.73 s [opt-env-conf-test] [ [ [ "This ",
  11589. 1956.73 s [opt-env-conf-test] functionChunk "setting",
  11590. 1956.73 s [opt-env-conf-test] " parses nothing."
  11591. 1956.73 s [opt-env-conf-test] ]
  11592. 1956.73 s [opt-env-conf-test] ],
  11593. 1956.73 s [opt-env-conf-test] [ [ "Add an ",
  11594. 1956.73 s [opt-env-conf-test] functionChunk "argument",
  11595. 1956.73 s [opt-env-conf-test] ", ",
  11596. 1956.73 s [opt-env-conf-test] functionChunk "switch",
  11597. 1956.73 s [opt-env-conf-test] ", ",
  11598. 1956.73 s [opt-env-conf-test] functionChunk "option",
  11599. 1956.73 s [opt-env-conf-test] ", ",
  11600. 1956.73 s [opt-env-conf-test] functionChunk "env",
  11601. 1956.73 s [opt-env-conf-test] ", ",
  11602. 1956.73 s [opt-env-conf-test] functionChunk "conf",
  11603. 1956.73 s [opt-env-conf-test] ", or ",
  11604. 1956.73 s [opt-env-conf-test] functionChunk "value",
  11605. 1956.73 s [opt-env-conf-test] "."
  11606. 1956.73 s [opt-env-conf-test] ]
  11607. 1956.73 s [opt-env-conf-test] ]
  11608. 1956.73 s [opt-env-conf-test] ]
  11609. 1956.73 s [opt-env-conf-test] LintErrorDashInShort ->
  11610. 1956.73 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11611. 1956.73 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11612. 1956.73 s [opt-env-conf-test] ]
  11613. 1956.73 s [opt-env-conf-test] LintErrorDashInLong s ->
  11614. 1956.73 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11615. 1956.73 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11616. 1956.73 s [opt-env-conf-test] [ "Try ",
  11617. 1956.73 s [opt-env-conf-test] functionChunk "long",
  11618. 1956.73 s [opt-env-conf-test] " ",
  11619. 1956.73 s [opt-env-conf-test] chunk $
  11620. 1956.73 s [opt-env-conf-test] T.pack $
  11621. 1956.73 s [opt-env-conf-test] show $
  11622. 1956.73 s [opt-env-conf-test] let go = \case
  11623. 1956.73 s [opt-env-conf-test] [] -> []
  11624. 1956.73 s [opt-env-conf-test] '-' : cs -> go cs
  11625. 1956.73 s [opt-env-conf-test] c : cs -> c : cs
  11626. 1956.73 s [opt-env-conf-test] in go $ NE.toList s,
  11627. 1956.73 s [opt-env-conf-test] " instead."
  11628. 1956.73 s [opt-env-conf-test] ]
  11629. 1956.73 s [opt-env-conf-test] ]
  11630. 1956.73 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  11631. 1956.73 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11632. 1956.73 s [opt-env-conf-test] - " has no ",
  11633. 1956.73 s [opt-env-conf-test] - functionChunk "reader",
  11634. 1956.73 s [opt-env-conf-test] - "."
  11635. 1956.73 s [opt-env-conf-test] - ]
  11636. 1956.73 s [opt-env-conf-test] - ]
  11637. 1956.73 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11638. 1956.73 s [opt-env-conf-test] [ [ functionChunk "argument",
  11639. 1956.73 s [opt-env-conf-test] " has no ",
  11640. 1956.73 s [opt-env-conf-test] functionChunk "metavar",
  11641. 1956.73 s [opt-env-conf-test] "."
  11642. 1956.73 s [opt-env-conf-test] ]
  11643. 1956.73 s [opt-env-conf-test] ]
  11644. 1956.73 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11645. 1956.73 s [opt-env-conf-test] [ [ functionChunk "option",
  11646. 1956.73 s [opt-env-conf-test] " or ",
  11647. 1956.73 s [opt-env-conf-test] functionChunk "name",
  11648. 1956.73 s [opt-env-conf-test] " has no ",
  11649. 1956.73 s [opt-env-conf-test] functionChunk "reader",
  11650. 1956.73 s [opt-env-conf-test] "."
  11651. 1956.73 s [opt-env-conf-test] ]
  11652. 1956.73 s [opt-env-conf-test] ]
  11653. 1956.73 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11654. 1956.74 s [opt-env-conf-test] [ [ functionChunk "option",
  11655. 1956.74 s [opt-env-conf-test] " has no ",
  11656. 1956.74 s [opt-env-conf-test] functionChunk "long",
  11657. 1956.74 s [opt-env-conf-test] " or ",
  11658. 1956.74 s [opt-env-conf-test] functionChunk "short",
  11659. 1956.74 s [opt-env-conf-test] "."
  11660. 1956.74 s [opt-env-conf-test] ]
  11661. 1956.74 s [opt-env-conf-test] ]
  11662. 1956.74 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11663. 1956.74 s [opt-env-conf-test] [ [ functionChunk "option",
  11664. 1956.74 s [opt-env-conf-test] " or ",
  11665. 1956.74 s [opt-env-conf-test] functionChunk "name",
  11666. 1956.74 s [opt-env-conf-test] " has no ",
  11667. 1956.74 s [opt-env-conf-test] functionChunk "metavar",
  11668. 1956.74 s [opt-env-conf-test] "."
  11669. 1956.74 s [opt-env-conf-test] ]
  11670. 1956.74 s [opt-env-conf-test] ]
  11671. 1956.74 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11672. 1956.74 s [opt-env-conf-test] [ [ functionChunk "switch",
  11673. 1956.74 s [opt-env-conf-test] " has no ",
  11674. 1956.74 s [opt-env-conf-test] functionChunk "long",
  11675. 1956.74 s [opt-env-conf-test] " or ",
  11676. 1956.74 s [opt-env-conf-test] functionChunk "short",
  11677. 1956.74 s [opt-env-conf-test] "."
  11678. 1956.74 s [opt-env-conf-test] ]
  11679. 1956.74 s [opt-env-conf-test] ]
  11680. 1956.74 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11681. 1956.74 s [opt-env-conf-test] [ [ functionChunk "long",
  11682. 1956.74 s [opt-env-conf-test] " or ",
  11683. 1956.74 s [opt-env-conf-test] functionChunk "short",
  11684. 1956.74 s [opt-env-conf-test] " has no ",
  11685. 1956.74 s [opt-env-conf-test] functionChunk "option",
  11686. 1956.74 s [opt-env-conf-test] " or ",
  11687. 1956.74 s [opt-env-conf-test] functionChunk "switch",
  11688. 1956.74 s [opt-env-conf-test] "."
  11689. 1956.74 s [opt-env-conf-test] ]
  11690. 1956.74 s [opt-env-conf-test] ]
  11691. 1956.74 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11692. 1956.74 s [opt-env-conf-test] [ [ functionChunk "env",
  11693. 1956.74 s [opt-env-conf-test] " or ",
  11694. 1956.74 s [opt-env-conf-test] functionChunk "name",
  11695. 1956.74 s [opt-env-conf-test] " has no ",
  11696. 1956.74 s [opt-env-conf-test] functionChunk "reader",
  11697. 1956.74 s [opt-env-conf-test] "."
  11698. 1956.74 s [opt-env-conf-test] ]
  11699. 1956.74 s [opt-env-conf-test] ]
  11700. 1956.74 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11701. 1956.74 s [opt-env-conf-test] [ [ functionChunk "env",
  11702. 1956.74 s [opt-env-conf-test] " or ",
  11703. 1956.74 s [opt-env-conf-test] functionChunk "name",
  11704. 1956.74 s [opt-env-conf-test] " has no ",
  11705. 1956.74 s [opt-env-conf-test] functionChunk "metavar",
  11706. 1956.74 s [opt-env-conf-test] "."
  11707. 1956.74 s [opt-env-conf-test] ]
  11708. 1956.74 s [opt-env-conf-test] ]
  11709. 1956.74 s [opt-env-conf-test] LintErrorNoCommands ->
  11710. 1956.80 s [opt-env-conf-test] [ [ functionChunk "commands",
  11711. 1956.80 s [opt-env-conf-test] " was called with an empty list."
  11712. 1956.80 s [opt-env-conf-test] ]
  11713. 1956.80 s [opt-env-conf-test] ]
  11714. 1956.80 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11715. 1956.81 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11716. 1956.81 s [opt-env-conf-test] " was called with an unknown command: ",
  11717. 1956.81 s [opt-env-conf-test] commandChunk c
  11718. 1956.81 s [opt-env-conf-test] ]
  11719. 1956.81 s [opt-env-conf-test] ]
  11720. 1956.81 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11721. 1956.81 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11722. 1956.81 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11723. 1956.81 s [opt-env-conf-test] ]
  11724. 1956.81 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11725. 1956.81 s [opt-env-conf-test] [ [ functionChunk "conf",
  11726. 1956.81 s [opt-env-conf-test] " or ",
  11727. 1956.81 s [opt-env-conf-test] functionChunk "name",
  11728. 1956.81 s [opt-env-conf-test] " was called with no way to load configuration."
  11729. 1956.81 s [opt-env-conf-test] ],
  11730. 1956.81 s [opt-env-conf-test] [ "You can load configuration with ",
  11731. 1956.81 s [opt-env-conf-test] functionChunk "withConfig",
  11732. 1956.81 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11733. 1956.81 s [opt-env-conf-test] functionChunk "withoutConfig",
  11734. 1956.81 s [opt-env-conf-test] "."
  11735. 1956.81 s [opt-env-conf-test] ]
  11736. 1956.81 s [opt-env-conf-test] ]
  11737. 1956.81 s [opt-env-conf-test] LintErrorManyInfinite ->
  11738. 1956.81 s [opt-env-conf-test] [ [ functionChunk "many",
  11739. 1956.81 s [opt-env-conf-test] " or ",
  11740. 1956.81 s [opt-env-conf-test] functionChunk "some",
  11741. 1956.82 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11742. 1956.82 s [opt-env-conf-test] ],
  11743. 1956.82 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11744. 1956.82 s [opt-env-conf-test] ],
  11745. 1956.82 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11746. 1956.82 s [opt-env-conf-test] ]
  11747. 1956.82 s [opt-env-conf-test]
  11748. 1956.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11749. 1956.82 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  11750. 1956.82 s [opt-env-conf-test] renderLintError LintError {..} =
  11751. 1956.82 s [opt-env-conf-test] concat
  11752. 1956.82 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11753. 1956.82 s [opt-env-conf-test] case lintErrorMessage of
  11754. 1956.82 s [opt-env-conf-test] LintErrorUndocumented ->
  11755. 1956.82 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11756. 1956.82 s [opt-env-conf-test] LintErrorEmptySetting ->
  11757. 1956.82 s [opt-env-conf-test] concat
  11758. 1956.82 s [opt-env-conf-test] [ [ [ "This ",
  11759. 1956.82 s [opt-env-conf-test] functionChunk "setting",
  11760. 1956.82 s [opt-env-conf-test] " parses nothing."
  11761. 1956.82 s [opt-env-conf-test] ]
  11762. 1956.82 s [opt-env-conf-test] ],
  11763. 1956.82 s [opt-env-conf-test] [ [ "Add an ",
  11764. 1956.82 s [opt-env-conf-test] functionChunk "argument",
  11765. 1956.82 s [opt-env-conf-test] ", ",
  11766. 1956.82 s [opt-env-conf-test] functionChunk "switch",
  11767. 1956.82 s [opt-env-conf-test] ", ",
  11768. 1956.82 s [opt-env-conf-test] functionChunk "option",
  11769. 1956.82 s [opt-env-conf-test] ", ",
  11770. 1956.82 s [opt-env-conf-test] functionChunk "env",
  11771. 1956.82 s [opt-env-conf-test] ", ",
  11772. 1956.82 s [opt-env-conf-test] functionChunk "conf",
  11773. 1956.82 s [opt-env-conf-test] ", or ",
  11774. 1956.82 s [opt-env-conf-test] functionChunk "value",
  11775. 1956.82 s [opt-env-conf-test] "."
  11776. 1956.82 s [opt-env-conf-test] ]
  11777. 1956.82 s [opt-env-conf-test] ]
  11778. 1956.82 s [opt-env-conf-test] ]
  11779. 1956.83 s [opt-env-conf-test] LintErrorDashInShort ->
  11780. 1956.83 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11781. 1956.83 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11782. 1956.83 s [opt-env-conf-test] ]
  11783. 1956.83 s [opt-env-conf-test] LintErrorDashInLong s ->
  11784. 1956.83 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11785. 1956.83 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11786. 1956.83 s [opt-env-conf-test] [ "Try ",
  11787. 1956.83 s [opt-env-conf-test] functionChunk "long",
  11788. 1956.83 s [opt-env-conf-test] " ",
  11789. 1956.83 s [opt-env-conf-test] chunk $
  11790. 1956.83 s [opt-env-conf-test] T.pack $
  11791. 1956.83 s [opt-env-conf-test] show $
  11792. 1956.83 s [opt-env-conf-test] let go = \case
  11793. 1956.83 s [opt-env-conf-test] [] -> []
  11794. 1956.83 s [opt-env-conf-test] '-' : cs -> go cs
  11795. 1956.83 s [opt-env-conf-test] c : cs -> c : cs
  11796. 1956.83 s [opt-env-conf-test] in go $ NE.toList s,
  11797. 1956.83 s [opt-env-conf-test] " instead."
  11798. 1956.83 s [opt-env-conf-test] ]
  11799. 1956.83 s [opt-env-conf-test] ]
  11800. 1956.83 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11801. 1956.83 s [opt-env-conf-test] [ [ functionChunk "argument",
  11802. 1956.83 s [opt-env-conf-test] " has no ",
  11803. 1956.83 s [opt-env-conf-test] functionChunk "reader",
  11804. 1956.83 s [opt-env-conf-test] "."
  11805. 1956.83 s [opt-env-conf-test] ]
  11806. 1956.83 s [opt-env-conf-test] ]
  11807. 1956.83 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  11808. 1956.83 s [opt-env-conf-test] - [ [ functionChunk "argument",
  11809. 1956.83 s [opt-env-conf-test] - " has no ",
  11810. 1956.83 s [opt-env-conf-test] - functionChunk "metavar",
  11811. 1956.83 s [opt-env-conf-test] - "."
  11812. 1956.83 s [opt-env-conf-test] - ]
  11813. 1956.83 s [opt-env-conf-test] - ]
  11814. 1956.83 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11815. 1956.83 s [opt-env-conf-test] [ [ functionChunk "option",
  11816. 1956.83 s [opt-env-conf-test] " or ",
  11817. 1956.83 s [opt-env-conf-test] functionChunk "name",
  11818. 1956.83 s [opt-env-conf-test] " has no ",
  11819. 1956.83 s [opt-env-conf-test] functionChunk "reader",
  11820. 1956.83 s [opt-env-conf-test] "."
  11821. 1956.83 s [opt-env-conf-test] ]
  11822. 1956.83 s [opt-env-conf-test] ]
  11823. 1956.83 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11824. 1956.83 s [opt-env-conf-test] [ [ functionChunk "option",
  11825. 1956.83 s [opt-env-conf-test] " has no ",
  11826. 1956.83 s [opt-env-conf-test] functionChunk "long",
  11827. 1956.83 s [opt-env-conf-test] " or ",
  11828. 1956.83 s [opt-env-conf-test] functionChunk "short",
  11829. 1956.83 s [opt-env-conf-test] "."
  11830. 1956.83 s [opt-env-conf-test] ]
  11831. 1956.84 s [opt-env-conf-test] ]
  11832. 1956.84 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11833. 1956.84 s [opt-env-conf-test] [ [ functionChunk "option",
  11834. 1956.84 s [opt-env-conf-test] " or ",
  11835. 1956.84 s [opt-env-conf-test] functionChunk "name",
  11836. 1956.84 s [opt-env-conf-test] " has no ",
  11837. 1956.84 s [opt-env-conf-test] functionChunk "metavar",
  11838. 1956.84 s [opt-env-conf-test] "."
  11839. 1956.84 s [opt-env-conf-test] ]
  11840. 1956.84 s [opt-env-conf-test] ]
  11841. 1956.84 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11842. 1956.84 s [opt-env-conf-test] [ [ functionChunk "switch",
  11843. 1956.84 s [opt-env-conf-test] " has no ",
  11844. 1956.84 s [opt-env-conf-test] functionChunk "long",
  11845. 1956.84 s [opt-env-conf-test] " or ",
  11846. 1956.84 s [opt-env-conf-test] functionChunk "short",
  11847. 1956.84 s [opt-env-conf-test] "."
  11848. 1956.84 s [opt-env-conf-test] ]
  11849. 1956.84 s [opt-env-conf-test] ]
  11850. 1956.84 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11851. 1956.84 s [opt-env-conf-test] [ [ functionChunk "long",
  11852. 1956.84 s [opt-env-conf-test] " or ",
  11853. 1956.84 s [opt-env-conf-test] functionChunk "short",
  11854. 1956.84 s [opt-env-conf-test] " has no ",
  11855. 1956.84 s [opt-env-conf-test] functionChunk "option",
  11856. 1956.84 s [opt-env-conf-test] " or ",
  11857. 1956.84 s [opt-env-conf-test] functionChunk "switch",
  11858. 1956.84 s [opt-env-conf-test] "."
  11859. 1956.84 s [opt-env-conf-test] ]
  11860. 1956.84 s [opt-env-conf-test] ]
  11861. 1956.84 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11862. 1956.84 s [opt-env-conf-test] [ [ functionChunk "env",
  11863. 1956.84 s [opt-env-conf-test] " or ",
  11864. 1956.84 s [opt-env-conf-test] functionChunk "name",
  11865. 1956.84 s [opt-env-conf-test] " has no ",
  11866. 1956.84 s [opt-env-conf-test] functionChunk "reader",
  11867. 1956.84 s [opt-env-conf-test] "."
  11868. 1956.84 s [opt-env-conf-test] ]
  11869. 1956.84 s [opt-env-conf-test] ]
  11870. 1956.84 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11871. 1956.84 s [opt-env-conf-test] [ [ functionChunk "env",
  11872. 1956.84 s [opt-env-conf-test] " or ",
  11873. 1956.84 s [opt-env-conf-test] functionChunk "name",
  11874. 1956.84 s [opt-env-conf-test] " has no ",
  11875. 1956.84 s [opt-env-conf-test] functionChunk "metavar",
  11876. 1956.84 s [opt-env-conf-test] "."
  11877. 1956.84 s [opt-env-conf-test] ]
  11878. 1956.84 s [opt-env-conf-test] ]
  11879. 1956.84 s [opt-env-conf-test] LintErrorNoCommands ->
  11880. 1957.40 s [opt-env-conf-test] [ [ functionChunk "commands",
  11881. 1957.40 s [opt-env-conf-test] " was called with an empty list."
  11882. 1957.40 s [opt-env-conf-test] ]
  11883. 1957.40 s [opt-env-conf-test] ]
  11884. 1957.41 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11885. 1957.41 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11886. 1957.41 s [opt-env-conf-test] " was called with an unknown command: ",
  11887. 1957.41 s [opt-env-conf-test] commandChunk c
  11888. 1957.41 s [opt-env-conf-test] ]
  11889. 1957.41 s [opt-env-conf-test] ]
  11890. 1957.41 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11891. 1957.41 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11892. 1957.41 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11893. 1957.41 s [opt-env-conf-test] ]
  11894. 1957.41 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11895. 1957.41 s [opt-env-conf-test] [ [ functionChunk "conf",
  11896. 1957.41 s [opt-env-conf-test] " or ",
  11897. 1957.41 s [opt-env-conf-test] functionChunk "name",
  11898. 1957.41 s [opt-env-conf-test] " was called with no way to load configuration."
  11899. 1957.41 s [opt-env-conf-test] ],
  11900. 1957.41 s [opt-env-conf-test] [ "You can load configuration with ",
  11901. 1957.41 s [opt-env-conf-test] functionChunk "withConfig",
  11902. 1957.41 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11903. 1957.41 s [opt-env-conf-test] functionChunk "withoutConfig",
  11904. 1957.41 s [opt-env-conf-test] "."
  11905. 1957.41 s [opt-env-conf-test] ]
  11906. 1957.42 s [opt-env-conf-test] ]
  11907. 1957.42 s [opt-env-conf-test] LintErrorManyInfinite ->
  11908. 1957.42 s [opt-env-conf-test] [ [ functionChunk "many",
  11909. 1957.42 s [opt-env-conf-test] " or ",
  11910. 1957.42 s [opt-env-conf-test] functionChunk "some",
  11911. 1957.42 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11912. 1957.42 s [opt-env-conf-test] ],
  11913. 1957.42 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11914. 1957.42 s [opt-env-conf-test] ],
  11915. 1957.42 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11916. 1957.42 s [opt-env-conf-test] ]
  11917. 1957.42 s [opt-env-conf-test]
  11918. 1957.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11919. 1957.42 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  11920. 1957.42 s [opt-env-conf-test] renderLintError LintError {..} =
  11921. 1957.42 s [opt-env-conf-test] concat
  11922. 1957.42 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11923. 1957.42 s [opt-env-conf-test] case lintErrorMessage of
  11924. 1957.42 s [opt-env-conf-test] LintErrorUndocumented ->
  11925. 1957.42 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11926. 1957.42 s [opt-env-conf-test] LintErrorEmptySetting ->
  11927. 1957.42 s [opt-env-conf-test] concat
  11928. 1957.42 s [opt-env-conf-test] [ [ [ "This ",
  11929. 1957.42 s [opt-env-conf-test] functionChunk "setting",
  11930. 1957.42 s [opt-env-conf-test] " parses nothing."
  11931. 1957.42 s [opt-env-conf-test] ]
  11932. 1957.42 s [opt-env-conf-test] ],
  11933. 1957.42 s [opt-env-conf-test] [ [ "Add an ",
  11934. 1957.42 s [opt-env-conf-test] functionChunk "argument",
  11935. 1957.42 s [opt-env-conf-test] ", ",
  11936. 1957.42 s [opt-env-conf-test] functionChunk "switch",
  11937. 1957.42 s [opt-env-conf-test] ", ",
  11938. 1957.42 s [opt-env-conf-test] functionChunk "option",
  11939. 1957.42 s [opt-env-conf-test] ", ",
  11940. 1957.42 s [opt-env-conf-test] functionChunk "env",
  11941. 1957.42 s [opt-env-conf-test] ", ",
  11942. 1957.42 s [opt-env-conf-test] functionChunk "conf",
  11943. 1957.42 s [opt-env-conf-test] ", or ",
  11944. 1957.42 s [opt-env-conf-test] functionChunk "value",
  11945. 1957.42 s [opt-env-conf-test] "."
  11946. 1957.42 s [opt-env-conf-test] ]
  11947. 1957.42 s [opt-env-conf-test] ]
  11948. 1957.42 s [opt-env-conf-test] ]
  11949. 1957.42 s [opt-env-conf-test] LintErrorDashInShort ->
  11950. 1957.42 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11951. 1957.42 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11952. 1957.42 s [opt-env-conf-test] ]
  11953. 1957.42 s [opt-env-conf-test] LintErrorDashInLong s ->
  11954. 1957.42 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11955. 1957.42 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11956. 1957.42 s [opt-env-conf-test] [ "Try ",
  11957. 1957.42 s [opt-env-conf-test] functionChunk "long",
  11958. 1957.42 s [opt-env-conf-test] " ",
  11959. 1957.42 s [opt-env-conf-test] chunk $
  11960. 1957.42 s [opt-env-conf-test] T.pack $
  11961. 1957.42 s [opt-env-conf-test] show $
  11962. 1957.42 s [opt-env-conf-test] let go = \case
  11963. 1957.42 s [opt-env-conf-test] [] -> []
  11964. 1957.42 s [opt-env-conf-test] '-' : cs -> go cs
  11965. 1957.42 s [opt-env-conf-test] c : cs -> c : cs
  11966. 1957.42 s [opt-env-conf-test] in go $ NE.toList s,
  11967. 1957.42 s [opt-env-conf-test] " instead."
  11968. 1957.42 s [opt-env-conf-test] ]
  11969. 1957.43 s [opt-env-conf-test] ]
  11970. 1957.43 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11971. 1957.43 s [opt-env-conf-test] [ [ functionChunk "argument",
  11972. 1957.43 s [opt-env-conf-test] " has no ",
  11973. 1957.43 s [opt-env-conf-test] functionChunk "reader",
  11974. 1957.43 s [opt-env-conf-test] "."
  11975. 1957.43 s [opt-env-conf-test] ]
  11976. 1957.43 s [opt-env-conf-test] ]
  11977. 1957.43 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11978. 1957.43 s [opt-env-conf-test] [ [ functionChunk "argument",
  11979. 1957.43 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11980. 1957.43 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  11981. 1957.43 s [opt-env-conf-test] renderLintError LintError {..} =
  11982. 1957.43 s [opt-env-conf-test] concat
  11983. 1957.43 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11984. 1957.43 s [opt-env-conf-test] case lintErrorMessage of
  11985. 1957.43 s [opt-env-conf-test] LintErrorUndocumented ->
  11986. 1957.43 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11987. 1957.43 s [opt-env-conf-test] LintErrorEmptySetting ->
  11988. 1957.43 s [opt-env-conf-test] concat
  11989. 1957.43 s [opt-env-conf-test] [ [ [ "This ",
  11990. 1957.43 s [opt-env-conf-test] functionChunk "setting",
  11991. 1957.43 s [opt-env-conf-test] " parses nothing."
  11992. 1957.43 s [opt-env-conf-test] ]
  11993. 1957.43 s [opt-env-conf-test] ],
  11994. 1957.43 s [opt-env-conf-test] [ [ "Add an ",
  11995. 1957.43 s [opt-env-conf-test] functionChunk "argument",
  11996. 1957.43 s [opt-env-conf-test] ", ",
  11997. 1957.43 s [opt-env-conf-test] functionChunk "switch",
  11998. 1957.43 s [opt-env-conf-test] ", ",
  11999. 1957.43 s [opt-env-conf-test] functionChunk "option",
  12000. 1957.43 s [opt-env-conf-test] ", ",
  12001. 1957.43 s [opt-env-conf-test] functionChunk "env",
  12002. 1957.43 s [opt-env-conf-test] ", ",
  12003. 1957.43 s [opt-env-conf-test] functionChunk "conf",
  12004. 1957.43 s [opt-env-conf-test] ", or ",
  12005. 1957.43 s [opt-env-conf-test] functionChunk "value",
  12006. 1957.43 s [opt-env-conf-test] "."
  12007. 1957.43 s [opt-env-conf-test] ]
  12008. 1957.43 s [opt-env-conf-test] ]
  12009. 1957.43 s [opt-env-conf-test] ]
  12010. 1957.43 s [opt-env-conf-test] LintErrorDashInShort ->
  12011. 1957.43 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12012. 1957.43 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12013. 1957.43 s [opt-env-conf-test] ]
  12014. 1957.43 s [opt-env-conf-test] LintErrorDashInLong s ->
  12015. 1957.43 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12016. 1957.43 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12017. 1957.43 s [opt-env-conf-test] [ "Try ",
  12018. 1957.43 s [opt-env-conf-test] functionChunk "long",
  12019. 1957.43 s [opt-env-conf-test] " ",
  12020. 1957.43 s [opt-env-conf-test] chunk $
  12021. 1957.43 s [opt-env-conf-test] T.pack $
  12022. 1957.43 s [opt-env-conf-test] show $
  12023. 1957.43 s [opt-env-conf-test] let go = \case
  12024. 1957.43 s [opt-env-conf-test] [] -> []
  12025. 1957.43 s [opt-env-conf-test] '-' : cs -> go cs
  12026. 1957.43 s [opt-env-conf-test] c : cs -> c : cs
  12027. 1957.43 s [opt-env-conf-test] in go $ NE.toList s,
  12028. 1957.43 s [opt-env-conf-test] " instead."
  12029. 1957.43 s [opt-env-conf-test] ]
  12030. 1957.43 s [opt-env-conf-test] ]
  12031. 1957.43 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12032. 1957.43 s [opt-env-conf-test] [ [ functionChunk "argument",
  12033. 1957.43 s [opt-env-conf-test] " has no ",
  12034. 1957.43 s [opt-env-conf-test] functionChunk "reader",
  12035. 1957.43 s [opt-env-conf-test] "."
  12036. 1957.43 s [opt-env-conf-test] ]
  12037. 1957.43 s [opt-env-conf-test] ]
  12038. 1957.43 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12039. 1957.43 s [opt-env-conf-test] [ [ functionChunk "argument",
  12040. 1957.43 s [opt-env-conf-test] " has no ",
  12041. 1957.43 s [opt-env-conf-test] functionChunk "metavar",
  12042. 1957.43 s [opt-env-conf-test] "."
  12043. 1957.43 s [opt-env-conf-test] ]
  12044. 1957.43 s [opt-env-conf-test] ]
  12045. 1957.43 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12046. 1957.43 s [opt-env-conf-test] [ [ functionChunk "option",
  12047. 1957.43 s [opt-env-conf-test] " or ",
  12048. 1957.43 s [opt-env-conf-test] functionChunk "name",
  12049. 1957.43 s [opt-env-conf-test] " has no ",
  12050. 1957.43 s [opt-env-conf-test] functionChunk "reader",
  12051. 1957.43 s [opt-env-conf-test] "."
  12052. 1957.43 s [opt-env-conf-test] ]
  12053. 1957.43 s [opt-env-conf-test] ]
  12054. 1957.43 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12055. 1957.43 s [opt-env-conf-test] [ [ functionChunk "option",
  12056. 1957.43 s [opt-env-conf-test] " has no ",
  12057. 1957.43 s [opt-env-conf-test] functionChunk "long",
  12058. 1957.43 s [opt-env-conf-test] " or ",
  12059. 1957.43 s [opt-env-conf-test] functionChunk "short",
  12060. 1957.43 s [opt-env-conf-test] "."
  12061. 1957.43 s [opt-env-conf-test] ]
  12062. 1957.43 s [opt-env-conf-test] ]
  12063. 1957.43 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  12064. 1957.44 s [opt-env-conf-test] - [ [ functionChunk "option",
  12065. 1957.44 s [opt-env-conf-test] - " or ",
  12066. 1957.44 s [opt-env-conf-test] - functionChunk "name",
  12067. 1957.44 s [opt-env-conf-test] - " has no ",
  12068. 1957.44 s [opt-env-conf-test] - functionChunk "metavar",
  12069. 1957.44 s [opt-env-conf-test] - "."
  12070. 1957.44 s [opt-env-conf-test] - ]
  12071. 1957.44 s [opt-env-conf-test] - ]
  12072. 1957.44 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12073. 1957.44 s [opt-env-conf-test] [ [ functionChunk "switch",
  12074. 1957.44 s [opt-env-conf-test] " has no ",
  12075. 1957.44 s [opt-env-conf-test] functionChunk "long",
  12076. 1957.44 s [opt-env-conf-test] " or ",
  12077. 1957.44 s [opt-env-conf-test] functionChunk "short",
  12078. 1957.44 s [opt-env-conf-test] "."
  12079. 1957.44 s [opt-env-conf-test] ]
  12080. 1957.44 s [opt-env-conf-test] ]
  12081. 1957.44 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12082. 1957.44 s [opt-env-conf-test] [ [ functionChunk "long",
  12083. 1957.44 s [opt-env-conf-test] " or ",
  12084. 1957.44 s [opt-env-conf-test] functionChunk "short",
  12085. 1957.44 s [opt-env-conf-test] " has no ",
  12086. 1957.44 s [opt-env-conf-test] functionChunk "option",
  12087. 1957.44 s [opt-env-conf-test] " or ",
  12088. 1957.44 s [opt-env-conf-test] functionChunk "switch",
  12089. 1957.44 s [opt-env-conf-test] "."
  12090. 1957.44 s [opt-env-conf-test] ]
  12091. 1957.44 s [opt-env-conf-test] ]
  12092. 1957.44 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12093. 1957.44 s [opt-env-conf-test] [ [ functionChunk "env",
  12094. 1957.44 s [opt-env-conf-test] " or ",
  12095. 1957.44 s [opt-env-conf-test] functionChunk "name",
  12096. 1957.44 s [opt-env-conf-test] " has no ",
  12097. 1957.44 s [opt-env-conf-test] functionChunk "reader",
  12098. 1957.44 s [opt-env-conf-test] "."
  12099. 1957.44 s [opt-env-conf-test] ]
  12100. 1957.44 s [opt-env-conf-test] ]
  12101. 1957.44 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12102. 1957.44 s [opt-env-conf-test] [ [ functionChunk "env",
  12103. 1957.44 s [opt-env-conf-test] " or ",
  12104. 1957.44 s [opt-env-conf-test] functionChunk "name",
  12105. 1957.44 s [opt-env-conf-test] " has no ",
  12106. 1957.44 s [opt-env-conf-test] functionChunk "metavar",
  12107. 1957.44 s [opt-env-conf-test] "."
  12108. 1957.44 s [opt-env-conf-test] ]
  12109. 1957.44 s [opt-env-conf-test] ]
  12110. 1957.44 s [opt-env-conf-test] LintErrorNoCommands ->
  12111. 1957.44 s [opt-env-conf-test] [ [ funct " has no ",
  12112. 1957.44 s [opt-env-conf-test] functionChunk "metavar",
  12113. 1957.44 s [opt-env-conf-test] "."
  12114. 1957.44 s [opt-env-conf-test] ]
  12115. 1957.44 s [opt-env-conf-test] ]
  12116. 1957.44 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  12117. 1957.44 s [opt-env-conf-test] - [ [ functionChunk "option",
  12118. 1957.44 s [opt-env-conf-test] - " or ",
  12119. 1957.44 s [opt-env-conf-test] - functionChunk "name",
  12120. 1957.44 s [opt-env-conf-test] - " has no ",
  12121. 1957.44 s [opt-env-conf-test] - functionChunk "reader",
  12122. 1957.44 s [opt-env-conf-test] - "."
  12123. 1957.44 s [opt-env-conf-test] - ]
  12124. 1957.44 s [opt-env-conf-test] - ]
  12125. 1957.44 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12126. 1957.44 s [opt-env-conf-test] [ [ functionChunk "option",
  12127. 1957.44 s [opt-env-conf-test] " has no ",
  12128. 1957.44 s [opt-env-conf-test] functionChunk "long",
  12129. 1957.44 s [opt-env-conf-test] " or ",
  12130. 1957.44 s [opt-env-conf-test] functionChunk "short",
  12131. 1957.44 s [opt-env-conf-test] "."
  12132. 1957.44 s [opt-env-conf-test] ]
  12133. 1957.44 s [opt-env-conf-test] ]
  12134. 1957.44 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12135. 1957.44 s [opt-env-conf-test] [ [ functionChunk "option",
  12136. 1957.44 s [opt-env-conf-test] " or ",
  12137. 1957.44 s [opt-env-conf-test] functionChunk "name",
  12138. 1957.44 s [opt-env-conf-test] " has no ",
  12139. 1957.44 s [opt-env-conf-test] functionChunk "metavar",
  12140. 1957.44 s [opt-env-conf-test] "."
  12141. 1957.44 s [opt-env-conf-test] ]
  12142. 1957.44 s [opt-env-conf-test] ]
  12143. 1957.44 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12144. 1957.44 s [opt-env-conf-test] [ [ functionChunk "switch",
  12145. 1957.44 s [opt-env-conf-test] " has no ",
  12146. 1957.44 s [opt-env-conf-test] functionChunk "long",
  12147. 1957.44 s [opt-env-conf-test] " or ",
  12148. 1957.44 s [opt-env-conf-test] functionChunk "short",
  12149. 1957.44 s [opt-env-conf-test] "."
  12150. 1957.44 s [opt-env-conf-test] ]
  12151. 1957.44 s [opt-env-conf-test] ]
  12152. 1957.44 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12153. 1957.44 s [opt-env-conf-test] [ [ functionChunk "long",
  12154. 1957.44 s [opt-env-conf-test] " or ",
  12155. 1957.44 s [opt-env-conf-test] functionChunk "short",
  12156. 1957.44 s [opt-env-conf-test] " has no ",
  12157. 1957.44 s [opt-env-conf-test] functionChunk "option",
  12158. 1957.44 s [opt-env-conf-test] " or ",
  12159. 1957.44 s [opt-env-conf-test] functionChunk "switch",
  12160. 1957.44 s [opt-env-conf-test] "."
  12161. 1957.44 s [opt-env-conf-test] ]
  12162. 1957.44 s [opt-env-conf-test] ]
  12163. 1957.44 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12164. 1957.44 s [opt-env-conf-test] [ [ functionChunk "env",
  12165. 1957.44 s [opt-env-conf-test] " or ",
  12166. 1957.44 s [opt-env-conf-test] functionChunk "name",
  12167. 1957.44 s [opt-env-conf-test] " has no ",
  12168. 1957.45 s [opt-env-conf-test] functionChunk "reader",
  12169. 1957.45 s [opt-env-conf-test] "."
  12170. 1957.45 s [opt-env-conf-test] ]
  12171. 1957.45 s [opt-env-conf-test] ]
  12172. 1957.45 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12173. 1957.45 s [opt-env-conf-test] [ [ functionChunk "env",
  12174. 1957.45 s [opt-env-conf-test] " or ",
  12175. 1957.45 s [opt-env-conf-test] functionChunk "name",
  12176. 1957.45 s [opt-env-conf-test] " has no ",
  12177. 1957.45 s [opt-env-conf-test] functionChunk "metavar",
  12178. 1957.45 s [opt-env-conf-test] "."
  12179. 1957.45 s [opt-env-conf-test] ]
  12180. 1957.45 s [opt-env-conf-test] ]
  12181. 1957.45 s [opt-env-conf-test] LintErrorNoCommands ->
  12182. 1957.45 s [opt-env-conf-test] [ [ functionChunk "commands",
  12183. 1957.45 s [opt-env-conf-test] " was called with an empty list."
  12184. 1957.45 s [opt-env-conf-test] ]
  12185. 1957.45 s [opt-env-conf-test] ]
  12186. 1957.45 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12187. 1957.45 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12188. 1957.45 s [opt-env-conf-test] " was called with an unknown command: ",
  12189. 1957.45 s [opt-env-conf-test] commandChunk c
  12190. 1957.45 s [opt-env-conf-test] ]
  12191. 1957.45 s [opt-env-conf-test] ]
  12192. 1957.45 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12193. 1957.45 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12194. 1957.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12195. 1957.45 s [opt-env-conf-test] ]
  12196. 1957.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12197. 1957.45 s [opt-env-conf-test] [ [ functionChunk "conf",
  12198. 1957.45 s [opt-env-conf-test] " or ",
  12199. 1957.45 s [opt-env-conf-test] functionChunk "name",
  12200. 1957.45 s [opt-env-conf-test] " was called with no way to load configuration."
  12201. 1957.45 s [opt-env-conf-test] ],
  12202. 1957.45 s [opt-env-conf-test] [ "You can load configuration with ",
  12203. 1957.45 s [opt-env-conf-test] functionChunk "withConfig",
  12204. 1957.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12205. 1957.45 s [opt-env-conf-test] functionChunk "withoutConfig",
  12206. 1957.45 s [opt-env-conf-test] "."
  12207. 1957.45 s [opt-env-conf-test] ]
  12208. 1957.45 s [opt-env-conf-test] ]
  12209. 1957.45 s [opt-env-conf-test] LintErrorManyInfinite ->
  12210. 1957.45 s [opt-env-conf-test] [ [ functionChunk "many",
  12211. 1957.45 s [opt-env-conf-test] " or ",
  12212. 1957.45 s [opt-env-conf-test] functionChunk "some",
  12213. 1957.45 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12214. 1957.45 s [opt-env-conf-test] ],
  12215. 1957.45 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12216. 1957.45 s [opt-env-conf-test] ],
  12217. 1957.45 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12218. 1957.45 s [opt-env-conf-test] ]
  12219. 1957.45 s [opt-env-conf-test]
  12220. 1957.45 s [opt-env-conf-test] ionChunk "commands",
  12221. 1957.45 s [opt-env-conf-test] " was called with an empty list."
  12222. 1957.45 s [opt-env-conf-test] ]
  12223. 1957.45 s [opt-env-conf-test] ]
  12224. 1957.45 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12225. 1957.45 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12226. 1957.45 s [opt-env-conf-test] " was called with an unknown command: ",
  12227. 1957.45 s [opt-env-conf-test] commandChunk c
  12228. 1957.45 s [opt-env-conf-test] ]
  12229. 1957.45 s [opt-env-conf-test] ]
  12230. 1957.45 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12231. 1957.45 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12232. 1957.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12233. 1957.45 s [opt-env-conf-test] ]
  12234. 1957.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12235. 1957.45 s [opt-env-conf-test] [ [ functionChunk "conf",
  12236. 1957.45 s [opt-env-conf-test] " or ",
  12237. 1957.45 s [opt-env-conf-test] functionChunk "name",
  12238. 1957.45 s [opt-env-conf-test] " was called with no way to load configuration."
  12239. 1957.45 s [opt-env-conf-test] ],
  12240. 1957.45 s [opt-env-conf-test] [ "You can load configuration with ",
  12241. 1957.45 s [opt-env-conf-test] functionChunk "withConfig",
  12242. 1957.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12243. 1957.45 s [opt-env-conf-test] functionChunk "withoutConfig",
  12244. 1957.45 s [opt-env-conf-test] "."
  12245. 1957.45 s [opt-env-conf-test] ]
  12246. 1957.45 s [opt-env-conf-test] ]
  12247. 1957.45 s [opt-env-conf-test] LintErrorManyInfinite ->
  12248. 1957.45 s [opt-env-conf-test] [ [ functionChunk "many",
  12249. 1957.45 s [opt-env-conf-test] " or ",
  12250. 1957.45 s [opt-env-conf-test] functionChunk "some",
  12251. 1957.45 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12252. 1957.45 s [opt-env-conf-test] ],
  12253. 1957.45 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12254. 1957.45 s [opt-env-conf-test] ],
  12255. 1957.45 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12256. 1957.45 s [opt-env-conf-test] ]
  12257. 1957.45 s [opt-env-conf-test]
  12258. 1957.45 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12259. 1957.45 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12260. 1957.45 s [opt-env-conf-test] renderLintError LintError {..} =
  12261. 1957.46 s [opt-env-conf-test] concat
  12262. 1957.46 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12263. 1957.46 s [opt-env-conf-test] case lintErrorMessage of
  12264. 1957.46 s [opt-env-conf-test] LintErrorUndocumented ->
  12265. 1957.46 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12266. 1957.46 s [opt-env-conf-test] LintErrorEmptySetting ->
  12267. 1957.46 s [opt-env-conf-test] concat
  12268. 1957.46 s [opt-env-conf-test] [ [ [ "This ",
  12269. 1957.46 s [opt-env-conf-test] functionChunk "setting",
  12270. 1957.46 s [opt-env-conf-test] " parses nothing."
  12271. 1957.46 s [opt-env-conf-test] ]
  12272. 1957.46 s [opt-env-conf-test] ],
  12273. 1957.46 s [opt-env-conf-test] [ [ "Add an ",
  12274. 1957.46 s [opt-env-conf-test] functionChunk "argument",
  12275. 1957.46 s [opt-env-conf-test] ", ",
  12276. 1957.46 s [opt-env-conf-test] functionChunk "switch",
  12277. 1957.46 s [opt-env-conf-test] ", ",
  12278. 1957.46 s [opt-env-conf-test] functionChunk "option",
  12279. 1957.46 s [opt-env-conf-test] ", ",
  12280. 1957.46 s [opt-env-conf-test] functionChunk "env",
  12281. 1957.46 s [opt-env-conf-test] ", ",
  12282. 1957.46 s [opt-env-conf-test] functionChunk "conf",
  12283. 1957.46 s [opt-env-conf-test] ", or ",
  12284. 1957.46 s [opt-env-conf-test] functionChunk "value",
  12285. 1957.46 s [opt-env-conf-test] "."
  12286. 1957.46 s [opt-env-conf-test] ]
  12287. 1957.46 s [opt-env-conf-test] ]
  12288. 1957.46 s [opt-env-conf-test] ]
  12289. 1957.46 s [opt-env-conf-test] LintErrorDashInShort ->
  12290. 1957.46 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12291. 1957.46 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12292. 1957.46 s [opt-env-conf-test] ]
  12293. 1957.46 s [opt-env-conf-test] LintErrorDashInLong s ->
  12294. 1957.46 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12295. 1957.46 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12296. 1957.46 s [opt-env-conf-test] [ "Try ",
  12297. 1957.46 s [opt-env-conf-test] functionChunk "long",
  12298. 1957.46 s [opt-env-conf-test] " ",
  12299. 1957.46 s [opt-env-conf-test] chunk $
  12300. 1957.46 s [opt-env-conf-test] T.pack $
  12301. 1957.46 s [opt-env-conf-test] show $
  12302. 1957.46 s [opt-env-conf-test] let go = \case
  12303. 1957.46 s [opt-env-conf-test] [] -> []
  12304. 1957.46 s [opt-env-conf-test] '-' : cs -> go cs
  12305. 1957.46 s [opt-env-conf-test] c : cs -> c : cs
  12306. 1957.46 s [opt-env-conf-test] in go $ NE.toList s,
  12307. 1957.46 s [opt-env-conf-test] " instead."
  12308. 1957.46 s [opt-env-conf-test] ]
  12309. 1957.46 s [opt-env-conf-test] ]
  12310. 1957.46 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12311. 1957.46 s [opt-env-conf-test] [ [ functionChunk "argument",
  12312. 1957.46 s [opt-env-conf-test] " has no ",
  12313. 1957.46 s [opt-env-conf-test] functionChunk "reader",
  12314. 1957.46 s [opt-env-conf-test] "."
  12315. 1957.46 s [opt-env-conf-test] ]
  12316. 1957.46 s [opt-env-conf-test] ]
  12317. 1957.46 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12318. 1957.46 s [opt-env-conf-test] [ [ functionChunk "argument",
  12319. 1957.46 s [opt-env-conf-test] " has no ",
  12320. 1957.46 s [opt-env-conf-test] functionChunk "metavar",
  12321. 1957.46 s [opt-env-conf-test] "."
  12322. 1957.46 s [opt-env-conf-test] ]
  12323. 1957.46 s [opt-env-conf-test] ]
  12324. 1957.46 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12325. 1957.46 s [opt-env-conf-test] [ [ functionChunk "option",
  12326. 1957.46 s [opt-env-conf-test] " or ",
  12327. 1957.46 s [opt-env-conf-test] functionChunk "name",
  12328. 1957.46 s [opt-env-conf-test] " has no ",
  12329. 1957.46 s [opt-env-conf-test] functionChunk "reader",
  12330. 1957.46 s [opt-env-conf-test] "."
  12331. 1957.46 s [opt-env-conf-test] ]
  12332. 1957.46 s [opt-env-conf-test] ]
  12333. 1957.46 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  12334. 1957.46 s [opt-env-conf-test] - [ [ functionChunk "option",
  12335. 1957.46 s [opt-env-conf-test] - " has no ",
  12336. 1957.46 s [opt-env-conf-test] - functionChunk "long",
  12337. 1957.46 s [opt-env-conf-test] - " or ",
  12338. 1957.46 s [opt-env-conf-test] - functionChunk "short",
  12339. 1957.46 s [opt-env-conf-test] - "."
  12340. 1957.47 s [opt-env-conf-test] - ]
  12341. 1957.47 s [opt-env-conf-test] - ]
  12342. 1957.47 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12343. 1957.47 s [opt-env-conf-test] [ [ functionChunk "option",
  12344. 1957.47 s [opt-env-conf-test] " or ",
  12345. 1957.47 s [opt-env-conf-test] functionChunk "name",
  12346. 1957.47 s [opt-env-conf-test] " has no ",
  12347. 1957.47 s [opt-env-conf-test] functionChunk "metavar",
  12348. 1957.47 s [opt-env-conf-test] "."
  12349. 1957.47 s [opt-env-conf-test] ]
  12350. 1957.47 s [opt-env-conf-test] ]
  12351. 1957.47 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12352. 1957.47 s [opt-env-conf-test] [ [ functionChunk "switch",
  12353. 1957.47 s [opt-env-conf-test] " has no ",
  12354. 1957.47 s [opt-env-conf-test] functionChunk "long",
  12355. 1957.47 s [opt-env-conf-test] " or ",
  12356. 1957.47 s [opt-env-conf-test] functionChunk "short",
  12357. 1957.47 s [opt-env-conf-test] "."
  12358. 1957.47 s [opt-env-conf-test] ]
  12359. 1957.47 s [opt-env-conf-test] ]
  12360. 1957.47 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12361. 1957.47 s [opt-env-conf-test] [ [ functionChunk "long",
  12362. 1957.47 s [opt-env-conf-test] " or ",
  12363. 1957.47 s [opt-env-conf-test] functionChunk "short",
  12364. 1957.47 s [opt-env-conf-test] " has no ",
  12365. 1957.47 s [opt-env-conf-test] functionChunk "option",
  12366. 1957.47 s [opt-env-conf-test] " or ",
  12367. 1957.47 s [opt-env-conf-test] functionChunk "switch",
  12368. 1957.47 s [opt-env-conf-test] "."
  12369. 1957.47 s [opt-env-conf-test] ]
  12370. 1957.47 s [opt-env-conf-test] ]
  12371. 1957.47 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12372. 1957.47 s [opt-env-conf-test] [ [ functionChunk "env",
  12373. 1957.47 s [opt-env-conf-test] " or ",
  12374. 1957.47 s [opt-env-conf-test] functionChunk "name",
  12375. 1957.47 s [opt-env-conf-test] " has no ",
  12376. 1957.47 s [opt-env-conf-test] functionChunk "reader",
  12377. 1957.47 s [opt-env-conf-test] "."
  12378. 1957.47 s [opt-env-conf-test] ]
  12379. 1957.47 s [opt-env-conf-test] ]
  12380. 1957.47 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12381. 1957.47 s [opt-env-conf-test] [ [ functionChunk "env",
  12382. 1957.47 s [opt-env-conf-test] " or ",
  12383. 1957.47 s [opt-env-conf-test] functionChunk "name",
  12384. 1957.47 s [opt-env-conf-test] " has no ",
  12385. 1957.47 s [opt-env-conf-test] functionChunk "metavar",
  12386. 1957.47 s [opt-env-conf-test] "."
  12387. 1957.47 s [opt-env-conf-test] ]
  12388. 1957.47 s [opt-env-conf-test] ]
  12389. 1957.47 s [opt-env-conf-test] LintErrorNoCommands ->
  12390. 1957.47 s [opt-env-conf-test] [ [ functionChunk "commands",
  12391. 1957.47 s [opt-env-conf-test] " was called with an empty list."
  12392. 1957.47 s [opt-env-conf-test] ]
  12393. 1957.47 s [opt-env-conf-test] ]
  12394. 1957.47 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12395. 1957.48 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12396. 1957.48 s [opt-env-conf-test] " was called with an unknown command: ",
  12397. 1957.48 s [opt-env-conf-test] commandChunk c
  12398. 1957.48 s [opt-env-conf-test] ]
  12399. 1957.48 s [opt-env-conf-test] ]
  12400. 1957.48 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12401. 1957.48 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12402. 1957.48 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12403. 1957.48 s [opt-env-conf-test] ]
  12404. 1957.48 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12405. 1957.48 s [opt-env-conf-test] [ [ functionChunk "conf",
  12406. 1957.48 s [opt-env-conf-test] " or ",
  12407. 1957.48 s [opt-env-conf-test] functionChunk "name",
  12408. 1957.48 s [opt-env-conf-test] " was called with no way to load configuration."
  12409. 1957.48 s [opt-env-conf-test] ],
  12410. 1957.48 s [opt-env-conf-test] [ "You can load configuration with ",
  12411. 1957.48 s [opt-env-conf-test] functionChunk "withConfig",
  12412. 1957.48 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12413. 1957.48 s [opt-env-conf-test] functionChunk "withoutConfig",
  12414. 1957.48 s [opt-env-conf-test] "."
  12415. 1957.48 s [opt-env-conf-test] ]
  12416. 1957.48 s [opt-env-conf-test] ]
  12417. 1957.48 s [opt-env-conf-test] LintErrorManyInfinite ->
  12418. 1957.48 s [opt-env-conf-test] [ [ functionChunk "many",
  12419. 1957.48 s [opt-env-conf-test] " or ",
  12420. 1957.48 s [opt-env-conf-test] functionChunk "some",
  12421. 1957.48 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12422. 1957.48 s [opt-env-conf-test] ],
  12423. 1957.48 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12424. 1957.48 s [opt-env-conf-test] ],
  12425. 1957.48 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12426. 1957.48 s [opt-env-conf-test] ]
  12427. 1957.48 s [opt-env-conf-test]
  12428. 1957.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12429. 1957.48 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12430. 1957.48 s [opt-env-conf-test] renderLintError LintError {..} =
  12431. 1957.48 s [opt-env-conf-test] concat
  12432. 1957.48 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12433. 1957.48 s [opt-env-conf-test] case lintErrorMessage of
  12434. 1957.48 s [opt-env-conf-test] LintErrorUndocumented ->
  12435. 1957.48 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12436. 1957.48 s [opt-env-conf-test] LintErrorEmptySetting ->
  12437. 1957.48 s [opt-env-conf-test] concat
  12438. 1957.48 s [opt-env-conf-test] [ [ [ "This ",
  12439. 1957.48 s [opt-env-conf-test] functionChunk "setting",
  12440. 1957.48 s [opt-env-conf-test] " parses nothing."
  12441. 1957.48 s [opt-env-conf-test] ]
  12442. 1957.48 s [opt-env-conf-test] ],
  12443. 1957.48 s [opt-env-conf-test] [ [ "Add an ",
  12444. 1957.48 s [opt-env-conf-test] functionChunk "argument",
  12445. 1957.48 s [opt-env-conf-test] ", ",
  12446. 1957.48 s [opt-env-conf-test] functionChunk "switch",
  12447. 1957.48 s [opt-env-conf-test] ", ",
  12448. 1957.48 s [opt-env-conf-test] functionChunk "option",
  12449. 1957.48 s [opt-env-conf-test] ", ",
  12450. 1957.48 s [opt-env-conf-test] functionChunk "env",
  12451. 1957.48 s [opt-env-conf-test] ", ",
  12452. 1957.48 s [opt-env-conf-test] functionChunk "conf",
  12453. 1957.48 s [opt-env-conf-test] ", or ",
  12454. 1957.48 s [opt-env-conf-test] functionChunk "value",
  12455. 1957.48 s [opt-env-conf-test] "."
  12456. 1957.48 s [opt-env-conf-test] ]
  12457. 1957.48 s [opt-env-conf-test] ]
  12458. 1957.48 s [opt-env-conf-test] ]
  12459. 1957.48 s [opt-env-conf-test] LintErrorDashInShort ->
  12460. 1957.48 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12461. 1957.48 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12462. 1957.48 s [opt-env-conf-test] ]
  12463. 1957.48 s [opt-env-conf-test] LintErrorDashInLong s ->
  12464. 1957.48 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12465. 1957.48 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12466. 1957.48 s [opt-env-conf-test] [ "Try ",
  12467. 1957.48 s [opt-env-conf-test] functionChunk "long",
  12468. 1957.48 s [opt-env-conf-test] " ",
  12469. 1957.48 s [opt-env-conf-test] chunk $
  12470. 1957.48 s [opt-env-conf-test] T.pack $
  12471. 1957.48 s [opt-env-conf-test] show $
  12472. 1957.48 s [opt-env-conf-test] let go = \case
  12473. 1957.49 s [opt-env-conf-test] [] -> []
  12474. 1957.49 s [opt-env-conf-test] '-' : cs -> go cs
  12475. 1957.49 s [opt-env-conf-test] c : cs -> c : cs
  12476. 1957.49 s [opt-env-conf-test] in go $ NE.toList s,
  12477. 1957.49 s [opt-env-conf-test] " instead."
  12478. 1957.49 s [opt-env-conf-test] ]
  12479. 1957.49 s [opt-env-conf-test] ]
  12480. 1957.49 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12481. 1957.49 s [opt-env-conf-test] [ [ functionChunk "argument",
  12482. 1957.49 s [opt-env-conf-test] " has no ",
  12483. 1957.49 s [opt-env-conf-test] functionChunk "reader",
  12484. 1957.49 s [opt-env-conf-test] "."
  12485. 1957.49 s [opt-env-conf-test] ]
  12486. 1957.49 s [opt-env-conf-test] ]
  12487. 1957.49 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12488. 1957.49 s [opt-env-conf-test] [ [ functionChunk "argument",
  12489. 1957.49 s [opt-env-conf-test] " has no ",
  12490. 1957.49 s [opt-env-conf-test] functionChunk "metavar",
  12491. 1957.49 s [opt-env-conf-test] "."
  12492. 1957.49 s [opt-env-conf-test] ]
  12493. 1957.49 s [opt-env-conf-test] ]
  12494. 1957.49 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12495. 1957.49 s [opt-env-conf-test] [ [ functionChunk "option",
  12496. 1957.49 s [opt-env-conf-test] " or ",
  12497. 1957.49 s [opt-env-conf-test] functionChunk "name",
  12498. 1957.49 s [opt-env-conf-test] " has no ",
  12499. 1957.49 s [opt-env-conf-test] functionChunk "reader",
  12500. 1957.49 s [opt-env-conf-test] "."
  12501. 1957.49 s [opt-env-conf-test] ]
  12502. 1957.49 s [opt-env-conf-test] ]
  12503. 1957.49 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12504. 1957.49 s [opt-env-conf-test] [ [ functionChunk "option",
  12505. 1957.49 s [opt-env-conf-test] " has no ",
  12506. 1957.49 s [opt-env-conf-test] functionChunk "long",
  12507. 1957.49 s [opt-env-conf-test] " or ",
  12508. 1957.49 s [opt-env-conf-test] functionChunk "short",
  12509. 1957.49 s [opt-env-conf-test] "."
  12510. 1957.49 s [opt-env-conf-test] ]
  12511. 1957.49 s [opt-env-conf-test] ]
  12512. 1957.49 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12513. 1957.49 s [opt-env-conf-test] [ [ functionChunk "option",
  12514. 1957.49 s [opt-env-conf-test] " or ",
  12515. 1957.49 s [opt-env-conf-test] functionChunk "name",
  12516. 1957.49 s [opt-env-conf-test] " has no ",
  12517. 1957.49 s [opt-env-conf-test] functionChunk "metavar",
  12518. 1957.49 s [opt-env-conf-test] "."
  12519. 1957.49 s [opt-env-conf-test] ]
  12520. 1957.49 s [opt-env-conf-test] ]
  12521. 1957.49 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  12522. 1957.49 s [opt-env-conf-test] - [ [ functionChunk "switch",
  12523. 1957.49 s [opt-env-conf-test] - " has no ",
  12524. 1957.49 s [opt-env-conf-test] - functionChunk "long",
  12525. 1957.49 s [opt-env-conf-test] - " or ",
  12526. 1957.49 s [opt-env-conf-test] - functionChunk "short",
  12527. 1957.49 s [opt-env-conf-test] - "."
  12528. 1957.49 s [opt-env-conf-test] - ]
  12529. 1957.49 s [opt-env-conf-test] - ]
  12530. 1957.49 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12531. 1957.49 s [opt-env-conf-test] [ [ functionChunk "long",
  12532. 1957.49 s [opt-env-conf-test] " or ",
  12533. 1957.49 s [opt-env-conf-test] functionChunk "short",
  12534. 1957.49 s [opt-env-conf-test] " has no ",
  12535. 1957.49 s [opt-env-conf-test] functionChunk "option",
  12536. 1957.49 s [opt-env-conf-test] " or ",
  12537. 1957.49 s [opt-env-conf-test] functionChunk "switch",
  12538. 1957.49 s [opt-env-conf-test] "."
  12539. 1957.49 s [opt-env-conf-test] ]
  12540. 1957.49 s [opt-env-conf-test] ]
  12541. 1957.49 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12542. 1957.49 s [opt-env-conf-test] [ [ functionChunk "env",
  12543. 1957.49 s [opt-env-conf-test] " or ",
  12544. 1957.49 s [opt-env-conf-test] functionChunk "name",
  12545. 1957.49 s [opt-env-conf-test] " has no ",
  12546. 1957.49 s [opt-env-conf-test] functionChunk "reader",
  12547. 1957.49 s [opt-env-conf-test] "."
  12548. 1957.49 s [opt-env-conf-test] ]
  12549. 1957.49 s [opt-env-conf-test] ]
  12550. 1957.49 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12551. 1957.49 s [opt-env-conf-test] [ [ functionChunk "env",
  12552. 1957.49 s [opt-env-conf-test] " or ",
  12553. 1957.49 s [opt-env-conf-test] functionChunk "name",
  12554. 1957.49 s [opt-env-conf-test] " has no ",
  12555. 1957.49 s [opt-env-conf-test] functionChunk "metavar",
  12556. 1957.49 s [opt-env-conf-test] "."
  12557. 1957.49 s [opt-env-conf-test] ]
  12558. 1957.49 s [opt-env-conf-test] ]
  12559. 1957.49 s [opt-env-conf-test] LintErrorNoCommands ->
  12560. 1958.78 s [opt-env-conf-test] [ [ functionChunk "commands",
  12561. 1958.78 s [opt-env-conf-test] " was called with an empty list."
  12562. 1958.79 s [opt-env-conf-test] ]
  12563. 1958.79 s [opt-env-conf-test] ]
  12564. 1958.79 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12565. 1958.79 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12566. 1958.79 s [opt-env-conf-test] " was called with an unknown command: ",
  12567. 1958.79 s [opt-env-conf-test] commandChunk c
  12568. 1958.79 s [opt-env-conf-test] ]
  12569. 1958.79 s [opt-env-conf-test] ]
  12570. 1958.79 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12571. 1958.79 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12572. 1958.79 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12573. 1958.79 s [opt-env-conf-test] ]
  12574. 1958.79 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12575. 1958.79 s [opt-env-conf-test] [ [ functionChunk "conf",
  12576. 1958.79 s [opt-env-conf-test] " or ",
  12577. 1958.79 s [opt-env-conf-test] functionChunk "name",
  12578. 1958.79 s [opt-env-conf-test] " was called with no way to load configuration."
  12579. 1958.79 s [opt-env-conf-test] ],
  12580. 1958.79 s [opt-env-conf-test] [ "You can load configuration with ",
  12581. 1958.79 s [opt-env-conf-test] functionChunk "withConfig",
  12582. 1958.79 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12583. 1958.79 s [opt-env-conf-test] functionChunk "withoutConfig",
  12584. 1958.79 s [opt-env-conf-test] "."
  12585. 1958.79 s [opt-env-conf-test] ]
  12586. 1958.79 s [opt-env-conf-test] ]
  12587. 1958.79 s [opt-env-conf-test] LintErrorManyInfinite ->
  12588. 1958.79 s [opt-env-conf-test] [ [ functionChunk "many",
  12589. 1958.79 s [opt-env-conf-test] " or ",
  12590. 1958.79 s [opt-env-conf-test] functionChunk "some",
  12591. 1958.79 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12592. 1958.79 s [opt-env-conf-test] ],
  12593. 1958.79 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12594. 1958.79 s [opt-env-conf-test] ],
  12595. 1958.79 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12596. 1958.79 s [opt-env-conf-test] ]
  12597. 1958.79 s [opt-env-conf-test]
  12598. 1958.79 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  12599. 1958.79 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  12600. 1958.79 s [opt-env-conf-test] ]
  12601. 1958.79 s [opt-env-conf-test] ]
  12602. 1958.79 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12603. 1958.79 s [opt-env-conf-test] - [ [ functionChunk "switch",
  12604. 1958.79 s [opt-env-conf-test] " has no ",
  12605. 1958.79 s [opt-env-conf-test] functionChunk "long",
  12606. 1958.80 s [opt-env-conf-test] " or ",
  12607. 1958.80 s [opt-env-conf-test] functionChunk "short",
  12608. 1958.80 s [opt-env-conf-test] "."
  12609. 1958.80 s [opt-env-conf-test] ]
  12610. 1958.80 s [opt-env-conf-test] ]
  12611. 1958.80 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12612. 1958.80 s [opt-env-conf-test] [ [ functionChunk "long",
  12613. 1958.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12614. 1958.80 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12615. 1958.80 s [opt-env-conf-test] renderLintError LintError {..} =
  12616. 1958.80 s [opt-env-conf-test] concat
  12617. 1958.80 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12618. 1958.80 s [opt-env-conf-test] case lintErrorMessage of
  12619. 1958.80 s [opt-env-conf-test] LintErrorUndocumented ->
  12620. 1958.80 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12621. 1958.80 s [opt-env-conf-test] LintErrorEmptySetting ->
  12622. 1958.80 s [opt-env-conf-test] concat
  12623. 1958.80 s [opt-env-conf-test] [ [ [ "This ",
  12624. 1958.80 s [opt-env-conf-test] functionChunk "setting",
  12625. 1958.80 s [opt-env-conf-test] " parses nothing."
  12626. 1958.80 s [opt-env-conf-test] ]
  12627. 1958.80 s [opt-env-conf-test] ],
  12628. 1958.80 s [opt-env-conf-test] [ [ "Add an ",
  12629. 1958.80 s [opt-env-conf-test] functionChunk "argument",
  12630. 1958.80 s [opt-env-conf-test] ", ",
  12631. 1958.80 s [opt-env-conf-test] functionChunk "switch",
  12632. 1958.80 s [opt-env-conf-test] ", ",
  12633. 1958.80 s [opt-env-conf-test] functionChunk "option",
  12634. 1958.80 s [opt-env-conf-test] ", ",
  12635. 1958.80 s [opt-env-conf-test] functionChunk "env",
  12636. 1958.80 s [opt-env-conf-test] ", ",
  12637. 1958.80 s [opt-env-conf-test] functionChunk "conf",
  12638. 1958.80 s [opt-env-conf-test] ", or ",
  12639. 1958.80 s [opt-env-conf-test] functionChunk "value",
  12640. 1958.80 s [opt-env-conf-test] "."
  12641. 1958.80 s [opt-env-conf-test] ]
  12642. 1958.80 s [opt-env-conf-test] ]
  12643. 1958.80 s [opt-env-conf-test] ]
  12644. 1958.80 s [opt-env-conf-test] LintErrorDashInShort ->
  12645. 1958.80 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12646. 1958.80 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12647. 1958.80 s [opt-env-conf-test] ]
  12648. 1958.80 s [opt-env-conf-test] LintErrorDashInLong s ->
  12649. 1958.80 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12650. 1958.80 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12651. 1958.80 s [opt-env-conf-test] [ "Try ",
  12652. 1958.80 s [opt-env-conf-test] functionChunk "long",
  12653. 1958.80 s [opt-env-conf-test] " ",
  12654. 1958.80 s [opt-env-conf-test] chunk $
  12655. 1958.80 s [opt-env-conf-test] T.pack $
  12656. 1958.80 s [opt-env-conf-test] show $
  12657. 1958.80 s [opt-env-conf-test] let go = \case
  12658. 1958.80 s [opt-env-conf-test] [] -> []
  12659. 1958.80 s [opt-env-conf-test] '-' : cs -> go cs
  12660. 1958.80 s [opt-env-conf-test] c : cs -> c : cs
  12661. 1958.80 s [opt-env-conf-test] in go $ NE.toList s,
  12662. 1958.80 s [opt-env-conf-test] " instead."
  12663. 1958.80 s [opt-env-conf-test] ]
  12664. 1958.80 s [opt-env-conf-test] ]
  12665. 1958.80 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12666. 1958.80 s [opt-env-conf-test] [ [ functionChunk "argument",
  12667. 1958.80 s [opt-env-conf-test] " has no ",
  12668. 1958.80 s [opt-env-conf-test] functionChunk "reader",
  12669. 1958.80 s [opt-env-conf-test] "."
  12670. 1958.80 s [opt-env-conf-test] ]
  12671. 1958.80 s [opt-env-conf-test] ]
  12672. 1958.80 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12673. 1958.80 s [opt-env-conf-test] [ [ functionChunk "argument",
  12674. 1958.80 s [opt-env-conf-test] " has no ",
  12675. 1958.80 s [opt-env-conf-test] functionChunk "metavar",
  12676. 1958.80 s [opt-env-conf-test] "."
  12677. 1958.80 s [opt-env-conf-test] ]
  12678. 1958.80 s [opt-env-conf-test] ]
  12679. 1958.80 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12680. 1958.80 s [opt-env-conf-test] [ [ functionChunk "option",
  12681. 1958.80 s [opt-env-conf-test] " or ",
  12682. 1958.80 s [opt-env-conf-test] functionChunk "name",
  12683. 1958.80 s [opt-env-conf-test] " has no ",
  12684. 1958.80 s [opt-env-conf-test] functionChunk "reader",
  12685. 1958.80 s [opt-env-conf-test] "."
  12686. 1958.80 s [opt-env-conf-test] ]
  12687. 1958.80 s [opt-env-conf-test] ]
  12688. 1958.80 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12689. 1958.80 s [opt-env-conf-test] [ [ functionChunk "option",
  12690. 1958.80 s [opt-env-conf-test] " has no ",
  12691. 1958.80 s [opt-env-conf-test] functionChunk "long",
  12692. 1958.80 s [opt-env-conf-test] " or ",
  12693. 1958.80 s [opt-env-conf-test] functionChunk "short",
  12694. 1958.80 s [opt-env-conf-test] "."
  12695. 1958.80 s [opt-env-conf-test] ]
  12696. 1958.80 s [opt-env-conf-test] ]
  12697. 1958.80 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12698. 1958.80 s [opt-env-conf-test] [ [ functionChunk "option",
  12699. 1958.80 s [opt-env-conf-test] " or ",
  12700. 1958.80 s [opt-env-conf-test] functionChunk "name",
  12701. 1958.80 s [opt-env-conf-test] " has no ",
  12702. 1958.80 s [opt-env-conf-test] functionChunk "metavar",
  12703. 1958.80 s [opt-env-conf-test] "."
  12704. 1958.80 s [opt-env-conf-test] ]
  12705. 1958.80 s [opt-env-conf-test] ]
  12706. 1958.80 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12707. 1958.80 s [opt-env-conf-test] [ [ functionChunk "switch",
  12708. 1958.80 s [opt-env-conf-test] " has no ",
  12709. 1958.80 s [opt-env-conf-test] functionChunk "long",
  12710. 1958.80 s [opt-env-conf-test] " or ",
  12711. 1958.80 s [opt-env-conf-test] functionChunk "short",
  12712. 1958.80 s [opt-env-conf-test] "."
  12713. 1958.80 s [opt-env-conf-test] ]
  12714. 1958.80 s [opt-env-conf-test] ]
  12715. 1958.80 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12716. 1958.80 s [opt-env-conf-test] [ [ functionChunk "long",
  12717. 1958.80 s [opt-env-conf-test] " or ",
  12718. 1958.80 s [opt-env-conf-test] functionChunk "short",
  12719. 1958.80 s [opt-env-conf-test] " has no ",
  12720. 1958.80 s [opt-env-conf-test] functionChunk "option",
  12721. 1958.80 s [opt-env-conf-test] " or ",
  12722. 1958.80 s [opt-env-conf-test] functionChunk "switch",
  12723. 1958.80 s [opt-env-conf-test] "."
  12724. 1958.80 s [opt-env-conf-test] ]
  12725. 1958.80 s [opt-env-conf-test] ]
  12726. 1958.80 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  12727. 1958.80 s [opt-env-conf-test] - [ [ functionChunk "env",
  12728. 1958.80 s [opt-env-conf-test] - " or ",
  12729. 1958.80 s [opt-env-conf-test] - functionChunk "name",
  12730. 1958.80 s [opt-env-conf-test] - " has no ",
  12731. 1958.80 s [opt-env-conf-test] - functionChunk "reader",
  12732. 1958.80 s [opt-env-conf-test] - "."
  12733. 1958.80 s [opt-env-conf-test] - ]
  12734. 1958.80 s [opt-env-conf-test] - ]
  12735. 1958.80 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12736. 1958.80 s [opt-env-conf-test] [ [ functionChunk "env",
  12737. 1958.80 s [opt-env-conf-test] " or ",
  12738. 1958.80 s [opt-env-conf-test] functionChunk "name",
  12739. 1958.81 s [opt-env-conf-test] " has no ",
  12740. 1958.81 s [opt-env-conf-test] functionChunk "metavar",
  12741. 1958.81 s [opt-env-conf-test] "."
  12742. 1958.81 s [opt-env-conf-test] ]
  12743. 1958.81 s [opt-env-conf-test] ]
  12744. 1958.81 s [opt-env-conf-test] LintErrorNoCommands ->
  12745. 1960.03 s [opt-env-conf-test] [ [ functionChunk "commands",
  12746. 1960.03 s [opt-env-conf-test] " was called with an empty list."
  12747. 1960.03 s [opt-env-conf-test] ]
  12748. 1960.03 s [opt-env-conf-test] ]
  12749. 1960.03 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12750. 1960.03 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12751. 1960.03 s [opt-env-conf-test] " was called with an unknown command: ",
  12752. 1960.03 s [opt-env-conf-test] commandChunk c
  12753. 1960.04 s [opt-env-conf-test] ]
  12754. 1960.04 s [opt-env-conf-test] ]
  12755. 1960.04 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12756. 1960.04 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12757. 1960.04 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12758. 1960.04 s [opt-env-conf-test] ]
  12759. 1960.04 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12760. 1960.04 s [opt-env-conf-test] [ [ functionChunk "conf",
  12761. 1960.04 s [opt-env-conf-test] " or ",
  12762. 1960.04 s [opt-env-conf-test] functionChunk "name",
  12763. 1960.04 s [opt-env-conf-test] " was called with no way to load configuration."
  12764. 1960.04 s [opt-env-conf-test] ],
  12765. 1960.04 s [opt-env-conf-test] [ "You can load configuration with ",
  12766. 1960.04 s [opt-env-conf-test] functionChunk "withConfig",
  12767. 1960.04 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12768. 1960.04 s [opt-env-conf-test] functionChunk "withoutConfig",
  12769. 1960.04 s [opt-env-conf-test] "."
  12770. 1960.04 s [opt-env-conf-test] ]
  12771. 1960.04 s [opt-env-conf-test] ]
  12772. 1960.04 s [opt-env-conf-test] LintErrorManyInfinite ->
  12773. 1960.04 s [opt-env-conf-test] [ [ functionChunk "many",
  12774. 1960.04 s [opt-env-conf-test] " or ",
  12775. 1960.04 s [opt-env-conf-test] functionChunk "some",
  12776. 1960.04 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12777. 1960.04 s [opt-env-conf-test] ],
  12778. 1960.04 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12779. 1960.04 s [opt-env-conf-test] ],
  12780. 1960.04 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12781. 1960.04 s [opt-env-conf-test] ]
  12782. 1960.04 s [opt-env-conf-test]
  12783. 1960.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12784. 1960.05 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  12785. 1960.05 s [opt-env-conf-test] renderLintError LintError {..} =
  12786. 1960.05 s [opt-env-conf-test] concat
  12787. 1960.05 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12788. 1960.05 s [opt-env-conf-test] case lintErrorMessage of
  12789. 1960.05 s [opt-env-conf-test] LintErrorUndocumented ->
  12790. 1960.05 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12791. 1960.05 s [opt-env-conf-test] LintErrorEmptySetting ->
  12792. 1960.05 s [opt-env-conf-test] concat
  12793. 1960.05 s [opt-env-conf-test] [ [ [ "This ",
  12794. 1960.05 s [opt-env-conf-test] functionChunk "setting",
  12795. 1960.05 s [opt-env-conf-test] " parses nothing."
  12796. 1960.05 s [opt-env-conf-test] ]
  12797. 1960.05 s [opt-env-conf-test] ],
  12798. 1960.05 s [opt-env-conf-test] [ [ "Add an ",
  12799. 1960.05 s [opt-env-conf-test] functionChunk "argument",
  12800. 1960.05 s [opt-env-conf-test] ", ",
  12801. 1960.05 s [opt-env-conf-test] functionChunk "switch",
  12802. 1960.05 s [opt-env-conf-test] ", ",
  12803. 1960.05 s [opt-env-conf-test] functionChunk "option",
  12804. 1960.05 s [opt-env-conf-test] ", ",
  12805. 1960.05 s [opt-env-conf-test] functionChunk "env",
  12806. 1960.05 s [opt-env-conf-test] ", ",
  12807. 1960.05 s [opt-env-conf-test] functionChunk "conf",
  12808. 1960.05 s [opt-env-conf-test] ", or ",
  12809. 1960.05 s [opt-env-conf-test] functionChunk "value",
  12810. 1960.05 s [opt-env-conf-test] "."
  12811. 1960.05 s [opt-env-conf-test] ]
  12812. 1960.05 s [opt-env-conf-test] ]
  12813. 1960.05 s [opt-env-conf-test] ]
  12814. 1960.05 s [opt-env-conf-test] LintErrorDashInShort ->
  12815. 1960.05 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12816. 1960.05 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12817. 1960.05 s [opt-env-conf-test] ]
  12818. 1960.05 s [opt-env-conf-test] LintErrorDashInLong s ->
  12819. 1960.05 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12820. 1960.05 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12821. 1960.05 s [opt-env-conf-test] [ "Try ",
  12822. 1960.05 s [opt-env-conf-test] functionChunk "long",
  12823. 1960.05 s [opt-env-conf-test] " ",
  12824. 1960.05 s [opt-env-conf-test] chunk $
  12825. 1960.05 s [opt-env-conf-test] T.pack $
  12826. 1960.05 s [opt-env-conf-test] show $
  12827. 1960.05 s [opt-env-conf-test] let go = \case
  12828. 1960.05 s [opt-env-conf-test] [] -> []
  12829. 1960.06 s [opt-env-conf-test] '-' : cs -> go cs
  12830. 1960.06 s [opt-env-conf-test] c : cs -> c : cs
  12831. 1960.06 s [opt-env-conf-test] in go $ NE.toList s,
  12832. 1960.06 s [opt-env-conf-test] " instead."
  12833. 1960.06 s [opt-env-conf-test] ]
  12834. 1960.06 s [opt-env-conf-test] ]
  12835. 1960.06 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12836. 1960.06 s [opt-env-conf-test] [ [ functionChunk "argument",
  12837. 1960.06 s [opt-env-conf-test] " has no ",
  12838. 1960.06 s [opt-env-conf-test] functionChunk "reader",
  12839. 1960.06 s [opt-env-conf-test] "."
  12840. 1960.06 s [opt-env-conf-test] ]
  12841. 1960.06 s [opt-env-conf-test] ]
  12842. 1960.06 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12843. 1960.06 s [opt-env-conf-test] [ [ functionChunk "argument",
  12844. 1960.06 s [opt-env-conf-test] " has no ",
  12845. 1960.06 s [opt-env-conf-test] functionChunk "metavar",
  12846. 1960.06 s [opt-env-conf-test] "."
  12847. 1960.06 s [opt-env-conf-test] ]
  12848. 1960.06 s [opt-env-conf-test] ]
  12849. 1960.06 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12850. 1960.06 s [opt-env-conf-test] [ [ functionChunk "option",
  12851. 1960.06 s [opt-env-conf-test] " or ",
  12852. 1960.06 s [opt-env-conf-test] functionChunk "name",
  12853. 1960.06 s [opt-env-conf-test] " has no ",
  12854. 1960.06 s [opt-env-conf-test] functionChunk "reader",
  12855. 1960.06 s [opt-env-conf-test] "."
  12856. 1960.06 s [opt-env-conf-test] ]
  12857. 1960.06 s [opt-env-conf-test] ]
  12858. 1960.06 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12859. 1960.06 s [opt-env-conf-test] [ [ functionChunk "option",
  12860. 1960.06 s [opt-env-conf-test] " has no ",
  12861. 1960.06 s [opt-env-conf-test] functionChunk "long",
  12862. 1960.06 s [opt-env-conf-test] " or ",
  12863. 1960.06 s [opt-env-conf-test] functionChunk "short",
  12864. 1960.06 s [opt-env-conf-test] "."
  12865. 1960.06 s [opt-env-conf-test] ]
  12866. 1960.06 s [opt-env-conf-test] ]
  12867. 1960.06 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12868. 1960.06 s [opt-env-conf-test] [ [ functionChunk "option",
  12869. 1960.06 s [opt-env-conf-test] " or ",
  12870. 1960.06 s [opt-env-conf-test] functionChunk "name",
  12871. 1960.06 s [opt-env-conf-test] " has no ",
  12872. 1960.06 s [opt-env-conf-test] functionChunk "metavar",
  12873. 1960.06 s [opt-env-conf-test] "."
  12874. 1960.06 s [opt-env-conf-test] ]
  12875. 1960.06 s [opt-env-conf-test] ]
  12876. 1960.06 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12877. 1960.06 s [opt-env-conf-test] [ [ functionChunk "switch",
  12878. 1960.06 s [opt-env-conf-test] " has no ",
  12879. 1960.07 s [opt-env-conf-test] functionChunk "long",
  12880. 1960.07 s [opt-env-conf-test] " or ",
  12881. 1960.07 s [opt-env-conf-test] functionChunk "short",
  12882. 1960.07 s [opt-env-conf-test] "."
  12883. 1960.07 s [opt-env-conf-test] ]
  12884. 1960.07 s [opt-env-conf-test] ]
  12885. 1960.07 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12886. 1960.07 s [opt-env-conf-test] [ [ functionChunk "long",
  12887. 1960.07 s [opt-env-conf-test] " or ",
  12888. 1960.07 s [opt-env-conf-test] functionChunk "short",
  12889. 1960.07 s [opt-env-conf-test] " has no ",
  12890. 1960.07 s [opt-env-conf-test] functionChunk "option",
  12891. 1960.07 s [opt-env-conf-test] " or ",
  12892. 1960.07 s [opt-env-conf-test] functionChunk "switch",
  12893. 1960.07 s [opt-env-conf-test] "."
  12894. 1960.07 s [opt-env-conf-test] ]
  12895. 1960.07 s [opt-env-conf-test] ]
  12896. 1960.07 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12897. 1960.07 s [opt-env-conf-test] [ [ functionChunk "env",
  12898. 1960.07 s [opt-env-conf-test] " or ",
  12899. 1960.07 s [opt-env-conf-test] functionChunk "name",
  12900. 1960.07 s [opt-env-conf-test] " has no ",
  12901. 1960.07 s [opt-env-conf-test] functionChunk "reader",
  12902. 1960.07 s [opt-env-conf-test] "."
  12903. 1960.07 s [opt-env-conf-test] ]
  12904. 1960.07 s [opt-env-conf-test] ]
  12905. 1960.07 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  12906. 1960.07 s [opt-env-conf-test] - [ [ functionChunk "env",
  12907. 1960.07 s [opt-env-conf-test] - " or ",
  12908. 1960.07 s [opt-env-conf-test] - functionChunk "name",
  12909. 1960.07 s [opt-env-conf-test] - " has no ",
  12910. 1960.07 s [opt-env-conf-test] - functionChunk "metavar",
  12911. 1960.07 s [opt-env-conf-test] - "."
  12912. 1960.07 s [opt-env-conf-test] - ]
  12913. 1960.07 s [opt-env-conf-test] - ]
  12914. 1960.07 s [opt-env-conf-test] LintErrorNoCommands ->
  12915. 1960.07 s [opt-env-conf-test] [ [ functionChunk "commands",
  12916. 1960.07 s [opt-env-conf-test] " was called with an empty list."
  12917. 1960.07 s [opt-env-conf-test] ]
  12918. 1960.07 s [opt-env-conf-test] ]
  12919. 1960.07 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12920. 1960.07 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12921. 1960.07 s [opt-env-conf-test] " was called with an unknown command: ",
  12922. 1960.07 s [opt-env-conf-test] commandChunk c
  12923. 1960.07 s [opt-env-conf-test] ]
  12924. 1960.07 s [opt-env-conf-test] ]
  12925. 1960.07 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12926. 1960.07 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12927. 1960.07 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12928. 1960.07 s [opt-env-conf-test] ]
  12929. 1960.07 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12930. 1960.07 s [opt-env-conf-test] [ [ functionChunk "conf",
  12931. 1960.07 s [opt-env-conf-test] " or ",
  12932. 1960.07 s [opt-env-conf-test] functionChunk "name",
  12933. 1960.07 s [opt-env-conf-test] " was called with no way to load configuration."
  12934. 1960.07 s [opt-env-conf-test] ],
  12935. 1960.08 s [opt-env-conf-test] [ "You can load configuration with ",
  12936. 1960.08 s [opt-env-conf-test] functionChunk "withConfig",
  12937. 1960.08 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12938. 1960.08 s [opt-env-conf-test] functionChunk "withoutConfig",
  12939. 1960.08 s [opt-env-conf-test] "."
  12940. 1960.08 s [opt-env-conf-test] ]
  12941. 1960.08 s [opt-env-conf-test] ]
  12942. 1960.08 s [opt-env-conf-test] LintErrorManyInfinite ->
  12943. 1960.08 s [opt-env-conf-test] [ [ functionChunk "many",
  12944. 1960.08 s [opt-env-conf-test] " or ",
  12945. 1960.08 s [opt-env-conf-test] functionChunk "some",
  12946. 1960.08 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12947. 1960.08 s [opt-env-conf-test] ],
  12948. 1960.08 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12949. 1960.08 s [opt-env-conf-test] ],
  12950. 1960.08 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12951. 1960.08 s [opt-env-conf-test] ]
  12952. 1960.08 s [opt-env-conf-test]
  12953. 1960.08 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  12954. 1960.08 s [opt-env-conf-test] @@ -66,168 +66,163 @@
  12955. 1960.08 s [opt-env-conf-test] renderLintError LintError {..} =
  12956. 1960.08 s [opt-env-conf-test] concat
  12957. 1960.08 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12958. 1960.08 s [opt-env-conf-test] case lintErrorMessage of
  12959. 1960.08 s [opt-env-conf-test] LintErrorUndocumented ->
  12960. 1960.08 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12961. 1960.08 s [opt-env-conf-test] LintErrorEmptySetting ->
  12962. 1960.08 s [opt-env-conf-test] concat
  12963. 1960.08 s [opt-env-conf-test] [ [ [ "This ",
  12964. 1960.08 s [opt-env-conf-test] functionChunk "setting",
  12965. 1960.08 s [opt-env-conf-test] " parses nothing."
  12966. 1960.08 s [opt-env-conf-test] ]
  12967. 1960.08 s [opt-env-conf-test] ],
  12968. 1960.08 s [opt-env-conf-test] [ [ "Add an ",
  12969. 1960.08 s [opt-env-conf-test] functionChunk "argument",
  12970. 1960.08 s [opt-env-conf-test] ", ",
  12971. 1960.08 s [opt-env-conf-test] functionChunk "switch",
  12972. 1960.08 s [opt-env-conf-test] ", ",
  12973. 1960.08 s [opt-env-conf-test] functionChunk "option",
  12974. 1960.08 s [opt-env-conf-test] ", ",
  12975. 1960.08 s [opt-env-conf-test] functionChunk "env",
  12976. 1960.08 s [opt-env-conf-test] ", ",
  12977. 1960.08 s [opt-env-conf-test] functionChunk "conf",
  12978. 1960.08 s [opt-env-conf-test] ", or ",
  12979. 1960.08 s [opt-env-conf-test] functionChunk "value",
  12980. 1960.08 s [opt-env-conf-test] "."
  12981. 1960.08 s [opt-env-conf-test] ]
  12982. 1960.08 s [opt-env-conf-test] ]
  12983. 1960.08 s [opt-env-conf-test] ]
  12984. 1960.08 s [opt-env-conf-test] LintErrorDashInShort ->
  12985. 1960.08 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12986. 1960.08 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12987. 1960.08 s [opt-env-conf-test] ]
  12988. 1960.08 s [opt-env-conf-test] LintErrorDashInLong s ->
  12989. 1960.08 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12990. 1960.08 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12991. 1960.08 s [opt-env-conf-test] [ "Try ",
  12992. 1960.08 s [opt-env-conf-test] functionChunk "long",
  12993. 1960.08 s [opt-env-conf-test] " ",
  12994. 1960.08 s [opt-env-conf-test] chunk $
  12995. 1960.09 s [opt-env-conf-test] T.pack $
  12996. 1960.09 s [opt-env-conf-test] show $
  12997. 1960.09 s [opt-env-conf-test] let go = \case
  12998. 1960.09 s [opt-env-conf-test] [] -> []
  12999. 1960.09 s [opt-env-conf-test] '-' : cs -> go cs
  13000. 1960.09 s [opt-env-conf-test] c : cs -> c : cs
  13001. 1960.09 s [opt-env-conf-test] in go $ NE.toList s,
  13002. 1960.09 s [opt-env-conf-test] " instead."
  13003. 1960.09 s [opt-env-conf-test] ]
  13004. 1960.09 s [opt-env-conf-test] ]
  13005. 1960.09 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13006. 1960.09 s [opt-env-conf-test] [ [ functionChunk "argument",
  13007. 1960.09 s [opt-env-conf-test] " has no ",
  13008. 1960.09 s [opt-env-conf-test] functionChunk "reader",
  13009. 1960.09 s [opt-env-conf-test] "."
  13010. 1960.09 s [opt-env-conf-test] ]
  13011. 1960.09 s [opt-env-conf-test] ]
  13012. 1960.09 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13013. 1960.09 s [opt-env-conf-test] [ [ functionChunk "argument",
  13014. 1960.09 s [opt-env-conf-test] " has no ",
  13015. 1960.09 s [opt-env-conf-test] functionChunk "metavar",
  13016. 1960.09 s [opt-env-conf-test] "."
  13017. 1960.09 s [opt-env-conf-test] ]
  13018. 1960.09 s [opt-env-conf-test] ]
  13019. 1960.09 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13020. 1960.09 s [opt-env-conf-test] [ [ functionChunk "option",
  13021. 1960.09 s [opt-env-conf-test] " or ",
  13022. 1960.09 s [opt-env-conf-test] functionChunk "name",
  13023. 1960.09 s [opt-env-conf-test] " has no ",
  13024. 1960.09 s [opt-env-conf-test] functionChunk "reader",
  13025. 1960.09 s [opt-env-conf-test] "."
  13026. 1960.09 s [opt-env-conf-test] ]
  13027. 1960.09 s [opt-env-conf-test] ]
  13028. 1960.09 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13029. 1960.09 s [opt-env-conf-test] [ [ functionChunk "option",
  13030. 1960.09 s [opt-env-conf-test] " has no ",
  13031. 1960.09 s [opt-env-conf-test] functionChunk "long",
  13032. 1960.09 s [opt-env-conf-test] " or ",
  13033. 1960.09 s [opt-env-conf-test] functionChunk "short",
  13034. 1960.09 s [opt-env-conf-test] "."
  13035. 1960.09 s [opt-env-conf-test] ]
  13036. 1960.09 s [opt-env-conf-test] ]
  13037. 1960.09 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13038. 1960.09 s [opt-env-conf-test] [ [ functionChunk "option",
  13039. 1960.09 s [opt-env-conf-test] " or ",
  13040. 1960.09 s [opt-env-conf-test] functionChunk "name",
  13041. 1960.09 s [opt-env-conf-test] " has no ",
  13042. 1960.09 s [opt-env-conf-test] functionChunk "metavar",
  13043. 1960.09 s [opt-env-conf-test] "."
  13044. 1960.09 s [opt-env-conf-test] ]
  13045. 1960.09 s [opt-env-conf-test] ]
  13046. 1960.09 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13047. 1960.09 s [opt-env-conf-test] [ [ functionChunk "switch",
  13048. 1960.09 s [opt-env-conf-test] " has no ",
  13049. 1960.09 s [opt-env-conf-test] functionChunk "long",
  13050. 1960.09 s [opt-env-conf-test] " or ",
  13051. 1960.09 s [opt-env-conf-test] functionChunk "short",
  13052. 1960.09 s [opt-env-conf-test] "."
  13053. 1960.09 s [opt-env-conf-test] ]
  13054. 1960.09 s [opt-env-conf-test] ]
  13055. 1960.09 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13056. 1960.09 s [opt-env-conf-test] [ [ functionChunk "long",
  13057. 1960.09 s [opt-env-conf-test] " or ",
  13058. 1960.09 s [opt-env-conf-test] functionChunk "short",
  13059. 1960.10 s [opt-env-conf-test] " has no ",
  13060. 1960.10 s [opt-env-conf-test] functionChunk "option",
  13061. 1960.10 s [opt-env-conf-test] " or ",
  13062. 1960.10 s [opt-env-conf-test] functionChunk "switch",
  13063. 1960.10 s [opt-env-conf-test] "."
  13064. 1960.10 s [opt-env-conf-test] ]
  13065. 1960.10 s [opt-env-conf-test] ]
  13066. 1960.10 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13067. 1960.10 s [opt-env-conf-test] [ [ functionChunk "env",
  13068. 1960.10 s [opt-env-conf-test] " or ",
  13069. 1960.10 s [opt-env-conf-test] functionChunk "name",
  13070. 1960.10 s [opt-env-conf-test] " has no ",
  13071. 1960.10 s [opt-env-conf-test] functionChunk "reader",
  13072. 1960.10 s [opt-env-conf-test] "."
  13073. 1960.10 s [opt-env-conf-test] ]
  13074. 1960.10 s [opt-env-conf-test] ]
  13075. 1960.10 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13076. 1960.10 s [opt-env-conf-test] [ [ functionChunk "env",
  13077. 1960.10 s [opt-env-conf-test] " or ",
  13078. 1960.10 s [opt-env-conf-test] functionChunk "name",
  13079. 1960.10 s [opt-env-conf-test] " has no ",
  13080. 1960.10 s [opt-env-conf-test] functionChunk "metavar",
  13081. 1960.10 s [opt-env-conf-test] "."
  13082. 1960.10 s [opt-env-conf-test] ]
  13083. 1960.10 s [opt-env-conf-test] ]
  13084. 1960.10 s [opt-env-conf-test] - LintErrorNoCommands ->
  13085. 1960.10 s [opt-env-conf-test] - [ [ functionChunk "commands",
  13086. 1961.01 s [opt-env-conf-test] - " was called with an empty list."
  13087. 1961.01 s [opt-env-conf-test] - ]
  13088. 1961.01 s [opt-env-conf-test] - ]
  13089. 1961.25 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13090. 1961.25 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13091. 1961.25 s [opt-env-conf-test] " was called with an unknown command: ",
  13092. 1961.25 s [opt-env-conf-test] commandChunk c
  13093. 1961.25 s [opt-env-conf-test] ]
  13094. 1961.25 s [opt-env-conf-test] ]
  13095. 1961.25 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13096. 1961.25 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13097. 1961.25 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13098. 1961.25 s [opt-env-conf-test] ]
  13099. 1961.25 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13100. 1961.25 s [opt-env-conf-test] [ [ functionChunk "conf",
  13101. 1961.25 s [opt-env-conf-test] " or ",
  13102. 1961.25 s [opt-env-conf-test] functionChunk "name",
  13103. 1961.25 s [opt-env-conf-test] " was called with no way to load configuration."
  13104. 1961.25 s [opt-env-conf-test] ],
  13105. 1961.25 s [opt-env-conf-test] [ "You can load configuration with ",
  13106. 1961.25 s [opt-env-conf-test] functionChunk "withConfig",
  13107. 1961.25 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13108. 1961.25 s [opt-env-conf-test] functionChunk "withoutConfig",
  13109. 1961.25 s [opt-env-conf-test] "."
  13110. 1961.25 s [opt-env-conf-test] ]
  13111. 1961.25 s [opt-env-conf-test] ]
  13112. 1961.25 s [opt-env-conf-test] LintErrorManyInfinite ->
  13113. 1961.25 s [opt-env-conf-test] [ [ functionChunk "many",
  13114. 1961.25 s [opt-env-conf-test] " or ",
  13115. 1961.25 s [opt-env-conf-test] functionChunk "some",
  13116. 1961.25 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13117. 1961.25 s [opt-env-conf-test] ],
  13118. 1961.25 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13119. 1961.26 s [opt-env-conf-test] ],
  13120. 1961.26 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13121. 1961.26 s [opt-env-conf-test] ]
  13122. 1961.26 s [opt-env-conf-test]
  13123. 1961.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13124. 1961.26 s [opt-env-conf-test] @@ -66,168 +66,162 @@
  13125. 1961.26 s [opt-env-conf-test] renderLintError LintError {..} =
  13126. 1961.26 s [opt-env-conf-test] concat
  13127. 1961.26 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13128. 1961.26 s [opt-env-conf-test] case lintErrorMessage of
  13129. 1961.26 s [opt-env-conf-test] LintErrorUndocumented ->
  13130. 1961.26 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13131. 1961.26 s [opt-env-conf-test] LintErrorEmptySetting ->
  13132. 1961.26 s [opt-env-conf-test] concat
  13133. 1961.26 s [opt-env-conf-test] [ [ [ "This ",
  13134. 1961.26 s [opt-env-conf-test] functionChunk "setting",
  13135. 1961.26 s [opt-env-conf-test] " parses nothing."
  13136. 1961.26 s [opt-env-conf-test] ]
  13137. 1961.26 s [opt-env-conf-test] ],
  13138. 1961.26 s [opt-env-conf-test] [ [ "Add an ",
  13139. 1961.26 s [opt-env-conf-test] functionChunk "argument",
  13140. 1961.26 s [opt-env-conf-test] ", ",
  13141. 1961.26 s [opt-env-conf-test] functionChunk "switch",
  13142. 1961.26 s [opt-env-conf-test] ", ",
  13143. 1961.26 s [opt-env-conf-test] functionChunk "option",
  13144. 1961.26 s [opt-env-conf-test] ", ",
  13145. 1961.26 s [opt-env-conf-test] functionChunk "env",
  13146. 1961.26 s [opt-env-conf-test] ", ",
  13147. 1961.26 s [opt-env-conf-test] functionChunk "conf",
  13148. 1961.26 s [opt-env-conf-test] ", or ",
  13149. 1961.26 s [opt-env-conf-test] functionChunk "value",
  13150. 1961.26 s [opt-env-conf-test] "."
  13151. 1961.26 s [opt-env-conf-test] ]
  13152. 1961.26 s [opt-env-conf-test] ]
  13153. 1961.26 s [opt-env-conf-test] ]
  13154. 1961.26 s [opt-env-conf-test] LintErrorDashInShort ->
  13155. 1961.26 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13156. 1961.26 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13157. 1961.26 s [opt-env-conf-test] ]
  13158. 1961.26 s [opt-env-conf-test] LintErrorDashInLong s ->
  13159. 1961.26 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13160. 1961.26 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13161. 1961.26 s [opt-env-conf-test] [ "Try ",
  13162. 1961.26 s [opt-env-conf-test] functionChunk "long",
  13163. 1961.26 s [opt-env-conf-test] " ",
  13164. 1961.26 s [opt-env-conf-test] chunk $
  13165. 1961.26 s [opt-env-conf-test] T.pack $
  13166. 1961.26 s [opt-env-conf-test] show $
  13167. 1961.26 s [opt-env-conf-test] let go = \case
  13168. 1961.26 s [opt-env-conf-test] [] -> []
  13169. 1961.26 s [opt-env-conf-test] '-' : cs -> go cs
  13170. 1961.26 s [opt-env-conf-test] c : cs -> c : cs
  13171. 1961.26 s [opt-env-conf-test] in go $ NE.toList s,
  13172. 1961.26 s [opt-env-conf-test] " instead."
  13173. 1961.26 s [opt-env-conf-test] ]
  13174. 1961.26 s [opt-env-conf-test] ]
  13175. 1961.26 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13176. 1961.26 s [opt-env-conf-test] [ [ functionChunk "argument",
  13177. 1961.26 s [opt-env-conf-test] " has no ",
  13178. 1961.26 s [opt-env-conf-test] functionChunk "reader",
  13179. 1961.26 s [opt-env-conf-test] "."
  13180. 1961.26 s [opt-env-conf-test] ]
  13181. 1961.26 s [opt-env-conf-test] ]
  13182. 1961.26 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13183. 1961.26 s [opt-env-conf-test] [ [ functionChunk "argument",
  13184. 1961.26 s [opt-env-conf-test] " has no ",
  13185. 1961.26 s [opt-env-conf-test] functionChunk "metavar",
  13186. 1961.26 s [opt-env-conf-test] "."
  13187. 1961.27 s [opt-env-conf-test] ]
  13188. 1961.27 s [opt-env-conf-test] ]
  13189. 1961.27 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13190. 1961.27 s [opt-env-conf-test] [ [ functionChunk "option",
  13191. 1961.27 s [opt-env-conf-test] " or ",
  13192. 1961.27 s [opt-env-conf-test] functionChunk "name",
  13193. 1961.27 s [opt-env-conf-test] " has no ",
  13194. 1961.27 s [opt-env-conf-test] functionChunk "reader",
  13195. 1961.27 s [opt-env-conf-test] "."
  13196. 1961.27 s [opt-env-conf-test] ]
  13197. 1961.27 s [opt-env-conf-test] ]
  13198. 1961.27 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13199. 1961.27 s [opt-env-conf-test] [ [ functionChunk "option",
  13200. 1961.27 s [opt-env-conf-test] " has no ",
  13201. 1961.27 s [opt-env-conf-test] functionChunk "long",
  13202. 1961.27 s [opt-env-conf-test] " or ",
  13203. 1961.27 s [opt-env-conf-test] functionChunk "short",
  13204. 1961.27 s [opt-env-conf-test] "."
  13205. 1961.27 s [opt-env-conf-test] ]
  13206. 1961.27 s [opt-env-conf-test] ]
  13207. 1961.27 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13208. 1961.27 s [opt-env-conf-test] [ [ functionChunk "option",
  13209. 1961.27 s [opt-env-conf-test] " or ",
  13210. 1961.27 s [opt-env-conf-test] functionChunk "name",
  13211. 1961.27 s [opt-env-conf-test] " has no ",
  13212. 1961.27 s [opt-env-conf-test] functionChunk "metavar",
  13213. 1961.27 s [opt-env-conf-test] "."
  13214. 1961.27 s [opt-env-conf-test] ]
  13215. 1961.27 s [opt-env-conf-test] ]
  13216. 1961.27 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13217. 1961.27 s [opt-env-conf-test] [ [ functionChunk "switch",
  13218. 1961.27 s [opt-env-conf-test] " has no ",
  13219. 1961.27 s [opt-env-conf-test] functionChunk "long",
  13220. 1961.27 s [opt-env-conf-test] " or ",
  13221. 1961.27 s [opt-env-conf-test] functionChunk "short",
  13222. 1961.27 s [opt-env-conf-test] "."
  13223. 1961.27 s [opt-env-conf-test] ]
  13224. 1961.27 s [opt-env-conf-test] ]
  13225. 1961.27 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13226. 1961.27 s [opt-env-conf-test] [ [ functionChunk "long",
  13227. 1961.27 s [opt-env-conf-test] " or ",
  13228. 1961.27 s [opt-env-conf-test] functionChunk "short",
  13229. 1961.27 s [opt-env-conf-test] " has no ",
  13230. 1961.27 s [opt-env-conf-test] functionChunk "option",
  13231. 1961.27 s [opt-env-conf-test] " or ",
  13232. 1961.27 s [opt-env-conf-test] functionChunk "switch",
  13233. 1961.27 s [opt-env-conf-test] "."
  13234. 1961.27 s [opt-env-conf-test] ]
  13235. 1961.27 s [opt-env-conf-test] ]
  13236. 1961.27 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13237. 1961.27 s [opt-env-conf-test] [ [ functionChunk "env",
  13238. 1961.27 s [opt-env-conf-test] " or ",
  13239. 1961.27 s [opt-env-conf-test] functionChunk "name",
  13240. 1961.27 s [opt-env-conf-test] " has no ",
  13241. 1961.27 s [opt-env-conf-test] functionChunk "reader",
  13242. 1961.27 s [opt-env-conf-test] "."
  13243. 1961.27 s [opt-env-conf-test] ]
  13244. 1961.27 s [opt-env-conf-test] ]
  13245. 1961.27 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13246. 1961.27 s [opt-env-conf-test] [ [ functionChunk "env",
  13247. 1961.27 s [opt-env-conf-test] " or ",
  13248. 1961.27 s [opt-env-conf-test] functionChunk "name",
  13249. 1961.27 s [opt-env-conf-test] " has no ",
  13250. 1961.27 s [opt-env-conf-test] functionChunk "metavar",
  13251. 1961.27 s [opt-env-conf-test] "."
  13252. 1961.27 s [opt-env-conf-test] ]
  13253. 1961.27 s [opt-env-conf-test] ]
  13254. 1961.27 s [opt-env-conf-test] LintErrorNoCommands ->
  13255. 1961.27 s [opt-env-conf-test] [ [ functionChunk "commands",
  13256. 1961.27 s [opt-env-conf-test] " was called with an empty list."
  13257. 1961.27 s [opt-env-conf-test] - ]
  13258. 1961.27 s [opt-env-conf-test] - ]
  13259. 1961.27 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  13260. 1961.27 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  13261. 1961.27 s [opt-env-conf-test] - " was called with an unknown command: ",
  13262. 1961.27 s [opt-env-conf-test] - commandChunk c
  13263. 1961.27 s [opt-env-conf-test] ]
  13264. 1961.27 s [opt-env-conf-test] ]
  13265. 1961.27 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13266. 1961.27 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13267. 1961.27 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13268. 1961.27 s [opt-env-conf-test] ]
  13269. 1961.27 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13270. 1961.27 s [opt-env-conf-test] [ [ functionChunk "conf",
  13271. 1961.27 s [opt-env-conf-test] " or ",
  13272. 1961.27 s [opt-env-conf-test] functionChunk "name",
  13273. 1961.27 s [opt-env-conf-test] " was called with no way to load configuration."
  13274. 1961.27 s [opt-env-conf-test] ],
  13275. 1961.27 s [opt-env-conf-test] [ "You can load configuration with ",
  13276. 1961.27 s [opt-env-conf-test] functionChunk "withConfig",
  13277. 1961.27 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13278. 1961.27 s [opt-env-conf-test] functionChunk "withoutConfig",
  13279. 1961.27 s [opt-env-conf-test] "."
  13280. 1961.27 s [opt-env-conf-test] ]
  13281. 1961.27 s [opt-env-conf-test] ]
  13282. 1961.27 s [opt-env-conf-test] LintErrorManyInfinite ->
  13283. 1961.27 s [opt-env-conf-test] [ [ functionChunk "many",
  13284. 1961.28 s [opt-env-conf-test] " or ",
  13285. 1961.28 s [opt-env-conf-test] functionChunk "some",
  13286. 1961.28 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13287. 1961.28 s [opt-env-conf-test] ],
  13288. 1961.28 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13289. 1961.28 s [opt-env-conf-test] ],
  13290. 1961.28 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13291. 1961.28 s [opt-env-conf-test] ]
  13292. 1961.28 s [opt-env-conf-test]
  13293. 1961.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13294. 1961.28 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  13295. 1961.28 s [opt-env-conf-test] renderLintError LintError {..} =
  13296. 1961.28 s [opt-env-conf-test] concat
  13297. 1961.28 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13298. 1961.28 s [opt-env-conf-test] case lintErrorMessage of
  13299. 1961.28 s [opt-env-conf-test] LintErrorUndocumented ->
  13300. 1961.28 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13301. 1961.28 s [opt-env-conf-test] LintErrorEmptySetting ->
  13302. 1961.28 s [opt-env-conf-test] concat
  13303. 1961.28 s [opt-env-conf-test] [ [ [ "This ",
  13304. 1961.28 s [opt-env-conf-test] functionChunk "setting",
  13305. 1961.28 s [opt-env-conf-test] " parses nothing."
  13306. 1961.28 s [opt-env-conf-test] ]
  13307. 1961.28 s [opt-env-conf-test] ],
  13308. 1961.28 s [opt-env-conf-test] [ [ "Add an ",
  13309. 1961.28 s [opt-env-conf-test] functionChunk "argument",
  13310. 1961.28 s [opt-env-conf-test] ", ",
  13311. 1961.28 s [opt-env-conf-test] functionChunk "switch",
  13312. 1961.29 s [opt-env-conf-test] ", ",
  13313. 1961.29 s [opt-env-conf-test] functionChunk "option",
  13314. 1961.29 s [opt-env-conf-test] ", ",
  13315. 1961.29 s [opt-env-conf-test] functionChunk "env",
  13316. 1961.29 s [opt-env-conf-test] ", ",
  13317. 1961.29 s [opt-env-conf-test] functionChunk "conf",
  13318. 1961.29 s [opt-env-conf-test] ", or ",
  13319. 1961.29 s [opt-env-conf-test] functionChunk "value",
  13320. 1961.29 s [opt-env-conf-test] "."
  13321. 1961.29 s [opt-env-conf-test] ]
  13322. 1961.29 s [opt-env-conf-test] ]
  13323. 1961.29 s [opt-env-conf-test] ]
  13324. 1961.29 s [opt-env-conf-test] LintErrorDashInShort ->
  13325. 1961.29 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13326. 1961.29 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13327. 1961.29 s [opt-env-conf-test] ]
  13328. 1961.29 s [opt-env-conf-test] LintErrorDashInLong s ->
  13329. 1961.29 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13330. 1961.29 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13331. 1961.29 s [opt-env-conf-test] [ "Try ",
  13332. 1961.29 s [opt-env-conf-test] functionChunk "long",
  13333. 1961.29 s [opt-env-conf-test] " ",
  13334. 1961.29 s [opt-env-conf-test] chunk $
  13335. 1961.29 s [opt-env-conf-test] T.pack $
  13336. 1961.29 s [opt-env-conf-test] show $
  13337. 1961.29 s [opt-env-conf-test] let go = \case
  13338. 1961.29 s [opt-env-conf-test] [] -> []
  13339. 1961.29 s [opt-env-conf-test] '-' : cs -> go cs
  13340. 1961.29 s [opt-env-conf-test] c : cs -> c : cs
  13341. 1961.29 s [opt-env-conf-test] in go $ NE.toList s,
  13342. 1961.29 s [opt-env-conf-test] " instead."
  13343. 1961.29 s [opt-env-conf-test] ]
  13344. 1961.29 s [opt-env-conf-test] ]
  13345. 1961.29 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13346. 1961.29 s [opt-env-conf-test] [ [ functionChunk "argument",
  13347. 1961.30 s [opt-env-conf-test] " has no ",
  13348. 1961.30 s [opt-env-conf-test] functionChunk "reader",
  13349. 1961.30 s [opt-env-conf-test] "."
  13350. 1961.30 s [opt-env-conf-test] ]
  13351. 1961.30 s [opt-env-conf-test] ]
  13352. 1961.30 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13353. 1961.30 s [opt-env-conf-test] [ [ functionChunk "argument",
  13354. 1961.30 s [opt-env-conf-test] " has no ",
  13355. 1961.30 s [opt-env-conf-test] functionChunk "metavar",
  13356. 1961.30 s [opt-env-conf-test] "."
  13357. 1961.30 s [opt-env-conf-test] ]
  13358. 1961.30 s [opt-env-conf-test] ]
  13359. 1961.30 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13360. 1961.30 s [opt-env-conf-test] [ [ functionChunk "option",
  13361. 1961.30 s [opt-env-conf-test] " or ",
  13362. 1961.30 s [opt-env-conf-test] functionChunk "name",
  13363. 1961.30 s [opt-env-conf-test] " has no ",
  13364. 1961.30 s [opt-env-conf-test] functionChunk "reader",
  13365. 1961.30 s [opt-env-conf-test] "."
  13366. 1961.30 s [opt-env-conf-test] ]
  13367. 1961.30 s [opt-env-conf-test] ]
  13368. 1961.30 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13369. 1961.30 s [opt-env-conf-test] [ [ functionChunk "option",
  13370. 1961.30 s [opt-env-conf-test] " has no ",
  13371. 1961.30 s [opt-env-conf-test] functionChunk "long",
  13372. 1961.30 s [opt-env-conf-test] " or ",
  13373. 1961.31 s [opt-env-conf-test] functionChunk "short",
  13374. 1961.31 s [opt-env-conf-test] "."
  13375. 1961.31 s [opt-env-conf-test] ]
  13376. 1961.31 s [opt-env-conf-test] ]
  13377. 1961.31 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13378. 1961.31 s [opt-env-conf-test] [ [ functionChunk "option",
  13379. 1961.31 s [opt-env-conf-test] " or ",
  13380. 1961.31 s [opt-env-conf-test] functionChunk "name",
  13381. 1961.31 s [opt-env-conf-test] " has no ",
  13382. 1961.31 s [opt-env-conf-test] functionChunk "metavar",
  13383. 1961.31 s [opt-env-conf-test] "."
  13384. 1961.31 s [opt-env-conf-test] ]
  13385. 1961.31 s [opt-env-conf-test] ]
  13386. 1961.31 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13387. 1961.31 s [opt-env-conf-test] [ [ functionChunk "switch",
  13388. 1961.31 s [opt-env-conf-test] " has no ",
  13389. 1961.31 s [opt-env-conf-test] functionChunk "long",
  13390. 1961.31 s [opt-env-conf-test] " or ",
  13391. 1961.31 s [opt-env-conf-test] functionChunk "short",
  13392. 1961.31 s [opt-env-conf-test] "."
  13393. 1961.31 s [opt-env-conf-test] ]
  13394. 1961.31 s [opt-env-conf-test] ]
  13395. 1961.31 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13396. 1961.31 s [opt-env-conf-test] [ [ functionChunk "long",
  13397. 1961.31 s [opt-env-conf-test] " or ",
  13398. 1961.31 s [opt-env-conf-test] functionChunk "short",
  13399. 1961.31 s [opt-env-conf-test] " has no ",
  13400. 1961.31 s [opt-env-conf-test] functionChunk "option",
  13401. 1961.31 s [opt-env-conf-test] " or ",
  13402. 1961.31 s [opt-env-conf-test] functionChunk "switch",
  13403. 1961.31 s [opt-env-conf-test] "."
  13404. 1961.31 s [opt-env-conf-test] ]
  13405. 1961.31 s [opt-env-conf-test] ]
  13406. 1961.31 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13407. 1961.31 s [opt-env-conf-test] [ [ functionChunk "env",
  13408. 1961.31 s [opt-env-conf-test] " or ",
  13409. 1961.31 s [opt-env-conf-test] functionChunk "name",
  13410. 1961.32 s [opt-env-conf-test] " has no ",
  13411. 1961.32 s [opt-env-conf-test] functionChunk "reader",
  13412. 1961.32 s [opt-env-conf-test] "."
  13413. 1961.32 s [opt-env-conf-test] ]
  13414. 1961.32 s [opt-env-conf-test] ]
  13415. 1961.32 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13416. 1961.32 s [opt-env-conf-test] [ [ functionChunk "env",
  13417. 1961.32 s [opt-env-conf-test] " or ",
  13418. 1961.32 s [opt-env-conf-test] functionChunk "name",
  13419. 1961.32 s [opt-env-conf-test] " has no ",
  13420. 1961.32 s [opt-env-conf-test] functionChunk "metavar",
  13421. 1961.32 s [opt-env-conf-test] "."
  13422. 1961.32 s [opt-env-conf-test] ]
  13423. 1961.32 s [opt-env-conf-test] ]
  13424. 1961.32 s [opt-env-conf-test] LintErrorNoCommands ->
  13425. 1961.32 s [opt-env-conf-test] [ [ functionChunk "commands",
  13426. 1961.32 s [opt-env-conf-test] " was called with an empty list."
  13427. 1961.32 s [opt-env-conf-test] ]
  13428. 1961.32 s [opt-env-conf-test] ]
  13429. 1961.32 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13430. 1961.32 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13431. 1961.32 s [opt-env-conf-test] " was called with an unknown command: ",
  13432. 1961.32 s [opt-env-conf-test] commandChunk c
  13433. 1961.32 s [opt-env-conf-test] ]
  13434. 1961.32 s [opt-env-conf-test] - ]
  13435. 1961.32 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  13436. 1961.32 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13437. 1961.32 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  13438. 1961.32 s [opt-env-conf-test] ]
  13439. 1961.32 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13440. 1961.32 s [opt-env-conf-test] [ [ functionChunk "conf",
  13441. 1961.32 s [opt-env-conf-test] " or ",
  13442. 1961.32 s [opt-env-conf-test] functionChunk "name",
  13443. 1961.32 s [opt-env-conf-test] " was called with no way to load configuration."
  13444. 1961.32 s [opt-env-conf-test] ],
  13445. 1961.32 s [opt-env-conf-test] [ "You can load configuration with ",
  13446. 1961.32 s [opt-env-conf-test] functionChunk "withConfig",
  13447. 1961.32 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13448. 1961.32 s [opt-env-conf-test] functionChunk "withoutConfig",
  13449. 1961.32 s [opt-env-conf-test] "."
  13450. 1961.32 s [opt-env-conf-test] ]
  13451. 1961.32 s [opt-env-conf-test] ]
  13452. 1961.32 s [opt-env-conf-test] LintErrorManyInfinite ->
  13453. 1961.33 s [opt-env-conf-test] [ [ functionChunk "many",
  13454. 1961.33 s [opt-env-conf-test] " or ",
  13455. 1961.33 s [opt-env-conf-test] functionChunk "some",
  13456. 1961.33 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13457. 1961.33 s [opt-env-conf-test] ],
  13458. 1961.33 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13459. 1961.33 s [opt-env-conf-test] ],
  13460. 1961.33 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13461. 1961.33 s [opt-env-conf-test] ]
  13462. 1961.33 s [opt-env-conf-test]
  13463. 1961.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13464. 1961.33 s [opt-env-conf-test] @@ -66,168 +66,155 @@
  13465. 1961.33 s [opt-env-conf-test] renderLintError LintError {..} =
  13466. 1961.33 s [opt-env-conf-test] concat
  13467. 1961.33 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13468. 1961.33 s [opt-env-conf-test] case lintErrorMessage of
  13469. 1961.33 s [opt-env-conf-test] LintErrorUndocumented ->
  13470. 1961.33 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13471. 1961.33 s [opt-env-conf-test] LintErrorEmptySetting ->
  13472. 1961.33 s [opt-env-conf-test] concat
  13473. 1961.33 s [opt-env-conf-test] [ [ [ "This ",
  13474. 1961.33 s [opt-env-conf-test] functionChunk "setting",
  13475. 1961.33 s [opt-env-conf-test] " parses nothing."
  13476. 1961.33 s [opt-env-conf-test] ]
  13477. 1961.33 s [opt-env-conf-test] ],
  13478. 1961.33 s [opt-env-conf-test] [ [ "Add an ",
  13479. 1961.33 s [opt-env-conf-test] functionChunk "argument",
  13480. 1961.33 s [opt-env-conf-test] ", ",
  13481. 1961.33 s [opt-env-conf-test] functionChunk "switch",
  13482. 1961.33 s [opt-env-conf-test] ", ",
  13483. 1961.33 s [opt-env-conf-test] functionChunk "option",
  13484. 1961.34 s [opt-env-conf-test] ", ",
  13485. 1961.34 s [opt-env-conf-test] functionChunk "env",
  13486. 1961.34 s [opt-env-conf-test] ", ",
  13487. 1961.34 s [opt-env-conf-test] functionChunk "conf",
  13488. 1961.34 s [opt-env-conf-test] ", or ",
  13489. 1961.34 s [opt-env-conf-test] functionChunk "value",
  13490. 1961.34 s [opt-env-conf-test] "."
  13491. 1961.34 s [opt-env-conf-test] ]
  13492. 1961.34 s [opt-env-conf-test] ]
  13493. 1961.34 s [opt-env-conf-test] ]
  13494. 1961.34 s [opt-env-conf-test] LintErrorDashInShort ->
  13495. 1961.34 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13496. 1961.34 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13497. 1961.34 s [opt-env-conf-test] ]
  13498. 1961.34 s [opt-env-conf-test] LintErrorDashInLong s ->
  13499. 1961.34 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13500. 1961.34 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13501. 1961.34 s [opt-env-conf-test] [ "Try ",
  13502. 1961.34 s [opt-env-conf-test] functionChunk "long",
  13503. 1961.34 s [opt-env-conf-test] " ",
  13504. 1961.34 s [opt-env-conf-test] chunk $
  13505. 1961.34 s [opt-env-conf-test] T.pack $
  13506. 1961.34 s [opt-env-conf-test] show $
  13507. 1961.34 s [opt-env-conf-test] let go = \case
  13508. 1961.34 s [opt-env-conf-test] [] -> []
  13509. 1961.34 s [opt-env-conf-test] '-' : cs -> go cs
  13510. 1961.34 s [opt-env-conf-test] c : cs -> c : cs
  13511. 1961.34 s [opt-env-conf-test] in go $ NE.toList s,
  13512. 1961.34 s [opt-env-conf-test] " instead."
  13513. 1961.34 s [opt-env-conf-test] ]
  13514. 1961.34 s [opt-env-conf-test] ]
  13515. 1961.34 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13516. 1961.34 s [opt-env-conf-test] [ [ functionChunk "argument",
  13517. 1961.34 s [opt-env-conf-test] " has no ",
  13518. 1961.34 s [opt-env-conf-test] functionChunk "reader",
  13519. 1961.34 s [opt-env-conf-test] "."
  13520. 1961.34 s [opt-env-conf-test] ]
  13521. 1961.34 s [opt-env-conf-test] ]
  13522. 1961.34 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13523. 1961.34 s [opt-env-conf-test] [ [ functionChunk "argument",
  13524. 1961.34 s [opt-env-conf-test] " has no ",
  13525. 1961.34 s [opt-env-conf-test] functionChunk "metavar",
  13526. 1961.34 s [opt-env-conf-test] "."
  13527. 1961.34 s [opt-env-conf-test] ]
  13528. 1961.34 s [opt-env-conf-test] ]
  13529. 1961.35 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13530. 1961.35 s [opt-env-conf-test] [ [ functionChunk "option",
  13531. 1961.35 s [opt-env-conf-test] " or ",
  13532. 1961.35 s [opt-env-conf-test] functionChunk "name",
  13533. 1961.35 s [opt-env-conf-test] " has no ",
  13534. 1961.35 s [opt-env-conf-test] functionChunk "reader",
  13535. 1961.35 s [opt-env-conf-test] "."
  13536. 1961.35 s [opt-env-conf-test] ]
  13537. 1961.35 s [opt-env-conf-test] ]
  13538. 1961.35 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13539. 1961.35 s [opt-env-conf-test] [ [ functionChunk "option",
  13540. 1961.35 s [opt-env-conf-test] " has no ",
  13541. 1961.35 s [opt-env-conf-test] functionChunk "long",
  13542. 1961.35 s [opt-env-conf-test] " or ",
  13543. 1961.35 s [opt-env-conf-test] functionChunk "short",
  13544. 1961.35 s [opt-env-conf-test] "."
  13545. 1961.35 s [opt-env-conf-test] ]
  13546. 1961.35 s [opt-env-conf-test] ]
  13547. 1961.35 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13548. 1961.35 s [opt-env-conf-test] [ [ functionChunk "option",
  13549. 1961.35 s [opt-env-conf-test] " or ",
  13550. 1961.35 s [opt-env-conf-test] functionChunk "name",
  13551. 1961.35 s [opt-env-conf-test] " has no ",
  13552. 1961.35 s [opt-env-conf-test] functionChunk "metavar",
  13553. 1961.35 s [opt-env-conf-test] "."
  13554. 1961.35 s [opt-env-conf-test] ]
  13555. 1961.35 s [opt-env-conf-test] ]
  13556. 1961.35 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13557. 1961.35 s [opt-env-conf-test] [ [ functionChunk "switch",
  13558. 1961.35 s [opt-env-conf-test] " has no ",
  13559. 1961.35 s [opt-env-conf-test] functionChunk "long",
  13560. 1961.35 s [opt-env-conf-test] " or ",
  13561. 1961.35 s [opt-env-conf-test] functionChunk "short",
  13562. 1961.35 s [opt-env-conf-test] "."
  13563. 1961.35 s [opt-env-conf-test] ]
  13564. 1961.35 s [opt-env-conf-test] ]
  13565. 1961.35 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13566. 1961.35 s [opt-env-conf-test] [ [ functionChunk "long",
  13567. 1961.35 s [opt-env-conf-test] " or ",
  13568. 1961.35 s [opt-env-conf-test] functionChunk "short",
  13569. 1961.35 s [opt-env-conf-test] " has no ",
  13570. 1961.35 s [opt-env-conf-test] functionChunk "option",
  13571. 1961.35 s [opt-env-conf-test] " or ",
  13572. 1961.35 s [opt-env-conf-test] functionChunk "switch",
  13573. 1961.35 s [opt-env-conf-test] "."
  13574. 1961.35 s [opt-env-conf-test] ]
  13575. 1961.35 s [opt-env-conf-test] ]
  13576. 1961.35 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13577. 1961.35 s [opt-env-conf-test] [ [ functionChunk "env",
  13578. 1961.35 s [opt-env-conf-test] " or ",
  13579. 1961.35 s [opt-env-conf-test] functionChunk "name",
  13580. 1961.35 s [opt-env-conf-test] " has no ",
  13581. 1961.36 s [opt-env-conf-test] functionChunk "reader",
  13582. 1961.36 s [opt-env-conf-test] "."
  13583. 1961.36 s [opt-env-conf-test] ]
  13584. 1961.36 s [opt-env-conf-test] ]
  13585. 1961.36 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13586. 1961.36 s [opt-env-conf-test] [ [ functionChunk "env",
  13587. 1961.36 s [opt-env-conf-test] " or ",
  13588. 1961.36 s [opt-env-conf-test] functionChunk "name",
  13589. 1961.36 s [opt-env-conf-test] " has no ",
  13590. 1961.36 s [opt-env-conf-test] functionChunk "metavar",
  13591. 1961.36 s [opt-env-conf-test] "."
  13592. 1961.36 s [opt-env-conf-test] ]
  13593. 1961.36 s [opt-env-conf-test] ]
  13594. 1961.36 s [opt-env-conf-test] LintErrorNoCommands ->
  13595. 1961.36 s [opt-env-conf-test] [ [ functionChunk "commands",
  13596. 1961.36 s [opt-env-conf-test] " was called with an empty list."
  13597. 1961.84 s [opt-env-conf-test] ]
  13598. 1961.84 s [opt-env-conf-test] ]
  13599. 1961.84 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13600. 1961.84 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13601. 1961.85 s [opt-env-conf-test] " was called with an unknown command: ",
  13602. 1961.85 s [opt-env-conf-test] commandChunk c
  13603. 1961.85 s [opt-env-conf-test] ]
  13604. 1961.85 s [opt-env-conf-test] ]
  13605. 1961.85 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13606. 1961.85 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13607. 1961.85 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13608. 1961.85 s [opt-env-conf-test] ]
  13609. 1961.85 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  13610. 1961.85 s [opt-env-conf-test] - [ [ functionChunk "conf",
  13611. 1961.85 s [opt-env-conf-test] - " or ",
  13612. 1961.85 s [opt-env-conf-test] - functionChunk "name",
  13613. 1961.85 s [opt-env-conf-test] - " was called with no way to load configuration."
  13614. 1961.85 s [opt-env-conf-test] - ],
  13615. 1961.85 s [opt-env-conf-test] - [ "You can load configuration with ",
  13616. 1961.85 s [opt-env-conf-test] - functionChunk "withConfig",
  13617. 1961.85 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  13618. 1961.85 s [opt-env-conf-test] - functionChunk "withoutConfig",
  13619. 1961.85 s [opt-env-conf-test] - "."
  13620. 1961.85 s [opt-env-conf-test] - ]
  13621. 1961.85 s [opt-env-conf-test] - ]
  13622. 1961.85 s [opt-env-conf-test] LintErrorManyInfinite ->
  13623. 1961.85 s [opt-env-conf-test] [ [ functionChunk "many",
  13624. 1961.85 s [opt-env-conf-test] " or ",
  13625. 1961.85 s [opt-env-conf-test] functionChunk "some",
  13626. 1961.85 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  13627. 1961.85 s [opt-env-conf-test] ],
  13628. 1961.85 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  13629. 1961.85 s [opt-env-conf-test] ],
  13630. 1961.85 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13631. 1961.85 s [opt-env-conf-test] ]
  13632. 1961.85 s [opt-env-conf-test]
  13633. 1961.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  13634. 1961.85 s [opt-env-conf-test] @@ -66,168 +66,160 @@
  13635. 1961.86 s [opt-env-conf-test] renderLintError LintError {..} =
  13636. 1961.86 s [opt-env-conf-test] concat
  13637. 1961.86 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  13638. 1961.86 s [opt-env-conf-test] case lintErrorMessage of
  13639. 1961.86 s [opt-env-conf-test] LintErrorUndocumented ->
  13640. 1961.86 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13641. 1961.86 s [opt-env-conf-test] LintErrorEmptySetting ->
  13642. 1961.86 s [opt-env-conf-test] concat
  13643. 1961.86 s [opt-env-conf-test] [ [ [ "This ",
  13644. 1961.86 s [opt-env-conf-test] functionChunk "setting",
  13645. 1961.86 s [opt-env-conf-test] " parses nothing."
  13646. 1961.86 s [opt-env-conf-test] ]
  13647. 1961.86 s [opt-env-conf-test] ],
  13648. 1961.86 s [opt-env-conf-test] [ [ "Add an ",
  13649. 1961.86 s [opt-env-conf-test] functionChunk "argument",
  13650. 1961.86 s [opt-env-conf-test] ", ",
  13651. 1961.86 s [opt-env-conf-test] functionChunk "switch",
  13652. 1961.86 s [opt-env-conf-test] ", ",
  13653. 1961.86 s [opt-env-conf-test] functionChunk "option",
  13654. 1961.86 s [opt-env-conf-test] ", ",
  13655. 1961.86 s [opt-env-conf-test] functionChunk "env",
  13656. 1961.86 s [opt-env-conf-test] ", ",
  13657. 1961.86 s [opt-env-conf-test] functionChunk "conf",
  13658. 1961.86 s [opt-env-conf-test] ", or ",
  13659. 1961.86 s [opt-env-conf-test] functionChunk "value",
  13660. 1961.86 s [opt-env-conf-test] "."
  13661. 1961.86 s [opt-env-conf-test] ]
  13662. 1961.86 s [opt-env-conf-test] ]
  13663. 1961.86 s [opt-env-conf-test] ]
  13664. 1961.86 s [opt-env-conf-test] LintErrorDashInShort ->
  13665. 1961.86 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  13666. 1961.86 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  13667. 1961.86 s [opt-env-conf-test] ]
  13668. 1961.86 s [opt-env-conf-test] LintErrorDashInLong s ->
  13669. 1961.86 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  13670. 1961.86 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13671. 1961.86 s [opt-env-conf-test] [ "Try ",
  13672. 1961.86 s [opt-env-conf-test] functionChunk "long",
  13673. 1961.86 s [opt-env-conf-test] " ",
  13674. 1961.86 s [opt-env-conf-test] chunk $
  13675. 1961.86 s [opt-env-conf-test] T.pack $
  13676. 1961.86 s [opt-env-conf-test] show $
  13677. 1961.86 s [opt-env-conf-test] let go = \case
  13678. 1961.86 s [opt-env-conf-test] [] -> []
  13679. 1961.86 s [opt-env-conf-test] '-' : cs -> go cs
  13680. 1961.86 s [opt-env-conf-test] c : cs -> c : cs
  13681. 1961.86 s [opt-env-conf-test] in go $ NE.toList s,
  13682. 1961.86 s [opt-env-conf-test] " instead."
  13683. 1961.86 s [opt-env-conf-test] ]
  13684. 1961.86 s [opt-env-conf-test] ]
  13685. 1961.86 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  13686. 1961.87 s [opt-env-conf-test] [ [ functionChunk "argument",
  13687. 1961.87 s [opt-env-conf-test] " has no ",
  13688. 1961.87 s [opt-env-conf-test] functionChunk "reader",
  13689. 1961.87 s [opt-env-conf-test] "."
  13690. 1961.87 s [opt-env-conf-test] ]
  13691. 1961.87 s [opt-env-conf-test] ]
  13692. 1961.87 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  13693. 1961.87 s [opt-env-conf-test] [ [ functionChunk "argument",
  13694. 1961.87 s [opt-env-conf-test] " has no ",
  13695. 1961.87 s [opt-env-conf-test] functionChunk "metavar",
  13696. 1961.87 s [opt-env-conf-test] "."
  13697. 1961.87 s [opt-env-conf-test] ]
  13698. 1961.87 s [opt-env-conf-test] ]
  13699. 1961.87 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  13700. 1961.87 s [opt-env-conf-test] [ [ functionChunk "option",
  13701. 1961.87 s [opt-env-conf-test] " or ",
  13702. 1961.87 s [opt-env-conf-test] functionChunk "name",
  13703. 1961.87 s [opt-env-conf-test] " has no ",
  13704. 1961.87 s [opt-env-conf-test] functionChunk "reader",
  13705. 1961.87 s [opt-env-conf-test] "."
  13706. 1961.87 s [opt-env-conf-test] ]
  13707. 1961.87 s [opt-env-conf-test] ]
  13708. 1961.87 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  13709. 1961.87 s [opt-env-conf-test] [ [ functionChunk "option",
  13710. 1961.87 s [opt-env-conf-test] " has no ",
  13711. 1961.87 s [opt-env-conf-test] functionChunk "long",
  13712. 1961.87 s [opt-env-conf-test] " or ",
  13713. 1961.87 s [opt-env-conf-test] functionChunk "short",
  13714. 1961.87 s [opt-env-conf-test] "."
  13715. 1961.87 s [opt-env-conf-test] ]
  13716. 1961.87 s [opt-env-conf-test] ]
  13717. 1961.87 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  13718. 1961.87 s [opt-env-conf-test] [ [ functionChunk "option",
  13719. 1961.87 s [opt-env-conf-test] " or ",
  13720. 1961.87 s [opt-env-conf-test] functionChunk "name",
  13721. 1961.87 s [opt-env-conf-test] " has no ",
  13722. 1961.87 s [opt-env-conf-test] functionChunk "metavar",
  13723. 1961.87 s [opt-env-conf-test] "."
  13724. 1961.87 s [opt-env-conf-test] ]
  13725. 1961.87 s [opt-env-conf-test] ]
  13726. 1961.87 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  13727. 1961.87 s [opt-env-conf-test] [ [ functionChunk "switch",
  13728. 1961.87 s [opt-env-conf-test] " has no ",
  13729. 1961.87 s [opt-env-conf-test] functionChunk "long",
  13730. 1961.87 s [opt-env-conf-test] " or ",
  13731. 1961.87 s [opt-env-conf-test] functionChunk "short",
  13732. 1961.87 s [opt-env-conf-test] "."
  13733. 1961.87 s [opt-env-conf-test] ]
  13734. 1961.87 s [opt-env-conf-test] ]
  13735. 1961.87 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  13736. 1961.87 s [opt-env-conf-test] [ [ functionChunk "long",
  13737. 1961.87 s [opt-env-conf-test] " or ",
  13738. 1961.87 s [opt-env-conf-test] functionChunk "short",
  13739. 1961.87 s [opt-env-conf-test] " has no ",
  13740. 1961.87 s [opt-env-conf-test] functionChunk "option",
  13741. 1961.87 s [opt-env-conf-test] " or ",
  13742. 1961.87 s [opt-env-conf-test] functionChunk "switch",
  13743. 1961.87 s [opt-env-conf-test] "."
  13744. 1961.87 s [opt-env-conf-test] ]
  13745. 1961.88 s [opt-env-conf-test] ]
  13746. 1961.88 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  13747. 1961.88 s [opt-env-conf-test] [ [ functionChunk "env",
  13748. 1961.88 s [opt-env-conf-test] " or ",
  13749. 1961.88 s [opt-env-conf-test] functionChunk "name",
  13750. 1961.88 s [opt-env-conf-test] " has no ",
  13751. 1961.88 s [opt-env-conf-test] functionChunk "reader",
  13752. 1961.88 s [opt-env-conf-test] "."
  13753. 1961.88 s [opt-env-conf-test] ]
  13754. 1961.88 s [opt-env-conf-test] ]
  13755. 1961.88 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  13756. 1961.88 s [opt-env-conf-test] [ [ functionChunk "env",
  13757. 1961.88 s [opt-env-conf-test] " or ",
  13758. 1961.88 s [opt-env-conf-test] functionChunk "name",
  13759. 1961.88 s [opt-env-conf-test] " has no ",
  13760. 1961.88 s [opt-env-conf-test] functionChunk "metavar",
  13761. 1961.88 s [opt-env-conf-test] "."
  13762. 1961.88 s [opt-env-conf-test] ]
  13763. 1961.88 s [opt-env-conf-test] ]
  13764. 1961.88 s [opt-env-conf-test] LintErrorNoCommands ->
  13765. 1961.88 s [opt-env-conf-test] [ [ functionChunk "commands",
  13766. 1961.88 s [opt-env-conf-test] " was called with an empty list."
  13767. 1962.12 s [opt-env-conf-test] ]
  13768. 1962.12 s [opt-env-conf-test] ]
  13769. 1962.12 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  13770. 1962.12 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  13771. 1962.12 s [opt-env-conf-test] " was called with an unknown command: ",
  13772. 1962.12 s [opt-env-conf-test] commandChunk c
  13773. 1962.12 s [opt-env-conf-test] ]
  13774. 1962.12 s [opt-env-conf-test] ]
  13775. 1962.12 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  13776. 1962.13 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13777. 1962.13 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  13778. 1962.13 s [opt-env-conf-test] ]
  13779. 1962.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  13780. 1962.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  13781. 1962.13 s [opt-env-conf-test] " or ",
  13782. 1962.13 s [opt-env-conf-test] functionChunk "name",
  13783. 1962.13 s [opt-env-conf-test] " was called with no way to load configuration."
  13784. 1962.13 s [opt-env-conf-test] ],
  13785. 1962.13 s [opt-env-conf-test] [ "You can load configuration with ",
  13786. 1962.13 s [opt-env-conf-test] functionChunk "withConfig",
  13787. 1962.13 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  13788. 1962.13 s [opt-env-conf-test] functionChunk "withoutConfig",
  13789. 1962.13 s [opt-env-conf-test] "."
  13790. 1962.13 s [opt-env-conf-test] ]
  13791. 1962.13 s [opt-env-conf-test] ]
  13792. 1962.13 s [opt-env-conf-test] - LintErrorManyInfinite ->
  13793. 1962.13 s [opt-env-conf-test] - [ [ functionChunk "many",
  13794. 1962.13 s [opt-env-conf-test] - " or ",
  13795. 1962.13 s [opt-env-conf-test] - functionChunk "some",
  13796. 1962.13 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  13797. 1962.13 s [opt-env-conf-test] - ],
  13798. 1962.13 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  13799. 1962.13 s [opt-env-conf-test] - ],
  13800. 1962.13 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13801. 1962.13 s [opt-env-conf-test] ]
  13802. 1962.13 s [opt-env-conf-test]
  13803. 1962.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  13804. 1962.13 s [opt-env-conf-test] @@ -65,171 +65,7 @@
  13805. 1962.13 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  13806. 1962.13 s [opt-env-conf-test] renderLintError LintError {..} =
  13807. 1962.13 s [opt-env-conf-test] concat
  13808. 1962.13 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  13809. 1962.13 s [opt-env-conf-test] - case lintErrorMessage of
  13810. 1962.13 s [opt-env-conf-test] - LintErrorUndocumented ->
  13811. 1962.13 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  13812. 1962.13 s [opt-env-conf-test] - LintErrorEmptySetting ->
  13813. 1962.13 s [opt-env-conf-test] - concat
  13814. 1962.13 s [opt-env-conf-test] - [ [ [ "This ",
  13815. 1962.14 s [opt-env-conf-test] - functionChunk "setting",
  13816. 1962.14 s [opt-env-conf-test] - " parses nothing."
  13817. 1962.14 s [opt-env-conf-test] - ]
  13818. 1962.14 s [opt-env-conf-test] - ],
  13819. 1962.14 s [opt-env-conf-test] - [ [ "Add an ",
  13820. 1962.14 s [opt-env-conf-test] - functionChunk "argument",
  13821. 1962.14 s [opt-env-conf-test] - ", ",
  13822. 1962.14 s [opt-env-conf-test] - functionChunk "switch",
  13823. 1962.14 s [opt-env-conf-test] - ", ",
  13824. 1962.14 s [opt-env-conf-test] - functionChunk "option",
  13825. 1962.14 s [opt-env-conf-test] - ", ",
  13826. 1962.14 s [opt-env-conf-test] - functionChunk "env",
  13827. 1962.14 s [opt-env-conf-test] - ", ",
  13828. 1962.14 s [opt-env-conf-test] - functionChunk "conf",
  13829. 1962.14 s [opt-env-conf-test] - ", or ",
  13830. 1962.14 s [opt-env-conf-test] - functionChunk "value",
  13831. 1962.14 s [opt-env-conf-test] - "."
  13832. 1962.14 s [opt-env-conf-test] - ]
  13833. 1962.14 s [opt-env-conf-test] - ]
  13834. 1962.14 s [opt-env-conf-test] - ]
  13835. 1962.14 s [opt-env-conf-test] - LintErrorDashInShort ->
  13836. 1962.14 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  13837. 1962.14 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  13838. 1962.14 s [opt-env-conf-test] - ]
  13839. 1962.14 s [opt-env-conf-test] - LintErrorDashInLong s ->
  13840. 1962.14 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  13841. 1962.14 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  13842. 1962.14 s [opt-env-conf-test] - [ "Try ",
  13843. 1962.14 s [opt-env-conf-test] - functionChunk "long",
  13844. 1962.14 s [opt-env-conf-test] - " ",
  13845. 1962.14 s [opt-env-conf-test] - chunk $
  13846. 1962.14 s [opt-env-conf-test] - T.pack $
  13847. 1962.14 s [opt-env-conf-test] - show $
  13848. 1962.14 s [opt-env-conf-test] - let go = \case
  13849. 1962.14 s [opt-env-conf-test] - [] -> []
  13850. 1962.14 s [opt-env-conf-test] - '-' : cs -> go cs
  13851. 1962.14 s [opt-env-conf-test] - c : cs -> c : cs
  13852. 1962.14 s [opt-env-conf-test] - in go $ NE.toList s,
  13853. 1962.14 s [opt-env-conf-test] - " instead."
  13854. 1962.14 s [opt-env-conf-test] - ]
  13855. 1962.14 s [opt-env-conf-test] - ]
  13856. 1962.14 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  13857. 1962.14 s [opt-env-conf-test] - [ [ functionChunk "argument",
  13858. 1962.14 s [opt-env-conf-test] - " has no ",
  13859. 1962.14 s [opt-env-conf-test] - functionChunk "reader",
  13860. 1962.14 s [opt-env-conf-test] - "."
  13861. 1962.15 s [opt-env-conf-test] - ]
  13862. 1962.15 s [opt-env-conf-test] - ]
  13863. 1962.15 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  13864. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "argument",
  13865. 1962.15 s [opt-env-conf-test] - " has no ",
  13866. 1962.15 s [opt-env-conf-test] - functionChunk "metavar",
  13867. 1962.15 s [opt-env-conf-test] - "."
  13868. 1962.15 s [opt-env-conf-test] - ]
  13869. 1962.15 s [opt-env-conf-test] - ]
  13870. 1962.15 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  13871. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "option",
  13872. 1962.15 s [opt-env-conf-test] - " or ",
  13873. 1962.15 s [opt-env-conf-test] - functionChunk "name",
  13874. 1962.15 s [opt-env-conf-test] - " has no ",
  13875. 1962.15 s [opt-env-conf-test] - functionChunk "reader",
  13876. 1962.15 s [opt-env-conf-test] - "."
  13877. 1962.15 s [opt-env-conf-test] - ]
  13878. 1962.15 s [opt-env-conf-test] - ]
  13879. 1962.15 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  13880. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "option",
  13881. 1962.15 s [opt-env-conf-test] - " has no ",
  13882. 1962.15 s [opt-env-conf-test] - functionChunk "long",
  13883. 1962.15 s [opt-env-conf-test] - " or ",
  13884. 1962.15 s [opt-env-conf-test] - functionChunk "short",
  13885. 1962.15 s [opt-env-conf-test] - "."
  13886. 1962.15 s [opt-env-conf-test] - ]
  13887. 1962.15 s [opt-env-conf-test] - ]
  13888. 1962.15 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  13889. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "option",
  13890. 1962.15 s [opt-env-conf-test] - " or ",
  13891. 1962.15 s [opt-env-conf-test] - functionChunk "name",
  13892. 1962.15 s [opt-env-conf-test] - " has no ",
  13893. 1962.15 s [opt-env-conf-test] - functionChunk "metavar",
  13894. 1962.15 s [opt-env-conf-test] - "."
  13895. 1962.15 s [opt-env-conf-test] - ]
  13896. 1962.15 s [opt-env-conf-test] - ]
  13897. 1962.15 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  13898. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "switch",
  13899. 1962.15 s [opt-env-conf-test] - " has no ",
  13900. 1962.15 s [opt-env-conf-test] - functionChunk "long",
  13901. 1962.15 s [opt-env-conf-test] - " or ",
  13902. 1962.15 s [opt-env-conf-test] - functionChunk "short",
  13903. 1962.15 s [opt-env-conf-test] - "."
  13904. 1962.15 s [opt-env-conf-test] - ]
  13905. 1962.15 s [opt-env-conf-test] - ]
  13906. 1962.15 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  13907. 1962.15 s [opt-env-conf-test] - [ [ functionChunk "long",
  13908. 1962.16 s [opt-env-conf-test] - " or ",
  13909. 1962.16 s [opt-env-conf-test] - functionChunk "short",
  13910. 1962.16 s [opt-env-conf-test] - " has no ",
  13911. 1962.16 s [opt-env-conf-test] - functionChunk "option",
  13912. 1962.16 s [opt-env-conf-test] - " or ",
  13913. 1962.16 s [opt-env-conf-test] - functionChunk "switch",
  13914. 1962.16 s [opt-env-conf-test] - "."
  13915. 1962.16 s [opt-env-conf-test] - ]
  13916. 1962.16 s [opt-env-conf-test] - ]
  13917. 1962.16 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  13918. 1962.16 s [opt-env-conf-test] - [ [ functionChunk "env",
  13919. 1962.16 s [opt-env-conf-test] - " or ",
  13920. 1962.16 s [opt-env-conf-test] - functionChunk "name",
  13921. 1962.16 s [opt-env-conf-test] - " has no ",
  13922. 1962.16 s [opt-env-conf-test] - functionChunk "reader",
  13923. 1962.16 s [opt-env-conf-test] - "."
  13924. 1962.16 s [opt-env-conf-test] - ]
  13925. 1962.16 s [opt-env-conf-test] - ]
  13926. 1962.16 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  13927. 1962.16 s [opt-env-conf-test] - [ [ functionChunk "env",
  13928. 1962.16 s [opt-env-conf-test] - " or ",
  13929. 1962.16 s [opt-env-conf-test] - functionChunk "name",
  13930. 1962.16 s [opt-env-conf-test] - " has no ",
  13931. 1962.16 s [opt-env-conf-test] - functionChunk "metavar",
  13932. 1962.16 s [opt-env-conf-test] - "."
  13933. 1962.16 s [opt-env-conf-test] - ]
  13934. 1962.16 s [opt-env-conf-test] - ]
  13935. 1962.16 s [opt-env-conf-test] - LintErrorNoCommands ->
  13936. 1962.16 s [opt-env-conf-test] - [ [ functionChunk "commands",
  13937. 1962.16 s [opt-env-conf-test] - " was called with an empty list."
  13938. 1962.16 s [opt-env-conf-test] - ]
  13939. 1962.16 s [opt-env-conf-test] - ]
  13940. 1962.16 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  13941. 1962.16 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  13942. 1962.16 s [opt-env-conf-test] - " was called with an unknown command: ",
  13943. 1962.16 s [opt-env-conf-test] - commandChunk c
  13944. 1962.16 s [opt-env-conf-test] - ]
  13945. 1962.16 s [opt-env-conf-test] - ]
  13946. 1962.16 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  13947. 1962.16 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  13948. 1962.16 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  13949. 1962.16 s [opt-env-conf-test] - ]
  13950. 1962.16 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  13951. 1962.16 s [opt-env-conf-test] - [ [ functionChunk "conf",
  13952. 1962.16 s [opt-env-conf-test] - " or ",
  13953. 1962.16 s [opt-env-conf-test] - functionChunk "name",
  13954. 1962.16 s [opt-env-conf-test] - " was called with no way to load configuration."
  13955. 1962.16 s [opt-env-conf-test] - ],
  13956. 1962.16 s [opt-env-conf-test] - [ "You can load configuration with ",
  13957. 1962.16 s [opt-env-conf-test] - functionChunk "withConfig",
  13958. 1963.35 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  13959. 1963.35 s [opt-env-conf-test] - functionChunk "withoutConfig",
  13960. 1963.35 s [opt-env-conf-test] - "."
  13961. 1963.35 s [opt-env-conf-test] - ]
  13962. 1963.35 s [opt-env-conf-test] - ]
  13963. 1963.36 s [opt-env-conf-test] - LintErrorManyInfinite ->
  13964. 1963.36 s [opt-env-conf-test] - [ [ functionChunk "many",
  13965. 1963.36 s [opt-env-conf-test] - " or ",
  13966. 1963.36 s [opt-env-conf-test] - functionChunk "some",
  13967. 1963.36 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  13968. 1963.36 s [opt-env-conf-test] - ],
  13969. 1963.36 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  13970. 1963.36 s [opt-env-conf-test] - ],
  13971. 1963.36 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  13972. 1963.36 s [opt-env-conf-test] ]
  13973. 1963.36 s [opt-env-conf-test]
  13974. 1963.36 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  13975. 1963.36 s [opt-env-conf-test] lintParser =
  13976. 1963.36 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  13977. 1963.36 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  13978. 1963.36 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  13979. 1963.36 s [opt-env-conf-test] renderLintError LintError {..} =
  13980. 1963.36 s [opt-env-conf-test] concat
  13981. 1963.36 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  13982. 1963.36 s [opt-env-conf-test] case lintErrorMessage of
  13983. 1963.36 s [opt-env-conf-test] LintErrorUndocumented ->
  13984. 1963.36 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  13985. 1963.36 s [opt-env-conf-test] LintErrorEmptySetting ->
  13986. 1963.36 s [opt-env-conf-test] concat
  13987. 1963.36 s [opt-env-conf-test] [ [ [ "This ",
  13988. 1963.36 s [opt-env-conf-test] functionChunk "setting",
  13989. 1963.36 s [opt-env-conf-test] " parses nothing."
  13990. 1963.36 s [opt-env-conf-test] ]
  13991. 1963.36 s [opt-env-conf-test] ],
  13992. 1963.36 s [opt-env-conf-test] [ [ "Add an ",
  13993. 1963.36 s [opt-env-conf-test] functionChunk "argument",
  13994. 1963.36 s [opt-env-conf-test] ", ",
  13995. 1963.36 s [opt-env-conf-test] functionChunk "switch",
  13996. 1963.36 s [opt-env-conf-test] ", ",
  13997. 1963.36 s [opt-env-conf-test] functionChunk "option",
  13998. 1963.36 s [opt-env-conf-test] ", ",
  13999. 1963.36 s [opt-env-conf-test] functionChunk "env",
  14000. 1963.36 s [opt-env-conf-test] ", ",
  14001. 1963.36 s [opt-env-conf-test] functionChunk "conf",
  14002. 1963.36 s [opt-env-conf-test] ", or ",
  14003. 1963.36 s [opt-env-conf-test] functionChunk "value",
  14004. 1963.36 s [opt-env-conf-test] "."
  14005. 1963.36 s [opt-env-conf-test] ]
  14006. 1963.36 s [opt-env-conf-test] ]
  14007. 1963.36 s [opt-env-conf-test] ]
  14008. 1963.36 s [opt-env-conf-test] LintErrorDashInShort ->
  14009. 1963.36 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14010. 1963.36 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14011. 1963.36 s [opt-env-conf-test] ]
  14012. 1963.36 s [opt-env-conf-test] LintErrorDashInLong s ->
  14013. 1963.36 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14014. 1963.36 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14015. 1963.36 s [opt-env-conf-test] [ "Try ",
  14016. 1963.36 s [opt-env-conf-test] functionChunk "long",
  14017. 1963.37 s [opt-env-conf-test] " ",
  14018. 1963.37 s [opt-env-conf-test] chunk $
  14019. 1963.37 s [opt-env-conf-test] T.pack $
  14020. 1963.37 s [opt-env-conf-test] show $
  14021. 1963.37 s [opt-env-conf-test] let go = \case
  14022. 1963.37 s [opt-env-conf-test] [] -> []
  14023. 1963.37 s [opt-env-conf-test] '-' : cs -> go cs
  14024. 1963.37 s [opt-env-conf-test] c : cs -> c : cs
  14025. 1963.37 s [opt-env-conf-test] in go $ NE.toList s,
  14026. 1963.37 s [opt-env-conf-test] " instead."
  14027. 1963.37 s [opt-env-conf-test] ]
  14028. 1963.37 s [opt-env-conf-test] ]
  14029. 1963.37 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14030. 1963.37 s [opt-env-conf-test] [ [ functionChunk "argument",
  14031. 1963.37 s [opt-env-conf-test] " has no ",
  14032. 1963.37 s [opt-env-conf-test] functionChunk "reader",
  14033. 1963.37 s [opt-env-conf-test] "."
  14034. 1963.37 s [opt-env-conf-test] ]
  14035. 1963.37 s [opt-env-conf-test] ]
  14036. 1963.37 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14037. 1963.37 s [opt-env-conf-test] [ [ functionChunk "argument",
  14038. 1963.37 s [opt-env-conf-test] " has no ",
  14039. 1963.37 s [opt-env-conf-test] functionChunk "metavar",
  14040. 1963.37 s [opt-env-conf-test] "."
  14041. 1963.37 s [opt-env-conf-test] ]
  14042. 1963.37 s [opt-env-conf-test] ]
  14043. 1963.37 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14044. 1963.37 s [opt-env-conf-test] [ [ functionChunk "option",
  14045. 1963.37 s [opt-env-conf-test] " or ",
  14046. 1963.37 s [opt-env-conf-test] functionChunk "name",
  14047. 1963.37 s [opt-env-conf-test] " has no ",
  14048. 1963.37 s [opt-env-conf-test] functionChunk "reader",
  14049. 1963.37 s [opt-env-conf-test] "."
  14050. 1963.37 s [opt-env-conf-test] ]
  14051. 1963.37 s [opt-env-conf-test] ]
  14052. 1963.37 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14053. 1963.37 s [opt-env-conf-test] [ [ functionChunk "option",
  14054. 1963.37 s [opt-env-conf-test] " has no ",
  14055. 1963.37 s [opt-env-conf-test] functionChunk "long",
  14056. 1963.37 s [opt-env-conf-test] " or ",
  14057. 1963.37 s [opt-env-conf-test] functionChunk "short",
  14058. 1963.37 s [opt-env-conf-test] "."
  14059. 1963.37 s [opt-env-conf-test] ]
  14060. 1963.37 s [opt-env-conf-test] ]
  14061. 1963.37 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14062. 1963.37 s [opt-env-conf-test] [ [ functionChunk "option",
  14063. 1963.37 s [opt-env-conf-test] " or ",
  14064. 1963.37 s [opt-env-conf-test] functionChunk "name",
  14065. 1963.37 s [opt-env-conf-test] " has no ",
  14066. 1963.37 s [opt-env-conf-test] functionChunk "metavar",
  14067. 1963.37 s [opt-env-conf-test] "."
  14068. 1963.37 s [opt-env-conf-test] ]
  14069. 1963.37 s [opt-env-conf-test] ]
  14070. 1963.37 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14071. 1963.37 s [opt-env-conf-test] [ [ functionChunk "switch",
  14072. 1963.37 s [opt-env-conf-test] " has no ",
  14073. 1963.37 s [opt-env-conf-test] functionChunk "long",
  14074. 1963.37 s [opt-env-conf-test] " or ",
  14075. 1963.37 s [opt-env-conf-test] functionChunk "short",
  14076. 1963.37 s [opt-env-conf-test] "."
  14077. 1963.37 s [opt-env-conf-test] ]
  14078. 1963.37 s [opt-env-conf-test] ]
  14079. 1963.37 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14080. 1963.37 s [opt-env-conf-test] [ [ functionChunk "long",
  14081. 1963.37 s [opt-env-conf-test] " or ",
  14082. 1963.38 s [opt-env-conf-test] functionChunk "short",
  14083. 1963.38 s [opt-env-conf-test] " has no ",
  14084. 1963.38 s [opt-env-conf-test] functionChunk "option",
  14085. 1963.38 s [opt-env-conf-test] " or ",
  14086. 1963.38 s [opt-env-conf-test] functionChunk "switch",
  14087. 1963.38 s [opt-env-conf-test] "."
  14088. 1963.38 s [opt-env-conf-test] ]
  14089. 1963.38 s [opt-env-conf-test] ]
  14090. 1963.38 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14091. 1963.38 s [opt-env-conf-test] [ [ functionChunk "env",
  14092. 1963.38 s [opt-env-conf-test] " or ",
  14093. 1963.38 s [opt-env-conf-test] functionChunk "name",
  14094. 1963.38 s [opt-env-conf-test] " has no ",
  14095. 1963.38 s [opt-env-conf-test] functionChunk "reader",
  14096. 1963.38 s [opt-env-conf-test] "."
  14097. 1963.38 s [opt-env-conf-test] ]
  14098. 1963.38 s [opt-env-conf-test] ]
  14099. 1963.38 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14100. 1963.38 s [opt-env-conf-test] [ [ functionChunk "env",
  14101. 1963.38 s [opt-env-conf-test] " or ",
  14102. 1963.38 s [opt-env-conf-test] functionChunk "name",
  14103. 1963.38 s [opt-env-conf-test] " has no ",
  14104. 1963.38 s [opt-env-conf-test] functionChunk "metavar",
  14105. 1963.38 s [opt-env-conf-test] "."
  14106. 1963.38 s [opt-env-conf-test] ]
  14107. 1963.38 s [opt-env-conf-test] ]
  14108. 1963.38 s [opt-env-conf-test] LintErrorNoCommands ->
  14109. 1963.38 s [opt-env-conf-test] [ [ functionChunk "commands",
  14110. 1964.62 s [opt-env-conf-test] " was called with an empty list."
  14111. 1964.62 s [opt-env-conf-test] ]
  14112. 1964.62 s [opt-env-conf-test] ]
  14113. 1964.62 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14114. 1964.62 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14115. 1964.62 s [opt-env-conf-test] " was called with an unknown command: ",
  14116. 1964.62 s [opt-env-conf-test] commandChunk c
  14117. 1964.62 s [opt-env-conf-test] ]
  14118. 1964.62 s [opt-env-conf-test] ]
  14119. 1964.62 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14120. 1964.62 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14121. 1964.62 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14122. 1964.62 s [opt-env-conf-test] ]
  14123. 1964.62 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14124. 1964.62 s [opt-env-conf-test] [ [ functionChunk "conf",
  14125. 1964.62 s [opt-env-conf-test] " or ",
  14126. 1964.62 s [opt-env-conf-test] functionChunk "name",
  14127. 1964.62 s [opt-env-conf-test] " was called with no way to load configuration."
  14128. 1964.62 s [opt-env-conf-test] ],
  14129. 1964.62 s [opt-env-conf-test] [ "You can load configuration with ",
  14130. 1964.62 s [opt-env-conf-test] functionChunk "withConfig",
  14131. 1964.62 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14132. 1964.62 s [opt-env-conf-test] functionChunk "withoutConfig",
  14133. 1964.62 s [opt-env-conf-test] "."
  14134. 1964.62 s [opt-env-conf-test] ]
  14135. 1964.62 s [opt-env-conf-test] ]
  14136. 1964.62 s [opt-env-conf-test] LintErrorManyInfinite ->
  14137. 1964.62 s [opt-env-conf-test] [ [ functionChunk "many",
  14138. 1964.63 s [opt-env-conf-test] " or ",
  14139. 1964.63 s [opt-env-conf-test] functionChunk "some",
  14140. 1964.63 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14141. 1964.63 s [opt-env-conf-test] ],
  14142. 1964.63 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14143. 1964.63 s [opt-env-conf-test] ],
  14144. 1964.63 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14145. 1964.63 s [opt-env-conf-test] ]
  14146. 1964.63 s [opt-env-conf-test]
  14147. 1964.63 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  14148. 1964.63 s [opt-env-conf-test] lintParser =
  14149. 1964.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  14150. 1964.63 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  14151. 1964.63 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  14152. 1964.63 s [opt-env-conf-test] renderLintError LintError {..} =
  14153. 1964.63 s [opt-env-conf-test] concat
  14154. 1964.63 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  14155. 1964.63 s [opt-env-conf-test] case lintErrorMessage of
  14156. 1964.63 s [opt-env-conf-test] LintErrorUndocumented ->
  14157. 1964.63 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14158. 1964.63 s [opt-env-conf-test] LintErrorEmptySetting ->
  14159. 1964.63 s [opt-env-conf-test] concat
  14160. 1964.63 s [opt-env-conf-test] [ [ [ "This ",
  14161. 1964.63 s [opt-env-conf-test] functionChunk "setting",
  14162. 1964.63 s [opt-env-conf-test] " parses nothing."
  14163. 1964.63 s [opt-env-conf-test] ]
  14164. 1964.63 s [opt-env-conf-test] ],
  14165. 1964.63 s [opt-env-conf-test] [ [ "Add an ",
  14166. 1964.63 s [opt-env-conf-test] functionChunk "argument",
  14167. 1964.63 s [opt-env-conf-test] ", ",
  14168. 1964.63 s [opt-env-conf-test] functionChunk "switch",
  14169. 1964.63 s [opt-env-conf-test] ", ",
  14170. 1964.63 s [opt-env-conf-test] functionChunk "option",
  14171. 1964.63 s [opt-env-conf-test] ", ",
  14172. 1964.63 s [opt-env-conf-test] functionChunk "env",
  14173. 1964.63 s [opt-env-conf-test] ", ",
  14174. 1964.63 s [opt-env-conf-test] functionChunk "conf",
  14175. 1964.63 s [opt-env-conf-test] ", or ",
  14176. 1964.63 s [opt-env-conf-test] functionChunk "value",
  14177. 1964.63 s [opt-env-conf-test] "."
  14178. 1964.63 s [opt-env-conf-test] ]
  14179. 1964.63 s [opt-env-conf-test] ]
  14180. 1964.63 s [opt-env-conf-test] ]
  14181. 1964.63 s [opt-env-conf-test] LintErrorDashInShort ->
  14182. 1964.63 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14183. 1964.63 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14184. 1964.63 s [opt-env-conf-test] ]
  14185. 1964.63 s [opt-env-conf-test] LintErrorDashInLong s ->
  14186. 1964.63 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14187. 1964.63 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14188. 1964.63 s [opt-env-conf-test] [ "Try ",
  14189. 1964.63 s [opt-env-conf-test] functionChunk "long",
  14190. 1964.63 s [opt-env-conf-test] " ",
  14191. 1964.63 s [opt-env-conf-test] chunk $
  14192. 1964.63 s [opt-env-conf-test] T.pack $
  14193. 1964.63 s [opt-env-conf-test] show $
  14194. 1964.63 s [opt-env-conf-test] let go = \case
  14195. 1964.63 s [opt-env-conf-test] [] -> []
  14196. 1964.63 s [opt-env-conf-test] '-' : cs -> go cs
  14197. 1964.63 s [opt-env-conf-test] c : cs -> c : cs
  14198. 1964.63 s [opt-env-conf-test] in go $ NE.toList s,
  14199. 1964.63 s [opt-env-conf-test] " instead."
  14200. 1964.63 s [opt-env-conf-test] ]
  14201. 1964.63 s [opt-env-conf-test] ]
  14202. 1964.63 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14203. 1964.63 s [opt-env-conf-test] [ [ functionChunk "argument",
  14204. 1964.63 s [opt-env-conf-test] " has no ",
  14205. 1964.63 s [opt-env-conf-test] functionChunk "reader",
  14206. 1964.63 s [opt-env-conf-test] "."
  14207. 1964.63 s [opt-env-conf-test] ]
  14208. 1964.63 s [opt-env-conf-test] ]
  14209. 1964.63 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14210. 1964.63 s [opt-env-conf-test] [ [ functionChunk "argument",
  14211. 1964.63 s [opt-env-conf-test] " has no ",
  14212. 1964.63 s [opt-env-conf-test] functionChunk "metavar",
  14213. 1964.63 s [opt-env-conf-test] "."
  14214. 1964.63 s [opt-env-conf-test] ]
  14215. 1964.63 s [opt-env-conf-test] ]
  14216. 1964.63 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14217. 1964.63 s [opt-env-conf-test] [ [ functionChunk "option",
  14218. 1964.63 s [opt-env-conf-test] " or ",
  14219. 1964.63 s [opt-env-conf-test] functionChunk "name",
  14220. 1964.63 s [opt-env-conf-test] " has no ",
  14221. 1964.63 s [opt-env-conf-test] functionChunk "reader",
  14222. 1964.63 s [opt-env-conf-test] "."
  14223. 1964.63 s [opt-env-conf-test] ]
  14224. 1964.63 s [opt-env-conf-test] ]
  14225. 1964.63 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14226. 1964.63 s [opt-env-conf-test] [ [ functionChunk "option",
  14227. 1964.63 s [opt-env-conf-test] " has no ",
  14228. 1964.63 s [opt-env-conf-test] functionChunk "long",
  14229. 1964.63 s [opt-env-conf-test] " or ",
  14230. 1964.63 s [opt-env-conf-test] functionChunk "short",
  14231. 1964.63 s [opt-env-conf-test] "."
  14232. 1964.63 s [opt-env-conf-test] ]
  14233. 1964.63 s [opt-env-conf-test] ]
  14234. 1964.63 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14235. 1964.63 s [opt-env-conf-test] [ [ functionChunk "option",
  14236. 1964.63 s [opt-env-conf-test] " or ",
  14237. 1964.63 s [opt-env-conf-test] functionChunk "name",
  14238. 1964.63 s [opt-env-conf-test] " has no ",
  14239. 1964.63 s [opt-env-conf-test] functionChunk "metavar",
  14240. 1964.63 s [opt-env-conf-test] "."
  14241. 1964.63 s [opt-env-conf-test] ]
  14242. 1964.63 s [opt-env-conf-test] ]
  14243. 1964.63 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14244. 1964.63 s [opt-env-conf-test] [ [ functionChunk "switch",
  14245. 1964.63 s [opt-env-conf-test] " has no ",
  14246. 1964.63 s [opt-env-conf-test] functionChunk "long",
  14247. 1964.63 s [opt-env-conf-test] " or ",
  14248. 1964.63 s [opt-env-conf-test] functionChunk "short",
  14249. 1964.63 s [opt-env-conf-test] "."
  14250. 1964.63 s [opt-env-conf-test] ]
  14251. 1964.63 s [opt-env-conf-test] ]
  14252. 1964.63 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14253. 1964.63 s [opt-env-conf-test] [ [ functionChunk "long",
  14254. 1964.63 s [opt-env-conf-test] " or ",
  14255. 1964.63 s [opt-env-conf-test] functionChunk "short",
  14256. 1964.64 s [opt-env-conf-test] " has no ",
  14257. 1964.64 s [opt-env-conf-test] functionChunk "option",
  14258. 1964.64 s [opt-env-conf-test] " or ",
  14259. 1964.64 s [opt-env-conf-test] functionChunk "switch",
  14260. 1964.64 s [opt-env-conf-test] "."
  14261. 1964.64 s [opt-env-conf-test] ]
  14262. 1964.64 s [opt-env-conf-test] ]
  14263. 1964.64 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14264. 1964.64 s [opt-env-conf-test] [ [ functionChunk "env",
  14265. 1964.64 s [opt-env-conf-test] " or ",
  14266. 1964.64 s [opt-env-conf-test] functionChunk "name",
  14267. 1964.64 s [opt-env-conf-test] " has no ",
  14268. 1964.64 s [opt-env-conf-test] functionChunk "reader",
  14269. 1964.64 s [opt-env-conf-test] "."
  14270. 1964.64 s [opt-env-conf-test] ]
  14271. 1964.64 s [opt-env-conf-test] ]
  14272. 1964.64 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14273. 1964.64 s [opt-env-conf-test] [ [ functionChunk "env",
  14274. 1964.64 s [opt-env-conf-test] " or ",
  14275. 1964.64 s [opt-env-conf-test] functionChunk "name",
  14276. 1964.64 s [opt-env-conf-test] " has no ",
  14277. 1964.64 s [opt-env-conf-test] functionChunk "metavar",
  14278. 1964.64 s [opt-env-conf-test] "."
  14279. 1964.64 s [opt-env-conf-test] ]
  14280. 1964.64 s [opt-env-conf-test] ]
  14281. 1964.64 s [opt-env-conf-test] LintErrorNoCommands ->
  14282. 1964.64 s [opt-env-conf-test] [ [ functionChunk "commands",
  14283. 1971.55 s [opt-env-conf-test] " was called with an empty list."
  14284. 1971.55 s [opt-env-conf-test] ]
  14285. 1971.56 s [opt-env-conf-test] ]
  14286. 1971.58 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14287. 1971.58 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14288. 1971.58 s [opt-env-conf-test] " was called with an unknown command: ",
  14289. 1971.58 s [opt-env-conf-test] commandChunk c
  14290. 1971.58 s [opt-env-conf-test] ]
  14291. 1971.58 s [opt-env-conf-test] ]
  14292. 1971.58 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14293. 1971.58 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14294. 1971.58 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14295. 1971.58 s [opt-env-conf-test] ]
  14296. 1971.58 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14297. 1971.58 s [opt-env-conf-test] [ [ functionChunk "conf",
  14298. 1971.59 s [opt-env-conf-test] " or ",
  14299. 1971.59 s [opt-env-conf-test] functionChunk "name",
  14300. 1971.59 s [opt-env-conf-test] " was called with no way to load configuration."
  14301. 1971.59 s [opt-env-conf-test] ],
  14302. 1971.59 s [opt-env-conf-test] [ "You can load configuration with ",
  14303. 1971.59 s [opt-env-conf-test] functionChunk "withConfig",
  14304. 1971.59 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14305. 1971.59 s [opt-env-conf-test] functionChunk "withoutConfig",
  14306. 1971.59 s [opt-env-conf-test] "."
  14307. 1971.59 s [opt-env-conf-test] ]
  14308. 1971.59 s [opt-env-conf-test] ]
  14309. 1971.59 s [opt-env-conf-test] LintErrorManyInfinite ->
  14310. 1971.59 s [opt-env-conf-test] [ [ functionChunk "many",
  14311. 1971.59 s [opt-env-conf-test] " or ",
  14312. 1971.59 s [opt-env-conf-test] functionChunk "some",
  14313. 1971.59 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14314. 1971.59 s [opt-env-conf-test] ],
  14315. 1971.59 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14316. 1971.59 s [opt-env-conf-test] ],
  14317. 1971.59 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14318. 1971.59 s [opt-env-conf-test] ]
  14319. 1971.59 s [opt-env-conf-test]
  14320. 1971.59 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  14321. 1971.59 s [opt-env-conf-test] lintParser =
  14322. 1971.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  14323. 1971.59 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  14324. 1971.59 s [opt-env-conf-test]
  14325. 1971.59 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  14326. 1971.59 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  14327. 1971.59 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  14328. 1971.59 s [opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
  14329. 1971.59 s [opt-env-conf-test] Just a -> Right a
  14330. 1971.59 s [opt-env-conf-test]
  14331. 1971.59 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  14332. 1971.59 s [opt-env-conf-test] --
  14333. 1971.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  14334. 1971.59 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  14335. 1971.59 s [opt-env-conf-test]
  14336. 1971.59 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  14337. 1971.60 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  14338. 1971.60 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  14339. 1971.60 s [opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
  14340. 1971.60 s [opt-env-conf-test] - Just a -> Right a
  14341. 1971.60 s [opt-env-conf-test]
  14342. 1971.60 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  14343. 1971.60 s [opt-env-conf-test] --
  14344. 1971.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
  14345. 1971.60 s [opt-env-conf-test] @@ -67,7 +67,7 @@
  14346. 1971.60 s [opt-env-conf-test] --
  14347. 1971.60 s [opt-env-conf-test] -- > exists = Reader $ const $ pure True
  14348. 1971.60 s [opt-env-conf-test] exists :: Reader Bool
  14349. 1971.60 s [opt-env-conf-test] -exists = Reader $ const $ pure True
  14350. 1971.60 s [opt-env-conf-test] +exists = Reader $ const $ pure False
  14351. 1971.60 s [opt-env-conf-test]
  14352. 1971.60 s [opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
  14353. 1971.60 s [opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
  14354. 1971.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  14355. 1971.60 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  14356. 1971.60 s [opt-env-conf-test] --
  14357. 1971.60 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  14358. 1971.60 s [opt-env-conf-test] auto :: (Read a) => Reader a
  14359. 1971.60 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  14360. 1971.60 s [opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
  14361. 1971.60 s [opt-env-conf-test] Just a -> Right a
  14362. 1971.60 s [opt-env-conf-test]
  14363. 1971.60 s [opt-env-conf-test] -- | Always return True
  14364. 1971.60 s [opt-env-conf-test] --
  14365. 1971.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  14366. 1971.60 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  14367. 1971.60 s [opt-env-conf-test] --
  14368. 1971.60 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  14369. 1971.60 s [opt-env-conf-test] auto :: (Read a) => Reader a
  14370. 1971.60 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  14371. 1971.60 s [opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
  14372. 1971.60 s [opt-env-conf-test] - Just a -> Right a
  14373. 1971.60 s [opt-env-conf-test]
  14374. 1971.60 s [opt-env-conf-test] -- | Always return True
  14375. 1971.60 s [opt-env-conf-test] --
  14376. 1971.60 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  14377. 1971.60 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  14378. 1971.60 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14379. 1971.60 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14380. 1971.60 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14381. 1971.60 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14382. 1971.61 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14383. 1971.61 s [opt-env-conf-test] goCommand = go . commandParser
  14384. 1971.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  14385. 1971.61 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  14386. 1971.61 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14387. 1971.61 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14388. 1971.61 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14389. 1971.61 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14390. 1971.61 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14391. 1971.61 s [opt-env-conf-test] goCommand = go . commandParser
  14392. 1971.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  14393. 1971.61 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  14394. 1971.61 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14395. 1971.61 s [opt-env-conf-test]
  14396. 1971.61 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14397. 1971.61 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14398. 1971.61 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14399. 1971.61 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  14400. 1971.61 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14401. 1971.61 s [opt-env-conf-test] goCommand = go . commandParser
  14402. 1971.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  14403. 1971.61 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  14404. 1971.61 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14405. 1971.61 s [opt-env-conf-test]
  14406. 1971.61 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14407. 1971.61 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14408. 1971.61 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  14409. 1971.61 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  14410. 1971.61 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  14411. 1971.61 s [opt-env-conf-test] goCommand = go . commandParser
  14412. 1971.61 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
  14413. 1971.61 s [opt-env-conf-test] @@ -87,7 +87,7 @@
  14414. 1971.61 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14415. 1971.61 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14416. 1971.61 s [opt-env-conf-test] (Nothing, _) -> o2
  14417. 1971.61 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14418. 1971.61 s [opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = Nothing}
  14419. 1971.61 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14420. 1971.61 s [opt-env-conf-test]
  14421. 1971.61 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14422. 1971.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14423. 1971.61 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14424. 1971.61 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14425. 1971.61 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14426. 1971.61 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14427. 1971.61 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14428. 1971.61 s [opt-env-conf-test] - (Nothing, _) -> o2
  14429. 1971.61 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14430. 1971.61 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14431. 1971.61 s [opt-env-conf-test]
  14432. 1971.61 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14433. 1971.61 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14434. 1971.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14435. 1971.62 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14436. 1971.62 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14437. 1971.62 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14438. 1971.62 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14439. 1971.62 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14440. 1971.62 s [opt-env-conf-test] (Nothing, _) -> o2
  14441. 1971.62 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14442. 1971.62 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14443. 1971.62 s [opt-env-conf-test]
  14444. 1971.62 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14445. 1971.62 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14446. 1971.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  14447. 1971.62 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  14448. 1971.62 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14449. 1971.62 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14450. 1971.62 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14451. 1971.62 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14452. 1971.62 s [opt-env-conf-test] (Nothing, _) -> o2
  14453. 1971.62 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  14454. 1971.62 s [opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  14455. 1971.62 s [opt-env-conf-test]
  14456. 1971.62 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  14457. 1971.62 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  14458. 1975.71 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
  14459. 1975.71 s [opt-env-conf-test] @@ -82,7 +82,7 @@
  14460. 1975.71 s [opt-env-conf-test] in objectCodecNixOptions oc
  14461. 1975.71 s [opt-env-conf-test] Just rest ->
  14462. 1975.71 s [opt-env-conf-test] let m = go' rest
  14463. 1975.71 s [opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14464. 1975.71 s [opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = Nothing}
  14465. 1975.71 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14466. 1975.71 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14467. 1975.71 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14468. 1975.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  14469. 1975.72 s [opt-env-conf-test] @@ -72,17 +72,10 @@
  14470. 1975.72 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  14471. 1975.72 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  14472. 1975.72 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  14473. 1975.72 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  14474. 1975.72 s [opt-env-conf-test] - Nothing ->
  14475. 1975.72 s [opt-env-conf-test] - let oc =
  14476. 1975.72 s [opt-env-conf-test] - maybe
  14477. 1975.72 s [opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
  14478. 1975.72 s [opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
  14479. 1975.72 s [opt-env-conf-test] - (T.pack <$> settingHelp s)
  14480. 1975.72 s [opt-env-conf-test] - in objectCodecNixOptions oc
  14481. 1975.72 s [opt-env-conf-test] Just rest ->
  14482. 1975.72 s [opt-env-conf-test] let m = go' rest
  14483. 1975.72 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14484. 1975.72 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14485. 1975.72 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14486. 1975.72 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14487. 1975.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  14488. 1975.72 s [opt-env-conf-test] @@ -72,17 +72,14 @@
  14489. 1975.72 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  14490. 1975.72 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  14491. 1975.72 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  14492. 1975.72 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  14493. 1975.72 s [opt-env-conf-test] Nothing ->
  14494. 1975.72 s [opt-env-conf-test] let oc =
  14495. 1975.72 s [opt-env-conf-test] maybe
  14496. 1975.72 s [opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
  14497. 1975.72 s [opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
  14498. 1975.72 s [opt-env-conf-test] (T.pack <$> settingHelp s)
  14499. 1975.72 s [opt-env-conf-test] in objectCodecNixOptions oc
  14500. 1975.72 s [opt-env-conf-test] - Just rest ->
  14501. 1975.72 s [opt-env-conf-test] - let m = go' rest
  14502. 1975.72 s [opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  14503. 1975.72 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  14504. 1975.72 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  14505. 1975.72 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  14506. 1975.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  14507. 1975.73 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  14508. 1975.73 s [opt-env-conf-test] ("# " <>)
  14509. 1975.73 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14510. 1975.73 s [opt-env-conf-test] "This file was generated by running",
  14511. 1975.73 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14512. 1975.73 s [opt-env-conf-test] T.unpack content
  14513. 1975.73 s [opt-env-conf-test] ]
  14514. 1975.73 s [opt-env-conf-test]
  14515. 1975.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  14516. 1975.73 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  14517. 1975.73 s [opt-env-conf-test] ("# " <>)
  14518. 1975.73 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14519. 1975.73 s [opt-env-conf-test] "This file was generated by running",
  14520. 1975.73 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14521. 1975.73 s [opt-env-conf-test] T.unpack content
  14522. 1975.73 s [opt-env-conf-test] ]
  14523. 1975.73 s [opt-env-conf-test]
  14524. 1975.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14525. 1975.73 s [opt-env-conf-test] @@ -33,11 +33,7 @@
  14526. 1975.73 s [opt-env-conf-test] unlines $
  14527. 1975.73 s [opt-env-conf-test] map
  14528. 1975.73 s [opt-env-conf-test] ("# " <>)
  14529. 1975.73 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  14530. 1975.73 s [opt-env-conf-test] - "This file was generated by running",
  14531. 1975.73 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  14532. 1975.73 s [opt-env-conf-test] - T.unpack content
  14533. 1975.73 s [opt-env-conf-test] ]
  14534. 1975.73 s [opt-env-conf-test]
  14535. 1975.73 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14536. 1975.73 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14537. 1975.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14538. 1975.73 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  14539. 1975.73 s [opt-env-conf-test] unlines $
  14540. 1975.73 s [opt-env-conf-test] map
  14541. 1975.73 s [opt-env-conf-test] ("# " <>)
  14542. 1975.73 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  14543. 1975.73 s [opt-env-conf-test] "This file was generated by running",
  14544. 1975.73 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  14545. 1975.73 s [opt-env-conf-test] T.unpack content
  14546. 1975.73 s [opt-env-conf-test] ]
  14547. 1975.74 s [opt-env-conf-test]
  14548. 1975.74 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14549. 1975.74 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14550. 1975.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  14551. 1975.74 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  14552. 1975.74 s [opt-env-conf-test] unlines $
  14553. 1975.74 s [opt-env-conf-test] map
  14554. 1975.74 s [opt-env-conf-test] ("# " <>)
  14555. 1975.74 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  14556. 1975.74 s [opt-env-conf-test] "This file was generated by running",
  14557. 1975.74 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  14558. 1975.74 s [opt-env-conf-test] - T.unpack content
  14559. 1975.74 s [opt-env-conf-test] ]
  14560. 1975.74 s [opt-env-conf-test]
  14561. 1975.74 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  14562. 1975.74 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  14563. 1975.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  14564. 1975.74 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  14565. 1975.74 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  14566. 1975.74 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  14567. 1975.74 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  14568. 1975.74 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  14569. 1975.74 s [opt-env-conf-test] - Left a -> f a
  14570. 1975.74 s [opt-env-conf-test] Right b -> b
  14571. 1975.74 s [opt-env-conf-test]
  14572. 1975.74 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  14573. 1975.74 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  14574. 1975.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  14575. 1975.74 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  14576. 1975.74 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  14577. 1975.74 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  14578. 1975.74 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  14579. 1975.74 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  14580. 1975.74 s [opt-env-conf-test] Left a -> f a
  14581. 1975.74 s [opt-env-conf-test] - Right b -> b
  14582. 1975.74 s [opt-env-conf-test]
  14583. 1975.74 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  14584. 1975.74 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  14585. 1975.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  14586. 1975.74 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  14587. 1975.74 s [opt-env-conf-test]
  14588. 1975.74 s [opt-env-conf-test] instance Applicative (Validation e) where
  14589. 1975.74 s [opt-env-conf-test] pure = Success
  14590. 1975.74 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  14591. 1975.74 s [opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
  14592. 1975.74 s [opt-env-conf-test] Success _ -> e1
  14593. 1975.74 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  14594. 1975.74 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  14595. 1975.74 s [opt-env-conf-test]
  14596. 1975.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  14597. 1975.74 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  14598. 1975.74 s [opt-env-conf-test]
  14599. 1975.74 s [opt-env-conf-test] instance Applicative (Validation e) where
  14600. 1975.74 s [opt-env-conf-test] pure = Success
  14601. 1975.74 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  14602. 1975.74 s [opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
  14603. 1975.74 s [opt-env-conf-test] - Success _ -> e1
  14604. 1975.75 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  14605. 1975.75 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  14606. 1975.75 s [opt-env-conf-test]
  14607. 1975.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14608. 1975.75 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14609. 1975.75 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14610. 1975.75 s [opt-env-conf-test]
  14611. 1975.75 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14612. 1975.75 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14613. 1975.75 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14614. 1975.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14615. 1975.75 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14616. 1975.75 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14617. 1975.75 s [opt-env-conf-test]
  14618. 1975.75 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14619. 1975.75 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14620. 1975.75 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14621. 1975.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  14622. 1975.75 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  14623. 1975.75 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  14624. 1975.75 s [opt-env-conf-test]
  14625. 1975.75 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  14626. 1975.75 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  14627. 1975.75 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  14628. 1975.75 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
  14629. 1975.75 s [opt-env-conf-test] @@ -109,7 +109,7 @@
  14630. 1975.75 s [opt-env-conf-test] cleanPackage pkg =
  14631. 1975.75 s [opt-env-conf-test] T.unpack $
  14632. 1975.75 s [opt-env-conf-test] T.intercalate "-" $
  14633. 1975.75 s [opt-env-conf-test] - takeWhile (not . maybe False (Char.isDigit . fst) . T.uncons) $
  14634. 1975.75 s [opt-env-conf-test] + takeWhile (not . maybe True (Char.isDigit . fst) . T.uncons) $
  14635. 1975.75 s [opt-env-conf-test] T.splitOn "-" (T.pack pkg)
  14636. 1975.75 s [opt-env-conf-test]
  14637. 1975.75 s [opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
  14638. 1975.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  14639. 1975.75 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  14640. 1975.75 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14641. 1975.75 s [opt-env-conf-test]
  14642. 1986.22 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  14643. 1986.22 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  14644. 1986.25 s [opt-env-conf-test] - [] -> []
  14645. 1986.25 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  14646. 1986.25 s [opt-env-conf-test]
  14647. 1986.25 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  14648. 1986.25 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  14649. 1986.25 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  14650. 1986.25 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  14651. 1986.25 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14652. 1986.25 s [opt-env-conf-test]
  14653. 1986.25 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  14654. 1986.25 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  14655. 1986.25 s [opt-env-conf-test] [] -> []
  14656. 1986.25 s [opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
  14657. 1986.25 s [opt-env-conf-test]
  14658. 1986.25 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  14659. 1986.25 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  14660. 1986.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  14661. 1986.25 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  14662. 1986.25 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  14663. 1986.25 s [opt-env-conf-test]
  14664. 1986.26 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  14665. 1986.26 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  14666. 1986.26 s [opt-env-conf-test]
  14667. 1986.26 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  14668. 1986.26 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14669. 1986.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  14670. 1986.26 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  14671. 1986.26 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  14672. 1986.26 s [opt-env-conf-test]
  14673. 1986.26 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  14674. 1986.26 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  14675. 1986.26 s [opt-env-conf-test]
  14676. 1986.26 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  14677. 1986.26 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  14678. 1986.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  14679. 1986.26 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  14680. 1986.26 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14681. 1986.26 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14682. 1986.26 s [opt-env-conf-test] [] -> []
  14683. 1986.26 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14684. 1986.26 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14685. 1986.26 s [opt-env-conf-test]
  14686. 1986.26 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14687. 1986.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  14688. 1986.26 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  14689. 1986.26 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14690. 1986.26 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14691. 1986.26 s [opt-env-conf-test] [] -> []
  14692. 1986.26 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14693. 1986.26 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14694. 1986.26 s [opt-env-conf-test]
  14695. 1986.26 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14696. 1986.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  14697. 1986.26 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  14698. 1986.26 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14699. 1986.26 s [opt-env-conf-test] [] -> []
  14700. 1986.26 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14701. 1986.26 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14702. 1986.26 s [opt-env-conf-test]
  14703. 1986.26 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14704. 1986.26 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  14705. 1986.26 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  14706. 1986.26 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  14707. 1986.26 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14708. 1986.26 s [opt-env-conf-test] [] -> []
  14709. 1986.26 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14710. 1986.26 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14711. 1986.26 s [opt-env-conf-test]
  14712. 1986.26 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14713. 1986.26 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  14714. 1986.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  14715. 1986.26 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  14716. 1986.26 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  14717. 1986.26 s [opt-env-conf-test]
  14718. 1986.26 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14719. 1986.26 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14720. 1986.26 s [opt-env-conf-test] - [] -> []
  14721. 1986.26 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14722. 1986.27 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14723. 1986.27 s [opt-env-conf-test]
  14724. 1986.27 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14725. 1986.27 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  14726. 1986.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  14727. 1986.27 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  14728. 1986.27 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  14729. 1986.27 s [opt-env-conf-test]
  14730. 1986.27 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14731. 1986.27 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14732. 1986.27 s [opt-env-conf-test] [] -> []
  14733. 1986.27 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14734. 1986.27 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14735. 1986.27 s [opt-env-conf-test]
  14736. 1986.27 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14737. 1986.27 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  14738. 1986.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  14739. 1986.27 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  14740. 1986.27 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  14741. 1986.27 s [opt-env-conf-test]
  14742. 1986.27 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14743. 1986.27 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14744. 1986.27 s [opt-env-conf-test] [] -> []
  14745. 1986.27 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  14746. 1986.27 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  14747. 1986.27 s [opt-env-conf-test]
  14748. 1986.27 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  14749. 1986.27 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  14750. 1986.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  14751. 1986.27 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  14752. 1986.27 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  14753. 1986.27 s [opt-env-conf-test]
  14754. 1986.27 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  14755. 1986.27 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  14756. 1986.27 s [opt-env-conf-test]
  14757. 1986.27 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14758. 1986.27 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14759. 1986.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  14760. 1986.27 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  14761. 1986.27 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  14762. 1986.27 s [opt-env-conf-test]
  14763. 1986.27 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  14764. 1986.27 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  14765. 1986.27 s [opt-env-conf-test]
  14766. 1986.27 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  14767. 1986.27 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  14768. 1986.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  14769. 1986.27 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  14770. 1986.27 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14771. 1986.27 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14772. 1986.27 s [opt-env-conf-test] applyComponent d ".." = parent d
  14773. 1986.27 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  14774. 1986.27 s [opt-env-conf-test] - Nothing -> d
  14775. 1986.27 s [opt-env-conf-test] Just rd -> d </> rd
  14776. 1986.27 s [opt-env-conf-test]
  14777. 1986.27 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  14778. 1986.27 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  14779. 1986.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  14780. 1986.27 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  14781. 1986.27 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14782. 1986.27 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14783. 1986.27 s [opt-env-conf-test] applyComponent d ".." = parent d
  14784. 1986.27 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  14785. 1986.27 s [opt-env-conf-test] Nothing -> d
  14786. 1986.27 s [opt-env-conf-test] - Just rd -> d </> rd
  14787. 1986.27 s [opt-env-conf-test]
  14788. 1986.27 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  14789. 1986.27 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  14790. 1986.27 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
  14791. 1986.27 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14792. 1986.27 s [opt-env-conf-test] splitOnSlash s =
  14793. 1986.27 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14794. 1986.27 s [opt-env-conf-test] in case rest of
  14795. 1986.27 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14796. 1986.27 s [opt-env-conf-test] + [] -> [seg | not (True)]
  14797. 1986.27 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14798. 1986.27 s [opt-env-conf-test]
  14799. 1986.27 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14800. 1986.27 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
  14801. 1986.27 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14802. 1986.27 s [opt-env-conf-test] splitOnSlash s =
  14803. 1986.27 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14804. 1986.27 s [opt-env-conf-test] in case rest of
  14805. 1986.27 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14806. 1986.27 s [opt-env-conf-test] + [] -> [seg | not (not (null seg))]
  14807. 1986.27 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14808. 1986.27 s [opt-env-conf-test]
  14809. 1986.27 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14810. 1986.27 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
  14811. 1986.27 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14812. 1986.27 s [opt-env-conf-test] splitOnSlash s =
  14813. 1986.27 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14814. 1986.27 s [opt-env-conf-test] in case rest of
  14815. 1986.27 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14816. 1986.27 s [opt-env-conf-test] + [] -> [seg | not True]
  14817. 1986.27 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14818. 1986.28 s [opt-env-conf-test]
  14819. 1986.28 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14820. 1986.28 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
  14821. 1986.28 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14822. 1986.28 s [opt-env-conf-test] splitOnSlash s =
  14823. 1986.28 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14824. 1986.28 s [opt-env-conf-test] in case rest of
  14825. 1986.28 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14826. 1986.28 s [opt-env-conf-test] + [] -> [seg | not not ((null seg))]
  14827. 1986.28 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14828. 1986.28 s [opt-env-conf-test]
  14829. 1986.28 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14830. 1986.28 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
  14831. 1986.28 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14832. 1992.31 s [opt-env-conf-test] splitOnSlash s =
  14833. 1992.31 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14834. 1992.31 s [opt-env-conf-test] in case rest of
  14835. 1992.33 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14836. 1992.33 s [opt-env-conf-test] + [] -> [seg | True]
  14837. 1992.33 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14838. 1992.33 s [opt-env-conf-test]
  14839. 1992.33 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14840. 1992.33 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
  14841. 1992.33 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  14842. 1992.33 s [opt-env-conf-test] splitOnSlash s =
  14843. 1992.33 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14844. 1992.33 s [opt-env-conf-test] in case rest of
  14845. 1992.33 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14846. 1992.33 s [opt-env-conf-test] + [] -> [seg | not (not (null seg))]
  14847. 1992.33 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14848. 1992.33 s [opt-env-conf-test]
  14849. 1992.33 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14850. 1992.33 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
  14851. 1992.33 s [opt-env-conf-test] @@ -263,7 +263,6 @@
  14852. 1992.33 s [opt-env-conf-test] splitOnSlash s =
  14853. 1992.33 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14854. 1992.33 s [opt-env-conf-test] in case rest of
  14855. 1992.34 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14856. 1992.34 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14857. 1992.34 s [opt-env-conf-test]
  14858. 1992.34 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14859. 1992.34 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
  14860. 1992.34 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14861. 1992.34 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14862. 1992.34 s [opt-env-conf-test] in case rest of
  14863. 1992.34 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14864. 1992.34 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14865. 1992.34 s [opt-env-conf-test] + _ : rest' -> [seg | not (True)] <> splitOnSlash rest'
  14866. 1992.34 s [opt-env-conf-test]
  14867. 1992.34 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14868. 1992.34 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14869. 1992.34 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
  14870. 1992.34 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14871. 1992.34 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14872. 1992.34 s [opt-env-conf-test] in case rest of
  14873. 1992.34 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14874. 1992.34 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14875. 1992.34 s [opt-env-conf-test] + _ : rest' -> [seg | not (not (null seg))] <> splitOnSlash rest'
  14876. 1992.34 s [opt-env-conf-test]
  14877. 1992.34 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14878. 1992.34 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14879. 1992.34 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
  14880. 1992.34 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14881. 1992.34 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14882. 1992.34 s [opt-env-conf-test] in case rest of
  14883. 1992.34 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14884. 1992.34 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14885. 1992.34 s [opt-env-conf-test] + _ : rest' -> [seg | not True] <> splitOnSlash rest'
  14886. 1992.34 s [opt-env-conf-test]
  14887. 1992.34 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14888. 1992.34 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14889. 1992.34 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
  14890. 1992.34 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14891. 1992.34 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14892. 1992.34 s [opt-env-conf-test] in case rest of
  14893. 1992.34 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14894. 1992.35 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14895. 1992.35 s [opt-env-conf-test] + _ : rest' -> [seg | not not ((null seg))] <> splitOnSlash rest'
  14896. 1992.35 s [opt-env-conf-test]
  14897. 1992.35 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14898. 1992.35 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14899. 1992.35 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
  14900. 1992.35 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14901. 1992.35 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14902. 1992.35 s [opt-env-conf-test] in case rest of
  14903. 1992.35 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14904. 1992.35 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14905. 1992.35 s [opt-env-conf-test] + _ : rest' -> [seg | True] <> splitOnSlash rest'
  14906. 1992.35 s [opt-env-conf-test]
  14907. 1992.35 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14908. 1992.35 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14909. 1992.35 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
  14910. 1992.35 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  14911. 1992.35 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14912. 1992.35 s [opt-env-conf-test] in case rest of
  14913. 1992.35 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14914. 1992.35 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14915. 1992.35 s [opt-env-conf-test] + _ : rest' -> [seg | not (not (null seg))] <> splitOnSlash rest'
  14916. 1992.35 s [opt-env-conf-test]
  14917. 1992.35 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14918. 1992.35 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14919. 1992.35 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
  14920. 1992.35 s [opt-env-conf-test] @@ -264,7 +264,6 @@
  14921. 1992.35 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14922. 1992.35 s [opt-env-conf-test] in case rest of
  14923. 1992.35 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  14924. 1992.35 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14925. 1992.35 s [opt-env-conf-test]
  14926. 1992.35 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14927. 1992.35 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14928. 1992.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  14929. 1992.35 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  14930. 1992.35 s [opt-env-conf-test] splitOnSlash [] = []
  14931. 1992.35 s [opt-env-conf-test] splitOnSlash s =
  14932. 1992.35 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  14933. 1992.35 s [opt-env-conf-test] in case rest of
  14934. 1992.35 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  14935. 1992.35 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  14936. 1992.35 s [opt-env-conf-test]
  14937. 1992.35 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  14938. 1992.35 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  14939. 1992.35 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  14940. 1992.35 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  14941. 1992.35 s [opt-env-conf-test] ]
  14942. 1992.35 s [opt-env-conf-test] ]
  14943. 1992.36 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14944. 1992.36 s [opt-env-conf-test] [ [ functionChunk "argument",
  14945. 1992.36 s [opt-env-conf-test] " has no ",
  14946. 1992.36 s [opt-env-conf-test] functionChunk "reader",
  14947. 1992.36 s [opt-env-conf-test] - "."
  14948. 1992.36 s [opt-env-conf-test] ]
  14949. 1992.36 s [opt-env-conf-test] ]
  14950. 1992.36 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14951. 1992.36 s [opt-env-conf-test] [ [ functionChunk "argument",
  14952. 1992.36 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  14953. 1992.36 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  14954. 1992.36 s [opt-env-conf-test] ]
  14955. 1992.36 s [opt-env-conf-test] ]
  14956. 1992.36 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14957. 1992.36 s [opt-env-conf-test] - [ [ functionChunk "argument",
  14958. 1992.36 s [opt-env-conf-test] " has no ",
  14959. 1992.36 s [opt-env-conf-test] functionChunk "reader",
  14960. 1992.36 s [opt-env-conf-test] "."
  14961. 1992.36 s [opt-env-conf-test] ]
  14962. 1992.36 s [opt-env-conf-test] ]
  14963. 1992.36 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14964. 1992.36 s [opt-env-conf-test] [ [ functionChunk "argument",
  14965. 1992.36 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  14966. 1992.36 s [opt-env-conf-test] @@ -114,11 +114,7 @@
  14967. 1992.36 s [opt-env-conf-test] ]
  14968. 1992.36 s [opt-env-conf-test] ]
  14969. 1992.36 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14970. 1992.36 s [opt-env-conf-test] - [ [ functionChunk "argument",
  14971. 1992.36 s [opt-env-conf-test] - " has no ",
  14972. 1992.36 s [opt-env-conf-test] - functionChunk "reader",
  14973. 1992.37 s [opt-env-conf-test] - "."
  14974. 1992.37 s [opt-env-conf-test] ]
  14975. 1992.37 s [opt-env-conf-test] ]
  14976. 1992.37 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14977. 1992.37 s [opt-env-conf-test] [ [ functionChunk "argument",
  14978. 1992.37 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  14979. 1992.37 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  14980. 1992.37 s [opt-env-conf-test] ]
  14981. 1992.37 s [opt-env-conf-test] ]
  14982. 1992.37 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14983. 1992.37 s [opt-env-conf-test] [ [ functionChunk "env",
  14984. 1992.37 s [opt-env-conf-test] " or ",
  14985. 1992.37 s [opt-env-conf-test] functionChunk "name",
  14986. 1992.37 s [opt-env-conf-test] " has no ",
  14987. 1992.37 s [opt-env-conf-test] functionChunk "metavar",
  14988. 1992.37 s [opt-env-conf-test] - "."
  14989. 1992.37 s [opt-env-conf-test] ]
  14990. 1992.37 s [opt-env-conf-test] ]
  14991. 1992.37 s [opt-env-conf-test] LintErrorNoCommands ->
  14992. 1992.37 s [opt-env-conf-test] [ [ functionChunk "commands",
  14993. 1992.37 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  14994. 1992.37 s [opt-env-conf-test] @@ -198,10 +198,7 @@
  14995. 1992.37 s [opt-env-conf-test] ]
  14996. 1992.37 s [opt-env-conf-test] ]
  14997. 1992.37 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14998. 1992.37 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  14999. 1992.37 s [opt-env-conf-test] - " was called with an unknown command: ",
  15000. 1992.37 s [opt-env-conf-test] - commandChunk c
  15001. 1992.37 s [opt-env-conf-test] ]
  15002. 1992.38 s [opt-env-conf-test] ]
  15003. 1992.38 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15004. 1992.38 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15005. 1992.38 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  15006. 1992.38 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  15007. 1992.38 s [opt-env-conf-test] ]
  15008. 1992.38 s [opt-env-conf-test] ]
  15009. 1992.38 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15010. 1992.38 s [opt-env-conf-test] [ [ functionChunk "env",
  15011. 1992.38 s [opt-env-conf-test] " or ",
  15012. 1992.38 s [opt-env-conf-test] functionChunk "name",
  15013. 1992.38 s [opt-env-conf-test] " has no ",
  15014. 1992.38 s [opt-env-conf-test] functionChunk "reader",
  15015. 1992.38 s [opt-env-conf-test] - "."
  15016. 1997.49 s [opt-env-conf-test] ]
  15017. 1997.49 s [opt-env-conf-test] ]
  15018. 1997.49 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15019. 1997.52 s [opt-env-conf-test] [ [ functionChunk "env",
  15020. 1997.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  15021. 1997.52 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  15022. 1997.52 s [opt-env-conf-test] ]
  15023. 1997.52 s [opt-env-conf-test] ]
  15024. 1997.52 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15025. 1997.52 s [opt-env-conf-test] [ [ functionChunk "long",
  15026. 1997.52 s [opt-env-conf-test] " or ",
  15027. 1997.52 s [opt-env-conf-test] functionChunk "short",
  15028. 1997.52 s [opt-env-conf-test] " has no ",
  15029. 1997.52 s [opt-env-conf-test] functionChunk "option",
  15030. 1997.52 s [opt-env-conf-test] " or ",
  15031. 1997.52 s [opt-env-conf-test] functionChunk "switch",
  15032. 1997.52 s [opt-env-conf-test] - "."
  15033. 1997.52 s [opt-env-conf-test] ]
  15034. 1997.52 s [opt-env-conf-test] ]
  15035. 1997.52 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15036. 1997.52 s [opt-env-conf-test] [ [ functionChunk "env",
  15037. 1997.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  15038. 1997.52 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  15039. 1997.52 s [opt-env-conf-test] ]
  15040. 1997.52 s [opt-env-conf-test] ]
  15041. 1997.52 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15042. 1997.52 s [opt-env-conf-test] - [ [ functionChunk "option",
  15043. 1997.53 s [opt-env-conf-test] " or ",
  15044. 1997.53 s [opt-env-conf-test] functionChunk "name",
  15045. 1997.53 s [opt-env-conf-test] " has no ",
  15046. 1997.53 s [opt-env-conf-test] functionChunk "reader",
  15047. 1997.53 s [opt-env-conf-test] "."
  15048. 1997.53 s [opt-env-conf-test] ]
  15049. 1997.53 s [opt-env-conf-test] ]
  15050. 1997.53 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15051. 1997.53 s [opt-env-conf-test] [ [ functionChunk "option",
  15052. 1997.53 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  15053. 1997.53 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  15054. 1997.53 s [opt-env-conf-test] ]
  15055. 1997.53 s [opt-env-conf-test] ]
  15056. 1997.53 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15057. 1997.53 s [opt-env-conf-test] [ [ functionChunk "option",
  15058. 1997.53 s [opt-env-conf-test] " or ",
  15059. 1997.53 s [opt-env-conf-test] functionChunk "name",
  15060. 1997.53 s [opt-env-conf-test] " has no ",
  15061. 1997.53 s [opt-env-conf-test] functionChunk "reader",
  15062. 1997.53 s [opt-env-conf-test] - "."
  15063. 1997.53 s [opt-env-conf-test] ]
  15064. 1997.53 s [opt-env-conf-test] ]
  15065. 1997.53 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15066. 1997.53 s [opt-env-conf-test] [ [ functionChunk "option",
  15067. 1997.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15068. 1997.53 s [opt-env-conf-test] @@ -66,168 +66,157 @@
  15069. 1997.53 s [opt-env-conf-test] renderLintError LintError {..} =
  15070. 1997.53 s [opt-env-conf-test] concat
  15071. 1997.53 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15072. 1997.53 s [opt-env-conf-test] case lintErrorMessage of
  15073. 1997.53 s [opt-env-conf-test] LintErrorUndocumented ->
  15074. 1997.53 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15075. 1997.53 s [opt-env-conf-test] LintErrorEmptySetting ->
  15076. 1997.53 s [opt-env-conf-test] concat
  15077. 1997.53 s [opt-env-conf-test] [ [ [ "This ",
  15078. 1997.53 s [opt-env-conf-test] functionChunk "setting",
  15079. 1997.53 s [opt-env-conf-test] " parses nothing."
  15080. 1997.53 s [opt-env-conf-test] ]
  15081. 1997.53 s [opt-env-conf-test] ],
  15082. 1997.53 s [opt-env-conf-test] [ [ "Add an ",
  15083. 1997.53 s [opt-env-conf-test] functionChunk "argument",
  15084. 1997.53 s [opt-env-conf-test] ", ",
  15085. 1997.53 s [opt-env-conf-test] functionChunk "switch",
  15086. 1997.53 s [opt-env-conf-test] ", ",
  15087. 1997.53 s [opt-env-conf-test] functionChunk "option",
  15088. 1997.53 s [opt-env-conf-test] ", ",
  15089. 1997.53 s [opt-env-conf-test] functionChunk "env",
  15090. 1997.53 s [opt-env-conf-test] ", ",
  15091. 1997.53 s [opt-env-conf-test] functionChunk "conf",
  15092. 1997.53 s [opt-env-conf-test] ", or ",
  15093. 1997.53 s [opt-env-conf-test] functionChunk "value",
  15094. 1997.53 s [opt-env-conf-test] "."
  15095. 1997.53 s [opt-env-conf-test] ]
  15096. 1997.53 s [opt-env-conf-test] ]
  15097. 1997.53 s [opt-env-conf-test] ]
  15098. 1997.53 s [opt-env-conf-test] LintErrorDashInShort ->
  15099. 1997.53 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15100. 1997.53 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15101. 1997.53 s [opt-env-conf-test] ]
  15102. 1997.53 s [opt-env-conf-test] LintErrorDashInLong s ->
  15103. 1997.53 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15104. 1997.53 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15105. 1997.53 s [opt-env-conf-test] [ "Try ",
  15106. 1997.53 s [opt-env-conf-test] functionChunk "long",
  15107. 1997.53 s [opt-env-conf-test] " ",
  15108. 1997.53 s [opt-env-conf-test] chunk $
  15109. 1997.53 s [opt-env-conf-test] T.pack $
  15110. 1997.53 s [opt-env-conf-test] show $
  15111. 1997.53 s [opt-env-conf-test] let go = \case
  15112. 1997.53 s [opt-env-conf-test] [] -> []
  15113. 1997.53 s [opt-env-conf-test] '-' : cs -> go cs
  15114. 1997.53 s [opt-env-conf-test] c : cs -> c : cs
  15115. 1997.53 s [opt-env-conf-test] in go $ NE.toList s,
  15116. 1997.53 s [opt-env-conf-test] " instead."
  15117. 1997.53 s [opt-env-conf-test] ]
  15118. 1997.53 s [opt-env-conf-test] ]
  15119. 1997.53 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15120. 1997.53 s [opt-env-conf-test] [ [ functionChunk "argument",
  15121. 1997.53 s [opt-env-conf-test] " has no ",
  15122. 1997.53 s [opt-env-conf-test] functionChunk "reader",
  15123. 1997.53 s [opt-env-conf-test] "."
  15124. 1997.53 s [opt-env-conf-test] ]
  15125. 1997.53 s [opt-env-conf-test] ]
  15126. 1997.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15127. 1997.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  15128. 1997.54 s [opt-env-conf-test] " has no ",
  15129. 1997.54 s [opt-env-conf-test] functionChunk "metavar",
  15130. 1997.54 s [opt-env-conf-test] "."
  15131. 1997.54 s [opt-env-conf-test] ]
  15132. 1997.54 s [opt-env-conf-test] ]
  15133. 1997.54 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15134. 1997.54 s [opt-env-conf-test] [ [ functionChunk "option",
  15135. 1997.54 s [opt-env-conf-test] " or ",
  15136. 1997.54 s [opt-env-conf-test] functionChunk "name",
  15137. 1997.54 s [opt-env-conf-test] " has no ",
  15138. 1997.54 s [opt-env-conf-test] functionChunk "reader",
  15139. 1997.54 s [opt-env-conf-test] "."
  15140. 1997.54 s [opt-env-conf-test] ]
  15141. 1997.54 s [opt-env-conf-test] ]
  15142. 1997.54 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15143. 1997.54 s [opt-env-conf-test] [ [ functionChunk "option",
  15144. 1997.54 s [opt-env-conf-test] " has no ",
  15145. 1997.54 s [opt-env-conf-test] functionChunk "long",
  15146. 1997.54 s [opt-env-conf-test] " or ",
  15147. 1997.54 s [opt-env-conf-test] functionChunk "short",
  15148. 1997.54 s [opt-env-conf-test] "."
  15149. 1997.54 s [opt-env-conf-test] ]
  15150. 1997.54 s [opt-env-conf-test] ]
  15151. 1997.54 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15152. 1997.54 s [opt-env-conf-test] [ [ functionChunk "option",
  15153. 1997.54 s [opt-env-conf-test] " or ",
  15154. 1997.54 s [opt-env-conf-test] functionChunk "name",
  15155. 1997.54 s [opt-env-conf-test] " has no ",
  15156. 1997.54 s [opt-env-conf-test] functionChunk "metavar",
  15157. 1997.54 s [opt-env-conf-test] "."
  15158. 1997.54 s [opt-env-conf-test] ]
  15159. 1997.54 s [opt-env-conf-test] ]
  15160. 1997.54 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15161. 1997.54 s [opt-env-conf-test] [ [ functionChunk "switch",
  15162. 1997.54 s [opt-env-conf-test] " has no ",
  15163. 1997.54 s [opt-env-conf-test] functionChunk "long",
  15164. 1997.54 s [opt-env-conf-test] " or ",
  15165. 1997.54 s [opt-env-conf-test] functionChunk "short",
  15166. 1997.54 s [opt-env-conf-test] "."
  15167. 1997.54 s [opt-env-conf-test] ]
  15168. 1997.54 s [opt-env-conf-test] ]
  15169. 1997.54 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  15170. 1997.54 s [opt-env-conf-test] - [ [ functionChunk "long",
  15171. 1997.54 s [opt-env-conf-test] - " or ",
  15172. 1997.54 s [opt-env-conf-test] - functionChunk "short",
  15173. 1997.54 s [opt-env-conf-test] - " has no ",
  15174. 1997.54 s [opt-env-conf-test] - functionChunk "option",
  15175. 1997.54 s [opt-env-conf-test] - " or ",
  15176. 1997.54 s [opt-env-conf-test] - functionChunk "switch",
  15177. 1997.54 s [opt-env-conf-test] - "."
  15178. 1997.54 s [opt-env-conf-test] - ]
  15179. 1997.54 s [opt-env-conf-test] - ]
  15180. 1997.54 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15181. 1997.54 s [opt-env-conf-test] [ [ functionChunk "env",
  15182. 1997.54 s [opt-env-conf-test] " or ",
  15183. 1997.54 s [opt-env-conf-test] functionChunk "name",
  15184. 1997.54 s [opt-env-conf-test] " has no ",
  15185. 1997.54 s [opt-env-conf-test] functionChunk "reader",
  15186. 1997.54 s [opt-env-conf-test] "."
  15187. 1997.54 s [opt-env-conf-test] ]
  15188. 1997.54 s [opt-env-conf-test] ]
  15189. 1997.54 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15190. 1997.54 s [opt-env-conf-test] [ [ functionChunk "env",
  15191. 1997.54 s [opt-env-conf-test] " or ",
  15192. 1997.54 s [opt-env-conf-test] functionChunk "name",
  15193. 1997.54 s [opt-env-conf-test] " has no ",
  15194. 1997.54 s [opt-env-conf-test] functionChunk "metavar",
  15195. 1997.54 s [opt-env-conf-test] "."
  15196. 1997.54 s [opt-env-conf-test] ]
  15197. 1997.54 s [opt-env-conf-test] ]
  15198. 1997.54 s [opt-env-conf-test] LintErrorNoCommands ->
  15199. 2003.03 s [opt-env-conf-test] [ [ functionChunk "commands",
  15200. 2003.06 s [opt-env-conf-test] " was called with an empty list."
  15201. 2003.06 s [opt-env-conf-test] ]
  15202. 2003.06 s [opt-env-conf-test] ]
  15203. 2003.06 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15204. 2003.06 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15205. 2003.06 s [opt-env-conf-test] " was called with an unknown command: ",
  15206. 2003.06 s [opt-env-conf-test] commandChunk c
  15207. 2003.06 s [opt-env-conf-test] ]
  15208. 2003.06 s [opt-env-conf-test] ]
  15209. 2003.06 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15210. 2003.06 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15211. 2003.06 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15212. 2003.06 s [opt-env-conf-test] ]
  15213. 2003.06 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15214. 2003.06 s [opt-env-conf-test] [ [ functionChunk "conf",
  15215. 2003.06 s [opt-env-conf-test] " or ",
  15216. 2003.06 s [opt-env-conf-test] functionChunk "name",
  15217. 2003.06 s [opt-env-conf-test] " was called with no way to load configuration."
  15218. 2003.06 s [opt-env-conf-test] ],
  15219. 2003.06 s [opt-env-conf-test] [ "You can load configuration with ",
  15220. 2003.06 s [opt-env-conf-test] functionChunk "withConfig",
  15221. 2003.06 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15222. 2003.06 s [opt-env-conf-test] functionChunk "withoutConfig",
  15223. 2003.06 s [opt-env-conf-test] "."
  15224. 2003.07 s [opt-env-conf-test] ]
  15225. 2003.07 s [opt-env-conf-test] ]
  15226. 2003.07 s [opt-env-conf-test] LintErrorManyInfinite ->
  15227. 2003.07 s [opt-env-conf-test] [ [ functionChunk "many",
  15228. 2003.07 s [opt-env-conf-test] " or ",
  15229. 2003.07 s [opt-env-conf-test] functionChunk "some",
  15230. 2003.07 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15231. 2003.07 s [opt-env-conf-test] ],
  15232. 2003.07 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15233. 2003.07 s [opt-env-conf-test] ],
  15234. 2003.07 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15235. 2003.07 s [opt-env-conf-test] ]
  15236. 2003.07 s [opt-env-conf-test]
  15237. 2003.07 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  15238. 2003.07 s [opt-env-conf-test] @@ -193,9 +193,7 @@
  15239. 2003.07 s [opt-env-conf-test] ]
  15240. 2003.07 s [opt-env-conf-test] ]
  15241. 2003.07 s [opt-env-conf-test] LintErrorNoCommands ->
  15242. 2003.07 s [opt-env-conf-test] - [ [ functionChunk "commands",
  15243. 2003.07 s [opt-env-conf-test] - " was called with an empty list."
  15244. 2003.07 s [opt-env-conf-test] ]
  15245. 2003.07 s [opt-env-conf-test] ]
  15246. 2003.07 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15247. 2003.07 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15248. 2003.07 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  15249. 2003.07 s [opt-env-conf-test] @@ -128,13 +128,7 @@
  15250. 2003.07 s [opt-env-conf-test] ]
  15251. 2003.07 s [opt-env-conf-test] ]
  15252. 2003.07 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15253. 2003.07 s [opt-env-conf-test] - [ [ functionChunk "option",
  15254. 2003.07 s [opt-env-conf-test] - " or ",
  15255. 2003.07 s [opt-env-conf-test] - functionChunk "name",
  15256. 2003.07 s [opt-env-conf-test] - " has no ",
  15257. 2003.07 s [opt-env-conf-test] - functionChunk "reader",
  15258. 2003.07 s [opt-env-conf-test] - "."
  15259. 2003.07 s [opt-env-conf-test] ]
  15260. 2003.07 s [opt-env-conf-test] ]
  15261. 2003.07 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15262. 2003.07 s [opt-env-conf-test] [ [ functionChunk "option",
  15263. 2003.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  15264. 2003.08 s [opt-env-conf-test] @@ -121,11 +121,7 @@
  15265. 2003.08 s [opt-env-conf-test] ]
  15266. 2003.08 s [opt-env-conf-test] ]
  15267. 2003.08 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15268. 2003.08 s [opt-env-conf-test] - [ [ functionChunk "argument",
  15269. 2003.08 s [opt-env-conf-test] - " has no ",
  15270. 2003.08 s [opt-env-conf-test] - functionChunk "metavar",
  15271. 2003.08 s [opt-env-conf-test] - "."
  15272. 2003.08 s [opt-env-conf-test] ]
  15273. 2003.08 s [opt-env-conf-test] ]
  15274. 2003.08 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15275. 2003.08 s [opt-env-conf-test] [ [ functionChunk "option",
  15276. 2003.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  15277. 2003.08 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  15278. 2003.08 s [opt-env-conf-test] ]
  15279. 2003.08 s [opt-env-conf-test] ]
  15280. 2003.08 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15281. 2003.08 s [opt-env-conf-test] [ [ functionChunk "argument",
  15282. 2003.08 s [opt-env-conf-test] " has no ",
  15283. 2003.08 s [opt-env-conf-test] functionChunk "metavar",
  15284. 2003.08 s [opt-env-conf-test] - "."
  15285. 2003.08 s [opt-env-conf-test] ]
  15286. 2003.08 s [opt-env-conf-test] ]
  15287. 2003.08 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15288. 2003.08 s [opt-env-conf-test] [ [ functionChunk "option",
  15289. 2003.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  15290. 2003.08 s [opt-env-conf-test] @@ -175,13 +175,7 @@
  15291. 2003.08 s [opt-env-conf-test] ]
  15292. 2003.08 s [opt-env-conf-test] ]
  15293. 2003.08 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15294. 2003.08 s [opt-env-conf-test] - [ [ functionChunk "env",
  15295. 2003.08 s [opt-env-conf-test] - " or ",
  15296. 2003.08 s [opt-env-conf-test] - functionChunk "name",
  15297. 2003.08 s [opt-env-conf-test] - " has no ",
  15298. 2003.08 s [opt-env-conf-test] - functionChunk "reader",
  15299. 2003.08 s [opt-env-conf-test] - "."
  15300. 2003.08 s [opt-env-conf-test] ]
  15301. 2003.08 s [opt-env-conf-test] ]
  15302. 2003.08 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15303. 2003.08 s [opt-env-conf-test] [ [ functionChunk "env",
  15304. 2003.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  15305. 2003.08 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  15306. 2003.09 s [opt-env-conf-test] ]
  15307. 2003.09 s [opt-env-conf-test] ]
  15308. 2003.09 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15309. 2003.09 s [opt-env-conf-test] - [ [ functionChunk "argument",
  15310. 2003.09 s [opt-env-conf-test] " has no ",
  15311. 2003.09 s [opt-env-conf-test] functionChunk "metavar",
  15312. 2003.09 s [opt-env-conf-test] "."
  15313. 2003.09 s [opt-env-conf-test] ]
  15314. 2003.09 s [opt-env-conf-test] ]
  15315. 2003.09 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15316. 2003.09 s [opt-env-conf-test] [ [ functionChunk "option",
  15317. 2003.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  15318. 2003.09 s [opt-env-conf-test] @@ -184,13 +184,7 @@
  15319. 2003.09 s [opt-env-conf-test] ]
  15320. 2003.09 s [opt-env-conf-test] ]
  15321. 2003.09 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15322. 2003.09 s [opt-env-conf-test] - [ [ functionChunk "env",
  15323. 2003.09 s [opt-env-conf-test] - " or ",
  15324. 2003.09 s [opt-env-conf-test] - functionChunk "name",
  15325. 2003.09 s [opt-env-conf-test] - " has no ",
  15326. 2003.09 s [opt-env-conf-test] - functionChunk "metavar",
  15327. 2003.09 s [opt-env-conf-test] - "."
  15328. 2003.09 s [opt-env-conf-test] ]
  15329. 2003.09 s [opt-env-conf-test] ]
  15330. 2003.09 s [opt-env-conf-test] LintErrorNoCommands ->
  15331. 2003.09 s [opt-env-conf-test] [ [ functionChunk "commands",
  15332. 2003.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  15333. 2003.09 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  15334. 2003.09 s [opt-env-conf-test] ]
  15335. 2003.09 s [opt-env-conf-test] ]
  15336. 2003.09 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15337. 2003.09 s [opt-env-conf-test] - [ [ functionChunk "env",
  15338. 2003.09 s [opt-env-conf-test] " or ",
  15339. 2003.09 s [opt-env-conf-test] functionChunk "name",
  15340. 2003.09 s [opt-env-conf-test] " has no ",
  15341. 2003.09 s [opt-env-conf-test] functionChunk "metavar",
  15342. 2003.09 s [opt-env-conf-test] "."
  15343. 2003.09 s [opt-env-conf-test] ]
  15344. 2003.09 s [opt-env-conf-test] ]
  15345. 2003.09 s [opt-env-conf-test] LintErrorNoCommands ->
  15346. 2003.09 s [opt-env-conf-test] [ [ functionChunk "commands",
  15347. 2003.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  15348. 2003.09 s [opt-env-conf-test] @@ -193,9 +193,8 @@
  15349. 2003.09 s [opt-env-conf-test] ]
  15350. 2003.09 s [opt-env-conf-test] ]
  15351. 2003.09 s [opt-env-conf-test] LintErrorNoCommands ->
  15352. 2003.09 s [opt-env-conf-test] - [ [ functionChunk "commands",
  15353. 2003.09 s [opt-env-conf-test] " was called with an empty list."
  15354. 2003.09 s [opt-env-conf-test] ]
  15355. 2003.09 s [opt-env-conf-test] ]
  15356. 2003.09 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15357. 2003.09 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15358. 2003.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  15359. 2003.09 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  15360. 2003.09 s [opt-env-conf-test] ]
  15361. 2003.09 s [opt-env-conf-test] ]
  15362. 2003.10 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15363. 2003.10 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  15364. 2003.10 s [opt-env-conf-test] " was called with an unknown command: ",
  15365. 2003.10 s [opt-env-conf-test] commandChunk c
  15366. 2003.10 s [opt-env-conf-test] ]
  15367. 2003.10 s [opt-env-conf-test] ]
  15368. 2003.10 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15369. 2003.10 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15370. 2003.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  15371. 2003.10 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  15372. 2003.10 s [opt-env-conf-test] ]
  15373. 2003.10 s [opt-env-conf-test] ]
  15374. 2003.10 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15375. 2003.10 s [opt-env-conf-test] - [ [ functionChunk "env",
  15376. 2003.10 s [opt-env-conf-test] " or ",
  15377. 2003.10 s [opt-env-conf-test] functionChunk "name",
  15378. 2003.10 s [opt-env-conf-test] " has no ",
  15379. 2003.10 s [opt-env-conf-test] functionChunk "reader",
  15380. 2003.10 s [opt-env-conf-test] "."
  15381. 2003.10 s [opt-env-conf-test] ]
  15382. 2003.10 s [opt-env-conf-test] ]
  15383. 2003.10 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15384. 2003.10 s [opt-env-conf-test] [ [ functionChunk "env",
  15385. 2003.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  15386. 2003.10 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  15387. 2003.10 s [opt-env-conf-test] ]
  15388. 2003.10 s [opt-env-conf-test] ]
  15389. 2003.10 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15390. 2003.10 s [opt-env-conf-test] - [ [ functionChunk "option",
  15391. 2003.10 s [opt-env-conf-test] " or ",
  15392. 2003.10 s [opt-env-conf-test] functionChunk "name",
  15393. 2003.10 s [opt-env-conf-test] " has no ",
  15394. 2003.10 s [opt-env-conf-test] functionChunk "metavar",
  15395. 2003.10 s [opt-env-conf-test] "."
  15396. 2003.10 s [opt-env-conf-test] ]
  15397. 2003.10 s [opt-env-conf-test] ]
  15398. 2003.10 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15399. 2003.10 s [opt-env-conf-test] [ [ functionChunk "switch",
  15400. 2003.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  15401. 2003.10 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  15402. 2003.10 s [opt-env-conf-test] ]
  15403. 2003.10 s [opt-env-conf-test] LintErrorDashInLong s ->
  15404. 2003.10 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15405. 2003.10 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15406. 2003.10 s [opt-env-conf-test] [ "Try ",
  15407. 2003.10 s [opt-env-conf-test] functionChunk "long",
  15408. 2003.10 s [opt-env-conf-test] " ",
  15409. 2003.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  15410. 2003.10 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  15411. 2003.10 s [opt-env-conf-test] ]
  15412. 2003.10 s [opt-env-conf-test] ]
  15413. 2003.10 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15414. 2003.10 s [opt-env-conf-test] - [ [ functionChunk "long",
  15415. 2003.10 s [opt-env-conf-test] " or ",
  15416. 2003.10 s [opt-env-conf-test] functionChunk "short",
  15417. 2003.10 s [opt-env-conf-test] " has no ",
  15418. 2003.11 s [opt-env-conf-test] functionChunk "option",
  15419. 2003.11 s [opt-env-conf-test] " or ",
  15420. 2003.11 s [opt-env-conf-test] functionChunk "switch",
  15421. 2003.11 s [opt-env-conf-test] "."
  15422. 2003.11 s [opt-env-conf-test] ]
  15423. 2003.11 s [opt-env-conf-test] ]
  15424. 2003.11 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15425. 2003.11 s [opt-env-conf-test] [ [ functionChunk "env",
  15426. 2003.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  15427. 2003.11 s [opt-env-conf-test] @@ -164,15 +164,7 @@
  15428. 2003.11 s [opt-env-conf-test] ]
  15429. 2003.11 s [opt-env-conf-test] ]
  15430. 2003.11 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15431. 2003.11 s [opt-env-conf-test] - [ [ functionChunk "long",
  15432. 2003.11 s [opt-env-conf-test] - " or ",
  15433. 2003.11 s [opt-env-conf-test] - functionChunk "short",
  15434. 2003.11 s [opt-env-conf-test] - " has no ",
  15435. 2003.11 s [opt-env-conf-test] - functionChunk "option",
  15436. 2003.11 s [opt-env-conf-test] - " or ",
  15437. 2003.11 s [opt-env-conf-test] - functionChunk "switch",
  15438. 2003.11 s [opt-env-conf-test] - "."
  15439. 2003.11 s [opt-env-conf-test] ]
  15440. 2003.11 s [opt-env-conf-test] ]
  15441. 2014.20 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15442. 2014.22 s [opt-env-conf-test] [ [ functionChunk "env",
  15443. 2014.22 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
  15444. 2014.23 s [opt-env-conf-test] @@ -241,7 +241,7 @@
  15445. 2014.23 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15446. 2014.23 s [opt-env-conf-test] -- Find the index after the last "../" component
  15447. 2014.23 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15448. 2014.23 s [opt-env-conf-test] - [] -> 0
  15449. 2014.23 s [opt-env-conf-test] + [] -> 1
  15450. 2014.23 s [opt-env-conf-test] ixs -> maximum ixs
  15451. 2014.23 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15452. 2014.23 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15453. 2014.23 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
  15454. 2014.23 s [opt-env-conf-test] @@ -240,7 +240,6 @@
  15455. 2014.23 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15456. 2014.23 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15457. 2014.23 s [opt-env-conf-test] -- Find the index after the last "../" component
  15458. 2014.23 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15459. 2014.23 s [opt-env-conf-test] [] -> 0
  15460. 2014.23 s [opt-env-conf-test] ixs -> maximum ixs
  15461. 2014.23 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15462. 2014.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
  15463. 2014.23 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15464. 2014.23 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15465. 2014.23 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15466. 2014.23 s [opt-env-conf-test] trailingSlash
  15467. 2014.23 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15468. 2014.23 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not (null remainderComponents)) = "/"
  15469. 2014.23 s [opt-env-conf-test] | otherwise = ""
  15470. 2014.23 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15471. 2014.23 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15472. 2014.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
  15473. 2014.23 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15474. 2014.23 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15475. 2014.23 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15476. 2014.24 s [opt-env-conf-test] trailingSlash
  15477. 2014.24 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15478. 2014.24 s [opt-env-conf-test] + | True, not (null remainderComponents) = "/"
  15479. 2014.24 s [opt-env-conf-test] | otherwise = ""
  15480. 2014.24 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15481. 2014.24 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15482. 2014.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  15483. 2014.24 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15484. 2014.24 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15485. 2014.24 s [opt-env-conf-test] [] -> 0
  15486. 2014.24 s [opt-env-conf-test] ixs -> maximum ixs
  15487. 2014.24 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15488. 2014.24 s [opt-env-conf-test] + in if False
  15489. 2014.24 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15490. 2014.24 s [opt-env-conf-test] else
  15491. 2014.24 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15492. 2014.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  15493. 2014.24 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15494. 2014.24 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15495. 2014.24 s [opt-env-conf-test] [] -> 0
  15496. 2014.24 s [opt-env-conf-test] ixs -> maximum ixs
  15497. 2014.24 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15498. 2014.24 s [opt-env-conf-test] + in if True
  15499. 2014.24 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15500. 2014.24 s [opt-env-conf-test] else
  15501. 2014.24 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15502. 2014.24 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
  15503. 2014.24 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  15504. 2014.24 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15505. 2014.24 s [opt-env-conf-test] [] -> 0
  15506. 2014.24 s [opt-env-conf-test] ixs -> maximum ixs
  15507. 2014.25 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  15508. 2014.25 s [opt-env-conf-test] + in if lastDotDotIdx == 1
  15509. 2014.25 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15510. 2014.25 s [opt-env-conf-test] else
  15511. 2014.25 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  15512. 2014.25 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  15513. 2014.25 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  15514. 2014.25 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15515. 2014.25 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15516. 2014.25 s [opt-env-conf-test] -- Find the index after the last "../" component
  15517. 2014.25 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15518. 2014.25 s [opt-env-conf-test] - [] -> 0
  15519. 2014.25 s [opt-env-conf-test] ixs -> maximum ixs
  15520. 2014.25 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15521. 2014.25 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15522. 2014.25 s [opt-env-conf-test] else
  15523. 2014.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
  15524. 2014.25 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  15525. 2014.25 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15526. 2014.25 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15527. 2014.25 s [opt-env-conf-test] -- Find the index after the last "../" component
  15528. 2014.25 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15529. 2014.25 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, not (c == "..")] of
  15530. 2014.25 s [opt-env-conf-test] [] -> 0
  15531. 2014.25 s [opt-env-conf-test] ixs -> maximum ixs
  15532. 2014.25 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15533. 2014.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  15534. 2014.25 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  15535. 2014.25 s [opt-env-conf-test] }
  15536. 2014.25 s [opt-env-conf-test]
  15537. 2014.25 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15538. 2014.25 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  15539. 2014.25 s [opt-env-conf-test] +hiddenRel p = True= case toFilePath p of
  15540. 2014.25 s [opt-env-conf-test] ('.' : _) -> True
  15541. 2014.25 s [opt-env-conf-test] _ -> False
  15542. 2014.25 s [opt-env-conf-test]
  15543. 2014.26 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15544. 2014.26 s [opt-env-conf-test] stripCurDir = \case
  15545. 2014.26 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
  15546. 2014.26 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15547. 2014.26 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15548. 2014.26 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15549. 2014.26 s [opt-env-conf-test] trailingSlash
  15550. 2014.26 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15551. 2014.26 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not True = "/"
  15552. 2014.26 s [opt-env-conf-test] | otherwise = ""
  15553. 2014.26 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15554. 2014.26 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15555. 2014.26 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  15556. 2014.26 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  15557. 2014.26 s [opt-env-conf-test] }
  15558. 2014.26 s [opt-env-conf-test]
  15559. 2014.26 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15560. 2014.26 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  15561. 2014.26 s [opt-env-conf-test] ('.' : _) -> True
  15562. 2014.26 s [opt-env-conf-test] - _ -> False
  15563. 2014.26 s [opt-env-conf-test]
  15564. 2014.26 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15565. 2014.26 s [opt-env-conf-test] stripCurDir = \case
  15566. 2014.26 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
  15567. 2014.26 s [opt-env-conf-test] @@ -213,7 +213,7 @@
  15568. 2014.26 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15569. 2014.26 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  15570. 2014.27 s [opt-env-conf-test] ('.' : _) -> True
  15571. 2014.27 s [opt-env-conf-test] - _ -> False
  15572. 2014.27 s [opt-env-conf-test] + _ -> True
  15573. 2014.27 s [opt-env-conf-test]
  15574. 2014.27 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15575. 2014.27 s [opt-env-conf-test] stripCurDir = \case
  15576. 2014.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  15577. 2014.27 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  15578. 2014.27 s [opt-env-conf-test] splitOnSlash [] = []
  15579. 2014.27 s [opt-env-conf-test] splitOnSlash s =
  15580. 2014.27 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  15581. 2014.27 s [opt-env-conf-test] in case rest of
  15582. 2014.27 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  15583. 2014.27 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  15584. 2014.27 s [opt-env-conf-test]
  15585. 2014.27 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  15586. 2014.27 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  15587. 2014.27 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
  15588. 2014.27 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  15589. 2014.27 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15590. 2014.27 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15591. 2014.27 s [opt-env-conf-test] -- Find the index after the last "../" component
  15592. 2014.27 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15593. 2014.27 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, True] of
  15594. 2014.27 s [opt-env-conf-test] [] -> 0
  15595. 2014.27 s [opt-env-conf-test] ixs -> maximum ixs
  15596. 2014.27 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15597. 2014.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  15598. 2014.27 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  15599. 2014.27 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  15600. 2014.27 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  15601. 2017.47 s [opt-env-conf-test] -- Find the index after the last "../" component
  15602. 2017.47 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  15603. 2017.47 s [opt-env-conf-test] [] -> 0
  15604. 2017.47 s [opt-env-conf-test] - ixs -> maximum ixs
  15605. 2017.47 s [opt-env-conf-test] in if lastDotDotIdx == 0
  15606. 2017.48 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  15607. 2017.48 s [opt-env-conf-test] else
  15608. 2017.48 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
  15609. 2017.48 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  15610. 2017.48 s [opt-env-conf-test] }
  15611. 2017.48 s [opt-env-conf-test]
  15612. 2017.48 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15613. 2017.48 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  15614. 2017.48 s [opt-env-conf-test] +hiddenRel p = not (case toFilePath p of
  15615. 2017.48 s [opt-env-conf-test] ('.' : _) -> True
  15616. 2017.48 s [opt-env-conf-test] - _ -> False
  15617. 2017.48 s [opt-env-conf-test] + _ -> False)
  15618. 2017.48 s [opt-env-conf-test]
  15619. 2017.48 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15620. 2017.48 s [opt-env-conf-test] stripCurDir = \case
  15621. 2017.48 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  15622. 2017.48 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  15623. 2017.48 s [opt-env-conf-test] }
  15624. 2017.48 s [opt-env-conf-test]
  15625. 2017.48 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15626. 2017.48 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  15627. 2017.48 s [opt-env-conf-test] +hiddenRel p = False= case toFilePath p of
  15628. 2017.48 s [opt-env-conf-test] ('.' : _) -> True
  15629. 2017.48 s [opt-env-conf-test] _ -> False
  15630. 2017.48 s [opt-env-conf-test]
  15631. 2017.48 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15632. 2017.48 s [opt-env-conf-test] stripCurDir = \case
  15633. 2017.48 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  15634. 2017.48 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  15635. 2017.48 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15636. 2017.48 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15637. 2017.48 s [opt-env-conf-test] Just (Rel rf) ->
  15638. 2017.48 s [opt-env-conf-test] - if fp == "."
  15639. 2017.48 s [opt-env-conf-test] + if True
  15640. 2017.48 s [opt-env-conf-test] then do
  15641. 2017.48 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15642. 2017.49 s [opt-env-conf-test] pure (map fromRelDir ds)
  15643. 2017.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  15644. 2017.49 s [opt-env-conf-test] @@ -154,19 +154,15 @@
  15645. 2017.49 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  15646. 2017.49 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  15647. 2017.49 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15648. 2017.49 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  15649. 2017.49 s [opt-env-conf-test] Nothing -> case fp of
  15650. 2017.49 s [opt-env-conf-test] [] -> do
  15651. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15652. 2017.49 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  15653. 2017.49 s [opt-env-conf-test] _ -> pure []
  15654. 2017.49 s [opt-env-conf-test] Just (Abs ad) -> do
  15655. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15656. 2017.49 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  15657. 2017.49 s [opt-env-conf-test] - Just (Rel rd) -> do
  15658. 2017.49 s [opt-env-conf-test] - let ad = baseDir </> rd
  15659. 2017.49 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  15660. 2017.49 s [opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15661. 2017.49 s [opt-env-conf-test]
  15662. 2017.49 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15663. 2017.49 s [opt-env-conf-test] Nothing -> pure []
  15664. 2017.49 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
  15665. 2017.49 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  15666. 2017.49 s [opt-env-conf-test] Nothing -> pure []
  15667. 2017.49 s [opt-env-conf-test] Just (Abs af) -> do
  15668. 2017.49 s [opt-env-conf-test] let dir = parent af
  15669. 2017.49 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15670. 2017.49 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel (dirname af)) then id else filter (not . hiddenRel)
  15671. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15672. 2017.49 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15673. 2017.49 s [opt-env-conf-test] Just (Rel rf) ->
  15674. 2017.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  15675. 2017.49 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  15676. 2017.49 s [opt-env-conf-test] Nothing -> pure []
  15677. 2017.49 s [opt-env-conf-test] Just (Abs af) -> do
  15678. 2017.49 s [opt-env-conf-test] let dir = parent af
  15679. 2017.49 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15680. 2017.49 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  15681. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15682. 2017.49 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15683. 2017.49 s [opt-env-conf-test] Just (Rel rf) ->
  15684. 2017.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  15685. 2017.49 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  15686. 2017.49 s [opt-env-conf-test] Nothing -> pure []
  15687. 2017.49 s [opt-env-conf-test] Just (Abs af) -> do
  15688. 2017.49 s [opt-env-conf-test] let dir = parent af
  15689. 2017.49 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15690. 2017.49 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  15691. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15692. 2017.49 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15693. 2017.49 s [opt-env-conf-test] Just (Rel rf) ->
  15694. 2017.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  15695. 2017.49 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  15696. 2017.49 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  15697. 2017.49 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15698. 2017.49 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  15699. 2017.49 s [opt-env-conf-test] Nothing -> case fp of
  15700. 2017.49 s [opt-env-conf-test] [] -> do
  15701. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15702. 2017.49 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  15703. 2017.49 s [opt-env-conf-test] - _ -> pure []
  15704. 2017.49 s [opt-env-conf-test] Just (Abs ad) -> do
  15705. 2017.49 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15706. 2017.49 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  15707. 2017.49 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  15708. 2017.49 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  15709. 2017.49 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  15710. 2017.49 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  15711. 2017.50 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15712. 2017.50 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  15713. 2017.50 s [opt-env-conf-test] Nothing -> case fp of
  15714. 2017.50 s [opt-env-conf-test] [] -> do
  15715. 2017.50 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15716. 2017.50 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  15717. 2017.50 s [opt-env-conf-test] _ -> pure []
  15718. 2017.50 s [opt-env-conf-test] - Just (Abs ad) -> do
  15719. 2017.50 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  15720. 2017.50 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  15721. 2017.50 s [opt-env-conf-test] Just (Rel rd) -> do
  15722. 2017.50 s [opt-env-conf-test] let ad = baseDir </> rd
  15723. 2017.50 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15724. 2017.50 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15725. 2017.50 s [opt-env-conf-test]
  15726. 2017.50 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15727. 2017.50 s [opt-env-conf-test] Nothing -> pure []
  15728. 2017.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  15729. 2017.50 s [opt-env-conf-test] @@ -155,11 +155,8 @@
  15730. 2017.50 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  15731. 2017.50 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15732. 2017.50 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  15733. 2017.50 s [opt-env-conf-test] Nothing -> case fp of
  15734. 2017.50 s [opt-env-conf-test] - [] -> do
  15735. 2017.50 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  15736. 2017.50 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  15737. 2017.50 s [opt-env-conf-test] _ -> pure []
  15738. 2017.50 s [opt-env-conf-test] Just (Abs ad) -> do
  15739. 2017.50 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15740. 2017.50 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  15741. 2017.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  15742. 2017.50 s [opt-env-conf-test] @@ -154,19 +154,14 @@
  15743. 2017.50 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  15744. 2017.50 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  15745. 2017.50 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15746. 2017.50 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  15747. 2017.50 s [opt-env-conf-test] - Nothing -> case fp of
  15748. 2017.50 s [opt-env-conf-test] - [] -> do
  15749. 2017.50 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  15750. 2017.50 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  15751. 2017.50 s [opt-env-conf-test] - _ -> pure []
  15752. 2017.50 s [opt-env-conf-test] Just (Abs ad) -> do
  15753. 2017.50 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15754. 2017.50 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  15755. 2017.50 s [opt-env-conf-test] Just (Rel rd) -> do
  15756. 2017.50 s [opt-env-conf-test] let ad = baseDir </> rd
  15757. 2017.50 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15758. 2017.50 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15759. 2017.50 s [opt-env-conf-test]
  15760. 2017.50 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15761. 2017.50 s [opt-env-conf-test] Nothing -> pure []
  15762. 2017.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  15763. 2017.50 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  15764. 2017.50 s [opt-env-conf-test] }
  15765. 2017.50 s [opt-env-conf-test]
  15766. 2017.50 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15767. 2017.50 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  15768. 2017.50 s [opt-env-conf-test] - ('.' : _) -> True
  15769. 2017.50 s [opt-env-conf-test] _ -> False
  15770. 2017.50 s [opt-env-conf-test]
  15771. 2017.50 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15772. 2017.50 s [opt-env-conf-test] stripCurDir = \case
  15773. 2017.50 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
  15774. 2017.50 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15775. 2017.50 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15776. 2022.06 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15777. 2022.14 s [opt-env-conf-test] trailingSlash
  15778. 2022.14 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15779. 2022.14 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not ((null remainderComponents)) = "/"
  15780. 2022.14 s [opt-env-conf-test] | otherwise = ""
  15781. 2022.14 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15782. 2022.14 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15783. 2022.14 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
  15784. 2022.14 s [opt-env-conf-test] @@ -212,7 +212,7 @@
  15785. 2022.14 s [opt-env-conf-test]
  15786. 2022.14 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  15787. 2022.14 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  15788. 2022.14 s [opt-env-conf-test] - ('.' : _) -> True
  15789. 2022.14 s [opt-env-conf-test] + ('.' : _) -> False
  15790. 2022.14 s [opt-env-conf-test] _ -> False
  15791. 2022.14 s [opt-env-conf-test]
  15792. 2022.14 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  15793. 2022.14 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
  15794. 2022.14 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  15795. 2022.14 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  15796. 2022.14 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  15797. 2022.15 s [opt-env-conf-test] trailingSlash
  15798. 2022.15 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  15799. 2022.15 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not (null remainderComponents)) = "/"
  15800. 2022.15 s [opt-env-conf-test] | otherwise = ""
  15801. 2022.15 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  15802. 2022.15 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  15803. 2022.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  15804. 2022.15 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  15805. 2022.15 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15806. 2022.15 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15807. 2022.15 s [opt-env-conf-test] Just (Rel rf) ->
  15808. 2022.15 s [opt-env-conf-test] - if fp == "."
  15809. 2022.15 s [opt-env-conf-test] + if False
  15810. 2022.15 s [opt-env-conf-test] then do
  15811. 2022.15 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15812. 2022.15 s [opt-env-conf-test] pure (map fromRelDir ds)
  15813. 2022.15 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
  15814. 2022.15 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  15815. 2022.15 s [opt-env-conf-test] else do
  15816. 2022.15 s [opt-env-conf-test] let dir = parent rf
  15817. 2022.15 s [opt-env-conf-test] let ad = baseDir </> dir
  15818. 2022.15 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  15819. 2022.15 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  15820. 2022.15 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15821. 2022.15 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  15822. 2022.15 s [opt-env-conf-test]
  15823. 2022.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  15824. 2022.15 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  15825. 2022.15 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15826. 2022.15 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15827. 2022.15 s [opt-env-conf-test]
  15828. 2022.15 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15829. 2022.15 s [opt-env-conf-test] Nothing -> pure []
  15830. 2022.15 s [opt-env-conf-test] - Just (Abs af) -> do
  15831. 2022.16 s [opt-env-conf-test] - let dir = parent af
  15832. 2022.16 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15833. 2022.16 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  15834. 2022.16 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15835. 2022.16 s [opt-env-conf-test] Just (Rel rf) ->
  15836. 2022.16 s [opt-env-conf-test] if fp == "."
  15837. 2022.16 s [opt-env-conf-test] then do
  15838. 2022.16 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15839. 2022.16 s [opt-env-conf-test] pure (map fromRelDir ds)
  15840. 2022.16 s [opt-env-conf-test] else do
  15841. 2022.16 s [opt-env-conf-test] let dir = parent rf
  15842. 2022.16 s [opt-env-conf-test] let ad = baseDir </> dir
  15843. 2022.16 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  15844. 2022.16 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15845. 2022.16 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  15846. 2022.16 s [opt-env-conf-test]
  15847. 2022.16 s [opt-env-conf-test] pure $
  15848. 2022.16 s [opt-env-conf-test] concat
  15849. 2022.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  15850. 2022.16 s [opt-env-conf-test] @@ -168,24 +168,13 @@
  15851. 2022.16 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15852. 2022.16 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15853. 2022.16 s [opt-env-conf-test]
  15854. 2022.16 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15855. 2022.16 s [opt-env-conf-test] Nothing -> pure []
  15856. 2022.16 s [opt-env-conf-test] Just (Abs af) -> do
  15857. 2022.16 s [opt-env-conf-test] let dir = parent af
  15858. 2022.16 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15859. 2022.16 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15860. 2022.16 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15861. 2022.16 s [opt-env-conf-test] - Just (Rel rf) ->
  15862. 2022.16 s [opt-env-conf-test] - if fp == "."
  15863. 2022.16 s [opt-env-conf-test] - then do
  15864. 2022.16 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  15865. 2022.16 s [opt-env-conf-test] - pure (map fromRelDir ds)
  15866. 2022.16 s [opt-env-conf-test] - else do
  15867. 2022.16 s [opt-env-conf-test] - let dir = parent rf
  15868. 2022.16 s [opt-env-conf-test] - let ad = baseDir </> dir
  15869. 2022.16 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  15870. 2022.16 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  15871. 2022.16 s [opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  15872. 2022.16 s [opt-env-conf-test]
  15873. 2022.16 s [opt-env-conf-test] pure $
  15874. 2022.16 s [opt-env-conf-test] concat
  15875. 2022.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  15876. 2022.17 s [opt-env-conf-test] @@ -70,28 +70,20 @@
  15877. 2022.17 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  15878. 2022.17 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  15879. 2022.17 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15880. 2022.17 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  15881. 2022.17 s [opt-env-conf-test] - Nothing -> case fp of
  15882. 2022.17 s [opt-env-conf-test] - [] -> do
  15883. 2022.17 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  15884. 2022.17 s [opt-env-conf-test] - pure
  15885. 2022.17 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  15886. 2022.17 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  15887. 2022.17 s [opt-env-conf-test] - )
  15888. 2022.17 s [opt-env-conf-test] - _ -> pure ([], [])
  15889. 2022.17 s [opt-env-conf-test] Just (Abs ad) -> do
  15890. 2022.17 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  15891. 2022.17 s [opt-env-conf-test] pure
  15892. 2022.17 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  15893. 2022.17 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  15894. 2022.17 s [opt-env-conf-test] )
  15895. 2022.17 s [opt-env-conf-test] Just (Rel rd) -> do
  15896. 2022.17 s [opt-env-conf-test] let ad = baseDir </> rd
  15897. 2022.17 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  15898. 2022.17 s [opt-env-conf-test] pure
  15899. 2022.17 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  15900. 2022.17 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  15901. 2022.17 s [opt-env-conf-test] )
  15902. 2022.17 s [opt-env-conf-test]
  15903. 2022.17 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  15904. 2022.17 s [opt-env-conf-test] Nothing ->
  15905. 2022.17 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  15906. 2022.17 s [opt-env-conf-test] @@ -189,9 +189,8 @@
  15907. 2022.17 s [opt-env-conf-test]
  15908. 2022.17 s [opt-env-conf-test] pure $
  15909. 2022.17 s [opt-env-conf-test] concat
  15910. 2022.17 s [opt-env-conf-test] - [ dirsFromPartialListing,
  15911. 2022.17 s [opt-env-conf-test] dirsFromParentListing
  15912. 2022.17 s [opt-env-conf-test] ]
  15913. 2022.17 s [opt-env-conf-test] where
  15914. 2022.17 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  15915. 2022.17 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  15916. 2022.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  15917. 2022.17 s [opt-env-conf-test] @@ -71,14 +71,8 @@
  15918. 2022.17 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  15919. 2022.17 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15920. 2022.17 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  15921. 2022.17 s [opt-env-conf-test] Nothing -> case fp of
  15922. 2022.17 s [opt-env-conf-test] - [] -> do
  15923. 2022.17 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  15924. 2022.17 s [opt-env-conf-test] - pure
  15925. 2022.17 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  15926. 2022.17 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  15927. 2022.17 s [opt-env-conf-test] - )
  15928. 2022.17 s [opt-env-conf-test] _ -> pure ([], [])
  15929. 2022.17 s [opt-env-conf-test] Just (Abs ad) -> do
  15930. 2022.18 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  15931. 2022.18 s [opt-env-conf-test] pure
  15932. 2022.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  15933. 2022.18 s [opt-env-conf-test] @@ -71,14 +71,13 @@
  15934. 2022.18 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  15935. 2022.18 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15936. 2022.18 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  15937. 2022.18 s [opt-env-conf-test] Nothing -> case fp of
  15938. 2022.18 s [opt-env-conf-test] [] -> do
  15939. 2022.18 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  15940. 2022.18 s [opt-env-conf-test] pure
  15941. 2022.18 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  15942. 2022.18 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  15943. 2022.18 s [opt-env-conf-test] )
  15944. 2022.18 s [opt-env-conf-test] - _ -> pure ([], [])
  15945. 2022.18 s [opt-env-conf-test] Just (Abs ad) -> do
  15946. 2022.18 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  15947. 2022.18 s [opt-env-conf-test] pure
  15948. 2022.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  15949. 2022.18 s [opt-env-conf-test] @@ -168,24 +168,23 @@
  15950. 2022.18 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15951. 2029.58 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  15952. 2029.60 s [opt-env-conf-test]
  15953. 2029.60 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  15954. 2029.60 s [opt-env-conf-test] - Nothing -> pure []
  15955. 2029.60 s [opt-env-conf-test] Just (Abs af) -> do
  15956. 2029.61 s [opt-env-conf-test] let dir = parent af
  15957. 2029.61 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  15958. 2029.61 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  15959. 2029.61 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  15960. 2029.61 s [opt-env-conf-test] Just (Rel rf) ->
  15961. 2029.61 s [opt-env-conf-test] if fp == "."
  15962. 2029.61 s [opt-env-conf-test] then do
  15963. 2029.61 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  15964. 2029.61 s [opt-env-conf-test] pure (map fromRelDir ds)
  15965. 2029.61 s [opt-env-conf-test] else do
  15966. 2029.61 s [opt-env-conf-test] let dir = parent rf
  15967. 2029.61 s [opt-env-conf-test] let ad = baseDir </> dir
  15968. 2029.61 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  15969. 2029.61 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  15970. 2029.61 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  15971. 2029.61 s [opt-env-conf-test]
  15972. 2029.61 s [opt-env-conf-test] pure $
  15973. 2029.61 s [opt-env-conf-test] concat
  15974. 2029.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  15975. 2029.61 s [opt-env-conf-test] @@ -189,9 +189,7 @@
  15976. 2029.61 s [opt-env-conf-test]
  15977. 2029.61 s [opt-env-conf-test] pure $
  15978. 2029.61 s [opt-env-conf-test] concat
  15979. 2029.61 s [opt-env-conf-test] - [ dirsFromPartialListing,
  15980. 2029.61 s [opt-env-conf-test] - dirsFromParentListing
  15981. 2029.61 s [opt-env-conf-test] ]
  15982. 2029.61 s [opt-env-conf-test] where
  15983. 2029.61 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  15984. 2029.61 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  15985. 2029.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  15986. 2029.61 s [opt-env-conf-test] @@ -70,28 +70,21 @@
  15987. 2029.61 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  15988. 2029.61 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  15989. 2029.61 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  15990. 2029.61 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  15991. 2029.61 s [opt-env-conf-test] Nothing -> case fp of
  15992. 2029.61 s [opt-env-conf-test] [] -> do
  15993. 2029.61 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  15994. 2029.62 s [opt-env-conf-test] pure
  15995. 2029.62 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  15996. 2029.62 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  15997. 2029.62 s [opt-env-conf-test] )
  15998. 2029.62 s [opt-env-conf-test] _ -> pure ([], [])
  15999. 2029.62 s [opt-env-conf-test] Just (Abs ad) -> do
  16000. 2029.62 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16001. 2029.62 s [opt-env-conf-test] pure
  16002. 2029.62 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  16003. 2029.62 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  16004. 2029.62 s [opt-env-conf-test] )
  16005. 2029.62 s [opt-env-conf-test] - Just (Rel rd) -> do
  16006. 2029.62 s [opt-env-conf-test] - let ad = baseDir </> rd
  16007. 2029.62 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  16008. 2029.62 s [opt-env-conf-test] - pure
  16009. 2029.62 s [opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  16010. 2029.62 s [opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16011. 2029.62 s [opt-env-conf-test] - )
  16012. 2029.62 s [opt-env-conf-test]
  16013. 2029.62 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16014. 2029.62 s [opt-env-conf-test] Nothing ->
  16015. 2029.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  16016. 2029.62 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16017. 2029.62 s [opt-env-conf-test]
  16018. 2029.62 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16019. 2029.62 s [opt-env-conf-test] Nothing ->
  16020. 2029.62 s [opt-env-conf-test] - if fp == "."
  16021. 2029.62 s [opt-env-conf-test] + if True
  16022. 2029.62 s [opt-env-conf-test] then do
  16023. 2029.62 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16024. 2029.62 s [opt-env-conf-test] pure
  16025. 2029.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  16026. 2029.62 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16027. 2029.62 s [opt-env-conf-test] else pure ([], [])
  16028. 2029.62 s [opt-env-conf-test] Just (Abs af) -> do
  16029. 2029.62 s [opt-env-conf-test] let dir = parent af
  16030. 2029.62 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16031. 2029.62 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16032. 2029.62 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16033. 2029.62 s [opt-env-conf-test] pure
  16034. 2029.62 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16035. 2029.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  16036. 2029.62 s [opt-env-conf-test] @@ -70,28 +70,22 @@
  16037. 2029.63 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  16038. 2029.63 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  16039. 2029.63 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  16040. 2029.63 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  16041. 2029.63 s [opt-env-conf-test] Nothing -> case fp of
  16042. 2029.63 s [opt-env-conf-test] [] -> do
  16043. 2029.63 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16044. 2029.63 s [opt-env-conf-test] pure
  16045. 2029.63 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  16046. 2029.63 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  16047. 2029.63 s [opt-env-conf-test] )
  16048. 2029.63 s [opt-env-conf-test] _ -> pure ([], [])
  16049. 2029.63 s [opt-env-conf-test] - Just (Abs ad) -> do
  16050. 2029.63 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  16051. 2029.63 s [opt-env-conf-test] - pure
  16052. 2029.63 s [opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  16053. 2029.63 s [opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  16054. 2029.63 s [opt-env-conf-test] - )
  16055. 2029.63 s [opt-env-conf-test] Just (Rel rd) -> do
  16056. 2029.63 s [opt-env-conf-test] let ad = baseDir </> rd
  16057. 2029.63 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16058. 2029.63 s [opt-env-conf-test] pure
  16059. 2029.63 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  16060. 2029.63 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16061. 2029.63 s [opt-env-conf-test] )
  16062. 2029.63 s [opt-env-conf-test]
  16063. 2029.63 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16064. 2029.63 s [opt-env-conf-test] Nothing ->
  16065. 2029.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
  16066. 2029.63 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16067. 2029.63 s [opt-env-conf-test] else pure ([], [])
  16068. 2029.63 s [opt-env-conf-test] Just (Abs af) -> do
  16069. 2029.63 s [opt-env-conf-test] let dir = parent af
  16070. 2029.63 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16071. 2029.63 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel (filename af)) then id else filter (not . hiddenRel)
  16072. 2029.63 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16073. 2029.63 s [opt-env-conf-test] pure
  16074. 2029.63 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16075. 2029.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
  16076. 2029.63 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16077. 2029.63 s [opt-env-conf-test]
  16078. 2029.63 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16079. 2029.63 s [opt-env-conf-test] Nothing ->
  16080. 2029.63 s [opt-env-conf-test] - if fp == "."
  16081. 2029.63 s [opt-env-conf-test] + if not (fp == ".")
  16082. 2029.63 s [opt-env-conf-test] then do
  16083. 2029.63 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16084. 2029.63 s [opt-env-conf-test] pure
  16085. 2029.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  16086. 2029.64 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  16087. 2029.64 s [opt-env-conf-test]
  16088. 2029.64 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16089. 2029.64 s [opt-env-conf-test] Nothing ->
  16090. 2029.64 s [opt-env-conf-test] - if fp == "."
  16091. 2029.64 s [opt-env-conf-test] + if False
  16092. 2029.64 s [opt-env-conf-test] then do
  16093. 2029.64 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16094. 2029.64 s [opt-env-conf-test] pure
  16095. 2029.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  16096. 2029.64 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  16097. 2029.64 s [opt-env-conf-test] else pure ([], [])
  16098. 2029.64 s [opt-env-conf-test] Just (Abs af) -> do
  16099. 2029.64 s [opt-env-conf-test] let dir = parent af
  16100. 2029.64 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16101. 2029.64 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16102. 2029.64 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16103. 2029.64 s [opt-env-conf-test] pure
  16104. 2029.64 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16105. 2029.64 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16106. 2029.64 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  16107. 2029.64 s [opt-env-conf-test]
  16108. 2029.64 s [opt-env-conf-test] pure $
  16109. 2029.64 s [opt-env-conf-test] concat
  16110. 2029.64 s [opt-env-conf-test] [ map fileResult filesFromPartialListing,
  16111. 2029.64 s [opt-env-conf-test] map fileResult filesFromParentListing,
  16112. 2029.64 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  16113. 2029.64 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  16114. 2029.64 s [opt-env-conf-test] ]
  16115. 2029.64 s [opt-env-conf-test] where
  16116. 2029.64 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16117. 2029.64 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16118. 2029.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  16119. 2029.64 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  16120. 2029.64 s [opt-env-conf-test] where
  16121. 2029.64 s [opt-env-conf-test] matchesExtension cr
  16122. 2029.64 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  16123. 2029.64 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16124. 2029.64 s [opt-env-conf-test] + | otherwise = False
  16125. 2029.64 s [opt-env-conf-test]
  16126. 2029.64 s [opt-env-conf-test] directoryPath :: Completer
  16127. 2029.64 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  16128. 2029.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
  16129. 2029.64 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  16130. 2029.64 s [opt-env-conf-test] where
  16131. 2035.19 s [opt-env-conf-test] matchesExtension cr
  16132. 2035.19 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  16133. 2035.22 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  16134. 2035.22 s [opt-env-conf-test] + | otherwise = not (any (`isSuffixOf` completionResultValue cr) exts)
  16135. 2035.22 s [opt-env-conf-test]
  16136. 2035.22 s [opt-env-conf-test] directoryPath :: Completer
  16137. 2035.22 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  16138. 2035.22 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:80:42-56
  16139. 2035.22 s [opt-env-conf-test] @@ -77,7 +77,7 @@
  16140. 2035.22 s [opt-env-conf-test] Maybe JSON.Object ->
  16141. 2035.22 s [opt-env-conf-test] IO (CheckResult a)
  16142. 2035.22 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  16143. 2035.22 s [opt-env-conf-test] - errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  16144. 2035.22 s [opt-env-conf-test] + errOrSets <- runParserOn capabilities (Nothing) p args envVars mConfig
  16145. 2035.22 s [opt-env-conf-test] pure $ case errOrSets of
  16146. 2035.22 s [opt-env-conf-test] Right a -> CheckSucceeded a
  16147. 2035.22 s [opt-env-conf-test] Left errs ->
  16148. 2035.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  16149. 2035.22 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  16150. 2035.22 s [opt-env-conf-test] _ -> Nothing
  16151. 2035.22 s [opt-env-conf-test] )
  16152. 2035.22 s [opt-env-conf-test] errs
  16153. 2035.22 s [opt-env-conf-test] in case mMissingCaps of
  16154. 2035.22 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  16155. 2035.22 s [opt-env-conf-test] Nothing -> CheckFailed errs
  16156. 2035.22 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  16157. 2035.22 s [opt-env-conf-test] @@ -78,20 +78,19 @@
  16158. 2035.22 s [opt-env-conf-test] IO (CheckResult a)
  16159. 2035.22 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  16160. 2035.22 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  16161. 2035.22 s [opt-env-conf-test] pure $ case errOrSets of
  16162. 2035.22 s [opt-env-conf-test] - Right a -> CheckSucceeded a
  16163. 2035.22 s [opt-env-conf-test] Left errs ->
  16164. 2035.22 s [opt-env-conf-test] -- If all the errors are missing capability errors, return
  16165. 2035.22 s [opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
  16166. 2035.22 s [opt-env-conf-test] let mMissingCaps =
  16167. 2035.22 s [opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
  16168. 2035.22 s [opt-env-conf-test] -- ALL errors are missing capability errors
  16169. 2035.23 s [opt-env-conf-test] mapM
  16170. 2035.23 s [opt-env-conf-test] ( \case
  16171. 2035.23 s [opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  16172. 2035.23 s [opt-env-conf-test] _ -> Nothing
  16173. 2035.23 s [opt-env-conf-test] )
  16174. 2035.23 s [opt-env-conf-test] errs
  16175. 2035.23 s [opt-env-conf-test] in case mMissingCaps of
  16176. 2035.23 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  16177. 2035.23 s [opt-env-conf-test] Nothing -> CheckFailed errs
  16178. 2035.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  16179. 2035.23 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  16180. 2035.23 s [opt-env-conf-test] _ -> Nothing
  16181. 2035.23 s [opt-env-conf-test] )
  16182. 2035.23 s [opt-env-conf-test] errs
  16183. 2035.23 s [opt-env-conf-test] in case mMissingCaps of
  16184. 2035.23 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  16185. 2035.23 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  16186. 2035.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  16187. 2035.23 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16188. 2035.23 s [opt-env-conf-test] Just (Rel rf) -> do
  16189. 2035.23 s [opt-env-conf-test] let dir = parent rf
  16190. 2035.23 s [opt-env-conf-test] let ad = baseDir </> dir
  16191. 2035.23 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16192. 2035.23 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  16193. 2035.23 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16194. 2035.23 s [opt-env-conf-test] pure
  16195. 2035.23 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16196. 2035.23 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:91:72-105
  16197. 2035.23 s [opt-env-conf-test] @@ -88,7 +88,7 @@
  16198. 2035.23 s [opt-env-conf-test] -- ALL errors are missing capability errors
  16199. 2035.23 s [opt-env-conf-test] mapM
  16200. 2035.23 s [opt-env-conf-test] ( \case
  16201. 2035.23 s [opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  16202. 2035.23 s [opt-env-conf-test] + ParseError mLoc (ParseErrorMissingCapability cap) -> Nothing
  16203. 2035.23 s [opt-env-conf-test] _ -> Nothing
  16204. 2035.23 s [opt-env-conf-test] )
  16205. 2035.23 s [opt-env-conf-test] errs
  16206. 2035.23 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
  16207. 2035.23 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  16208. 2035.23 s [opt-env-conf-test] shortDasheds =
  16209. 2035.23 s [opt-env-conf-test] mapMaybe
  16210. 2035.23 s [opt-env-conf-test] ( \case
  16211. 2035.23 s [opt-env-conf-test] - DashedShort c -> Just c
  16212. 2035.23 s [opt-env-conf-test] + DashedShort c -> Nothing
  16213. 2035.23 s [opt-env-conf-test] DashedLong _ -> Nothing
  16214. 2035.23 s [opt-env-conf-test] )
  16215. 2035.23 s [opt-env-conf-test]
  16216. 2035.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  16217. 2035.23 s [opt-env-conf-test] @@ -78,20 +78,5 @@
  16218. 2035.23 s [opt-env-conf-test] IO (CheckResult a)
  16219. 2035.23 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  16220. 2035.23 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  16221. 2035.23 s [opt-env-conf-test] pure $ case errOrSets of
  16222. 2035.23 s [opt-env-conf-test] Right a -> CheckSucceeded a
  16223. 2035.23 s [opt-env-conf-test] - Left errs ->
  16224. 2035.23 s [opt-env-conf-test] - -- If all the errors are missing capability errors, return
  16225. 2035.23 s [opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
  16226. 2035.23 s [opt-env-conf-test] - let mMissingCaps =
  16227. 2035.23 s [opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
  16228. 2035.23 s [opt-env-conf-test] - -- ALL errors are missing capability errors
  16229. 2035.23 s [opt-env-conf-test] - mapM
  16230. 2035.23 s [opt-env-conf-test] - ( \case
  16231. 2035.23 s [opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  16232. 2035.23 s [opt-env-conf-test] - _ -> Nothing
  16233. 2035.23 s [opt-env-conf-test] - )
  16234. 2035.23 s [opt-env-conf-test] - errs
  16235. 2035.23 s [opt-env-conf-test] - in case mMissingCaps of
  16236. 2035.23 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  16237. 2035.23 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  16238. 2035.23 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
  16239. 2035.23 s [opt-env-conf-test] @@ -423,6 +423,6 @@
  16240. 2035.23 s [opt-env-conf-test] longDasheds =
  16241. 2035.23 s [opt-env-conf-test] mapMaybe
  16242. 2035.23 s [opt-env-conf-test] ( \case
  16243. 2035.23 s [opt-env-conf-test] - DashedLong l -> Just l
  16244. 2035.23 s [opt-env-conf-test] + DashedLong l -> Nothing
  16245. 2035.23 s [opt-env-conf-test] DashedShort _ -> Nothing
  16246. 2035.23 s [opt-env-conf-test] )
  16247. 2035.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  16248. 2035.23 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  16249. 2035.23 s [opt-env-conf-test] else do
  16250. 2035.23 s [opt-env-conf-test] let dir = parent rf
  16251. 2035.23 s [opt-env-conf-test] let ad = baseDir </> dir
  16252. 2035.24 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16253. 2035.24 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16254. 2035.24 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  16255. 2035.24 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  16256. 2035.24 s [opt-env-conf-test]
  16257. 2035.24 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:44:7-71
  16258. 2035.24 s [opt-env-conf-test] @@ -41,7 +41,6 @@
  16259. 2035.24 s [opt-env-conf-test] exitSuccess
  16260. 2035.24 s [opt-env-conf-test] CheckSucceeded _ -> do
  16261. 2035.24 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  16262. 2035.24 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
  16263. 2035.24 s [opt-env-conf-test] exitSuccess
  16264. 2035.24 s [opt-env-conf-test]
  16265. 2035.24 s [opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
  16266. 2035.24 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:40:7-83
  16267. 2035.24 s [opt-env-conf-test] @@ -37,7 +37,6 @@
  16268. 2035.24 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  16269. 2035.24 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  16270. 2035.24 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  16271. 2035.24 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
  16272. 2035.24 s [opt-env-conf-test] exitSuccess
  16273. 2035.24 s [opt-env-conf-test] CheckSucceeded _ -> do
  16274. 2035.24 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  16275. 2035.24 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:39:7-143
  16276. 2035.24 s [opt-env-conf-test] @@ -36,7 +36,6 @@
  16277. 2035.24 s [opt-env-conf-test] exitFailure
  16278. 2035.24 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  16279. 2035.24 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  16280. 2035.24 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  16281. 2035.24 s [opt-env-conf-test] hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
  16282. 2035.24 s [opt-env-conf-test] exitSuccess
  16283. 2035.24 s [opt-env-conf-test] CheckSucceeded _ -> do
  16284. 2035.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  16285. 2035.24 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  16286. 2035.24 s [opt-env-conf-test]
  16287. 2035.24 s [opt-env-conf-test] renderDashed :: Dashed -> String
  16288. 2035.24 s [opt-env-conf-test] renderDashed = \case
  16289. 2035.24 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  16290. 2035.24 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  16291. 2035.24 s [opt-env-conf-test]
  16292. 2035.24 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  16293. 2035.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  16294. 2035.24 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16295. 2035.24 s [opt-env-conf-test] where
  16296. 2035.24 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16297. 2035.24 s [opt-env-conf-test] go (c :| rest) =
  16298. 2035.24 s [opt-env-conf-test] - if c `elem` cs
  16299. 2035.24 s [opt-env-conf-test] + if True
  16300. 2035.24 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16301. 2035.24 s [opt-env-conf-test] else do
  16302. 2035.24 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16303. 2044.20 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  16304. 2044.20 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  16305. 2044.22 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16306. 2044.22 s [opt-env-conf-test] go (c :| rest) =
  16307. 2044.22 s [opt-env-conf-test] if c `elem` cs
  16308. 2044.22 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16309. 2044.22 s [opt-env-conf-test] + then Just $ (\ne -> (ne, True)) <$> NE.nonEmpty rest
  16310. 2044.22 s [opt-env-conf-test] else do
  16311. 2044.22 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16312. 2044.22 s [opt-env-conf-test] new <- go rest'
  16313. 2044.22 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
  16314. 2044.22 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  16315. 2044.22 s [opt-env-conf-test] NonEmpty Char ->
  16316. 2044.22 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  16317. 2044.22 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  16318. 2044.23 s [opt-env-conf-test] - if isLong
  16319. 2044.23 s [opt-env-conf-test] + if not (isLong)
  16320. 2044.23 s [opt-env-conf-test] then
  16321. 2044.23 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16322. 2044.23 s [opt-env-conf-test] then Just Nothing
  16323. 2044.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  16324. 2044.23 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  16325. 2044.23 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  16326. 2044.23 s [opt-env-conf-test] if isLong
  16327. 2044.23 s [opt-env-conf-test] then
  16328. 2044.23 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16329. 2044.23 s [opt-env-conf-test] + if True
  16330. 2044.23 s [opt-env-conf-test] then Just Nothing
  16331. 2044.23 s [opt-env-conf-test] else Nothing
  16332. 2044.23 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  16333. 2044.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  16334. 2044.23 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  16335. 2044.23 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  16336. 2044.23 s [opt-env-conf-test] if isLong
  16337. 2044.23 s [opt-env-conf-test] then
  16338. 2044.23 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16339. 2044.23 s [opt-env-conf-test] + if False
  16340. 2044.23 s [opt-env-conf-test] then Just Nothing
  16341. 2044.23 s [opt-env-conf-test] else Nothing
  16342. 2044.23 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  16343. 2044.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
  16344. 2044.23 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  16345. 2044.23 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  16346. 2044.23 s [opt-env-conf-test] if isLong
  16347. 2044.23 s [opt-env-conf-test] then
  16348. 2044.23 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16349. 2044.23 s [opt-env-conf-test] + if not (DashedLong cs `elem` dasheds)
  16350. 2044.23 s [opt-env-conf-test] then Just Nothing
  16351. 2044.23 s [opt-env-conf-test] else Nothing
  16352. 2044.23 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  16353. 2044.23 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
  16354. 2044.23 s [opt-env-conf-test] @@ -369,7 +369,7 @@
  16355. 2044.23 s [opt-env-conf-test] pure $
  16356. 2044.23 s [opt-env-conf-test] Just $
  16357. 2044.23 s [opt-env-conf-test] maybe
  16358. 2044.23 s [opt-env-conf-test] - (c :| [], True)
  16359. 2044.23 s [opt-env-conf-test] + (c :| [], False)
  16360. 2044.23 s [opt-env-conf-test] (first (c NE.<|))
  16361. 2044.23 s [opt-env-conf-test] new
  16362. 2044.23 s [opt-env-conf-test]
  16363. 2044.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
  16364. 2044.24 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  16365. 2044.24 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16366. 2044.24 s [opt-env-conf-test] go (c :| rest) =
  16367. 2044.24 s [opt-env-conf-test] if c `elem` cs
  16368. 2044.24 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16369. 2044.24 s [opt-env-conf-test] + then Just $ (\ne -> (ne, not (null rest))) <$> NE.nonEmpty rest
  16370. 2044.24 s [opt-env-conf-test] else do
  16371. 2044.24 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16372. 2044.24 s [opt-env-conf-test] new <- go rest'
  16373. 2044.24 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
  16374. 2044.24 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  16375. 2044.24 s [opt-env-conf-test] if isLong
  16376. 2044.24 s [opt-env-conf-test] then
  16377. 2044.24 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16378. 2044.24 s [opt-env-conf-test] - then Just Nothing
  16379. 2044.24 s [opt-env-conf-test] + then Nothing
  16380. 2044.24 s [opt-env-conf-test] else Nothing
  16381. 2044.24 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  16382. 2044.24 s [opt-env-conf-test]
  16383. 2044.24 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  16384. 2044.24 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  16385. 2044.24 s [opt-env-conf-test] consumeSwitch dasheds as = do
  16386. 2044.24 s [opt-env-conf-test] case go (argsBefore as) of
  16387. 2044.24 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  16388. 2044.24 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  16389. 2044.24 s [opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
  16390. 2044.24 s [opt-env-conf-test] Nothing -> Nothing
  16391. 2044.24 s [opt-env-conf-test] where
  16392. 2044.24 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  16393. 2044.24 s [opt-env-conf-test] go = \case
  16394. 2044.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  16395. 2044.24 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  16396. 2044.24 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16397. 2044.24 s [opt-env-conf-test] (Live o : rest) -> case o of
  16398. 2044.24 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16399. 2044.24 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16400. 2044.24 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds False cs of
  16401. 2044.24 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16402. 2044.24 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16403. 2044.24 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16404. 2044.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
  16405. 2044.24 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  16406. 2044.24 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16407. 2044.24 s [opt-env-conf-test] (Live o : rest) -> case o of
  16408. 2044.24 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16409. 2044.24 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16410. 2044.24 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds not (isLong) cs of
  16411. 2044.24 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16412. 2044.24 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16413. 2044.24 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16414. 2044.24 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  16415. 2044.24 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  16416. 2044.24 s [opt-env-conf-test] consumeSwitch dasheds as = do
  16417. 2044.25 s [opt-env-conf-test] case go (argsBefore as) of
  16418. 2044.25 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  16419. 2044.25 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  16420. 2044.25 s [opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
  16421. 2044.25 s [opt-env-conf-test] - Nothing -> Nothing
  16422. 2044.25 s [opt-env-conf-test] where
  16423. 2044.25 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  16424. 2044.25 s [opt-env-conf-test] go = \case
  16425. 2044.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  16426. 2044.25 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  16427. 2044.25 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16428. 2044.25 s [opt-env-conf-test] (Live o : rest) -> case o of
  16429. 2044.25 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16430. 2044.25 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16431. 2044.25 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds True cs of
  16432. 2044.25 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16433. 2044.25 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16434. 2044.25 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16435. 2044.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  16436. 2044.25 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16437. 2044.25 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16438. 2044.25 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16439. 2044.25 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16440. 2044.25 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16441. 2044.25 s [opt-env-conf-test] + let rest' = if False then Dead : rest else rest
  16442. 2044.25 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16443. 2044.25 s [opt-env-conf-test] _ -> do
  16444. 2044.25 s [opt-env-conf-test] os <- go rest
  16445. 2044.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  16446. 2044.25 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16447. 2044.25 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16448. 2044.25 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16449. 2044.25 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16450. 2044.25 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16451. 2044.25 s [opt-env-conf-test] + let rest' = if True then Dead : rest else rest
  16452. 2044.25 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16453. 2044.25 s [opt-env-conf-test] _ -> do
  16454. 2044.25 s [opt-env-conf-test] os <- go rest
  16455. 2044.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  16456. 2044.25 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16457. 2044.25 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16458. 2044.25 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16459. 2044.25 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16460. 2044.25 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16461. 2044.25 s [opt-env-conf-test] + in Just $ Live (ArgDashed True cs') : rest'
  16462. 2044.25 s [opt-env-conf-test] _ -> do
  16463. 2044.25 s [opt-env-conf-test] os <- go rest
  16464. 2044.25 s [opt-env-conf-test] pure $ Live o : os
  16465. 2044.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
  16466. 2044.25 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16467. 2044.25 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16468. 2049.04 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16469. 2049.04 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16470. 2049.04 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16471. 2049.04 s [opt-env-conf-test] + let rest' = if not (needTombstone) then Dead : rest else rest
  16472. 2049.04 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16473. 2049.04 s [opt-env-conf-test] _ -> do
  16474. 2049.04 s [opt-env-conf-test] os <- go rest
  16475. 2049.04 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
  16476. 2049.04 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16477. 2049.05 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16478. 2049.05 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16479. 2049.05 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16480. 2049.05 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16481. 2049.05 s [opt-env-conf-test] + in Just $ Live (ArgDashed not (isLong) cs') : rest'
  16482. 2049.05 s [opt-env-conf-test] _ -> do
  16483. 2049.05 s [opt-env-conf-test] os <- go rest
  16484. 2049.05 s [opt-env-conf-test] pure $ Live o : os
  16485. 2049.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  16486. 2049.05 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16487. 2049.05 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16488. 2049.05 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16489. 2049.05 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16490. 2049.05 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16491. 2049.05 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  16492. 2049.05 s [opt-env-conf-test] _ -> do
  16493. 2049.05 s [opt-env-conf-test] os <- go rest
  16494. 2049.05 s [opt-env-conf-test] pure $ Live o : os
  16495. 2049.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16496. 2049.05 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  16497. 2049.05 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16498. 2049.05 s [opt-env-conf-test] (Live o : rest) -> case o of
  16499. 2049.05 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16500. 2049.05 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16501. 2049.05 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  16502. 2049.05 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16503. 2049.05 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16504. 2049.05 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16505. 2049.05 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16506. 2049.05 s [opt-env-conf-test] _ -> do
  16507. 2049.05 s [opt-env-conf-test] os <- go rest
  16508. 2049.05 s [opt-env-conf-test] pure $ Live o : os
  16509. 2049.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16510. 2049.05 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  16511. 2049.05 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16512. 2049.05 s [opt-env-conf-test] (Live o : rest) -> case o of
  16513. 2049.05 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16514. 2049.05 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16515. 2049.06 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16516. 2049.06 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  16517. 2049.06 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16518. 2049.06 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16519. 2049.06 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16520. 2049.06 s [opt-env-conf-test] _ -> do
  16521. 2049.06 s [opt-env-conf-test] os <- go rest
  16522. 2049.06 s [opt-env-conf-test] pure $ Live o : os
  16523. 2049.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16524. 2049.06 s [opt-env-conf-test] @@ -329,17 +329,11 @@
  16525. 2049.06 s [opt-env-conf-test] go = \case
  16526. 2049.06 s [opt-env-conf-test] [] -> Nothing
  16527. 2049.06 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16528. 2049.06 s [opt-env-conf-test] (Live o : rest) -> case o of
  16529. 2049.06 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16530. 2049.06 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16531. 2049.06 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  16532. 2049.06 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  16533. 2049.06 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  16534. 2049.06 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16535. 2049.06 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16536. 2049.06 s [opt-env-conf-test] _ -> do
  16537. 2049.06 s [opt-env-conf-test] os <- go rest
  16538. 2049.06 s [opt-env-conf-test] pure $ Live o : os
  16539. 2049.06 s [opt-env-conf-test]
  16540. 2049.06 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16541. 2049.06 s [opt-env-conf-test] -- character because then we need a tombstone.
  16542. 2049.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16543. 2049.06 s [opt-env-conf-test] @@ -329,17 +329,14 @@
  16544. 2049.06 s [opt-env-conf-test] go = \case
  16545. 2049.06 s [opt-env-conf-test] [] -> Nothing
  16546. 2049.06 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16547. 2049.06 s [opt-env-conf-test] (Live o : rest) -> case o of
  16548. 2049.06 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16549. 2049.06 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16550. 2049.06 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16551. 2049.06 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16552. 2049.06 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16553. 2049.06 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16554. 2049.06 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16555. 2049.06 s [opt-env-conf-test] - _ -> do
  16556. 2049.06 s [opt-env-conf-test] - os <- go rest
  16557. 2049.06 s [opt-env-conf-test] - pure $ Live o : os
  16558. 2049.06 s [opt-env-conf-test]
  16559. 2049.06 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16560. 2049.06 s [opt-env-conf-test] -- character because then we need a tombstone.
  16561. 2049.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16562. 2049.06 s [opt-env-conf-test] @@ -329,17 +329,16 @@
  16563. 2049.06 s [opt-env-conf-test] go = \case
  16564. 2049.06 s [opt-env-conf-test] [] -> Nothing
  16565. 2049.06 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16566. 2049.06 s [opt-env-conf-test] (Live o : rest) -> case o of
  16567. 2049.06 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  16568. 2049.06 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16569. 2049.06 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16570. 2049.06 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16571. 2049.06 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16572. 2049.06 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16573. 2049.06 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16574. 2049.06 s [opt-env-conf-test] _ -> do
  16575. 2049.06 s [opt-env-conf-test] os <- go rest
  16576. 2049.06 s [opt-env-conf-test] pure $ Live o : os
  16577. 2049.06 s [opt-env-conf-test]
  16578. 2049.06 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16579. 2049.06 s [opt-env-conf-test] -- character because then we need a tombstone.
  16580. 2049.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16581. 2049.06 s [opt-env-conf-test] @@ -331,12 +331,9 @@
  16582. 2049.06 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16583. 2049.06 s [opt-env-conf-test] (Live o : rest) -> case o of
  16584. 2049.06 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16585. 2049.06 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16586. 2049.06 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16587. 2049.06 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16588. 2049.06 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  16589. 2049.06 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16590. 2049.07 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16591. 2049.07 s [opt-env-conf-test] _ -> do
  16592. 2049.07 s [opt-env-conf-test] os <- go rest
  16593. 2049.07 s [opt-env-conf-test] pure $ Live o : os
  16594. 2049.07 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16595. 2049.07 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  16596. 2049.07 s [opt-env-conf-test]
  16597. 2049.07 s [opt-env-conf-test] pure $
  16598. 2049.07 s [opt-env-conf-test] concat
  16599. 2049.07 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  16600. 2049.07 s [opt-env-conf-test] map fileResult filesFromParentListing,
  16601. 2049.07 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  16602. 2049.07 s [opt-env-conf-test] map dirResult dirsFromParentListing
  16603. 2049.07 s [opt-env-conf-test] ]
  16604. 2049.07 s [opt-env-conf-test] where
  16605. 2049.07 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16606. 2049.07 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16607. 2049.07 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  16608. 2049.07 s [opt-env-conf-test] @@ -123,11 +123,7 @@
  16609. 2049.07 s [opt-env-conf-test]
  16610. 2049.07 s [opt-env-conf-test] pure $
  16611. 2049.07 s [opt-env-conf-test] concat
  16612. 2049.07 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  16613. 2049.07 s [opt-env-conf-test] - map fileResult filesFromParentListing,
  16614. 2049.07 s [opt-env-conf-test] - map dirResult dirsFromPartialListing,
  16615. 2049.07 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  16616. 2049.07 s [opt-env-conf-test] ]
  16617. 2049.07 s [opt-env-conf-test] where
  16618. 2049.07 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  16619. 2049.07 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  16620. 2049.07 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  16621. 2049.07 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  16622. 2049.07 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16623. 2049.07 s [opt-env-conf-test] )
  16624. 2049.07 s [opt-env-conf-test]
  16625. 2049.07 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16626. 2049.07 s [opt-env-conf-test] Nothing ->
  16627. 2049.07 s [opt-env-conf-test] if fp == "."
  16628. 2049.07 s [opt-env-conf-test] then do
  16629. 2049.07 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16630. 2049.07 s [opt-env-conf-test] pure
  16631. 2049.07 s [opt-env-conf-test] ( map fromRelDir ds,
  16632. 2049.07 s [opt-env-conf-test] map fromRelFile fs
  16633. 2049.07 s [opt-env-conf-test] )
  16634. 2049.07 s [opt-env-conf-test] else pure ([], [])
  16635. 2049.07 s [opt-env-conf-test] Just (Abs af) -> do
  16636. 2049.07 s [opt-env-conf-test] let dir = parent af
  16637. 2049.07 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16638. 2049.07 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16639. 2049.07 s [opt-env-conf-test] pure
  16640. 2049.07 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16641. 2049.07 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  16642. 2049.07 s [opt-env-conf-test] )
  16643. 2049.07 s [opt-env-conf-test] - Just (Rel rf) -> do
  16644. 2049.07 s [opt-env-conf-test] - let dir = parent rf
  16645. 2049.07 s [opt-env-conf-test] - let ad = baseDir </> dir
  16646. 2049.07 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16647. 2049.07 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  16648. 2049.07 s [opt-env-conf-test] - pure
  16649. 2057.70 s [opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16650. 2057.72 s [opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
  16651. 2057.72 s [opt-env-conf-test] - )
  16652. 2057.72 s [opt-env-conf-test]
  16653. 2057.72 s [opt-env-conf-test] pure $
  16654. 2057.72 s [opt-env-conf-test] concat
  16655. 2057.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  16656. 2057.72 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  16657. 2057.72 s [opt-env-conf-test] where
  16658. 2057.72 s [opt-env-conf-test] go acc ne =
  16659. 2057.72 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  16660. 2057.72 s [opt-env-conf-test] in case mRest of
  16661. 2057.72 s [opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
  16662. 2057.72 s [opt-env-conf-test] Just rest -> go (a : acc) rest
  16663. 2057.72 s [opt-env-conf-test]
  16664. 2057.72 s [opt-env-conf-test] -- | Consume a switch.
  16665. 2057.73 s [opt-env-conf-test] --
  16666. 2057.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  16667. 2057.73 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16668. 2057.73 s [opt-env-conf-test] NonEmpty Char ->
  16669. 2057.73 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16670. 2057.73 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16671. 2057.73 s [opt-env-conf-test] - if isLong
  16672. 2057.73 s [opt-env-conf-test] + if False
  16673. 2057.73 s [opt-env-conf-test] then
  16674. 2057.73 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16675. 2057.73 s [opt-env-conf-test] then Just Nothing
  16676. 2057.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  16677. 2057.73 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16678. 2057.73 s [opt-env-conf-test] NonEmpty Char ->
  16679. 2057.73 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16680. 2057.73 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16681. 2057.73 s [opt-env-conf-test] - if isLong
  16682. 2057.73 s [opt-env-conf-test] + if True
  16683. 2057.73 s [opt-env-conf-test] then
  16684. 2057.73 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16685. 2057.73 s [opt-env-conf-test] then Just Nothing
  16686. 2057.73 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  16687. 2057.73 s [opt-env-conf-test] @@ -93,33 +93,25 @@
  16688. 2057.73 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16689. 2057.73 s [opt-env-conf-test] )
  16690. 2057.73 s [opt-env-conf-test]
  16691. 2057.73 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16692. 2057.73 s [opt-env-conf-test] Nothing ->
  16693. 2057.73 s [opt-env-conf-test] if fp == "."
  16694. 2057.73 s [opt-env-conf-test] then do
  16695. 2057.73 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  16696. 2057.73 s [opt-env-conf-test] pure
  16697. 2057.73 s [opt-env-conf-test] ( map fromRelDir ds,
  16698. 2057.73 s [opt-env-conf-test] map fromRelFile fs
  16699. 2057.74 s [opt-env-conf-test] )
  16700. 2057.74 s [opt-env-conf-test] else pure ([], [])
  16701. 2057.74 s [opt-env-conf-test] - Just (Abs af) -> do
  16702. 2057.74 s [opt-env-conf-test] - let dir = parent af
  16703. 2057.74 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16704. 2057.74 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
  16705. 2057.74 s [opt-env-conf-test] - pure
  16706. 2057.74 s [opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16707. 2057.74 s [opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
  16708. 2057.74 s [opt-env-conf-test] - )
  16709. 2057.74 s [opt-env-conf-test] Just (Rel rf) -> do
  16710. 2057.74 s [opt-env-conf-test] let dir = parent rf
  16711. 2057.74 s [opt-env-conf-test] let ad = baseDir </> dir
  16712. 2057.74 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16713. 2057.74 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16714. 2057.74 s [opt-env-conf-test] pure
  16715. 2057.74 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16716. 2057.74 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  16717. 2057.74 s [opt-env-conf-test] )
  16718. 2057.74 s [opt-env-conf-test]
  16719. 2057.74 s [opt-env-conf-test] pure $
  16720. 2057.74 s [opt-env-conf-test] concat
  16721. 2057.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
  16722. 2057.74 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16723. 2057.74 s [opt-env-conf-test] NonEmpty Char ->
  16724. 2057.74 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16725. 2057.74 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16726. 2057.74 s [opt-env-conf-test] - if isLong
  16727. 2057.74 s [opt-env-conf-test] + if not (isLong)
  16728. 2057.74 s [opt-env-conf-test] then
  16729. 2057.74 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16730. 2057.74 s [opt-env-conf-test] then Just Nothing
  16731. 2057.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  16732. 2057.74 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  16733. 2057.74 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16734. 2057.74 s [opt-env-conf-test] if isLong
  16735. 2057.74 s [opt-env-conf-test] then
  16736. 2057.74 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16737. 2057.74 s [opt-env-conf-test] + if True
  16738. 2057.74 s [opt-env-conf-test] then Just Nothing
  16739. 2057.74 s [opt-env-conf-test] else Nothing
  16740. 2057.74 s [opt-env-conf-test] else
  16741. 2057.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  16742. 2057.74 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  16743. 2057.74 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16744. 2057.74 s [opt-env-conf-test] if isLong
  16745. 2057.74 s [opt-env-conf-test] then
  16746. 2057.74 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16747. 2057.74 s [opt-env-conf-test] + if False
  16748. 2057.74 s [opt-env-conf-test] then Just Nothing
  16749. 2057.75 s [opt-env-conf-test] else Nothing
  16750. 2057.75 s [opt-env-conf-test] else
  16751. 2057.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
  16752. 2057.75 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16753. 2057.75 s [opt-env-conf-test] Just (Rel rf) -> do
  16754. 2057.75 s [opt-env-conf-test] let dir = parent rf
  16755. 2057.75 s [opt-env-conf-test] let ad = baseDir </> dir
  16756. 2057.75 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16757. 2057.75 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  16758. 2057.75 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16759. 2057.75 s [opt-env-conf-test] pure
  16760. 2057.75 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16761. 2057.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
  16762. 2057.75 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  16763. 2057.75 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16764. 2057.75 s [opt-env-conf-test] if isLong
  16765. 2057.75 s [opt-env-conf-test] then
  16766. 2057.75 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16767. 2057.75 s [opt-env-conf-test] + if not (DashedLong cs `elem` dasheds)
  16768. 2057.75 s [opt-env-conf-test] then Just Nothing
  16769. 2057.75 s [opt-env-conf-test] else Nothing
  16770. 2057.75 s [opt-env-conf-test] else
  16771. 2057.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  16772. 2057.75 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  16773. 2057.75 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  16774. 2057.75 s [opt-env-conf-test] )
  16775. 2057.75 s [opt-env-conf-test]
  16776. 2057.75 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  16777. 2057.75 s [opt-env-conf-test] - Nothing ->
  16778. 2057.75 s [opt-env-conf-test] - if fp == "."
  16779. 2057.75 s [opt-env-conf-test] - then do
  16780. 2057.75 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  16781. 2057.75 s [opt-env-conf-test] - pure
  16782. 2057.75 s [opt-env-conf-test] - ( map fromRelDir ds,
  16783. 2057.75 s [opt-env-conf-test] - map fromRelFile fs
  16784. 2057.75 s [opt-env-conf-test] - )
  16785. 2057.75 s [opt-env-conf-test] - else pure ([], [])
  16786. 2057.75 s [opt-env-conf-test] Just (Abs af) -> do
  16787. 2057.75 s [opt-env-conf-test] let dir = parent af
  16788. 2057.75 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  16789. 2057.76 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  16790. 2057.76 s [opt-env-conf-test] pure
  16791. 2057.76 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  16792. 2057.76 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  16793. 2057.76 s [opt-env-conf-test] )
  16794. 2057.76 s [opt-env-conf-test] Just (Rel rf) -> do
  16795. 2057.76 s [opt-env-conf-test] let dir = parent rf
  16796. 2057.76 s [opt-env-conf-test] let ad = baseDir </> dir
  16797. 2057.76 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16798. 2057.76 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16799. 2057.76 s [opt-env-conf-test] pure
  16800. 2057.76 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16801. 2057.76 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  16802. 2057.76 s [opt-env-conf-test] )
  16803. 2057.76 s [opt-env-conf-test]
  16804. 2057.76 s [opt-env-conf-test] pure $
  16805. 2057.76 s [opt-env-conf-test] concat
  16806. 2057.76 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  16807. 2057.76 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  16808. 2057.76 s [opt-env-conf-test] else Nothing
  16809. 2057.76 s [opt-env-conf-test] else
  16810. 2057.76 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16811. 2057.76 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  16812. 2057.76 s [opt-env-conf-test] + in if False
  16813. 2057.76 s [opt-env-conf-test] then Just mRest
  16814. 2057.76 s [opt-env-conf-test] else Nothing
  16815. 2057.76 s [opt-env-conf-test]
  16816. 2057.76 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
  16817. 2057.76 s [opt-env-conf-test] @@ -293,7 +293,7 @@
  16818. 2057.76 s [opt-env-conf-test] if isLong
  16819. 2057.76 s [opt-env-conf-test] then
  16820. 2057.76 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16821. 2057.76 s [opt-env-conf-test] - then Just Nothing
  16822. 2057.76 s [opt-env-conf-test] + then Nothing
  16823. 2057.76 s [opt-env-conf-test] else Nothing
  16824. 2057.76 s [opt-env-conf-test] else
  16825. 2057.76 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16826. 2057.76 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  16827. 2057.76 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  16828. 2057.76 s [opt-env-conf-test] else Nothing
  16829. 2057.77 s [opt-env-conf-test] else
  16830. 2057.77 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16831. 2057.77 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  16832. 2057.77 s [opt-env-conf-test] + in if True
  16833. 2057.77 s [opt-env-conf-test] then Just mRest
  16834. 2057.77 s [opt-env-conf-test] else Nothing
  16835. 2057.77 s [opt-env-conf-test]
  16836. 2057.77 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  16837. 2057.77 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  16838. 2057.77 s [opt-env-conf-test] Just (Rel rf) -> do
  16839. 2057.77 s [opt-env-conf-test] let dir = parent rf
  16840. 2057.77 s [opt-env-conf-test] let ad = baseDir </> dir
  16841. 2057.77 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  16842. 2057.77 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  16843. 2057.77 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  16844. 2057.77 s [opt-env-conf-test] pure
  16845. 2057.77 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  16846. 2057.77 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
  16847. 2057.77 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  16848. 2057.77 s [opt-env-conf-test] else Nothing
  16849. 2057.77 s [opt-env-conf-test] else
  16850. 2057.77 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16851. 2063.11 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  16852. 2063.14 s [opt-env-conf-test] + in if not (DashedShort c `elem` dasheds)
  16853. 2063.14 s [opt-env-conf-test] then Just mRest
  16854. 2063.14 s [opt-env-conf-test] else Nothing
  16855. 2063.14 s [opt-env-conf-test]
  16856. 2063.14 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
  16857. 2063.14 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16858. 2063.14 s [opt-env-conf-test] Maybe String
  16859. 2063.14 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16860. 2063.14 s [opt-env-conf-test] (c :| rest)
  16861. 2063.14 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16862. 2063.14 s [opt-env-conf-test] + | True && not (null rest) ->
  16863. 2063.14 s [opt-env-conf-test] Just rest
  16864. 2063.14 s [opt-env-conf-test] _ -> Nothing
  16865. 2063.14 s [opt-env-conf-test]
  16866. 2063.14 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
  16867. 2063.14 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16868. 2063.14 s [opt-env-conf-test] Maybe String
  16869. 2063.14 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16870. 2063.14 s [opt-env-conf-test] (c :| rest)
  16871. 2063.14 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16872. 2063.14 s [opt-env-conf-test] + | not (c `elem` dasheds) && not (null rest) ->
  16873. 2063.14 s [opt-env-conf-test] Just rest
  16874. 2063.14 s [opt-env-conf-test] _ -> Nothing
  16875. 2063.15 s [opt-env-conf-test]
  16876. 2063.15 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
  16877. 2063.15 s [opt-env-conf-test] @@ -298,7 +298,7 @@
  16878. 2063.15 s [opt-env-conf-test] else
  16879. 2063.15 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16880. 2063.15 s [opt-env-conf-test] in if DashedShort c `elem` dasheds
  16881. 2063.15 s [opt-env-conf-test] - then Just mRest
  16882. 2063.15 s [opt-env-conf-test] + then Nothing
  16883. 2063.15 s [opt-env-conf-test] else Nothing
  16884. 2063.15 s [opt-env-conf-test]
  16885. 2063.15 s [opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
  16886. 2063.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
  16887. 2063.15 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16888. 2063.15 s [opt-env-conf-test] Maybe String
  16889. 2063.15 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16890. 2063.15 s [opt-env-conf-test] (c :| rest)
  16891. 2063.15 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16892. 2063.15 s [opt-env-conf-test] + | c `elem` dasheds && not (True) ->
  16893. 2063.15 s [opt-env-conf-test] Just rest
  16894. 2063.15 s [opt-env-conf-test] _ -> Nothing
  16895. 2063.15 s [opt-env-conf-test]
  16896. 2063.15 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
  16897. 2063.15 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16898. 2063.15 s [opt-env-conf-test] Maybe String
  16899. 2063.15 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16900. 2063.15 s [opt-env-conf-test] (c :| rest)
  16901. 2063.15 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16902. 2063.15 s [opt-env-conf-test] + | c `elem` dasheds && not (not (null rest)) ->
  16903. 2063.15 s [opt-env-conf-test] Just rest
  16904. 2063.15 s [opt-env-conf-test] _ -> Nothing
  16905. 2063.15 s [opt-env-conf-test]
  16906. 2063.15 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
  16907. 2063.15 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16908. 2063.15 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16909. 2063.15 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16910. 2063.15 s [opt-env-conf-test] trailingSlash
  16911. 2063.15 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16912. 2063.15 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (True) = "/"
  16913. 2063.15 s [opt-env-conf-test] | otherwise = ""
  16914. 2063.15 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16915. 2063.15 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16916. 2063.16 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
  16917. 2063.16 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16918. 2063.16 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16919. 2063.16 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16920. 2063.16 s [opt-env-conf-test] trailingSlash
  16921. 2063.16 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16922. 2063.16 s [opt-env-conf-test] + | not ("/" `isSuffixOf` afterCurDir), not (null remainderComponents) = "/"
  16923. 2063.16 s [opt-env-conf-test] | otherwise = ""
  16924. 2063.16 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16925. 2063.16 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16926. 2063.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  16927. 2063.16 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  16928. 2063.16 s [opt-env-conf-test] where
  16929. 2063.16 s [opt-env-conf-test] go acc ne =
  16930. 2063.16 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  16931. 2063.16 s [opt-env-conf-test] in case mRest of
  16932. 2063.16 s [opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
  16933. 2063.16 s [opt-env-conf-test] - Just rest -> go (a : acc) rest
  16934. 2063.16 s [opt-env-conf-test]
  16935. 2063.16 s [opt-env-conf-test] -- | Consume a switch.
  16936. 2063.16 s [opt-env-conf-test] --
  16937. 2063.16 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
  16938. 2063.16 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16939. 2063.16 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  16940. 2063.16 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  16941. 2063.16 s [opt-env-conf-test] trailingSlash
  16942. 2063.16 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  16943. 2063.16 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, True = "/"
  16944. 2063.16 s [opt-env-conf-test] | otherwise = ""
  16945. 2063.16 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  16946. 2063.16 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  16947. 2063.16 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
  16948. 2063.16 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  16949. 2063.16 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  16950. 2063.16 s [opt-env-conf-test] [] -> 0
  16951. 2063.16 s [opt-env-conf-test] ixs -> maximum ixs
  16952. 2063.16 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  16953. 2063.16 s [opt-env-conf-test] + in if not (lastDotDotIdx == 0)
  16954. 2063.16 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  16955. 2063.16 s [opt-env-conf-test] else
  16956. 2063.16 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  16957. 2063.16 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  16958. 2063.17 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  16959. 2063.17 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16960. 2063.17 s [opt-env-conf-test] go (c :| rest) =
  16961. 2063.17 s [opt-env-conf-test] if c `elem` cs
  16962. 2063.17 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16963. 2063.17 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  16964. 2063.17 s [opt-env-conf-test] else do
  16965. 2063.17 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16966. 2063.17 s [opt-env-conf-test] new <- go rest'
  16967. 2063.17 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
  16968. 2063.17 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16969. 2063.17 s [opt-env-conf-test] where
  16970. 2063.17 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16971. 2063.17 s [opt-env-conf-test] go (c :| rest) =
  16972. 2063.17 s [opt-env-conf-test] - if c `elem` cs
  16973. 2063.17 s [opt-env-conf-test] + if not (c `elem` cs)
  16974. 2063.17 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16975. 2063.17 s [opt-env-conf-test] else do
  16976. 2063.17 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16977. 2063.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  16978. 2063.17 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  16979. 2063.17 s [opt-env-conf-test] where
  16980. 2063.17 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  16981. 2063.17 s [opt-env-conf-test] go (c :| rest) =
  16982. 2063.17 s [opt-env-conf-test] - if c `elem` cs
  16983. 2063.17 s [opt-env-conf-test] + if False
  16984. 2063.17 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  16985. 2063.17 s [opt-env-conf-test] else do
  16986. 2063.17 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  16987. 2063.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  16988. 2063.17 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  16989. 2063.17 s [opt-env-conf-test] NonEmpty Char ->
  16990. 2063.17 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  16991. 2063.17 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  16992. 2063.17 s [opt-env-conf-test] - if isLong
  16993. 2063.17 s [opt-env-conf-test] + if False
  16994. 2063.17 s [opt-env-conf-test] then
  16995. 2063.17 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16996. 2063.17 s [opt-env-conf-test] then Just Nothing
  16997. 2063.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
  16998. 2063.17 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16999. 2063.17 s [opt-env-conf-test] Maybe String
  17000. 2063.17 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17001. 2063.17 s [opt-env-conf-test] (c :| rest)
  17002. 2063.17 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17003. 2063.17 s [opt-env-conf-test] + | c `elem` dasheds && not True ->
  17004. 2063.18 s [opt-env-conf-test] Just rest
  17005. 2063.18 s [opt-env-conf-test] _ -> Nothing
  17006. 2063.18 s [opt-env-conf-test]
  17007. 2063.18 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
  17008. 2063.18 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17009. 2063.18 s [opt-env-conf-test] Maybe String
  17010. 2063.18 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17011. 2063.18 s [opt-env-conf-test] (c :| rest)
  17012. 2072.48 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17013. 2072.51 s [opt-env-conf-test] + | True ->
  17014. 2072.51 s [opt-env-conf-test] Just rest
  17015. 2072.51 s [opt-env-conf-test] _ -> Nothing
  17016. 2072.51 s [opt-env-conf-test]
  17017. 2072.51 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
  17018. 2072.51 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17019. 2072.51 s [opt-env-conf-test] Maybe String
  17020. 2072.51 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17021. 2072.51 s [opt-env-conf-test] (c :| rest)
  17022. 2072.51 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17023. 2072.51 s [opt-env-conf-test] + | c `elem` dasheds && not not ((null rest)) ->
  17024. 2072.51 s [opt-env-conf-test] Just rest
  17025. 2072.51 s [opt-env-conf-test] _ -> Nothing
  17026. 2072.51 s [opt-env-conf-test]
  17027. 2072.51 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
  17028. 2072.51 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17029. 2072.51 s [opt-env-conf-test] Maybe String
  17030. 2072.51 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17031. 2072.51 s [opt-env-conf-test] (c :| rest)
  17032. 2072.51 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17033. 2072.51 s [opt-env-conf-test] + | c `elem` dasheds && not (not (null rest)) ->
  17034. 2072.51 s [opt-env-conf-test] Just rest
  17035. 2072.51 s [opt-env-conf-test] _ -> Nothing
  17036. 2072.51 s [opt-env-conf-test]
  17037. 2072.51 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  17038. 2072.51 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  17039. 2072.51 s [opt-env-conf-test] NonEmpty Char ->
  17040. 2072.51 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  17041. 2072.51 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  17042. 2072.51 s [opt-env-conf-test] - if isLong
  17043. 2072.51 s [opt-env-conf-test] + if True
  17044. 2072.51 s [opt-env-conf-test] then
  17045. 2072.52 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17046. 2072.52 s [opt-env-conf-test] then Just Nothing
  17047. 2072.52 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:34:25-18
  17048. 2072.52 s [opt-env-conf-test] @@ -31,9 +31,8 @@
  17049. 2072.52 s [opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
  17050. 2072.52 s [opt-env-conf-test] errOrSets <- runSettingsCheckOn capabilities stderrTc p args envVars mConfig
  17051. 2072.52 s [opt-env-conf-test] case errOrSets of
  17052. 2072.52 s [opt-env-conf-test] CheckFailed errs -> do
  17053. 2072.52 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
  17054. 2072.52 s [opt-env-conf-test] exitFailure
  17055. 2072.52 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  17056. 2072.52 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  17057. 2072.52 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  17058. 2072.52 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
  17059. 2072.52 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  17060. 2072.52 s [opt-env-conf-test] pure $ filter matchesExtension results
  17061. 2072.52 s [opt-env-conf-test] where
  17062. 2072.52 s [opt-env-conf-test] matchesExtension cr
  17063. 2072.52 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  17064. 2072.52 s [opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = False
  17065. 2072.52 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  17066. 2072.52 s [opt-env-conf-test]
  17067. 2072.52 s [opt-env-conf-test] directoryPath :: Completer
  17068. 2072.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  17069. 2072.52 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  17070. 2072.52 s [opt-env-conf-test]
  17071. 2072.52 s [opt-env-conf-test] renderDashed :: Dashed -> String
  17072. 2072.52 s [opt-env-conf-test] renderDashed = \case
  17073. 2072.52 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  17074. 2072.52 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  17075. 2072.52 s [opt-env-conf-test]
  17076. 2072.52 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  17077. 2072.52 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
  17078. 2072.52 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  17079. 2072.52 s [opt-env-conf-test] pure $ filter matchesExtension results
  17080. 2072.52 s [opt-env-conf-test] where
  17081. 2072.52 s [opt-env-conf-test] matchesExtension cr
  17082. 2072.52 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  17083. 2072.52 s [opt-env-conf-test] + | not ("/" `isSuffixOf` completionResultValue cr) = True
  17084. 2072.52 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  17085. 2072.52 s [opt-env-conf-test]
  17086. 2072.52 s [opt-env-conf-test] directoryPath :: Completer
  17087. 2072.52 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
  17088. 2072.52 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  17089. 2072.52 s [opt-env-conf-test] pure $ filter matchesExtension results
  17090. 2072.52 s [opt-env-conf-test] where
  17091. 2072.52 s [opt-env-conf-test] matchesExtension cr
  17092. 2072.52 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  17093. 2072.53 s [opt-env-conf-test] + | True = True
  17094. 2072.53 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  17095. 2072.53 s [opt-env-conf-test]
  17096. 2072.53 s [opt-env-conf-test] directoryPath :: Completer
  17097. 2072.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  17098. 2072.53 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  17099. 2072.53 s [opt-env-conf-test] where
  17100. 2072.53 s [opt-env-conf-test] matchesExtension cr
  17101. 2072.53 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  17102. 2072.53 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  17103. 2072.53 s [opt-env-conf-test] + | otherwise = True
  17104. 2072.53 s [opt-env-conf-test]
  17105. 2072.53 s [opt-env-conf-test] directoryPath :: Completer
  17106. 2072.53 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  17107. 2072.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  17108. 2072.53 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  17109. 2072.53 s [opt-env-conf-test] else do
  17110. 2072.53 s [opt-env-conf-test] let dir = parent rf
  17111. 2072.53 s [opt-env-conf-test] let ad = baseDir </> dir
  17112. 2072.53 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  17113. 2072.53 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  17114. 2072.53 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  17115. 2072.53 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  17116. 2072.53 s [opt-env-conf-test]
  17117. 2072.53 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
  17118. 2072.53 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  17119. 2072.53 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  17120. 2072.53 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  17121. 2072.53 s [opt-env-conf-test] Just (Rel rf) ->
  17122. 2072.53 s [opt-env-conf-test] - if fp == "."
  17123. 2072.53 s [opt-env-conf-test] + if not (fp == ".")
  17124. 2072.53 s [opt-env-conf-test] then do
  17125. 2072.53 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  17126. 2072.53 s [opt-env-conf-test] pure (map fromRelDir ds)
  17127. 2072.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
  17128. 2072.53 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17129. 2072.53 s [opt-env-conf-test] Maybe String
  17130. 2072.53 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17131. 2072.53 s [opt-env-conf-test] (c :| rest)
  17132. 2072.53 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17133. 2072.53 s [opt-env-conf-test] + | c `elem` dasheds && True ->
  17134. 2072.53 s [opt-env-conf-test] Just rest
  17135. 2072.53 s [opt-env-conf-test] _ -> Nothing
  17136. 2072.53 s [opt-env-conf-test]
  17137. 2072.53 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
  17138. 2072.53 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17139. 2072.53 s [opt-env-conf-test] Maybe String
  17140. 2072.53 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17141. 2072.53 s [opt-env-conf-test] (c :| rest)
  17142. 2072.53 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17143. 2072.53 s [opt-env-conf-test] + | c `elem` dasheds || not (null rest) ->
  17144. 2072.53 s [opt-env-conf-test] Just rest
  17145. 2072.54 s [opt-env-conf-test] _ -> Nothing
  17146. 2072.54 s [opt-env-conf-test]
  17147. 2072.54 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  17148. 2072.54 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  17149. 2072.54 s [opt-env-conf-test] -- things like a default command.
  17150. 2072.54 s [opt-env-conf-test] let addConsumeNothing = \case
  17151. 2072.54 s [opt-env-conf-test] [] -> [(Nothing, as)]
  17152. 2072.54 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  17153. 2072.54 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  17154. 2072.54 s [opt-env-conf-test] - Nothing -> r
  17155. 2072.54 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17156. 2072.54 s [opt-env-conf-test]
  17157. 2072.54 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17158. 2072.54 s [opt-env-conf-test] [] -> []
  17159. 2072.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17160. 2072.54 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17161. 2072.54 s [opt-env-conf-test] NonEmpty Char ->
  17162. 2072.54 s [opt-env-conf-test] Maybe String
  17163. 2072.54 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17164. 2072.54 s [opt-env-conf-test] - if isLong
  17165. 2072.54 s [opt-env-conf-test] + if False
  17166. 2072.54 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17167. 2072.54 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17168. 2072.54 s [opt-env-conf-test]
  17169. 2072.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17170. 2072.54 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17171. 2072.54 s [opt-env-conf-test] NonEmpty Char ->
  17172. 2072.54 s [opt-env-conf-test] Maybe String
  17173. 2072.54 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17174. 2072.54 s [opt-env-conf-test] - if isLong
  17175. 2072.54 s [opt-env-conf-test] + if True
  17176. 2072.54 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17177. 2072.54 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17178. 2072.54 s [opt-env-conf-test]
  17179. 2072.54 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
  17180. 2072.54 s [opt-env-conf-test] @@ -147,7 +147,7 @@
  17181. 2072.54 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17182. 2072.54 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17183. 2072.54 s [opt-env-conf-test] -- A single dash is always an argument
  17184. 2072.54 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17185. 2073.32 s [opt-env-conf-test] + ArgBareDash -> [(Nothing, consumed)]
  17186. 2073.32 s [opt-env-conf-test] -- Bare double-dash
  17187. 2073.32 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17188. 2073.32 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17189. 2073.32 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
  17190. 2073.32 s [opt-env-conf-test] @@ -280,7 +280,7 @@
  17191. 2073.32 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17192. 2073.32 s [opt-env-conf-test] (c :| rest)
  17193. 2073.32 s [opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
  17194. 2073.32 s [opt-env-conf-test] - Just rest
  17195. 2073.32 s [opt-env-conf-test] + Nothing
  17196. 2073.32 s [opt-env-conf-test] _ -> Nothing
  17197. 2073.32 s [opt-env-conf-test]
  17198. 2073.33 s [opt-env-conf-test] -- Can consume only the last in a folded dashed
  17199. 2073.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  17200. 2073.33 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  17201. 2073.33 s [opt-env-conf-test] -- A single dash is always an argument
  17202. 2073.33 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17203. 2073.33 s [opt-env-conf-test] -- Bare double-dash
  17204. 2073.33 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17205. 2073.33 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17206. 2073.33 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17207. 2073.33 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17208. 2073.33 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17209. 2073.33 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17210. 2073.33 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17211. 2073.33 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17212. 2073.33 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17213. 2073.33 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17214. 2073.33 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17215. 2073.33 s [opt-env-conf-test] -- pop the args as they come.
  17216. 2073.33 s [opt-env-conf-test] _ ->
  17217. 2073.33 s [opt-env-conf-test] let go = \case
  17218. 2073.33 s [opt-env-conf-test] [] -> Nothing
  17219. 2073.33 s [opt-env-conf-test] (Dead : rest) -> go rest
  17220. 2073.33 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17221. 2073.33 s [opt-env-conf-test] in case go afters of
  17222. 2073.33 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17223. 2073.33 s [opt-env-conf-test] Just (firstLive, rest) ->
  17224. 2073.33 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17225. 2073.33 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17226. 2073.33 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17227. 2073.33 s [opt-env-conf-test] -- arguments.
  17228. 2073.33 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17229. 2073.33 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17230. 2073.33 s [opt-env-conf-test] )
  17231. 2073.33 s [opt-env-conf-test] ]
  17232. 2073.33 s [opt-env-conf-test] ArgDashed {} ->
  17233. 2077.08 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17234. 2077.08 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17235. 2077.08 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
  17236. 2077.08 s [opt-env-conf-test] @@ -198,7 +198,7 @@
  17237. 2077.08 s [opt-env-conf-test] ( case a' of
  17238. 2077.08 s [opt-env-conf-test] ArgDashed {} ->
  17239. 2077.08 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17240. 2077.08 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17241. 2077.09 s [opt-env-conf-test] + ++ [ (Nothing, consumed)
  17242. 2077.09 s [opt-env-conf-test] ]
  17243. 2077.09 s [opt-env-conf-test] _ ->
  17244. 2077.09 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17245. 2077.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  17246. 2077.09 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  17247. 2077.09 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17248. 2077.09 s [opt-env-conf-test] ]
  17249. 2077.09 s [opt-env-conf-test] _ ->
  17250. 2077.09 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17251. 2077.09 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17252. 2077.09 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17253. 2077.09 s [opt-env-conf-test] ]
  17254. 2077.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  17255. 2077.09 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  17256. 2077.09 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17257. 2077.09 s [opt-env-conf-test] ]
  17258. 2077.09 s [opt-env-conf-test] _ ->
  17259. 2077.09 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17260. 2077.09 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17261. 2077.09 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17262. 2077.09 s [opt-env-conf-test] ]
  17263. 2077.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  17264. 2077.09 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  17265. 2077.09 s [opt-env-conf-test] ]
  17266. 2077.09 s [opt-env-conf-test] _ ->
  17267. 2077.09 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17268. 2077.09 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17269. 2077.09 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17270. 2077.09 s [opt-env-conf-test] ]
  17271. 2077.09 s [opt-env-conf-test] )
  17272. 2077.09 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  17273. 2077.09 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  17274. 2077.09 s [opt-env-conf-test] ]
  17275. 2077.09 s [opt-env-conf-test] _ ->
  17276. 2077.09 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17277. 2077.09 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17278. 2077.09 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17279. 2077.09 s [opt-env-conf-test] ]
  17280. 2077.09 s [opt-env-conf-test] )
  17281. 2077.09 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
  17282. 2077.09 s [opt-env-conf-test] @@ -203,7 +203,7 @@
  17283. 2077.09 s [opt-env-conf-test] _ ->
  17284. 2077.09 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17285. 2077.09 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17286. 2077.09 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17287. 2077.09 s [opt-env-conf-test] + (Nothing, consumed)
  17288. 2077.09 s [opt-env-conf-test] ]
  17289. 2077.09 s [opt-env-conf-test] )
  17290. 2077.09 s [opt-env-conf-test]
  17291. 2077.09 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
  17292. 2077.09 s [opt-env-conf-test] @@ -202,7 +202,7 @@
  17293. 2077.09 s [opt-env-conf-test] ]
  17294. 2077.09 s [opt-env-conf-test] _ ->
  17295. 2077.09 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17296. 2077.09 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17297. 2077.09 s [opt-env-conf-test] + ++ [ (Nothing, Args (befores ++ [Live a, Dead]) rest),
  17298. 2077.09 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17299. 2077.09 s [opt-env-conf-test] ]
  17300. 2077.09 s [opt-env-conf-test] )
  17301. 2077.09 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  17302. 2077.09 s [opt-env-conf-test] @@ -140,72 +140,9 @@
  17303. 2077.09 s [opt-env-conf-test] (firstArg : afters) ->
  17304. 2077.09 s [opt-env-conf-test] let befores = argsBefore as
  17305. 2077.10 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17306. 2077.10 s [opt-env-conf-test] in case firstArg of
  17307. 2077.10 s [opt-env-conf-test] -- Skip any dead argument
  17308. 2077.10 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17309. 2077.10 s [opt-env-conf-test] - Live a -> case a of
  17310. 2077.10 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  17311. 2077.10 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17312. 2077.10 s [opt-env-conf-test] - -- A single dash is always an argument
  17313. 2077.10 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17314. 2077.10 s [opt-env-conf-test] - -- Bare double-dash
  17315. 2077.10 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17316. 2077.10 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17317. 2077.10 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17318. 2077.10 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17319. 2077.10 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17320. 2077.10 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17321. 2077.10 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17322. 2077.10 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17323. 2077.10 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17324. 2077.10 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17325. 2077.10 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17326. 2077.10 s [opt-env-conf-test] - -- pop the args as they come.
  17327. 2077.10 s [opt-env-conf-test] - _ ->
  17328. 2077.10 s [opt-env-conf-test] - let go = \case
  17329. 2077.10 s [opt-env-conf-test] - [] -> Nothing
  17330. 2077.10 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17331. 2077.10 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17332. 2077.10 s [opt-env-conf-test] - in case go afters of
  17333. 2077.10 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17334. 2077.10 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17335. 2077.10 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17336. 2077.10 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17337. 2077.10 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17338. 2077.10 s [opt-env-conf-test] - -- arguments.
  17339. 2077.10 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17340. 2077.10 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17341. 2077.10 s [opt-env-conf-test] - )
  17342. 2077.10 s [opt-env-conf-test] - ]
  17343. 2077.10 s [opt-env-conf-test] - ArgDashed {} ->
  17344. 2077.10 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17345. 2077.10 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17346. 2077.10 s [opt-env-conf-test] - -- * The dashed is an argument
  17347. 2077.10 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17348. 2077.10 s [opt-env-conf-test] - let switchCase =
  17349. 2077.10 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17350. 2077.10 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17351. 2077.10 s [opt-env-conf-test] - ]
  17352. 2077.10 s [opt-env-conf-test] - in case afters of
  17353. 2077.10 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17354. 2077.10 s [opt-env-conf-test] - [] -> switchCase
  17355. 2077.10 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17356. 2077.10 s [opt-env-conf-test] - (Live a' : rest) ->
  17357. 2077.10 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17358. 2077.10 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17359. 2077.10 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17360. 2077.10 s [opt-env-conf-test] - -- * The dashed is an argument
  17361. 2077.10 s [opt-env-conf-test] - ( case a' of
  17362. 2077.10 s [opt-env-conf-test] - ArgDashed {} ->
  17363. 2077.10 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17364. 2077.19 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17365. 2077.19 s [opt-env-conf-test] - ]
  17366. 2077.19 s [opt-env-conf-test] - _ ->
  17367. 2077.19 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17368. 2077.19 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17369. 2077.19 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17370. 2077.19 s [opt-env-conf-test] - ]
  17371. 2077.19 s [opt-env-conf-test] - )
  17372. 2077.19 s [opt-env-conf-test]
  17373. 2077.19 s [opt-env-conf-test] -- | Consume an option.
  17374. 2077.19 s [opt-env-conf-test] --
  17375. 2077.19 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  17376. 2077.19 s [opt-env-conf-test] @@ -202,9 +202,7 @@
  17377. 2077.19 s [opt-env-conf-test] ]
  17378. 2077.19 s [opt-env-conf-test] _ ->
  17379. 2077.19 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17380. 2077.19 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17381. 2077.19 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17382. 2077.19 s [opt-env-conf-test] ]
  17383. 2077.20 s [opt-env-conf-test] )
  17384. 2077.20 s [opt-env-conf-test]
  17385. 2077.20 s [opt-env-conf-test] -- | Consume an option.
  17386. 2077.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17387. 2077.20 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17388. 2077.20 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17389. 2077.20 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17390. 2077.20 s [opt-env-conf-test] ]
  17391. 2077.20 s [opt-env-conf-test] in case afters of
  17392. 2077.20 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17393. 2077.20 s [opt-env-conf-test] [] -> switchCase
  17394. 2077.20 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17395. 2077.20 s [opt-env-conf-test] (Live a' : rest) ->
  17396. 2077.20 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17397. 2077.20 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17398. 2077.20 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17399. 2077.20 s [opt-env-conf-test] -- * The dashed is an argument
  17400. 2077.20 s [opt-env-conf-test] ( case a' of
  17401. 2077.20 s [opt-env-conf-test] ArgDashed {} ->
  17402. 2077.20 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17403. 2077.20 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17404. 2077.20 s [opt-env-conf-test] ]
  17405. 2077.20 s [opt-env-conf-test] _ ->
  17406. 2077.20 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17407. 2077.20 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17408. 2077.20 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17409. 2077.20 s [opt-env-conf-test] ]
  17410. 2077.20 s [opt-env-conf-test] )
  17411. 2077.20 s [opt-env-conf-test]
  17412. 2077.20 s [opt-env-conf-test] -- | Consume an option.
  17413. 2077.20 s [opt-env-conf-test] --
  17414. 2077.20 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  17415. 2077.20 s [opt-env-conf-test] @@ -135,77 +135,76 @@
  17416. 2077.20 s [opt-env-conf-test] Nothing -> r
  17417. 2077.20 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17418. 2077.20 s [opt-env-conf-test]
  17419. 2077.20 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17420. 2077.20 s [opt-env-conf-test] - [] -> []
  17421. 2077.20 s [opt-env-conf-test] (firstArg : afters) ->
  17422. 2077.20 s [opt-env-conf-test] let befores = argsBefore as
  17423. 2077.20 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17424. 2077.20 s [opt-env-conf-test] in case firstArg of
  17425. 2077.20 s [opt-env-conf-test] -- Skip any dead argument
  17426. 2077.20 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17427. 2077.20 s [opt-env-conf-test] Live a -> case a of
  17428. 2077.20 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17429. 2077.20 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17430. 2077.20 s [opt-env-conf-test] -- A single dash is always an argument
  17431. 2077.20 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17432. 2077.20 s [opt-env-conf-test] -- Bare double-dash
  17433. 2077.20 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17434. 2077.20 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17435. 2077.20 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17436. 2077.20 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17437. 2077.20 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17438. 2077.20 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17439. 2077.20 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17440. 2077.20 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17441. 2077.20 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17442. 2077.20 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17443. 2077.20 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17444. 2077.21 s [opt-env-conf-test] -- pop the args as they come.
  17445. 2077.21 s [opt-env-conf-test] _ ->
  17446. 2077.21 s [opt-env-conf-test] let go = \case
  17447. 2077.21 s [opt-env-conf-test] [] -> Nothing
  17448. 2077.21 s [opt-env-conf-test] (Dead : rest) -> go rest
  17449. 2077.21 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17450. 2077.21 s [opt-env-conf-test] in case go afters of
  17451. 2077.21 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17452. 2077.21 s [opt-env-conf-test] Just (firstLive, rest) ->
  17453. 2077.21 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17454. 2077.21 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17455. 2077.21 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17456. 2077.21 s [opt-env-conf-test] -- arguments.
  17457. 2077.21 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17458. 2077.21 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17459. 2077.21 s [opt-env-conf-test] )
  17460. 2077.21 s [opt-env-conf-test] ]
  17461. 2077.21 s [opt-env-conf-test] ArgDashed {} ->
  17462. 2077.21 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17463. 2077.21 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17464. 2077.21 s [opt-env-conf-test] -- * The dashed is an argument
  17465. 2077.21 s [opt-env-conf-test] -- TODO we need to continue looking too
  17466. 2077.21 s [opt-env-conf-test] let switchCase =
  17467. 2077.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17468. 2077.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17469. 2077.21 s [opt-env-conf-test] ]
  17470. 2077.21 s [opt-env-conf-test] in case afters of
  17471. 2077.21 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17472. 2077.21 s [opt-env-conf-test] [] -> switchCase
  17473. 2077.21 s [opt-env-conf-test] (Dead : _) -> switchCase
  17474. 2077.21 s [opt-env-conf-test] (Live a' : rest) ->
  17475. 2077.21 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17476. 2077.21 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17477. 2077.21 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17478. 2077.21 s [opt-env-conf-test] -- * The dashed is an argument
  17479. 2077.21 s [opt-env-conf-test] ( case a' of
  17480. 2077.21 s [opt-env-conf-test] ArgDashed {} ->
  17481. 2077.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17482. 2077.21 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17483. 2077.21 s [opt-env-conf-test] ]
  17484. 2077.21 s [opt-env-conf-test] _ ->
  17485. 2077.21 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17486. 2077.21 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17487. 2078.65 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17488. 2078.73 s [opt-env-conf-test] ]
  17489. 2078.73 s [opt-env-conf-test] )
  17490. 2078.73 s [opt-env-conf-test]
  17491. 2078.73 s [opt-env-conf-test] -- | Consume an option.
  17492. 2078.73 s [opt-env-conf-test] --
  17493. 2078.73 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17494. 2078.73 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17495. 2078.73 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17496. 2078.74 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17497. 2078.74 s [opt-env-conf-test] ]
  17498. 2078.74 s [opt-env-conf-test] in case afters of
  17499. 2078.74 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17500. 2078.74 s [opt-env-conf-test] - [] -> switchCase
  17501. 2078.74 s [opt-env-conf-test] (Dead : _) -> switchCase
  17502. 2078.74 s [opt-env-conf-test] (Live a' : rest) ->
  17503. 2078.74 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17504. 2078.74 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17505. 2078.74 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17506. 2078.74 s [opt-env-conf-test] -- * The dashed is an argument
  17507. 2078.74 s [opt-env-conf-test] ( case a' of
  17508. 2078.74 s [opt-env-conf-test] ArgDashed {} ->
  17509. 2078.74 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17510. 2078.74 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17511. 2078.74 s [opt-env-conf-test] ]
  17512. 2078.74 s [opt-env-conf-test] _ ->
  17513. 2078.74 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17514. 2078.74 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17515. 2078.74 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17516. 2078.74 s [opt-env-conf-test] ]
  17517. 2078.74 s [opt-env-conf-test] )
  17518. 2078.74 s [opt-env-conf-test]
  17519. 2078.74 s [opt-env-conf-test] -- | Consume an option.
  17520. 2078.74 s [opt-env-conf-test] --
  17521. 2078.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  17522. 2078.74 s [opt-env-conf-test] @@ -195,16 +195,11 @@
  17523. 2078.74 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17524. 2078.74 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17525. 2078.74 s [opt-env-conf-test] -- * The dashed is an argument
  17526. 2078.74 s [opt-env-conf-test] ( case a' of
  17527. 2078.74 s [opt-env-conf-test] ArgDashed {} ->
  17528. 2078.74 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17529. 2078.74 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17530. 2078.74 s [opt-env-conf-test] ]
  17531. 2078.74 s [opt-env-conf-test] - _ ->
  17532. 2078.74 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17533. 2078.74 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17534. 2078.74 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17535. 2078.75 s [opt-env-conf-test] - ]
  17536. 2078.75 s [opt-env-conf-test] )
  17537. 2078.75 s [opt-env-conf-test]
  17538. 2078.75 s [opt-env-conf-test] -- | Consume an option.
  17539. 2078.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  17540. 2078.75 s [opt-env-conf-test] @@ -135,77 +135,8 @@
  17541. 2078.75 s [opt-env-conf-test] Nothing -> r
  17542. 2078.75 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17543. 2078.75 s [opt-env-conf-test]
  17544. 2078.75 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17545. 2078.75 s [opt-env-conf-test] [] -> []
  17546. 2078.75 s [opt-env-conf-test] - (firstArg : afters) ->
  17547. 2078.75 s [opt-env-conf-test] - let befores = argsBefore as
  17548. 2078.75 s [opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
  17549. 2078.75 s [opt-env-conf-test] - in case firstArg of
  17550. 2078.75 s [opt-env-conf-test] - -- Skip any dead argument
  17551. 2078.75 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  17552. 2078.75 s [opt-env-conf-test] - Live a -> case a of
  17553. 2078.75 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  17554. 2078.75 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17555. 2078.75 s [opt-env-conf-test] - -- A single dash is always an argument
  17556. 2078.75 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17557. 2078.75 s [opt-env-conf-test] - -- Bare double-dash
  17558. 2078.75 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17559. 2078.75 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17560. 2078.75 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17561. 2078.75 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17562. 2078.75 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17563. 2078.75 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17564. 2078.75 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17565. 2078.75 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17566. 2078.75 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17567. 2078.75 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17568. 2078.75 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17569. 2078.75 s [opt-env-conf-test] - -- pop the args as they come.
  17570. 2078.75 s [opt-env-conf-test] - _ ->
  17571. 2078.75 s [opt-env-conf-test] - let go = \case
  17572. 2078.75 s [opt-env-conf-test] - [] -> Nothing
  17573. 2078.75 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17574. 2078.75 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17575. 2078.75 s [opt-env-conf-test] - in case go afters of
  17576. 2078.75 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17577. 2078.75 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17578. 2078.75 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17579. 2078.75 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17580. 2078.75 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17581. 2078.75 s [opt-env-conf-test] - -- arguments.
  17582. 2078.75 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17583. 2078.75 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17584. 2078.75 s [opt-env-conf-test] - )
  17585. 2078.76 s [opt-env-conf-test] - ]
  17586. 2078.76 s [opt-env-conf-test] - ArgDashed {} ->
  17587. 2078.76 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17588. 2078.76 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17589. 2078.76 s [opt-env-conf-test] - -- * The dashed is an argument
  17590. 2078.76 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17591. 2078.76 s [opt-env-conf-test] - let switchCase =
  17592. 2078.76 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17593. 2078.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17594. 2078.76 s [opt-env-conf-test] - ]
  17595. 2078.76 s [opt-env-conf-test] - in case afters of
  17596. 2078.76 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17597. 2078.76 s [opt-env-conf-test] - [] -> switchCase
  17598. 2078.76 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17599. 2078.76 s [opt-env-conf-test] - (Live a' : rest) ->
  17600. 2078.76 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17601. 2078.76 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17602. 2078.76 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17603. 2078.76 s [opt-env-conf-test] - -- * The dashed is an argument
  17604. 2078.76 s [opt-env-conf-test] - ( case a' of
  17605. 2081.03 s [opt-env-conf-test] - ArgDashed {} ->
  17606. 2081.03 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17607. 2081.04 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17608. 2081.04 s [opt-env-conf-test] - ]
  17609. 2081.04 s [opt-env-conf-test] - _ ->
  17610. 2081.04 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17611. 2081.04 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17612. 2081.04 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17613. 2081.04 s [opt-env-conf-test] - ]
  17614. 2081.04 s [opt-env-conf-test] - )
  17615. 2081.04 s [opt-env-conf-test]
  17616. 2081.04 s [opt-env-conf-test] -- | Consume an option.
  17617. 2081.04 s [opt-env-conf-test] --
  17618. 2081.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17619. 2081.04 s [opt-env-conf-test] @@ -143,69 +143,41 @@
  17620. 2081.04 s [opt-env-conf-test] in case firstArg of
  17621. 2081.04 s [opt-env-conf-test] -- Skip any dead argument
  17622. 2081.04 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17623. 2081.04 s [opt-env-conf-test] Live a -> case a of
  17624. 2081.04 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17625. 2081.04 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17626. 2081.04 s [opt-env-conf-test] -- A single dash is always an argument
  17627. 2081.04 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17628. 2081.04 s [opt-env-conf-test] -- Bare double-dash
  17629. 2081.04 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17630. 2081.04 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17631. 2081.04 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17632. 2081.04 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17633. 2081.05 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17634. 2081.05 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17635. 2081.05 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17636. 2081.05 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17637. 2081.05 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17638. 2081.05 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17639. 2081.05 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17640. 2081.05 s [opt-env-conf-test] - -- pop the args as they come.
  17641. 2081.05 s [opt-env-conf-test] - _ ->
  17642. 2081.05 s [opt-env-conf-test] - let go = \case
  17643. 2081.05 s [opt-env-conf-test] - [] -> Nothing
  17644. 2081.05 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17645. 2081.05 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17646. 2081.05 s [opt-env-conf-test] - in case go afters of
  17647. 2081.05 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17648. 2081.05 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17649. 2081.05 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17650. 2081.05 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17651. 2081.05 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17652. 2081.05 s [opt-env-conf-test] - -- arguments.
  17653. 2081.05 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17654. 2081.05 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17655. 2081.05 s [opt-env-conf-test] - )
  17656. 2081.05 s [opt-env-conf-test] - ]
  17657. 2081.05 s [opt-env-conf-test] ArgDashed {} ->
  17658. 2081.05 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17659. 2081.05 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17660. 2081.05 s [opt-env-conf-test] -- * The dashed is an argument
  17661. 2081.05 s [opt-env-conf-test] -- TODO we need to continue looking too
  17662. 2081.05 s [opt-env-conf-test] let switchCase =
  17663. 2081.05 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17664. 2081.05 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17665. 2081.05 s [opt-env-conf-test] ]
  17666. 2081.05 s [opt-env-conf-test] in case afters of
  17667. 2081.05 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17668. 2081.05 s [opt-env-conf-test] [] -> switchCase
  17669. 2081.05 s [opt-env-conf-test] (Dead : _) -> switchCase
  17670. 2081.05 s [opt-env-conf-test] (Live a' : rest) ->
  17671. 2081.05 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17672. 2081.05 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17673. 2081.06 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17674. 2081.06 s [opt-env-conf-test] -- * The dashed is an argument
  17675. 2081.06 s [opt-env-conf-test] ( case a' of
  17676. 2081.06 s [opt-env-conf-test] ArgDashed {} ->
  17677. 2081.06 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17678. 2081.06 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17679. 2081.06 s [opt-env-conf-test] ]
  17680. 2081.06 s [opt-env-conf-test] _ ->
  17681. 2081.06 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17682. 2081.06 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17683. 2081.06 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17684. 2082.46 s [opt-env-conf-test] ]
  17685. 2082.47 s [opt-env-conf-test] )
  17686. 2082.47 s [opt-env-conf-test]
  17687. 2082.47 s [opt-env-conf-test] -- | Consume an option.
  17688. 2082.47 s [opt-env-conf-test] --
  17689. 2082.47 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17690. 2082.47 s [opt-env-conf-test] @@ -143,69 +143,40 @@
  17691. 2082.47 s [opt-env-conf-test] in case firstArg of
  17692. 2082.47 s [opt-env-conf-test] -- Skip any dead argument
  17693. 2082.47 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17694. 2082.47 s [opt-env-conf-test] Live a -> case a of
  17695. 2082.47 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17696. 2082.47 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17697. 2082.47 s [opt-env-conf-test] -- A single dash is always an argument
  17698. 2082.47 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17699. 2082.47 s [opt-env-conf-test] -- Bare double-dash
  17700. 2082.47 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17701. 2082.47 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17702. 2082.47 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17703. 2082.47 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17704. 2082.47 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17705. 2082.47 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17706. 2082.47 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17707. 2082.47 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17708. 2082.47 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17709. 2082.47 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17710. 2082.47 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17711. 2082.47 s [opt-env-conf-test] -- pop the args as they come.
  17712. 2082.47 s [opt-env-conf-test] _ ->
  17713. 2082.47 s [opt-env-conf-test] let go = \case
  17714. 2082.47 s [opt-env-conf-test] [] -> Nothing
  17715. 2082.47 s [opt-env-conf-test] (Dead : rest) -> go rest
  17716. 2082.47 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17717. 2082.47 s [opt-env-conf-test] in case go afters of
  17718. 2082.47 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17719. 2082.47 s [opt-env-conf-test] Just (firstLive, rest) ->
  17720. 2082.47 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17721. 2082.47 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17722. 2082.47 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17723. 2082.47 s [opt-env-conf-test] -- arguments.
  17724. 2082.47 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17725. 2082.47 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17726. 2082.47 s [opt-env-conf-test] )
  17727. 2082.47 s [opt-env-conf-test] ]
  17728. 2082.47 s [opt-env-conf-test] - ArgDashed {} ->
  17729. 2082.47 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17730. 2082.48 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17731. 2082.48 s [opt-env-conf-test] - -- * The dashed is an argument
  17732. 2082.48 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17733. 2082.48 s [opt-env-conf-test] - let switchCase =
  17734. 2082.48 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17735. 2082.48 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17736. 2082.48 s [opt-env-conf-test] - ]
  17737. 2082.48 s [opt-env-conf-test] - in case afters of
  17738. 2082.48 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17739. 2082.48 s [opt-env-conf-test] - [] -> switchCase
  17740. 2082.48 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17741. 2082.48 s [opt-env-conf-test] - (Live a' : rest) ->
  17742. 2082.48 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17743. 2082.48 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17744. 2082.48 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17745. 2082.48 s [opt-env-conf-test] - -- * The dashed is an argument
  17746. 2082.48 s [opt-env-conf-test] - ( case a' of
  17747. 2082.48 s [opt-env-conf-test] - ArgDashed {} ->
  17748. 2082.48 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17749. 2082.48 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17750. 2082.48 s [opt-env-conf-test] - ]
  17751. 2082.48 s [opt-env-conf-test] - _ ->
  17752. 2082.48 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17753. 2082.48 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17754. 2082.48 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17755. 2083.79 s [opt-env-conf-test] - ]
  17756. 2083.79 s [opt-env-conf-test] - )
  17757. 2083.79 s [opt-env-conf-test]
  17758. 2083.87 s [opt-env-conf-test] -- | Consume an option.
  17759. 2083.87 s [opt-env-conf-test] --
  17760. 2083.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17761. 2083.88 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  17762. 2083.88 s [opt-env-conf-test] in case firstArg of
  17763. 2083.88 s [opt-env-conf-test] -- Skip any dead argument
  17764. 2083.88 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17765. 2083.88 s [opt-env-conf-test] Live a -> case a of
  17766. 2083.88 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17767. 2083.88 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17768. 2083.88 s [opt-env-conf-test] -- A single dash is always an argument
  17769. 2083.88 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17770. 2083.88 s [opt-env-conf-test] -- Bare double-dash
  17771. 2083.88 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17772. 2083.88 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17773. 2083.88 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17774. 2083.88 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17775. 2083.88 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17776. 2083.88 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17777. 2083.88 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17778. 2083.88 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17779. 2083.88 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17780. 2083.88 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17781. 2083.88 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17782. 2083.88 s [opt-env-conf-test] -- pop the args as they come.
  17783. 2083.88 s [opt-env-conf-test] _ ->
  17784. 2083.88 s [opt-env-conf-test] let go = \case
  17785. 2083.88 s [opt-env-conf-test] [] -> Nothing
  17786. 2083.88 s [opt-env-conf-test] (Dead : rest) -> go rest
  17787. 2083.88 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17788. 2083.88 s [opt-env-conf-test] in case go afters of
  17789. 2083.88 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17790. 2083.88 s [opt-env-conf-test] Just (firstLive, rest) ->
  17791. 2083.88 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17792. 2083.88 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17793. 2083.88 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17794. 2083.88 s [opt-env-conf-test] -- arguments.
  17795. 2083.90 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17796. 2083.90 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17797. 2083.90 s [opt-env-conf-test] )
  17798. 2083.90 s [opt-env-conf-test] ]
  17799. 2083.90 s [opt-env-conf-test] ArgDashed {} ->
  17800. 2083.90 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17801. 2083.90 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17802. 2083.90 s [opt-env-conf-test] -- * The dashed is an argument
  17803. 2083.90 s [opt-env-conf-test] -- TODO we need to continue looking too
  17804. 2083.90 s [opt-env-conf-test] let switchCase =
  17805. 2083.90 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17806. 2083.90 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17807. 2083.90 s [opt-env-conf-test] ]
  17808. 2083.90 s [opt-env-conf-test] in case afters of
  17809. 2083.90 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17810. 2083.90 s [opt-env-conf-test] [] -> switchCase
  17811. 2083.90 s [opt-env-conf-test] (Dead : _) -> switchCase
  17812. 2083.90 s [opt-env-conf-test] (Live a' : rest) ->
  17813. 2083.91 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17814. 2083.91 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17815. 2083.91 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17816. 2083.91 s [opt-env-conf-test] -- * The dashed is an argument
  17817. 2083.91 s [opt-env-conf-test] ( case a' of
  17818. 2083.91 s [opt-env-conf-test] ArgDashed {} ->
  17819. 2083.91 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17820. 2083.91 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17821. 2083.91 s [opt-env-conf-test] ]
  17822. 2083.91 s [opt-env-conf-test] _ ->
  17823. 2083.91 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17824. 2083.91 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17825. 2083.91 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17826. 2083.91 s [opt-env-conf-test] ]
  17827. 2083.91 s [opt-env-conf-test] )
  17828. 2083.91 s [opt-env-conf-test]
  17829. 2083.91 s [opt-env-conf-test] -- | Consume an option.
  17830. 2083.91 s [opt-env-conf-test] --
  17831. 2083.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  17832. 2083.91 s [opt-env-conf-test] @@ -140,72 +140,71 @@
  17833. 2083.91 s [opt-env-conf-test] (firstArg : afters) ->
  17834. 2083.91 s [opt-env-conf-test] let befores = argsBefore as
  17835. 2083.91 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17836. 2083.91 s [opt-env-conf-test] in case firstArg of
  17837. 2083.91 s [opt-env-conf-test] -- Skip any dead argument
  17838. 2083.91 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  17839. 2083.91 s [opt-env-conf-test] Live a -> case a of
  17840. 2083.91 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17841. 2083.91 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17842. 2083.91 s [opt-env-conf-test] -- A single dash is always an argument
  17843. 2083.91 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17844. 2083.91 s [opt-env-conf-test] -- Bare double-dash
  17845. 2083.91 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17846. 2083.91 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17847. 2083.91 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17848. 2083.91 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17849. 2083.91 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17850. 2083.91 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17851. 2083.91 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17852. 2083.91 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17853. 2083.91 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17854. 2083.91 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17855. 2083.91 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17856. 2083.91 s [opt-env-conf-test] -- pop the args as they come.
  17857. 2083.91 s [opt-env-conf-test] _ ->
  17858. 2083.91 s [opt-env-conf-test] let go = \case
  17859. 2083.91 s [opt-env-conf-test] [] -> Nothing
  17860. 2083.92 s [opt-env-conf-test] (Dead : rest) -> go rest
  17861. 2083.92 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17862. 2083.92 s [opt-env-conf-test] in case go afters of
  17863. 2083.92 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17864. 2083.92 s [opt-env-conf-test] Just (firstLive, rest) ->
  17865. 2083.92 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17866. 2083.92 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17867. 2084.06 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17868. 2084.06 s [opt-env-conf-test] -- arguments.
  17869. 2084.06 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17870. 2084.06 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17871. 2084.06 s [opt-env-conf-test] )
  17872. 2084.06 s [opt-env-conf-test] ]
  17873. 2084.06 s [opt-env-conf-test] ArgDashed {} ->
  17874. 2084.06 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17875. 2084.06 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17876. 2084.06 s [opt-env-conf-test] -- * The dashed is an argument
  17877. 2084.06 s [opt-env-conf-test] -- TODO we need to continue looking too
  17878. 2084.06 s [opt-env-conf-test] let switchCase =
  17879. 2084.06 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17880. 2084.06 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17881. 2084.06 s [opt-env-conf-test] ]
  17882. 2084.06 s [opt-env-conf-test] in case afters of
  17883. 2084.06 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17884. 2084.06 s [opt-env-conf-test] [] -> switchCase
  17885. 2084.07 s [opt-env-conf-test] (Dead : _) -> switchCase
  17886. 2084.07 s [opt-env-conf-test] (Live a' : rest) ->
  17887. 2084.07 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17888. 2084.07 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17889. 2084.07 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17890. 2084.07 s [opt-env-conf-test] -- * The dashed is an argument
  17891. 2084.07 s [opt-env-conf-test] ( case a' of
  17892. 2084.07 s [opt-env-conf-test] ArgDashed {} ->
  17893. 2084.07 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17894. 2084.07 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17895. 2084.07 s [opt-env-conf-test] ]
  17896. 2084.07 s [opt-env-conf-test] _ ->
  17897. 2084.07 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17898. 2084.07 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17899. 2084.07 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17900. 2084.07 s [opt-env-conf-test] ]
  17901. 2084.07 s [opt-env-conf-test] )
  17902. 2084.07 s [opt-env-conf-test]
  17903. 2084.07 s [opt-env-conf-test] -- | Consume an option.
  17904. 2084.07 s [opt-env-conf-test] --
  17905. 2084.07 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17906. 2084.07 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  17907. 2084.07 s [opt-env-conf-test] in case firstArg of
  17908. 2084.07 s [opt-env-conf-test] -- Skip any dead argument
  17909. 2084.07 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17910. 2084.07 s [opt-env-conf-test] Live a -> case a of
  17911. 2084.07 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17912. 2084.07 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17913. 2084.07 s [opt-env-conf-test] -- A single dash is always an argument
  17914. 2084.07 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17915. 2084.07 s [opt-env-conf-test] -- Bare double-dash
  17916. 2084.07 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17917. 2084.07 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17918. 2084.07 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17919. 2084.07 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17920. 2084.07 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17921. 2084.07 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17922. 2084.07 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17923. 2084.07 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17924. 2084.07 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17925. 2084.07 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17926. 2084.07 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17927. 2084.08 s [opt-env-conf-test] -- pop the args as they come.
  17928. 2084.08 s [opt-env-conf-test] _ ->
  17929. 2084.08 s [opt-env-conf-test] let go = \case
  17930. 2084.08 s [opt-env-conf-test] [] -> Nothing
  17931. 2084.08 s [opt-env-conf-test] (Dead : rest) -> go rest
  17932. 2084.08 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17933. 2084.08 s [opt-env-conf-test] in case go afters of
  17934. 2084.08 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17935. 2084.08 s [opt-env-conf-test] Just (firstLive, rest) ->
  17936. 2084.08 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17937. 2084.08 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17938. 2084.08 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17939. 2084.08 s [opt-env-conf-test] -- arguments.
  17940. 2085.22 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17941. 2085.22 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17942. 2085.22 s [opt-env-conf-test] )
  17943. 2085.22 s [opt-env-conf-test] ]
  17944. 2085.22 s [opt-env-conf-test] ArgDashed {} ->
  17945. 2085.22 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17946. 2085.22 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17947. 2085.22 s [opt-env-conf-test] -- * The dashed is an argument
  17948. 2085.22 s [opt-env-conf-test] -- TODO we need to continue looking too
  17949. 2085.22 s [opt-env-conf-test] let switchCase =
  17950. 2085.22 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17951. 2085.22 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17952. 2085.22 s [opt-env-conf-test] ]
  17953. 2085.22 s [opt-env-conf-test] in case afters of
  17954. 2085.22 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17955. 2085.22 s [opt-env-conf-test] [] -> switchCase
  17956. 2085.22 s [opt-env-conf-test] (Dead : _) -> switchCase
  17957. 2085.22 s [opt-env-conf-test] (Live a' : rest) ->
  17958. 2085.22 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17959. 2085.22 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17960. 2085.22 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17961. 2085.22 s [opt-env-conf-test] -- * The dashed is an argument
  17962. 2085.22 s [opt-env-conf-test] ( case a' of
  17963. 2085.22 s [opt-env-conf-test] ArgDashed {} ->
  17964. 2085.22 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17965. 2085.22 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17966. 2085.22 s [opt-env-conf-test] ]
  17967. 2085.22 s [opt-env-conf-test] _ ->
  17968. 2085.22 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17969. 2085.22 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17970. 2085.22 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17971. 2085.22 s [opt-env-conf-test] ]
  17972. 2085.22 s [opt-env-conf-test] )
  17973. 2085.22 s [opt-env-conf-test]
  17974. 2085.23 s [opt-env-conf-test] -- | Consume an option.
  17975. 2085.23 s [opt-env-conf-test] --
  17976. 2085.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  17977. 2085.23 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  17978. 2085.23 s [opt-env-conf-test] -- A single dash is always an argument
  17979. 2085.23 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17980. 2085.23 s [opt-env-conf-test] -- Bare double-dash
  17981. 2085.23 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17982. 2085.23 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17983. 2085.23 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17984. 2085.23 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17985. 2085.23 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17986. 2085.23 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17987. 2085.23 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17988. 2085.23 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17989. 2085.23 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17990. 2085.23 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17991. 2085.23 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17992. 2085.23 s [opt-env-conf-test] -- pop the args as they come.
  17993. 2085.23 s [opt-env-conf-test] _ ->
  17994. 2085.23 s [opt-env-conf-test] let go = \case
  17995. 2085.23 s [opt-env-conf-test] [] -> Nothing
  17996. 2085.23 s [opt-env-conf-test] (Dead : rest) -> go rest
  17997. 2085.23 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17998. 2085.23 s [opt-env-conf-test] in case go afters of
  17999. 2085.23 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  18000. 2085.23 s [opt-env-conf-test] Just (firstLive, rest) ->
  18001. 2085.23 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  18002. 2085.23 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  18003. 2085.23 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  18004. 2085.23 s [opt-env-conf-test] -- arguments.
  18005. 2085.23 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  18006. 2085.23 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  18007. 2085.23 s [opt-env-conf-test] )
  18008. 2085.23 s [opt-env-conf-test] ]
  18009. 2085.23 s [opt-env-conf-test] ArgDashed {} ->
  18010. 2089.91 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18011. 2089.96 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18012. 2089.96 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
  18013. 2089.96 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  18014. 2089.96 s [opt-env-conf-test] Maybe String
  18015. 2089.96 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  18016. 2089.97 s [opt-env-conf-test] (c :| rest)
  18017. 2089.97 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  18018. 2089.97 s [opt-env-conf-test] + | not (c `elem` dasheds && not (null rest)) ->
  18019. 2089.97 s [opt-env-conf-test] Just rest
  18020. 2089.97 s [opt-env-conf-test] _ -> Nothing
  18021. 2089.97 s [opt-env-conf-test]
  18022. 2089.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  18023. 2089.97 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  18024. 2089.97 s [opt-env-conf-test] renderArg = \case
  18025. 2089.97 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  18026. 2089.97 s [opt-env-conf-test] ArgBareDash -> "-"
  18027. 2089.97 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  18028. 2089.97 s [opt-env-conf-test] + ArgDashed l cs -> (if True then "--" else "-") <> NE.toList cs
  18029. 2089.97 s [opt-env-conf-test] ArgPlain a -> a
  18030. 2089.97 s [opt-env-conf-test]
  18031. 2089.97 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  18032. 2089.97 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  18033. 2089.97 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  18034. 2089.97 s [opt-env-conf-test] [] -> Nothing
  18035. 2089.97 s [opt-env-conf-test] (Dead : rest) -> go rest
  18036. 2089.97 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  18037. 2089.97 s [opt-env-conf-test] in case go afters of
  18038. 2089.97 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  18039. 2089.97 s [opt-env-conf-test] Just (firstLive, rest) ->
  18040. 2089.97 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  18041. 2089.97 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  18042. 2089.97 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  18043. 2089.97 s [opt-env-conf-test] -- arguments.
  18044. 2089.97 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  18045. 2089.97 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  18046. 2089.97 s [opt-env-conf-test] )
  18047. 2089.97 s [opt-env-conf-test] ]
  18048. 2089.97 s [opt-env-conf-test] ArgDashed {} ->
  18049. 2089.97 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18050. 2089.97 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18051. 2089.97 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
  18052. 2089.97 s [opt-env-conf-test] @@ -151,7 +151,7 @@
  18053. 2089.97 s [opt-env-conf-test] -- Bare double-dash
  18054. 2089.97 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  18055. 2089.97 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  18056. 2089.97 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  18057. 2089.97 s [opt-env-conf-test] + [] -> [(Nothing, consumed)]
  18058. 2089.97 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  18059. 2089.97 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  18060. 2089.97 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  18061. 2089.97 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  18062. 2089.97 s [opt-env-conf-test] @@ -166,17 +166,8 @@
  18063. 2089.97 s [opt-env-conf-test] [] -> Nothing
  18064. 2089.98 s [opt-env-conf-test] (Dead : rest) -> go rest
  18065. 2089.98 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  18066. 2089.98 s [opt-env-conf-test] in case go afters of
  18067. 2089.98 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  18068. 2089.98 s [opt-env-conf-test] - Just (firstLive, rest) ->
  18069. 2089.98 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  18070. 2089.98 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  18071. 2089.98 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  18072. 2089.98 s [opt-env-conf-test] - -- arguments.
  18073. 2089.98 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  18074. 2089.98 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  18075. 2089.98 s [opt-env-conf-test] - )
  18076. 2089.98 s [opt-env-conf-test] - ]
  18077. 2089.98 s [opt-env-conf-test] ArgDashed {} ->
  18078. 2089.98 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18079. 2089.98 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18080. 2089.98 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
  18081. 2089.98 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  18082. 2089.98 s [opt-env-conf-test] NonEmpty Char ->
  18083. 2089.98 s [opt-env-conf-test] Maybe String
  18084. 2089.98 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  18085. 2089.98 s [opt-env-conf-test] - if isLong
  18086. 2089.98 s [opt-env-conf-test] + if not (isLong)
  18087. 2089.98 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  18088. 2089.98 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  18089. 2089.98 s [opt-env-conf-test]
  18090. 2089.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  18091. 2089.98 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  18092. 2089.98 s [opt-env-conf-test] renderArg = \case
  18093. 2089.98 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  18094. 2089.98 s [opt-env-conf-test] ArgBareDash -> "-"
  18095. 2089.98 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  18096. 2089.98 s [opt-env-conf-test] + ArgDashed l cs -> (if False then "--" else "-") <> NE.toList cs
  18097. 2089.98 s [opt-env-conf-test] ArgPlain a -> a
  18098. 2089.98 s [opt-env-conf-test]
  18099. 2089.98 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  18100. 2089.98 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
  18101. 2089.98 s [opt-env-conf-test] @@ -165,7 +165,7 @@
  18102. 2089.98 s [opt-env-conf-test] let go = \case
  18103. 2089.98 s [opt-env-conf-test] [] -> Nothing
  18104. 2089.98 s [opt-env-conf-test] (Dead : rest) -> go rest
  18105. 2089.98 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  18106. 2089.98 s [opt-env-conf-test] + (Live a' : rest) -> Nothing
  18107. 2089.98 s [opt-env-conf-test] in case go afters of
  18108. 2089.98 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  18109. 2089.98 s [opt-env-conf-test] Just (firstLive, rest) ->
  18110. 2089.98 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
  18111. 2089.98 s [opt-env-conf-test] @@ -145,7 +145,7 @@
  18112. 2089.98 s [opt-env-conf-test] Dead -> consumeArgument consumed
  18113. 2089.98 s [opt-env-conf-test] Live a -> case a of
  18114. 2089.98 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  18115. 2089.98 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  18116. 2089.98 s [opt-env-conf-test] + ArgPlain plain -> [(Nothing, consumed)]
  18117. 2089.98 s [opt-env-conf-test] -- A single dash is always an argument
  18118. 2089.98 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  18119. 2089.98 s [opt-env-conf-test] -- Bare double-dash
  18120. 2089.98 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
  18121. 2089.98 s [opt-env-conf-test] @@ -184,7 +184,7 @@
  18122. 2089.98 s [opt-env-conf-test] -- TODO we need to continue looking too
  18123. 2089.98 s [opt-env-conf-test] let switchCase =
  18124. 2089.99 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  18125. 2089.99 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18126. 2089.99 s [opt-env-conf-test] + ++ [ (Nothing, consumed)
  18127. 2089.99 s [opt-env-conf-test] ]
  18128. 2089.99 s [opt-env-conf-test] in case afters of
  18129. 2089.99 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  18130. 2089.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  18131. 2089.99 s [opt-env-conf-test] @@ -186,26 +186,10 @@
  18132. 2089.99 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  18133. 2089.99 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  18134. 2089.99 s [opt-env-conf-test] ]
  18135. 2089.99 s [opt-env-conf-test] in case afters of
  18136. 2089.99 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  18137. 2089.99 s [opt-env-conf-test] [] -> switchCase
  18138. 2089.99 s [opt-env-conf-test] (Dead : _) -> switchCase
  18139. 2089.99 s [opt-env-conf-test] - (Live a' : rest) ->
  18140. 2089.99 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  18141. 2089.99 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  18142. 2089.99 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  18143. 2089.99 s [opt-env-conf-test] - -- * The dashed is an argument
  18144. 2089.99 s [opt-env-conf-test] - ( case a' of
  18145. 2089.99 s [opt-env-conf-test] - ArgDashed {} ->
  18146. 2089.99 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  18147. 2089.99 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18148. 2089.99 s [opt-env-conf-test] - ]
  18149. 2089.99 s [opt-env-conf-test] - _ ->
  18150. 2096.60 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18151. 2096.62 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18152. 2096.62 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  18153. 2096.62 s [opt-env-conf-test] - ]
  18154. 2096.62 s [opt-env-conf-test] - )
  18155. 2096.62 s [opt-env-conf-test]
  18156. 2096.62 s [opt-env-conf-test] -- | Consume an option.
  18157. 2096.62 s [opt-env-conf-test] --
  18158. 2096.62 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
  18159. 2096.62 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  18160. 2096.62 s [opt-env-conf-test] renderArg = \case
  18161. 2096.62 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  18162. 2096.62 s [opt-env-conf-test] ArgBareDash -> "-"
  18163. 2096.63 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  18164. 2096.63 s [opt-env-conf-test] + ArgDashed l cs -> (if not (l) then "--" else "-") <> NE.toList cs
  18165. 2096.63 s [opt-env-conf-test] ArgPlain a -> a
  18166. 2096.63 s [opt-env-conf-test]
  18167. 2096.63 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  18168. 2096.63 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  18169. 2096.63 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  18170. 2096.63 s [opt-env-conf-test] -- things like a default command.
  18171. 2096.63 s [opt-env-conf-test] let addConsumeNothing = \case
  18172. 2096.63 s [opt-env-conf-test] [] -> [(Nothing, as)]
  18173. 2096.63 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  18174. 2096.63 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  18175. 2096.63 s [opt-env-conf-test] Nothing -> r
  18176. 2096.63 s [opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
  18177. 2096.63 s [opt-env-conf-test]
  18178. 2096.63 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  18179. 2096.63 s [opt-env-conf-test] [] -> []
  18180. 2096.63 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
  18181. 2096.63 s [opt-env-conf-test] @@ -223,7 +223,7 @@
  18182. 2096.63 s [opt-env-conf-test] Nothing ->
  18183. 2096.63 s [opt-env-conf-test] -- TODO option value on the border
  18184. 2096.63 s [opt-env-conf-test] case go (argsAfter as) of
  18185. 2096.63 s [opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  18186. 2096.63 s [opt-env-conf-test] + Just (val, newAfters) -> Nothing
  18187. 2096.63 s [opt-env-conf-test] Nothing -> Nothing
  18188. 2096.63 s [opt-env-conf-test] where
  18189. 2096.63 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  18190. 2096.63 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  18191. 2096.63 s [opt-env-conf-test] @@ -195,16 +195,12 @@
  18192. 2096.63 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  18193. 2096.63 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  18194. 2096.63 s [opt-env-conf-test] -- * The dashed is an argument
  18195. 2096.63 s [opt-env-conf-test] ( case a' of
  18196. 2096.63 s [opt-env-conf-test] - ArgDashed {} ->
  18197. 2096.63 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  18198. 2096.63 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18199. 2096.63 s [opt-env-conf-test] - ]
  18200. 2096.63 s [opt-env-conf-test] _ ->
  18201. 2096.63 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18202. 2096.63 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18203. 2096.63 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18204. 2096.63 s [opt-env-conf-test] ]
  18205. 2096.63 s [opt-env-conf-test] )
  18206. 2096.63 s [opt-env-conf-test]
  18207. 2096.63 s [opt-env-conf-test] -- | Consume an option.
  18208. 2096.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  18209. 2096.63 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  18210. 2096.63 s [opt-env-conf-test] Nothing ->
  18211. 2096.63 s [opt-env-conf-test] case rest of
  18212. 2096.63 s [opt-env-conf-test] (Live v : rest') ->
  18213. 2096.63 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18214. 2096.63 s [opt-env-conf-test] + case consumeDashedOption dasheds False cs of
  18215. 2096.63 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18216. 2096.63 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18217. 2096.63 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18218. 2096.63 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  18219. 2096.63 s [opt-env-conf-test] @@ -202,9 +202,8 @@
  18220. 2096.63 s [opt-env-conf-test] ]
  18221. 2096.63 s [opt-env-conf-test] _ ->
  18222. 2096.63 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18223. 2096.63 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18224. 2096.63 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18225. 2096.63 s [opt-env-conf-test] ]
  18226. 2096.63 s [opt-env-conf-test] )
  18227. 2096.63 s [opt-env-conf-test]
  18228. 2096.63 s [opt-env-conf-test] -- | Consume an option.
  18229. 2096.63 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
  18230. 2096.63 s [opt-env-conf-test] @@ -219,7 +219,7 @@
  18231. 2096.63 s [opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
  18232. 2096.63 s [opt-env-conf-test] consumeOption dasheds as = do
  18233. 2096.63 s [opt-env-conf-test] case go (argsBefore as) of
  18234. 2096.63 s [opt-env-conf-test] - Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  18235. 2096.64 s [opt-env-conf-test] + Just (val, newBefores) -> Nothing
  18236. 2096.64 s [opt-env-conf-test] Nothing ->
  18237. 2096.64 s [opt-env-conf-test] -- TODO option value on the border
  18238. 2096.64 s [opt-env-conf-test] case go (argsAfter as) of
  18239. 2096.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
  18240. 2096.64 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  18241. 2096.64 s [opt-env-conf-test] Nothing ->
  18242. 2096.64 s [opt-env-conf-test] case rest of
  18243. 2096.64 s [opt-env-conf-test] (Live v : rest') ->
  18244. 2096.64 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18245. 2096.64 s [opt-env-conf-test] + case consumeDashedOption dasheds not (isLong) cs of
  18246. 2096.64 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18247. 2096.64 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18248. 2096.64 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18249. 2096.64 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
  18250. 2096.64 s [opt-env-conf-test] @@ -238,7 +238,7 @@
  18251. 2096.64 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18252. 2096.64 s [opt-env-conf-test] ArgDashed isLong cs ->
  18253. 2096.64 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18254. 2096.64 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18255. 2096.64 s [opt-env-conf-test] + Just v -> Nothing
  18256. 2096.64 s [opt-env-conf-test] Nothing ->
  18257. 2096.64 s [opt-env-conf-test] case rest of
  18258. 2096.64 s [opt-env-conf-test] (Live v : rest') ->
  18259. 2096.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  18260. 2096.64 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18261. 2096.64 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18262. 2096.64 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18263. 2096.64 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18264. 2096.64 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18265. 2096.64 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed True cs') : Dead : rest')
  18266. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18267. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18268. 2096.64 s [opt-env-conf-test]
  18269. 2096.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
  18270. 2096.64 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18271. 2096.64 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18272. 2096.64 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18273. 2096.64 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18274. 2096.64 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18275. 2096.64 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed not (isLong) cs') : Dead : rest')
  18276. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18277. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18278. 2096.64 s [opt-env-conf-test]
  18279. 2096.64 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
  18280. 2096.64 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18281. 2096.64 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18282. 2096.64 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18283. 2096.64 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18284. 2096.64 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18285. 2096.64 s [opt-env-conf-test] + Just (Just cs') -> Nothing
  18286. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18287. 2096.64 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18288. 2096.64 s [opt-env-conf-test]
  18289. 2096.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  18290. 2096.64 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  18291. 2097.09 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18292. 2097.09 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18293. 2097.09 s [opt-env-conf-test] ArgDashed isLong cs ->
  18294. 2097.09 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18295. 2097.09 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds False cs of
  18296. 2097.10 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18297. 2097.10 s [opt-env-conf-test] Nothing ->
  18298. 2097.10 s [opt-env-conf-test] case rest of
  18299. 2097.10 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  18300. 2097.10 s [opt-env-conf-test] @@ -149,34 +149,18 @@
  18301. 2097.10 s [opt-env-conf-test] -- A single dash is always an argument
  18302. 2097.10 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  18303. 2097.10 s [opt-env-conf-test] -- Bare double-dash
  18304. 2097.10 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  18305. 2097.10 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  18306. 2097.10 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  18307. 2097.10 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  18308. 2097.10 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  18309. 2097.10 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  18310. 2097.10 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  18311. 2097.10 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  18312. 2097.10 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  18313. 2097.10 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  18314. 2097.10 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  18315. 2097.10 s [opt-env-conf-test] -- pop the args as they come.
  18316. 2097.10 s [opt-env-conf-test] - _ ->
  18317. 2097.10 s [opt-env-conf-test] - let go = \case
  18318. 2097.10 s [opt-env-conf-test] - [] -> Nothing
  18319. 2097.10 s [opt-env-conf-test] - (Dead : rest) -> go rest
  18320. 2097.10 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  18321. 2097.10 s [opt-env-conf-test] - in case go afters of
  18322. 2097.10 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  18323. 2097.10 s [opt-env-conf-test] - Just (firstLive, rest) ->
  18324. 2097.10 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  18325. 2097.10 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  18326. 2097.10 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  18327. 2097.10 s [opt-env-conf-test] - -- arguments.
  18328. 2097.10 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  18329. 2097.10 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  18330. 2097.10 s [opt-env-conf-test] - )
  18331. 2100.15 s [opt-env-conf-test] - ]
  18332. 2100.15 s [opt-env-conf-test] ArgDashed {} ->
  18333. 2100.15 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18334. 2100.15 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18335. 2100.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18336. 2100.15 s [opt-env-conf-test] @@ -237,16 +237,15 @@
  18337. 2100.15 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18338. 2100.15 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18339. 2100.15 s [opt-env-conf-test] ArgDashed isLong cs ->
  18340. 2100.15 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18341. 2100.15 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18342. 2100.15 s [opt-env-conf-test] Nothing ->
  18343. 2100.15 s [opt-env-conf-test] case rest of
  18344. 2100.15 s [opt-env-conf-test] (Live v : rest') ->
  18345. 2100.15 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18346. 2100.15 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18347. 2100.15 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18348. 2100.15 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18349. 2100.15 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18350. 2100.15 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18351. 2100.15 s [opt-env-conf-test]
  18352. 2100.15 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18353. 2100.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18354. 2100.15 s [opt-env-conf-test] @@ -237,16 +237,8 @@
  18355. 2100.15 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18356. 2100.15 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18357. 2100.15 s [opt-env-conf-test] ArgDashed isLong cs ->
  18358. 2100.15 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18359. 2100.15 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18360. 2100.15 s [opt-env-conf-test] - Nothing ->
  18361. 2100.15 s [opt-env-conf-test] - case rest of
  18362. 2100.15 s [opt-env-conf-test] - (Live v : rest') ->
  18363. 2100.15 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18364. 2100.15 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18365. 2100.15 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18366. 2100.16 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18367. 2100.16 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18368. 2100.16 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18369. 2100.16 s [opt-env-conf-test]
  18370. 2100.16 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18371. 2100.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  18372. 2100.16 s [opt-env-conf-test] @@ -240,13 +240,12 @@
  18373. 2100.16 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18374. 2100.16 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18375. 2100.16 s [opt-env-conf-test] Nothing ->
  18376. 2100.16 s [opt-env-conf-test] case rest of
  18377. 2100.16 s [opt-env-conf-test] (Live v : rest') ->
  18378. 2100.16 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18379. 2100.16 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18380. 2100.16 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18381. 2100.16 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18382. 2100.16 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18383. 2100.16 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18384. 2100.16 s [opt-env-conf-test]
  18385. 2100.16 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18386. 2100.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18387. 2100.16 s [opt-env-conf-test] @@ -233,21 +233,10 @@
  18388. 2100.16 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18389. 2100.16 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18390. 2100.16 s [opt-env-conf-test] (Live k : rest) ->
  18391. 2100.16 s [opt-env-conf-test] case k of
  18392. 2100.16 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18393. 2100.16 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18394. 2100.16 s [opt-env-conf-test] - ArgDashed isLong cs ->
  18395. 2100.16 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18396. 2100.16 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18397. 2100.16 s [opt-env-conf-test] - Nothing ->
  18398. 2100.16 s [opt-env-conf-test] - case rest of
  18399. 2100.16 s [opt-env-conf-test] - (Live v : rest') ->
  18400. 2100.16 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18401. 2100.16 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18402. 2100.16 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18403. 2100.16 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18404. 2100.16 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18405. 2100.16 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18406. 2100.16 s [opt-env-conf-test]
  18407. 2100.16 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18408. 2100.16 s [opt-env-conf-test] [Dashed] ->
  18409. 2100.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18410. 2100.16 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18411. 2100.16 s [opt-env-conf-test] instance Validity Dashed
  18412. 2100.16 s [opt-env-conf-test]
  18413. 2100.16 s [opt-env-conf-test] instance IsString Dashed where
  18414. 2100.16 s [opt-env-conf-test] fromString s = case fromString s of
  18415. 2100.16 s [opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
  18416. 2100.16 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18417. 2100.16 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18418. 2100.16 s [opt-env-conf-test]
  18419. 2100.16 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18420. 2100.16 s [opt-env-conf-test] renderDashed = \case
  18421. 2100.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18422. 2100.16 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18423. 2100.16 s [opt-env-conf-test]
  18424. 2100.16 s [opt-env-conf-test] parseArg :: String -> Arg
  18425. 2100.16 s [opt-env-conf-test] parseArg = \case
  18426. 2100.16 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18427. 2100.16 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18428. 2100.16 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18429. 2100.16 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18430. 2100.16 s [opt-env-conf-test] Nothing -> ArgBareDash
  18431. 2100.16 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18432. 2100.16 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
  18433. 2100.16 s [opt-env-conf-test] @@ -79,7 +79,7 @@
  18434. 2100.16 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18435. 2100.16 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18436. 2100.16 s [opt-env-conf-test] Nothing -> ArgBareDash
  18437. 2100.16 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18438. 2100.16 s [opt-env-conf-test] + Just ne -> ArgDashed True ne
  18439. 2100.16 s [opt-env-conf-test] s -> ArgPlain s
  18440. 2100.16 s [opt-env-conf-test]
  18441. 2100.16 s [opt-env-conf-test] renderArg :: Arg -> String
  18442. 2100.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18443. 2100.17 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18444. 2100.17 s [opt-env-conf-test] instance Validity Dashed
  18445. 2100.17 s [opt-env-conf-test]
  18446. 2100.17 s [opt-env-conf-test] instance IsString Dashed where
  18447. 2100.17 s [opt-env-conf-test] fromString s = case fromString s of
  18448. 2100.17 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18449. 2100.17 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18450. 2100.17 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  18451. 2100.17 s [opt-env-conf-test]
  18452. 2100.17 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18453. 2100.17 s [opt-env-conf-test] renderDashed = \case
  18454. 2100.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18455. 2100.17 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18456. 2100.17 s [opt-env-conf-test] instance Validity Dashed
  18457. 2100.17 s [opt-env-conf-test]
  18458. 2100.17 s [opt-env-conf-test] instance IsString Dashed where
  18459. 2100.17 s [opt-env-conf-test] fromString s = case fromString s of
  18460. 2100.17 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18461. 2100.17 s [opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
  18462. 2100.17 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18463. 2100.17 s [opt-env-conf-test]
  18464. 2100.17 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18465. 2100.17 s [opt-env-conf-test] renderDashed = \case
  18466. 2100.17 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
  18467. 2100.17 s [opt-env-conf-test] @@ -384,7 +384,7 @@
  18468. 2100.17 s [opt-env-conf-test] live =
  18469. 2100.17 s [opt-env-conf-test] mapMaybe
  18470. 2100.17 s [opt-env-conf-test] ( \case
  18471. 2100.17 s [opt-env-conf-test] - Live a -> Just (renderArg a)
  18472. 2100.17 s [opt-env-conf-test] + Live a -> Nothing
  18473. 2100.17 s [opt-env-conf-test] Dead -> Nothing
  18474. 2100.17 s [opt-env-conf-test] )
  18475. 2100.17 s [opt-env-conf-test]
  18476. 2100.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18477. 2100.17 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18478. 2100.17 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18479. 2100.17 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18480. 2100.17 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18481. 2100.17 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18482. 2100.17 s [opt-env-conf-test] - Nothing -> ArgBareDash
  18483. 2100.17 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18484. 2100.17 s [opt-env-conf-test] s -> ArgPlain s
  18485. 2100.17 s [opt-env-conf-test]
  18486. 2100.17 s [opt-env-conf-test] renderArg :: Arg -> String
  18487. 2100.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18488. 2100.17 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18489. 2100.17 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18490. 2100.17 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18491. 2100.17 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18492. 2100.17 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18493. 2100.17 s [opt-env-conf-test] Nothing -> ArgBareDash
  18494. 2100.17 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18495. 2100.17 s [opt-env-conf-test] s -> ArgPlain s
  18496. 2100.17 s [opt-env-conf-test]
  18497. 2100.17 s [opt-env-conf-test] renderArg :: Arg -> String
  18498. 2100.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18499. 2100.17 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18500. 2100.17 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18501. 2100.17 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18502. 2100.17 s [opt-env-conf-test] (Live k : rest) ->
  18503. 2100.17 s [opt-env-conf-test] case k of
  18504. 2100.17 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18505. 2100.17 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18506. 2100.17 s [opt-env-conf-test] ArgDashed isLong cs ->
  18507. 2100.17 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18508. 2100.17 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18509. 2100.17 s [opt-env-conf-test] Nothing ->
  18510. 2100.17 s [opt-env-conf-test] case rest of
  18511. 2100.17 s [opt-env-conf-test] (Live v : rest') ->
  18512. 2100.17 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18513. 2100.17 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18514. 2100.17 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18515. 2100.17 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18516. 2100.17 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18517. 2100.17 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18518. 2100.17 s [opt-env-conf-test]
  18519. 2100.17 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18520. 2100.17 s [opt-env-conf-test] [Dashed] ->
  18521. 2100.17 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18522. 2100.17 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18523. 2100.17 s [opt-env-conf-test]
  18524. 2103.99 s [opt-env-conf-test] parseArg :: String -> Arg
  18525. 2103.99 s [opt-env-conf-test] parseArg = \case
  18526. 2103.99 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18527. 2104.06 s [opt-env-conf-test] - Nothing -> ArgBareDoubleDash
  18528. 2104.06 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18529. 2104.06 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18530. 2104.06 s [opt-env-conf-test] Nothing -> ArgBareDash
  18531. 2104.06 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18532. 2104.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18533. 2104.06 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18534. 2104.06 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18535. 2104.06 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18536. 2104.06 s [opt-env-conf-test] (Live k : rest) ->
  18537. 2104.06 s [opt-env-conf-test] case k of
  18538. 2104.06 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18539. 2104.06 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  18540. 2104.06 s [opt-env-conf-test] ArgDashed isLong cs ->
  18541. 2104.06 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18542. 2104.06 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18543. 2104.06 s [opt-env-conf-test] Nothing ->
  18544. 2104.06 s [opt-env-conf-test] case rest of
  18545. 2104.06 s [opt-env-conf-test] (Live v : rest') ->
  18546. 2104.06 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18547. 2104.06 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18548. 2104.06 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18549. 2104.07 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18550. 2104.07 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18551. 2104.07 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18552. 2104.07 s [opt-env-conf-test]
  18553. 2104.07 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18554. 2104.07 s [opt-env-conf-test] [Dashed] ->
  18555. 2104.07 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  18556. 2104.07 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18557. 2104.07 s [opt-env-conf-test] mconcat
  18558. 2104.07 s [opt-env-conf-test] [ genericValidate arg,
  18559. 2104.07 s [opt-env-conf-test] case arg of
  18560. 2104.07 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18561. 2104.07 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ False
  18562. 2104.07 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18563. 2104.07 s [opt-env-conf-test] ('-' : _) -> False
  18564. 2104.07 s [opt-env-conf-test] _ -> True
  18565. 2104.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
  18566. 2104.07 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  18567. 2104.07 s [opt-env-conf-test] case arg of
  18568. 2104.07 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18569. 2104.07 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18570. 2104.07 s [opt-env-conf-test] - ('-' : _) -> False
  18571. 2104.07 s [opt-env-conf-test] + ('-' : _) -> True
  18572. 2104.07 s [opt-env-conf-test] _ -> True
  18573. 2104.07 s [opt-env-conf-test] _ -> valid
  18574. 2104.07 s [opt-env-conf-test] ]
  18575. 2104.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
  18576. 2104.07 s [opt-env-conf-test] @@ -76,7 +76,7 @@
  18577. 2104.07 s [opt-env-conf-test] parseArg = \case
  18578. 2104.07 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18579. 2104.07 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18580. 2104.07 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18581. 2104.07 s [opt-env-conf-test] + Just ne -> ArgDashed False ne
  18582. 2104.07 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18583. 2104.07 s [opt-env-conf-test] Nothing -> ArgBareDash
  18584. 2104.07 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18585. 2104.07 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
  18586. 2104.07 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18587. 2104.07 s [opt-env-conf-test] mconcat
  18588. 2104.07 s [opt-env-conf-test] [ genericValidate arg,
  18589. 2104.07 s [opt-env-conf-test] case arg of
  18590. 2104.07 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18591. 2104.07 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ not (c /= '-')
  18592. 2104.07 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18593. 2104.07 s [opt-env-conf-test] ('-' : _) -> False
  18594. 2104.07 s [opt-env-conf-test] _ -> True
  18595. 2104.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
  18596. 2104.07 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  18597. 2104.07 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18598. 2104.07 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18599. 2104.07 s [opt-env-conf-test] ('-' : _) -> False
  18600. 2104.07 s [opt-env-conf-test] - _ -> True
  18601. 2104.07 s [opt-env-conf-test] + _ -> False
  18602. 2104.07 s [opt-env-conf-test] _ -> valid
  18603. 2104.07 s [opt-env-conf-test] ]
  18604. 2104.08 s [opt-env-conf-test]
  18605. 2104.08 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  18606. 2104.08 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18607. 2104.08 s [opt-env-conf-test] mconcat
  18608. 2104.08 s [opt-env-conf-test] [ genericValidate arg,
  18609. 2104.08 s [opt-env-conf-test] case arg of
  18610. 2104.08 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18611. 2104.08 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  18612. 2104.08 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18613. 2104.08 s [opt-env-conf-test] ('-' : _) -> False
  18614. 2104.08 s [opt-env-conf-test] _ -> True
  18615. 2104.08 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  18616. 2104.08 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18617. 2104.08 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18618. 2104.08 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18619. 2104.08 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18620. 2104.08 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18621. 2104.08 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  18622. 2104.08 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18623. 2104.08 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18624. 2104.08 s [opt-env-conf-test]
  18625. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  18626. 2104.08 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  18627. 2104.08 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18628. 2104.08 s [opt-env-conf-test] ]
  18629. 2104.08 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18630. 2104.08 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18631. 2104.08 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18632. 2104.08 s [opt-env-conf-test] [ "Missing argument: "
  18633. 2104.08 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18634. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  18635. 2104.08 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  18636. 2104.08 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18637. 2104.08 s [opt-env-conf-test] ]
  18638. 2104.08 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18639. 2104.08 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18640. 2104.08 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18641. 2104.08 s [opt-env-conf-test] [ "Missing argument: "
  18642. 2104.08 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18643. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  18644. 2104.08 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  18645. 2104.08 s [opt-env-conf-test] ["Missing command, available commands:"]
  18646. 2104.08 s [opt-env-conf-test] : availableCommandsLines cs
  18647. 2104.08 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18648. 2104.08 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18649. 2104.08 s [opt-env-conf-test] [fore blue "available commands:"]
  18650. 2104.08 s [opt-env-conf-test] ]
  18651. 2104.08 s [opt-env-conf-test] ++ availableCommandsLines cs
  18652. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  18653. 2104.08 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  18654. 2104.08 s [opt-env-conf-test] ["Missing command, available commands:"]
  18655. 2104.08 s [opt-env-conf-test] : availableCommandsLines cs
  18656. 2104.08 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18657. 2104.08 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18658. 2104.08 s [opt-env-conf-test] [fore blue "available commands:"]
  18659. 2104.08 s [opt-env-conf-test] ]
  18660. 2104.08 s [opt-env-conf-test] ++ availableCommandsLines cs
  18661. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18662. 2104.08 s [opt-env-conf-test] @@ -124,9 +124,7 @@
  18663. 2104.08 s [opt-env-conf-test] ["Missing command, available commands:"]
  18664. 2104.08 s [opt-env-conf-test] : availableCommandsLines cs
  18665. 2104.08 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18666. 2104.08 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18667. 2104.08 s [opt-env-conf-test] - [fore blue "available commands:"]
  18668. 2104.08 s [opt-env-conf-test] ]
  18669. 2104.08 s [opt-env-conf-test] ++ availableCommandsLines cs
  18670. 2104.08 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18671. 2104.08 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."],
  18672. 2104.08 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18673. 2104.08 s [opt-env-conf-test] @@ -124,9 +124,8 @@
  18674. 2104.08 s [opt-env-conf-test] ["Missing command, available commands:"]
  18675. 2104.08 s [opt-env-conf-test] : availableCommandsLines cs
  18676. 2104.08 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18677. 2104.08 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18678. 2104.08 s [opt-env-conf-test] [fore blue "available commands:"]
  18679. 2104.08 s [opt-env-conf-test] ]
  18680. 2104.08 s [opt-env-conf-test] ++ availableCommandsLines cs
  18681. 2104.08 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18682. 2105.15 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."],
  18683. 2105.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18684. 2105.15 s [opt-env-conf-test] @@ -129,9 +129,7 @@
  18685. 2105.15 s [opt-env-conf-test] ]
  18686. 2105.15 s [opt-env-conf-test] ++ availableCommandsLines cs
  18687. 2105.15 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18688. 2105.15 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."],
  18689. 2105.15 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  18690. 2105.15 s [opt-env-conf-test] ]
  18691. 2105.15 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18692. 2105.15 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18693. 2105.15 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18694. 2105.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18695. 2105.15 s [opt-env-conf-test] @@ -129,9 +129,8 @@
  18696. 2105.15 s [opt-env-conf-test] ]
  18697. 2105.15 s [opt-env-conf-test] ++ availableCommandsLines cs
  18698. 2105.15 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18699. 2105.15 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."],
  18700. 2105.15 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18701. 2105.15 s [opt-env-conf-test] ]
  18702. 2105.15 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18703. 2105.15 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18704. 2105.15 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18705. 2105.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18706. 2105.15 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18707. 2105.15 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18708. 2105.15 s [opt-env-conf-test] renderError ParseError {..} =
  18709. 2105.15 s [opt-env-conf-test] concat
  18710. 2105.15 s [opt-env-conf-test] [ case parseErrorMessage of
  18711. 2105.15 s [opt-env-conf-test] - ParseErrorEmpty ->
  18712. 2105.15 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18713. 2105.15 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18714. 2105.15 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18715. 2105.15 s [opt-env-conf-test] ParseErrorNoReaders ->
  18716. 2105.15 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18717. 2105.15 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18718. 2105.15 s [opt-env-conf-test] ]
  18719. 2105.16 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18720. 2105.16 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18721. 2105.16 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18722. 2105.16 s [opt-env-conf-test] [ "Missing argument: "
  18723. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18724. 2105.16 s [opt-env-conf-test] ]
  18725. 2105.16 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18726. 2105.16 s [opt-env-conf-test] ["Failed to read argument: "]
  18727. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18728. 2105.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18729. 2105.16 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18730. 2105.16 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18731. 2105.16 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18732. 2105.16 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18733. 2105.16 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18734. 2105.16 s [opt-env-conf-test] ["Failed to read option: "]
  18735. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18736. 2105.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18737. 2105.16 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18738. 2105.16 s [opt-env-conf-test] ["Missing env var: "]
  18739. 2105.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18740. 2105.16 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18741. 2105.16 s [opt-env-conf-test] ["Failed to read env var: "]
  18742. 2105.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18743. 2105.16 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18744. 2105.16 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18745. 2105.16 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18746. 2105.16 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18747. 2105.16 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18748. 2105.16 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18749. 2105.16 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18750. 2105.16 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18751. 2105.16 s [opt-env-conf-test] ["Missing command, available commands:"]
  18752. 2105.16 s [opt-env-conf-test] : availableCommandsLines cs
  18753. 2105.16 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18754. 2105.16 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18755. 2105.16 s [opt-env-conf-test] [fore blue "available commands:"]
  18756. 2105.16 s [opt-env-conf-test] ]
  18757. 2105.16 s [opt-env-conf-test] ++ availableCommandsLines cs
  18758. 2105.16 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18759. 2105.16 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."],
  18760. 2105.16 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18761. 2105.16 s [opt-env-conf-test] ]
  18762. 2105.16 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18763. 2105.16 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18764. 2105.16 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18765. 2105.16 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18766. 2105.16 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18767. 2105.16 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18768. 2105.16 s [opt-env-conf-test] ]
  18769. 2105.16 s [opt-env-conf-test]
  18770. 2105.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18771. 2105.16 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18772. 2105.16 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18773. 2105.16 s [opt-env-conf-test] renderError ParseError {..} =
  18774. 2105.16 s [opt-env-conf-test] concat
  18775. 2105.16 s [opt-env-conf-test] [ case parseErrorMessage of
  18776. 2105.16 s [opt-env-conf-test] ParseErrorEmpty ->
  18777. 2105.16 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18778. 2105.16 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18779. 2105.16 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18780. 2105.16 s [opt-env-conf-test] - ParseErrorNoReaders ->
  18781. 2105.16 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  18782. 2105.16 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  18783. 2105.16 s [opt-env-conf-test] - ]
  18784. 2105.16 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18785. 2105.16 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18786. 2105.16 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18787. 2105.16 s [opt-env-conf-test] [ "Missing argument: "
  18788. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18789. 2105.16 s [opt-env-conf-test] ]
  18790. 2105.16 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18791. 2105.16 s [opt-env-conf-test] ["Failed to read argument: "]
  18792. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18793. 2105.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18794. 2105.16 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18795. 2105.16 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18796. 2105.16 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18797. 2105.16 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18798. 2105.16 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18799. 2105.16 s [opt-env-conf-test] ["Failed to read option: "]
  18800. 2105.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18801. 2105.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18802. 2105.17 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18803. 2105.17 s [opt-env-conf-test] ["Missing env var: "]
  18804. 2105.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18805. 2105.17 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18806. 2105.17 s [opt-env-conf-test] ["Failed to read env var: "]
  18807. 2105.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18808. 2105.17 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18809. 2105.17 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18810. 2105.17 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18811. 2105.17 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18812. 2105.18 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18813. 2105.18 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18814. 2105.18 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18815. 2105.18 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18816. 2105.18 s [opt-env-conf-test] ["Missing command, available commands:"]
  18817. 2105.18 s [opt-env-conf-test] : availableCommandsLines cs
  18818. 2105.18 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18819. 2105.18 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18820. 2105.18 s [opt-env-conf-test] [fore blue "available commands:"]
  18821. 2105.18 s [opt-env-conf-test] ]
  18822. 2105.18 s [opt-env-conf-test] ++ availableCommandsLines cs
  18823. 2105.18 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18824. 2105.18 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."],
  18825. 2105.18 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18826. 2105.18 s [opt-env-conf-test] ]
  18827. 2105.18 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18828. 2105.18 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18829. 2105.18 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18830. 2105.18 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18831. 2105.18 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18832. 2105.18 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18833. 2105.18 s [opt-env-conf-test] ]
  18834. 2105.18 s [opt-env-conf-test]
  18835. 2105.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18836. 2105.18 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18837. 2105.18 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18838. 2105.18 s [opt-env-conf-test] renderError ParseError {..} =
  18839. 2105.18 s [opt-env-conf-test] concat
  18840. 2105.18 s [opt-env-conf-test] [ case parseErrorMessage of
  18841. 2105.18 s [opt-env-conf-test] ParseErrorEmpty ->
  18842. 2105.18 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18843. 2105.18 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18844. 2105.18 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18845. 2105.18 s [opt-env-conf-test] ParseErrorNoReaders ->
  18846. 2105.18 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18847. 2105.18 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18848. 2105.18 s [opt-env-conf-test] ]
  18849. 2105.18 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  18850. 2105.18 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18851. 2105.18 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18852. 2105.18 s [opt-env-conf-test] [ "Missing argument: "
  18853. 2105.18 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18854. 2105.18 s [opt-env-conf-test] ]
  18855. 2105.19 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18856. 2105.19 s [opt-env-conf-test] ["Failed to read argument: "]
  18857. 2105.19 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18858. 2105.19 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18859. 2105.19 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18860. 2105.19 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18861. 2105.19 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18862. 2105.19 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18863. 2105.19 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18864. 2105.19 s [opt-env-conf-test] ["Failed to read option: "]
  18865. 2105.19 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18866. 2105.19 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18867. 2105.19 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18868. 2105.19 s [opt-env-conf-test] ["Missing env var: "]
  18869. 2105.19 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18870. 2105.19 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18871. 2105.19 s [opt-env-conf-test] ["Failed to read env var: "]
  18872. 2105.19 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18873. 2105.19 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18874. 2105.19 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18875. 2105.19 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18876. 2105.19 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18877. 2105.19 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18878. 2105.19 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18879. 2105.19 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18880. 2105.19 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18881. 2105.19 s [opt-env-conf-test] ["Missing command, available commands:"]
  18882. 2105.19 s [opt-env-conf-test] : availableCommandsLines cs
  18883. 2105.19 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18884. 2105.19 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18885. 2105.19 s [opt-env-conf-test] [fore blue "available commands:"]
  18886. 2105.19 s [opt-env-conf-test] ]
  18887. 2105.19 s [opt-env-conf-test] ++ availableCommandsLines cs
  18888. 2105.19 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18889. 2105.19 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."],
  18890. 2105.19 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18891. 2105.19 s [opt-env-conf-test] ]
  18892. 2105.19 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18893. 2105.19 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18894. 2105.19 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18895. 2105.19 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18896. 2105.19 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18897. 2105.19 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18898. 2105.19 s [opt-env-conf-test] ]
  18899. 2105.19 s [opt-env-conf-test]
  18900. 2105.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18901. 2105.19 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18902. 2105.19 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18903. 2105.19 s [opt-env-conf-test] renderError ParseError {..} =
  18904. 2105.19 s [opt-env-conf-test] concat
  18905. 2105.19 s [opt-env-conf-test] [ case parseErrorMessage of
  18906. 2105.19 s [opt-env-conf-test] ParseErrorEmpty ->
  18907. 2105.19 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18908. 2105.19 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18909. 2105.19 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18910. 2105.19 s [opt-env-conf-test] ParseErrorNoReaders ->
  18911. 2105.19 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18912. 2105.19 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18913. 2105.19 s [opt-env-conf-test] ]
  18914. 2105.19 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18915. 2105.19 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18916. 2105.19 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  18917. 2105.19 s [opt-env-conf-test] - [ "Missing argument: "
  18918. 2105.19 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  18919. 2105.20 s [opt-env-conf-test] - ]
  18920. 2105.20 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18921. 2105.20 s [opt-env-conf-test] ["Failed to read argument: "]
  18922. 2105.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18923. 2105.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18924. 2105.20 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18925. 2105.20 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18926. 2105.20 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18927. 2105.20 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18928. 2105.20 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18929. 2105.20 s [opt-env-conf-test] ["Failed to read option: "]
  18930. 2105.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18931. 2105.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18932. 2105.20 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18933. 2105.20 s [opt-env-conf-test] ["Missing env var: "]
  18934. 2105.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18935. 2105.20 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18936. 2105.20 s [opt-env-conf-test] ["Failed to read env var: "]
  18937. 2105.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18938. 2105.20 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18939. 2105.20 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18940. 2105.20 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18941. 2105.20 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18942. 2105.27 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18943. 2105.27 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18944. 2105.27 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18945. 2105.27 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18946. 2105.27 s [opt-env-conf-test] ["Missing command, available commands:"]
  18947. 2105.27 s [opt-env-conf-test] : availableCommandsLines cs
  18948. 2105.27 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18949. 2105.27 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18950. 2105.27 s [opt-env-conf-test] [fore blue "available commands:"]
  18951. 2105.27 s [opt-env-conf-test] ]
  18952. 2105.27 s [opt-env-conf-test] ++ availableCommandsLines cs
  18953. 2105.27 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18954. 2105.27 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."],
  18955. 2105.27 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18956. 2105.27 s [opt-env-conf-test] ]
  18957. 2105.27 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18958. 2105.27 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18959. 2105.27 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18960. 2105.27 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18961. 2105.27 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18962. 2105.27 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18963. 2105.27 s [opt-env-conf-test] ]
  18964. 2105.27 s [opt-env-conf-test]
  18965. 2105.27 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  18966. 2105.27 s [opt-env-conf-test] @@ -86,9 +86,8 @@
  18967. 2105.27 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18968. 2105.27 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18969. 2105.27 s [opt-env-conf-test] ParseErrorNoReaders ->
  18970. 2105.27 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  18971. 2105.27 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18972. 2105.27 s [opt-env-conf-test] ]
  18973. 2105.27 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18974. 2105.27 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18975. 2105.27 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18976. 2105.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18977. 2105.27 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  18978. 2105.27 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18979. 2105.27 s [opt-env-conf-test] renderError ParseError {..} =
  18980. 2105.27 s [opt-env-conf-test] concat
  18981. 2105.27 s [opt-env-conf-test] [ case parseErrorMessage of
  18982. 2105.27 s [opt-env-conf-test] ParseErrorEmpty ->
  18983. 2105.27 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18984. 2105.27 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18985. 2105.27 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18986. 2105.27 s [opt-env-conf-test] ParseErrorNoReaders ->
  18987. 2105.27 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18988. 2105.27 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18989. 2105.27 s [opt-env-conf-test] ]
  18990. 2105.27 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18991. 2105.27 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18992. 2105.27 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18993. 2105.27 s [opt-env-conf-test] [ "Missing argument: "
  18994. 2105.27 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18995. 2105.28 s [opt-env-conf-test] ]
  18996. 2105.28 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  18997. 2105.28 s [opt-env-conf-test] - ["Failed to read argument: "]
  18998. 2105.28 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  18999. 2105.28 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19000. 2105.28 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19001. 2105.28 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19002. 2105.28 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19003. 2105.28 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19004. 2105.28 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19005. 2105.28 s [opt-env-conf-test] ["Failed to read option: "]
  19006. 2105.28 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19007. 2105.28 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19008. 2105.28 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19009. 2105.28 s [opt-env-conf-test] ["Missing env var: "]
  19010. 2105.28 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19011. 2105.28 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19012. 2105.28 s [opt-env-conf-test] ["Failed to read env var: "]
  19013. 2105.28 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19014. 2105.28 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19015. 2105.28 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19016. 2105.28 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19017. 2105.28 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19018. 2105.79 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19019. 2105.79 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19020. 2105.79 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19021. 2105.79 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19022. 2105.79 s [opt-env-conf-test] ["Missing command, available commands:"]
  19023. 2105.79 s [opt-env-conf-test] : availableCommandsLines cs
  19024. 2105.79 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19025. 2105.79 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19026. 2105.79 s [opt-env-conf-test] [fore blue "available commands:"]
  19027. 2105.79 s [opt-env-conf-test] ]
  19028. 2105.79 s [opt-env-conf-test] ++ availableCommandsLines cs
  19029. 2105.79 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19030. 2105.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."],
  19031. 2105.79 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19032. 2105.79 s [opt-env-conf-test] ]
  19033. 2105.79 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19034. 2105.79 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19035. 2105.79 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19036. 2105.79 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19037. 2105.79 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19038. 2105.79 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19039. 2105.79 s [opt-env-conf-test] ]
  19040. 2105.79 s [opt-env-conf-test]
  19041. 2105.79 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19042. 2105.79 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19043. 2105.80 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19044. 2105.80 s [opt-env-conf-test] renderError ParseError {..} =
  19045. 2105.80 s [opt-env-conf-test] concat
  19046. 2105.80 s [opt-env-conf-test] [ case parseErrorMessage of
  19047. 2105.80 s [opt-env-conf-test] ParseErrorEmpty ->
  19048. 2105.80 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19049. 2105.80 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19050. 2105.80 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19051. 2105.80 s [opt-env-conf-test] ParseErrorNoReaders ->
  19052. 2105.80 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19053. 2105.80 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19054. 2105.80 s [opt-env-conf-test] ]
  19055. 2105.80 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19056. 2105.80 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19057. 2105.80 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19058. 2105.80 s [opt-env-conf-test] [ "Missing argument: "
  19059. 2105.80 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19060. 2105.80 s [opt-env-conf-test] ]
  19061. 2105.80 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19062. 2105.80 s [opt-env-conf-test] ["Failed to read argument: "]
  19063. 2105.80 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19064. 2105.80 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19065. 2105.80 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  19066. 2105.80 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19067. 2105.80 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19068. 2105.80 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19069. 2105.80 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19070. 2105.80 s [opt-env-conf-test] ["Failed to read option: "]
  19071. 2105.80 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19072. 2105.80 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19073. 2105.80 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19074. 2105.80 s [opt-env-conf-test] ["Missing env var: "]
  19075. 2105.80 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19076. 2105.80 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19077. 2105.80 s [opt-env-conf-test] ["Failed to read env var: "]
  19078. 2105.80 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19079. 2105.80 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19080. 2105.80 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19081. 2105.80 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19082. 2105.80 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19083. 2105.85 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19084. 2105.85 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19085. 2105.85 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19086. 2105.85 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19087. 2105.85 s [opt-env-conf-test] ["Missing command, available commands:"]
  19088. 2105.85 s [opt-env-conf-test] : availableCommandsLines cs
  19089. 2105.85 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19090. 2105.85 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19091. 2105.85 s [opt-env-conf-test] [fore blue "available commands:"]
  19092. 2105.85 s [opt-env-conf-test] ]
  19093. 2105.85 s [opt-env-conf-test] ++ availableCommandsLines cs
  19094. 2105.85 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19095. 2105.85 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."],
  19096. 2105.85 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19097. 2105.85 s [opt-env-conf-test] ]
  19098. 2105.85 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19099. 2105.85 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19100. 2105.85 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19101. 2105.85 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19102. 2105.85 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19103. 2105.85 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19104. 2105.85 s [opt-env-conf-test] ]
  19105. 2105.85 s [opt-env-conf-test]
  19106. 2105.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  19107. 2105.85 s [opt-env-conf-test] @@ -86,9 +86,7 @@
  19108. 2105.85 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19109. 2105.85 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19110. 2105.85 s [opt-env-conf-test] ParseErrorNoReaders ->
  19111. 2105.85 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  19112. 2105.85 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  19113. 2105.85 s [opt-env-conf-test] ]
  19114. 2105.85 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19115. 2105.85 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19116. 2105.85 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19117. 2105.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19118. 2105.85 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19119. 2105.85 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19120. 2105.85 s [opt-env-conf-test] renderError ParseError {..} =
  19121. 2105.85 s [opt-env-conf-test] concat
  19122. 2105.85 s [opt-env-conf-test] [ case parseErrorMessage of
  19123. 2105.85 s [opt-env-conf-test] ParseErrorEmpty ->
  19124. 2105.85 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19125. 2105.85 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19126. 2105.85 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19127. 2105.85 s [opt-env-conf-test] ParseErrorNoReaders ->
  19128. 2105.86 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19129. 2105.86 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19130. 2105.86 s [opt-env-conf-test] ]
  19131. 2105.86 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19132. 2105.86 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19133. 2105.86 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19134. 2105.86 s [opt-env-conf-test] [ "Missing argument: "
  19135. 2105.86 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19136. 2105.86 s [opt-env-conf-test] ]
  19137. 2105.86 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19138. 2105.86 s [opt-env-conf-test] ["Failed to read argument: "]
  19139. 2105.86 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19140. 2105.86 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19141. 2105.86 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19142. 2105.86 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19143. 2105.86 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19144. 2105.86 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19145. 2105.86 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  19146. 2105.86 s [opt-env-conf-test] - ["Failed to read option: "]
  19147. 2105.86 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19148. 2105.86 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19149. 2105.86 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19150. 2105.86 s [opt-env-conf-test] ["Missing env var: "]
  19151. 2105.86 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19152. 2105.86 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19153. 2105.86 s [opt-env-conf-test] ["Failed to read env var: "]
  19154. 2105.86 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19155. 2105.86 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19156. 2105.86 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19157. 2105.86 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19158. 2105.86 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19159. 2105.93 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19160. 2105.93 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19161. 2105.93 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19162. 2105.93 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19163. 2105.93 s [opt-env-conf-test] ["Missing command, available commands:"]
  19164. 2105.93 s [opt-env-conf-test] : availableCommandsLines cs
  19165. 2105.93 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19166. 2105.93 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19167. 2105.93 s [opt-env-conf-test] [fore blue "available commands:"]
  19168. 2105.93 s [opt-env-conf-test] ]
  19169. 2105.93 s [opt-env-conf-test] ++ availableCommandsLines cs
  19170. 2105.93 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19171. 2105.93 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."],
  19172. 2105.93 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19173. 2105.93 s [opt-env-conf-test] ]
  19174. 2105.93 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19175. 2105.93 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19176. 2105.93 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19177. 2105.93 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19178. 2105.93 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19179. 2105.93 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19180. 2105.93 s [opt-env-conf-test] ]
  19181. 2105.93 s [opt-env-conf-test]
  19182. 2105.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19183. 2105.93 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19184. 2105.93 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19185. 2105.93 s [opt-env-conf-test] renderError ParseError {..} =
  19186. 2105.93 s [opt-env-conf-test] concat
  19187. 2105.93 s [opt-env-conf-test] [ case parseErrorMessage of
  19188. 2105.93 s [opt-env-conf-test] ParseErrorEmpty ->
  19189. 2105.93 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19190. 2105.93 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19191. 2105.93 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19192. 2105.93 s [opt-env-conf-test] ParseErrorNoReaders ->
  19193. 2105.93 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19194. 2105.93 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19195. 2105.93 s [opt-env-conf-test] ]
  19196. 2105.93 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19197. 2105.93 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19198. 2105.94 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19199. 2105.94 s [opt-env-conf-test] [ "Missing argument: "
  19200. 2105.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19201. 2105.94 s [opt-env-conf-test] ]
  19202. 2105.94 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19203. 2105.94 s [opt-env-conf-test] ["Failed to read argument: "]
  19204. 2105.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19205. 2105.94 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19206. 2105.94 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19207. 2105.94 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19208. 2105.94 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19209. 2105.94 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19210. 2105.94 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19211. 2105.94 s [opt-env-conf-test] ["Failed to read option: "]
  19212. 2105.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19213. 2105.94 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19214. 2105.94 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  19215. 2105.94 s [opt-env-conf-test] - ["Missing env var: "]
  19216. 2105.94 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19217. 2105.94 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19218. 2105.94 s [opt-env-conf-test] ["Failed to read env var: "]
  19219. 2105.94 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19220. 2105.94 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19221. 2105.94 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19222. 2105.94 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19223. 2105.94 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19224. 2106.05 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19225. 2106.05 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19226. 2106.05 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19227. 2106.05 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19228. 2106.05 s [opt-env-conf-test] ["Missing command, available commands:"]
  19229. 2106.05 s [opt-env-conf-test] : availableCommandsLines cs
  19230. 2106.05 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19231. 2106.05 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19232. 2106.05 s [opt-env-conf-test] [fore blue "available commands:"]
  19233. 2106.05 s [opt-env-conf-test] ]
  19234. 2106.05 s [opt-env-conf-test] ++ availableCommandsLines cs
  19235. 2106.05 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19236. 2106.05 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."],
  19237. 2106.05 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19238. 2106.05 s [opt-env-conf-test] ]
  19239. 2106.05 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19240. 2106.05 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19241. 2106.05 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19242. 2106.05 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19243. 2106.05 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19244. 2106.05 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19245. 2106.05 s [opt-env-conf-test] ]
  19246. 2106.05 s [opt-env-conf-test]
  19247. 2106.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19248. 2106.05 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19249. 2106.05 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19250. 2106.05 s [opt-env-conf-test] renderError ParseError {..} =
  19251. 2106.05 s [opt-env-conf-test] concat
  19252. 2106.05 s [opt-env-conf-test] [ case parseErrorMessage of
  19253. 2106.05 s [opt-env-conf-test] ParseErrorEmpty ->
  19254. 2106.05 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19255. 2106.05 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19256. 2106.05 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19257. 2106.05 s [opt-env-conf-test] ParseErrorNoReaders ->
  19258. 2106.05 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19259. 2106.05 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19260. 2106.05 s [opt-env-conf-test] ]
  19261. 2106.05 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19262. 2106.05 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19263. 2106.05 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19264. 2106.05 s [opt-env-conf-test] [ "Missing argument: "
  19265. 2106.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19266. 2106.05 s [opt-env-conf-test] ]
  19267. 2106.05 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19268. 2106.05 s [opt-env-conf-test] ["Failed to read argument: "]
  19269. 2106.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19270. 2106.05 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19271. 2106.05 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19272. 2106.05 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19273. 2106.05 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19274. 2106.05 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19275. 2106.05 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19276. 2106.05 s [opt-env-conf-test] ["Failed to read option: "]
  19277. 2106.05 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19278. 2106.05 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19279. 2106.06 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19280. 2106.06 s [opt-env-conf-test] ["Missing env var: "]
  19281. 2106.06 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19282. 2106.06 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  19283. 2106.06 s [opt-env-conf-test] - ["Failed to read env var: "]
  19284. 2106.06 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19285. 2106.06 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19286. 2106.06 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19287. 2106.06 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19288. 2106.06 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19289. 2106.73 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19290. 2106.73 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19291. 2106.73 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19292. 2106.73 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19293. 2106.73 s [opt-env-conf-test] ["Missing command, available commands:"]
  19294. 2106.73 s [opt-env-conf-test] : availableCommandsLines cs
  19295. 2106.73 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19296. 2106.73 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19297. 2106.73 s [opt-env-conf-test] [fore blue "available commands:"]
  19298. 2106.73 s [opt-env-conf-test] ]
  19299. 2106.73 s [opt-env-conf-test] ++ availableCommandsLines cs
  19300. 2106.73 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19301. 2106.73 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."],
  19302. 2106.73 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19303. 2106.73 s [opt-env-conf-test] ]
  19304. 2106.73 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19305. 2106.74 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19306. 2106.74 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19307. 2106.74 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19308. 2106.74 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19309. 2106.74 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19310. 2106.74 s [opt-env-conf-test] ]
  19311. 2106.74 s [opt-env-conf-test]
  19312. 2106.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  19313. 2106.74 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  19314. 2106.74 s [opt-env-conf-test]
  19315. 2106.74 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19316. 2106.74 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19317. 2106.74 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  19318. 2106.74 s [opt-env-conf-test] ": ",
  19319. 2106.74 s [opt-env-conf-test] helpChunk commandDocHelp
  19320. 2106.74 s [opt-env-conf-test] ]
  19321. 2106.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19322. 2106.74 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19323. 2106.74 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19324. 2106.74 s [opt-env-conf-test] renderError ParseError {..} =
  19325. 2106.74 s [opt-env-conf-test] concat
  19326. 2106.74 s [opt-env-conf-test] [ case parseErrorMessage of
  19327. 2106.74 s [opt-env-conf-test] ParseErrorEmpty ->
  19328. 2106.74 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19329. 2106.74 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19330. 2106.74 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19331. 2106.74 s [opt-env-conf-test] ParseErrorNoReaders ->
  19332. 2106.74 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19333. 2106.74 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19334. 2106.74 s [opt-env-conf-test] ]
  19335. 2106.74 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19336. 2106.74 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19337. 2106.74 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19338. 2106.74 s [opt-env-conf-test] [ "Missing argument: "
  19339. 2106.74 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19340. 2106.74 s [opt-env-conf-test] ]
  19341. 2106.74 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19342. 2106.74 s [opt-env-conf-test] ["Failed to read argument: "]
  19343. 2106.74 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19344. 2106.74 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19345. 2106.74 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19346. 2106.74 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19347. 2106.74 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19348. 2106.74 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19349. 2106.74 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19350. 2106.74 s [opt-env-conf-test] ["Failed to read option: "]
  19351. 2106.74 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19352. 2106.74 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19353. 2106.74 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19354. 2106.74 s [opt-env-conf-test] ["Missing env var: "]
  19355. 2106.74 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19356. 2106.74 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19357. 2106.74 s [opt-env-conf-test] ["Failed to read env var: "]
  19358. 2106.74 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19359. 2106.74 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19360. 2106.74 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19361. 2106.74 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19362. 2106.74 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  19363. 2106.82 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  19364. 2106.82 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  19365. 2106.82 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  19366. 2106.82 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19367. 2106.82 s [opt-env-conf-test] ["Missing command, available commands:"]
  19368. 2106.82 s [opt-env-conf-test] : availableCommandsLines cs
  19369. 2106.82 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19370. 2106.82 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19371. 2106.82 s [opt-env-conf-test] [fore blue "available commands:"]
  19372. 2106.82 s [opt-env-conf-test] ]
  19373. 2106.82 s [opt-env-conf-test] ++ availableCommandsLines cs
  19374. 2106.82 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19375. 2106.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."],
  19376. 2106.82 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19377. 2106.82 s [opt-env-conf-test] ]
  19378. 2106.82 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19379. 2106.82 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19380. 2106.82 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19381. 2106.82 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19382. 2106.82 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19383. 2106.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19384. 2106.82 s [opt-env-conf-test] ]
  19385. 2106.82 s [opt-env-conf-test]
  19386. 2106.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19387. 2106.82 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19388. 2106.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19389. 2106.82 s [opt-env-conf-test] renderError ParseError {..} =
  19390. 2106.82 s [opt-env-conf-test] concat
  19391. 2106.82 s [opt-env-conf-test] [ case parseErrorMessage of
  19392. 2106.82 s [opt-env-conf-test] ParseErrorEmpty ->
  19393. 2106.82 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19394. 2106.82 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19395. 2106.82 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19396. 2106.82 s [opt-env-conf-test] ParseErrorNoReaders ->
  19397. 2106.82 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19398. 2106.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19399. 2106.82 s [opt-env-conf-test] ]
  19400. 2106.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19401. 2106.82 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19402. 2106.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19403. 2106.82 s [opt-env-conf-test] [ "Missing argument: "
  19404. 2106.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19405. 2106.83 s [opt-env-conf-test] ]
  19406. 2106.83 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19407. 2106.83 s [opt-env-conf-test] ["Failed to read argument: "]
  19408. 2106.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19409. 2106.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19410. 2106.83 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19411. 2106.83 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19412. 2106.83 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19413. 2106.83 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19414. 2106.83 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19415. 2106.83 s [opt-env-conf-test] ["Failed to read option: "]
  19416. 2106.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19417. 2106.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19418. 2106.83 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19419. 2106.83 s [opt-env-conf-test] ["Missing env var: "]
  19420. 2106.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19421. 2106.83 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19422. 2106.83 s [opt-env-conf-test] ["Failed to read env var: "]
  19423. 2106.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19424. 2106.83 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19425. 2106.83 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19426. 2106.83 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19427. 2106.83 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19428. 2106.83 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19429. 2106.93 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19430. 2106.93 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19431. 2106.93 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  19432. 2106.93 s [opt-env-conf-test] - ["Missing command, available commands:"]
  19433. 2106.93 s [opt-env-conf-test] - : availableCommandsLines cs
  19434. 2106.93 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19435. 2106.93 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19436. 2106.93 s [opt-env-conf-test] [fore blue "available commands:"]
  19437. 2106.93 s [opt-env-conf-test] ]
  19438. 2106.93 s [opt-env-conf-test] ++ availableCommandsLines cs
  19439. 2106.93 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19440. 2106.93 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."],
  19441. 2106.93 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19442. 2106.93 s [opt-env-conf-test] ]
  19443. 2106.93 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19444. 2106.93 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19445. 2106.93 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19446. 2106.93 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19447. 2106.93 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19448. 2106.94 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19449. 2106.94 s [opt-env-conf-test] ]
  19450. 2106.94 s [opt-env-conf-test]
  19451. 2106.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19452. 2106.94 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  19453. 2106.94 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19454. 2106.94 s [opt-env-conf-test] renderError ParseError {..} =
  19455. 2106.94 s [opt-env-conf-test] concat
  19456. 2106.94 s [opt-env-conf-test] [ case parseErrorMessage of
  19457. 2106.94 s [opt-env-conf-test] ParseErrorEmpty ->
  19458. 2106.94 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19459. 2106.94 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19460. 2106.94 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19461. 2106.94 s [opt-env-conf-test] ParseErrorNoReaders ->
  19462. 2106.94 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19463. 2106.94 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19464. 2106.94 s [opt-env-conf-test] ]
  19465. 2106.94 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19466. 2106.94 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19467. 2106.94 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19468. 2106.94 s [opt-env-conf-test] [ "Missing argument: "
  19469. 2106.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19470. 2106.94 s [opt-env-conf-test] ]
  19471. 2106.94 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19472. 2106.94 s [opt-env-conf-test] ["Failed to read argument: "]
  19473. 2106.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19474. 2106.94 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19475. 2106.94 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19476. 2106.94 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19477. 2106.94 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19478. 2106.94 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19479. 2106.94 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19480. 2106.94 s [opt-env-conf-test] ["Failed to read option: "]
  19481. 2106.94 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19482. 2106.94 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19483. 2106.94 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19484. 2106.94 s [opt-env-conf-test] ["Missing env var: "]
  19485. 2106.94 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19486. 2106.94 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19487. 2106.94 s [opt-env-conf-test] ["Failed to read env var: "]
  19488. 2106.94 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19489. 2106.94 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19490. 2106.94 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19491. 2106.94 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19492. 2106.94 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19493. 2106.94 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19494. 2107.53 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19495. 2107.53 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19496. 2107.53 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19497. 2107.53 s [opt-env-conf-test] ["Missing command, available commands:"]
  19498. 2107.53 s [opt-env-conf-test] : availableCommandsLines cs
  19499. 2107.53 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  19500. 2107.53 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19501. 2107.53 s [opt-env-conf-test] - [fore blue "available commands:"]
  19502. 2107.53 s [opt-env-conf-test] - ]
  19503. 2107.53 s [opt-env-conf-test] - ++ availableCommandsLines cs
  19504. 2107.53 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19505. 2107.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."],
  19506. 2107.53 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19507. 2107.53 s [opt-env-conf-test] ]
  19508. 2107.53 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19509. 2107.54 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19510. 2107.54 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19511. 2107.54 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19512. 2107.54 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19513. 2107.54 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19514. 2107.54 s [opt-env-conf-test] ]
  19515. 2107.54 s [opt-env-conf-test]
  19516. 2107.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  19517. 2107.54 s [opt-env-conf-test] @@ -142,7 +142,4 @@
  19518. 2107.54 s [opt-env-conf-test]
  19519. 2107.54 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19520. 2107.54 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19521. 2107.54 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  19522. 2107.54 s [opt-env-conf-test] - ": ",
  19523. 2107.54 s [opt-env-conf-test] - helpChunk commandDocHelp
  19524. 2107.54 s [opt-env-conf-test] ]
  19525. 2107.54 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19526. 2107.54 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19527. 2107.54 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19528. 2107.54 s [opt-env-conf-test] renderError ParseError {..} =
  19529. 2107.54 s [opt-env-conf-test] concat
  19530. 2107.54 s [opt-env-conf-test] [ case parseErrorMessage of
  19531. 2107.54 s [opt-env-conf-test] ParseErrorEmpty ->
  19532. 2107.54 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19533. 2107.54 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19534. 2107.54 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19535. 2107.54 s [opt-env-conf-test] ParseErrorNoReaders ->
  19536. 2107.54 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19537. 2107.54 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19538. 2107.54 s [opt-env-conf-test] ]
  19539. 2107.54 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19540. 2107.54 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19541. 2107.54 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19542. 2107.54 s [opt-env-conf-test] [ "Missing argument: "
  19543. 2107.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19544. 2107.54 s [opt-env-conf-test] ]
  19545. 2107.54 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19546. 2107.54 s [opt-env-conf-test] ["Failed to read argument: "]
  19547. 2107.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19548. 2107.54 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19549. 2107.54 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19550. 2107.54 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19551. 2107.54 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19552. 2107.54 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19553. 2107.54 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19554. 2107.54 s [opt-env-conf-test] ["Failed to read option: "]
  19555. 2107.54 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19556. 2107.54 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19557. 2107.54 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19558. 2107.54 s [opt-env-conf-test] ["Missing env var: "]
  19559. 2107.54 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19560. 2107.54 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19561. 2107.54 s [opt-env-conf-test] ["Failed to read env var: "]
  19562. 2107.54 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19563. 2107.54 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19564. 2107.54 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19565. 2107.54 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19566. 2107.54 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19567. 2107.54 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19568. 2107.95 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19569. 2107.96 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19570. 2107.96 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19571. 2107.96 s [opt-env-conf-test] ["Missing command, available commands:"]
  19572. 2107.96 s [opt-env-conf-test] : availableCommandsLines cs
  19573. 2107.96 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19574. 2107.96 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19575. 2107.96 s [opt-env-conf-test] [fore blue "available commands:"]
  19576. 2107.96 s [opt-env-conf-test] ]
  19577. 2107.96 s [opt-env-conf-test] ++ availableCommandsLines cs
  19578. 2107.96 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19579. 2107.96 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."],
  19580. 2107.96 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19581. 2107.96 s [opt-env-conf-test] ]
  19582. 2107.96 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19583. 2107.96 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  19584. 2107.96 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19585. 2107.96 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19586. 2107.96 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19587. 2107.96 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19588. 2107.96 s [opt-env-conf-test] ]
  19589. 2107.96 s [opt-env-conf-test]
  19590. 2107.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  19591. 2107.96 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  19592. 2107.96 s [opt-env-conf-test] instance Validity Arg where
  19593. 2107.96 s [opt-env-conf-test] validate arg =
  19594. 2107.96 s [opt-env-conf-test] mconcat
  19595. 2107.96 s [opt-env-conf-test] - [ genericValidate arg,
  19596. 2107.96 s [opt-env-conf-test] case arg of
  19597. 2107.96 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19598. 2107.96 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  19599. 2107.96 s [opt-env-conf-test] ('-' : _) -> False
  19600. 2107.96 s [opt-env-conf-test] _ -> True
  19601. 2107.96 s [opt-env-conf-test] _ -> valid
  19602. 2107.96 s [opt-env-conf-test] ]
  19603. 2107.96 s [opt-env-conf-test]
  19604. 2107.96 s [opt-env-conf-test] instance IsString Arg where
  19605. 2107.96 s [opt-env-conf-test] fromString = parseArg
  19606. 2107.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  19607. 2107.96 s [opt-env-conf-test] @@ -80,65 +80,7 @@
  19608. 2107.96 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19609. 2107.96 s [opt-env-conf-test] renderError ParseError {..} =
  19610. 2107.96 s [opt-env-conf-test] concat
  19611. 2107.96 s [opt-env-conf-test] - [ case parseErrorMessage of
  19612. 2107.96 s [opt-env-conf-test] - ParseErrorEmpty ->
  19613. 2107.96 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19614. 2107.96 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  19615. 2107.96 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  19616. 2107.96 s [opt-env-conf-test] - ParseErrorNoReaders ->
  19617. 2107.96 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  19618. 2107.96 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  19619. 2107.96 s [opt-env-conf-test] - ]
  19620. 2107.96 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  19621. 2107.96 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  19622. 2107.96 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  19623. 2107.96 s [opt-env-conf-test] - [ "Missing argument: "
  19624. 2107.96 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  19625. 2107.96 s [opt-env-conf-test] - ]
  19626. 2107.96 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  19627. 2107.96 s [opt-env-conf-test] - ["Failed to read argument: "]
  19628. 2107.96 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19629. 2107.96 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19630. 2107.97 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  19631. 2107.97 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19632. 2107.97 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  19633. 2107.97 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19634. 2107.97 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  19635. 2107.97 s [opt-env-conf-test] - ["Failed to read option: "]
  19636. 2107.97 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19637. 2107.97 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19638. 2107.97 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  19639. 2107.97 s [opt-env-conf-test] - ["Missing env var: "]
  19640. 2107.97 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19641. 2107.97 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  19642. 2107.97 s [opt-env-conf-test] - ["Failed to read env var: "]
  19643. 2107.97 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19644. 2108.06 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19645. 2108.07 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  19646. 2108.07 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  19647. 2108.07 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  19648. 2108.07 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  19649. 2108.07 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  19650. 2108.07 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  19651. 2108.07 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  19652. 2108.07 s [opt-env-conf-test] - ["Missing command, available commands:"]
  19653. 2108.07 s [opt-env-conf-test] - : availableCommandsLines cs
  19654. 2108.07 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  19655. 2108.07 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19656. 2108.07 s [opt-env-conf-test] - [fore blue "available commands:"]
  19657. 2108.07 s [opt-env-conf-test] - ]
  19658. 2108.07 s [opt-env-conf-test] - ++ availableCommandsLines cs
  19659. 2108.07 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  19660. 2108.07 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."],
  19661. 2108.07 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  19662. 2108.07 s [opt-env-conf-test] - ]
  19663. 2108.07 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  19664. 2108.07 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  19665. 2108.07 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19666. 2108.07 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  19667. 2108.07 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19668. 2108.07 s [opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19669. 2108.07 s [opt-env-conf-test] ]
  19670. 2108.07 s [opt-env-conf-test]
  19671. 2108.07 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19672. 2108.07 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19673. 2108.07 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  19674. 2108.07 s [opt-env-conf-test] @@ -80,65 +80,8 @@
  19675. 2108.07 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19676. 2108.07 s [opt-env-conf-test] renderError ParseError {..} =
  19677. 2108.07 s [opt-env-conf-test] concat
  19678. 2108.07 s [opt-env-conf-test] - [ case parseErrorMessage of
  19679. 2108.07 s [opt-env-conf-test] - ParseErrorEmpty ->
  19680. 2108.07 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19681. 2108.07 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  19682. 2108.07 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  19683. 2108.07 s [opt-env-conf-test] - ParseErrorNoReaders ->
  19684. 2108.07 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  19685. 2108.07 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  19686. 2108.07 s [opt-env-conf-test] - ]
  19687. 2108.07 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  19688. 2108.07 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  19689. 2108.07 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  19690. 2108.07 s [opt-env-conf-test] - [ "Missing argument: "
  19691. 2108.07 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  19692. 2108.08 s [opt-env-conf-test] - ]
  19693. 2108.08 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  19694. 2108.08 s [opt-env-conf-test] - ["Failed to read argument: "]
  19695. 2108.08 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19696. 2108.08 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19697. 2108.08 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  19698. 2108.08 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19699. 2108.08 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  19700. 2108.08 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19701. 2108.08 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  19702. 2108.08 s [opt-env-conf-test] - ["Failed to read option: "]
  19703. 2108.08 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19704. 2108.08 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19705. 2108.08 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  19706. 2108.08 s [opt-env-conf-test] - ["Missing env var: "]
  19707. 2108.08 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19708. 2108.08 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  19709. 2108.08 s [opt-env-conf-test] - ["Failed to read env var: "]
  19710. 2108.08 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19711. 2108.38 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19712. 2108.38 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  19713. 2108.38 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  19714. 2108.38 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  19715. 2108.38 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  19716. 2108.38 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  19717. 2108.38 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  19718. 2108.39 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  19719. 2108.39 s [opt-env-conf-test] - ["Missing command, available commands:"]
  19720. 2108.39 s [opt-env-conf-test] - : availableCommandsLines cs
  19721. 2108.39 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  19722. 2108.39 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19723. 2108.39 s [opt-env-conf-test] - [fore blue "available commands:"]
  19724. 2108.39 s [opt-env-conf-test] - ]
  19725. 2108.39 s [opt-env-conf-test] - ++ availableCommandsLines cs
  19726. 2108.39 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  19727. 2108.39 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."],
  19728. 2108.39 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  19729. 2108.39 s [opt-env-conf-test] - ]
  19730. 2108.39 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  19731. 2108.39 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  19732. 2108.39 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19733. 2108.39 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  19734. 2108.39 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19735. 2108.39 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19736. 2108.39 s [opt-env-conf-test] ]
  19737. 2108.39 s [opt-env-conf-test]
  19738. 2108.39 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19739. 2108.39 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19740. 2108.39 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
  19741. 2108.39 s [opt-env-conf-test] @@ -49,7 +49,7 @@
  19742. 2108.39 s [opt-env-conf-test]
  19743. 2108.39 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  19744. 2108.39 s [opt-env-conf-test] errorMessageIsForgivable = \case
  19745. 2108.39 s [opt-env-conf-test] - ParseErrorEmpty -> True
  19746. 2108.39 s [opt-env-conf-test] + ParseErrorEmpty -> False
  19747. 2108.39 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19748. 2108.39 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19749. 2108.39 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19750. 2108.39 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
  19751. 2108.39 s [opt-env-conf-test] @@ -50,7 +50,7 @@
  19752. 2108.39 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  19753. 2108.39 s [opt-env-conf-test] errorMessageIsForgivable = \case
  19754. 2108.39 s [opt-env-conf-test] ParseErrorEmpty -> True
  19755. 2108.39 s [opt-env-conf-test] - ParseErrorEmptySetting -> False
  19756. 2108.39 s [opt-env-conf-test] + ParseErrorEmptySetting -> True
  19757. 2108.39 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19758. 2108.39 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19759. 2108.39 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19760. 2108.39 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
  19761. 2108.39 s [opt-env-conf-test] @@ -51,7 +51,7 @@
  19762. 2108.39 s [opt-env-conf-test] errorMessageIsForgivable = \case
  19763. 2108.39 s [opt-env-conf-test] ParseErrorEmpty -> True
  19764. 2108.39 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19765. 2108.39 s [opt-env-conf-test] - ParseErrorNoReaders -> False
  19766. 2108.39 s [opt-env-conf-test] + ParseErrorNoReaders -> True
  19767. 2108.39 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19768. 2108.39 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19769. 2108.39 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19770. 2108.39 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  19771. 2108.39 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  19772. 2108.39 s [opt-env-conf-test] instance Validity Arg where
  19773. 2108.39 s [opt-env-conf-test] validate arg =
  19774. 2108.39 s [opt-env-conf-test] mconcat
  19775. 2108.39 s [opt-env-conf-test] - [ genericValidate arg,
  19776. 2108.39 s [opt-env-conf-test] - case arg of
  19777. 2108.39 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19778. 2108.39 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  19779. 2108.39 s [opt-env-conf-test] - ('-' : _) -> False
  19780. 2108.39 s [opt-env-conf-test] - _ -> True
  19781. 2108.39 s [opt-env-conf-test] - _ -> valid
  19782. 2108.39 s [opt-env-conf-test] ]
  19783. 2108.39 s [opt-env-conf-test]
  19784. 2108.39 s [opt-env-conf-test] instance IsString Arg where
  19785. 2108.39 s [opt-env-conf-test] fromString = parseArg
  19786. 2108.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  19787. 2108.39 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  19788. 2108.39 s [opt-env-conf-test] validate arg =
  19789. 2108.39 s [opt-env-conf-test] mconcat
  19790. 2108.39 s [opt-env-conf-test] [ genericValidate arg,
  19791. 2108.39 s [opt-env-conf-test] case arg of
  19792. 2108.39 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19793. 2108.39 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  19794. 2108.39 s [opt-env-conf-test] ('-' : _) -> False
  19795. 2108.39 s [opt-env-conf-test] _ -> True
  19796. 2108.39 s [opt-env-conf-test] - _ -> valid
  19797. 2108.39 s [opt-env-conf-test] ]
  19798. 2108.39 s [opt-env-conf-test]
  19799. 2108.39 s [opt-env-conf-test] instance IsString Arg where
  19800. 2108.39 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
  19801. 2108.39 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  19802. 2108.39 s [opt-env-conf-test] ParseErrorEmpty -> True
  19803. 2108.39 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19804. 2108.39 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19805. 2108.39 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  19806. 2108.39 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> not (forgivable)
  19807. 2108.39 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19808. 2108.39 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19809. 2108.39 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19810. 2108.39 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
  19811. 2108.39 s [opt-env-conf-test] @@ -53,7 +53,7 @@
  19812. 2108.39 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19813. 2108.39 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19814. 2108.39 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19815. 2108.39 s [opt-env-conf-test] - ParseErrorMissingArgument _ -> True
  19816. 2108.39 s [opt-env-conf-test] + ParseErrorMissingArgument _ -> False
  19817. 2108.39 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19818. 2108.39 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19819. 2108.39 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19820. 2108.39 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  19821. 2108.39 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  19822. 2108.39 s [opt-env-conf-test]
  19823. 2108.39 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19824. 2108.39 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19825. 2108.39 s [opt-env-conf-test] [ commandChunk commandDocArgument,
  19826. 2108.39 s [opt-env-conf-test] ": ",
  19827. 2108.40 s [opt-env-conf-test] - helpChunk commandDocHelp
  19828. 2108.40 s [opt-env-conf-test] ]
  19829. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
  19830. 2108.40 s [opt-env-conf-test] @@ -54,7 +54,7 @@
  19831. 2108.40 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19832. 2108.40 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19833. 2108.40 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19834. 2108.40 s [opt-env-conf-test] - ParseErrorArgumentRead _ _ -> False
  19835. 2108.40 s [opt-env-conf-test] + ParseErrorArgumentRead _ _ -> True
  19836. 2108.40 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19837. 2108.40 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19838. 2108.40 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19839. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
  19840. 2108.40 s [opt-env-conf-test] @@ -56,7 +56,7 @@
  19841. 2108.40 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19842. 2108.40 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19843. 2108.40 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19844. 2108.40 s [opt-env-conf-test] - ParseErrorOptionRead _ _ -> False
  19845. 2108.40 s [opt-env-conf-test] + ParseErrorOptionRead _ _ -> True
  19846. 2108.40 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19847. 2108.40 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19848. 2108.40 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19849. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
  19850. 2108.40 s [opt-env-conf-test] @@ -57,7 +57,7 @@
  19851. 2108.40 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19852. 2108.40 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19853. 2108.40 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19854. 2108.40 s [opt-env-conf-test] - ParseErrorMissingOption _ -> True
  19855. 2108.40 s [opt-env-conf-test] + ParseErrorMissingOption _ -> False
  19856. 2108.40 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19857. 2108.40 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19858. 2108.40 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19859. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
  19860. 2108.40 s [opt-env-conf-test] @@ -58,7 +58,7 @@
  19861. 2108.40 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19862. 2108.40 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19863. 2108.40 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19864. 2108.40 s [opt-env-conf-test] - ParseErrorMissingEnvVar _ -> True
  19865. 2108.40 s [opt-env-conf-test] + ParseErrorMissingEnvVar _ -> False
  19866. 2108.40 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19867. 2108.40 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19868. 2108.40 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19869. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
  19870. 2108.40 s [opt-env-conf-test] @@ -59,7 +59,7 @@
  19871. 2108.40 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19872. 2108.40 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19873. 2108.40 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19874. 2108.40 s [opt-env-conf-test] - ParseErrorEnvRead _ _ -> False
  19875. 2108.40 s [opt-env-conf-test] + ParseErrorEnvRead _ _ -> True
  19876. 2108.40 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19877. 2108.40 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19878. 2108.40 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  19879. 2108.40 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
  19880. 2108.40 s [opt-env-conf-test] @@ -60,7 +60,7 @@
  19881. 2108.40 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19882. 2108.40 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19883. 2108.40 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19884. 2108.40 s [opt-env-conf-test] - ParseErrorMissingConfVal _ -> True
  19885. 2108.40 s [opt-env-conf-test] + ParseErrorMissingConfVal _ -> False
  19886. 2108.40 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19887. 2112.23 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  19888. 2112.23 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19889. 2112.37 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
  19890. 2112.37 s [opt-env-conf-test] @@ -61,7 +61,7 @@
  19891. 2112.37 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19892. 2112.37 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19893. 2112.37 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19894. 2112.37 s [opt-env-conf-test] - ParseErrorConfigRead _ _ -> False
  19895. 2112.37 s [opt-env-conf-test] + ParseErrorConfigRead _ _ -> True
  19896. 2112.37 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  19897. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19898. 2112.38 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19899. 2112.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  19900. 2112.38 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19901. 2112.38 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19902. 2112.38 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19903. 2112.38 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19904. 2112.38 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19905. 2112.38 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ True
  19906. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19907. 2112.38 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19908. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19909. 2112.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  19910. 2112.38 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19911. 2112.38 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19912. 2112.38 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19913. 2112.38 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19914. 2112.38 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19915. 2112.38 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  19916. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19917. 2112.38 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19918. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19919. 2112.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  19920. 2112.38 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  19921. 2112.38 s [opt-env-conf-test] ParseErrorEmpty -> True
  19922. 2112.38 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19923. 2112.38 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19924. 2112.38 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  19925. 2112.38 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> True
  19926. 2112.38 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19927. 2112.38 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19928. 2112.38 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19929. 2112.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  19930. 2112.38 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  19931. 2112.38 s [opt-env-conf-test] ParseErrorEmpty -> True
  19932. 2112.38 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  19933. 2112.38 s [opt-env-conf-test] ParseErrorNoReaders -> False
  19934. 2112.38 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  19935. 2112.38 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> False
  19936. 2112.38 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19937. 2112.38 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19938. 2112.38 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  19939. 2112.38 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
  19940. 2112.38 s [opt-env-conf-test] @@ -55,7 +55,7 @@
  19941. 2112.38 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  19942. 2112.38 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  19943. 2112.38 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  19944. 2112.38 s [opt-env-conf-test] - ParseErrorMissingSwitch _ -> True
  19945. 2112.38 s [opt-env-conf-test] + ParseErrorMissingSwitch _ -> False
  19946. 2112.38 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  19947. 2112.38 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  19948. 2112.38 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  19949. 2112.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  19950. 2112.38 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19951. 2112.38 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19952. 2112.38 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19953. 2112.38 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19954. 2112.38 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19955. 2112.38 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  19956. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19957. 2112.38 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19958. 2112.38 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19959. 2112.38 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
  19960. 2112.39 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19961. 2112.39 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19962. 2112.39 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19963. 2112.39 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19964. 2112.39 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19965. 2112.39 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ not (null cs)
  19966. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19967. 2112.39 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19968. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19969. 2112.39 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  19970. 2112.39 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19971. 2112.39 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19972. 2112.39 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19973. 2112.39 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19974. 2112.39 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19975. 2112.39 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> False
  19976. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19977. 2112.39 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19978. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19979. 2112.39 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
  19980. 2112.39 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19981. 2112.39 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  19982. 2112.39 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  19983. 2112.39 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  19984. 2112.39 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  19985. 2112.39 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not (not $ null cs)
  19986. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  19987. 2112.39 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  19988. 2112.39 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  19989. 2112.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  19990. 2112.39 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  19991. 2112.39 s [opt-env-conf-test] validate arg =
  19992. 2112.39 s [opt-env-conf-test] mconcat
  19993. 2112.39 s [opt-env-conf-test] [ genericValidate arg,
  19994. 2112.39 s [opt-env-conf-test] case arg of
  19995. 2112.39 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19996. 2112.39 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  19997. 2112.39 s [opt-env-conf-test] - ('-' : _) -> False
  19998. 2112.39 s [opt-env-conf-test] - _ -> True
  19999. 2112.39 s [opt-env-conf-test] _ -> valid
  20000. 2112.39 s [opt-env-conf-test] ]
  20001. 2112.39 s [opt-env-conf-test]
  20002. 2112.39 s [opt-env-conf-test] instance IsString Arg where
  20003. 2112.39 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
  20004. 2112.39 s [opt-env-conf-test] @@ -71,7 +71,7 @@
  20005. 2112.39 s [opt-env-conf-test] runListTLazy = fmap g . unListT
  20006. 2112.39 s [opt-env-conf-test] where
  20007. 2112.39 s [opt-env-conf-test] g MNil = Nothing
  20008. 2112.39 s [opt-env-conf-test] - g (x `MCons` xs) = Just (x, ListT xs)
  20009. 2112.39 s [opt-env-conf-test] + g (x `MCons` xs) = Nothing
  20010. 2112.39 s [opt-env-conf-test]
  20011. 2112.39 s [opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
  20012. 2112.39 s [opt-env-conf-test] runListTComplete = unListT >=> go
  20013. 2112.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20014. 2112.39 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20015. 2112.39 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20016. 2112.39 s [opt-env-conf-test] renderError ParseError {..} =
  20017. 2112.39 s [opt-env-conf-test] concat
  20018. 2112.39 s [opt-env-conf-test] [ case parseErrorMessage of
  20019. 2112.39 s [opt-env-conf-test] ParseErrorEmpty ->
  20020. 2112.39 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20021. 2112.39 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20022. 2112.39 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20023. 2112.39 s [opt-env-conf-test] ParseErrorNoReaders ->
  20024. 2112.39 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20025. 2112.39 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20026. 2112.39 s [opt-env-conf-test] ]
  20027. 2112.39 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20028. 2112.39 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20029. 2112.39 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20030. 2112.39 s [opt-env-conf-test] [ "Missing argument: "
  20031. 2112.39 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20032. 2112.40 s [opt-env-conf-test] ]
  20033. 2112.40 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20034. 2112.40 s [opt-env-conf-test] ["Failed to read argument: "]
  20035. 2112.40 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20036. 2112.40 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20037. 2112.40 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20038. 2112.40 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20039. 2112.40 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20040. 2112.40 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20041. 2112.40 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20042. 2112.40 s [opt-env-conf-test] ["Failed to read option: "]
  20043. 2112.40 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20044. 2112.40 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20045. 2112.40 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20046. 2112.40 s [opt-env-conf-test] ["Missing env var: "]
  20047. 2112.40 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20048. 2112.40 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20049. 2112.40 s [opt-env-conf-test] ["Failed to read env var: "]
  20050. 2112.40 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20051. 2112.40 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20052. 2112.40 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20053. 2112.40 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20054. 2112.40 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20055. 2112.40 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20056. 2112.40 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20057. 2112.40 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20058. 2112.40 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20059. 2112.40 s [opt-env-conf-test] ["Missing command, available commands:"]
  20060. 2112.40 s [opt-env-conf-test] : availableCommandsLines cs
  20061. 2112.40 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20062. 2112.40 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20063. 2112.40 s [opt-env-conf-test] [fore blue "available commands:"]
  20064. 2112.40 s [opt-env-conf-test] ]
  20065. 2112.40 s [opt-env-conf-test] ++ availableCommandsLines cs
  20066. 2112.40 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20067. 2112.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."],
  20068. 2112.40 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20069. 2112.40 s [opt-env-conf-test] ]
  20070. 2112.40 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20071. 2112.40 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20072. 2112.40 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20073. 2112.40 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20074. 2112.40 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20075. 2112.40 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20076. 2112.40 s [opt-env-conf-test] ]
  20077. 2112.40 s [opt-env-conf-test]
  20078. 2112.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20079. 2112.40 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  20080. 2112.40 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20081. 2112.40 s [opt-env-conf-test] renderError ParseError {..} =
  20082. 2112.40 s [opt-env-conf-test] concat
  20083. 2112.40 s [opt-env-conf-test] [ case parseErrorMessage of
  20084. 2112.40 s [opt-env-conf-test] ParseErrorEmpty ->
  20085. 2112.40 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20086. 2112.40 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20087. 2112.40 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20088. 2112.40 s [opt-env-conf-test] ParseErrorNoReaders ->
  20089. 2112.40 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20090. 2112.40 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20091. 2112.40 s [opt-env-conf-test] ]
  20092. 2112.40 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20093. 2112.40 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20094. 2112.40 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20095. 2112.40 s [opt-env-conf-test] [ "Missing argument: "
  20096. 2112.40 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20097. 2112.40 s [opt-env-conf-test] ]
  20098. 2112.40 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20099. 2112.40 s [opt-env-conf-test] ["Failed to read argument: "]
  20100. 2112.40 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20101. 2112.40 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20102. 2112.40 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20103. 2112.40 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20104. 2112.40 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20105. 2112.40 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20106. 2112.40 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20107. 2112.40 s [opt-env-conf-test] ["Failed to read option: "]
  20108. 2112.40 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20109. 2112.40 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20110. 2112.40 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20111. 2112.40 s [opt-env-conf-test] ["Missing env var: "]
  20112. 2112.40 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20113. 2112.40 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20114. 2112.40 s [opt-env-conf-test] ["Failed to read env var: "]
  20115. 2112.40 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20116. 2112.40 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20117. 2112.40 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20118. 2112.40 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20119. 2112.40 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20120. 2112.40 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20121. 2112.40 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20122. 2112.40 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20123. 2112.40 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20124. 2112.40 s [opt-env-conf-test] ["Missing command, available commands:"]
  20125. 2112.40 s [opt-env-conf-test] : availableCommandsLines cs
  20126. 2112.40 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20127. 2112.40 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20128. 2112.40 s [opt-env-conf-test] [fore blue "available commands:"]
  20129. 2112.40 s [opt-env-conf-test] ]
  20130. 2112.40 s [opt-env-conf-test] ++ availableCommandsLines cs
  20131. 2112.40 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  20132. 2112.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."],
  20133. 2112.41 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  20134. 2112.41 s [opt-env-conf-test] - ]
  20135. 2112.41 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  20136. 2112.41 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20137. 2112.41 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20138. 2112.41 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20139. 2112.41 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20140. 2112.41 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20141. 2112.41 s [opt-env-conf-test] ]
  20142. 2112.41 s [opt-env-conf-test]
  20143. 2112.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20144. 2112.41 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20145. 2112.41 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20146. 2112.41 s [opt-env-conf-test] renderError ParseError {..} =
  20147. 2112.41 s [opt-env-conf-test] concat
  20148. 2112.41 s [opt-env-conf-test] [ case parseErrorMessage of
  20149. 2112.41 s [opt-env-conf-test] ParseErrorEmpty ->
  20150. 2112.41 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20151. 2112.41 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20152. 2112.41 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20153. 2112.41 s [opt-env-conf-test] ParseErrorNoReaders ->
  20154. 2112.41 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20155. 2112.41 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20156. 2112.41 s [opt-env-conf-test] ]
  20157. 2112.41 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20158. 2112.41 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20159. 2112.41 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20160. 2112.41 s [opt-env-conf-test] [ "Missing argument: "
  20161. 2112.41 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20162. 2112.41 s [opt-env-conf-test] ]
  20163. 2112.41 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20164. 2112.41 s [opt-env-conf-test] ["Failed to read argument: "]
  20165. 2112.41 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20166. 2112.41 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20167. 2112.41 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20168. 2112.41 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20169. 2112.41 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20170. 2112.41 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20171. 2112.41 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20172. 2112.41 s [opt-env-conf-test] ["Failed to read option: "]
  20173. 2112.41 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20174. 2112.41 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20175. 2112.41 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20176. 2112.41 s [opt-env-conf-test] ["Missing env var: "]
  20177. 2112.41 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20178. 2112.41 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20179. 2112.41 s [opt-env-conf-test] ["Failed to read env var: "]
  20180. 2112.41 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20181. 2112.41 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20182. 2112.41 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  20183. 2112.41 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  20184. 2112.41 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20185. 2112.88 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20186. 2112.88 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20187. 2112.88 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20188. 2112.88 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20189. 2112.89 s [opt-env-conf-test] ["Missing command, available commands:"]
  20190. 2112.89 s [opt-env-conf-test] : availableCommandsLines cs
  20191. 2112.89 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20192. 2112.89 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20193. 2112.89 s [opt-env-conf-test] [fore blue "available commands:"]
  20194. 2112.89 s [opt-env-conf-test] ]
  20195. 2112.89 s [opt-env-conf-test] ++ availableCommandsLines cs
  20196. 2112.89 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20197. 2112.89 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."],
  20198. 2112.89 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20199. 2112.89 s [opt-env-conf-test] ]
  20200. 2112.89 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20201. 2112.89 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20202. 2112.89 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20203. 2112.89 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20204. 2112.89 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20205. 2112.89 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20206. 2112.89 s [opt-env-conf-test] ]
  20207. 2112.89 s [opt-env-conf-test]
  20208. 2112.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20209. 2112.89 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20210. 2112.89 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20211. 2112.89 s [opt-env-conf-test] renderError ParseError {..} =
  20212. 2112.89 s [opt-env-conf-test] concat
  20213. 2112.89 s [opt-env-conf-test] [ case parseErrorMessage of
  20214. 2112.89 s [opt-env-conf-test] ParseErrorEmpty ->
  20215. 2112.89 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20216. 2112.89 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20217. 2112.89 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20218. 2112.89 s [opt-env-conf-test] ParseErrorNoReaders ->
  20219. 2112.89 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20220. 2112.89 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20221. 2112.89 s [opt-env-conf-test] ]
  20222. 2112.89 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20223. 2112.89 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20224. 2112.89 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20225. 2112.89 s [opt-env-conf-test] [ "Missing argument: "
  20226. 2112.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20227. 2112.89 s [opt-env-conf-test] ]
  20228. 2112.89 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20229. 2112.89 s [opt-env-conf-test] ["Failed to read argument: "]
  20230. 2112.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20231. 2112.89 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20232. 2112.89 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20233. 2112.89 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20234. 2112.89 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20235. 2112.89 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20236. 2112.89 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20237. 2112.89 s [opt-env-conf-test] ["Failed to read option: "]
  20238. 2112.89 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20239. 2112.89 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20240. 2112.89 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20241. 2112.89 s [opt-env-conf-test] ["Missing env var: "]
  20242. 2112.89 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20243. 2112.89 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20244. 2112.89 s [opt-env-conf-test] ["Failed to read env var: "]
  20245. 2112.89 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20246. 2112.89 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20247. 2112.89 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20248. 2112.89 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20249. 2112.89 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20250. 2115.04 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20251. 2115.04 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20252. 2115.04 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20253. 2115.04 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20254. 2115.04 s [opt-env-conf-test] ["Missing command, available commands:"]
  20255. 2115.04 s [opt-env-conf-test] : availableCommandsLines cs
  20256. 2115.04 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20257. 2115.04 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20258. 2115.04 s [opt-env-conf-test] [fore blue "available commands:"]
  20259. 2115.04 s [opt-env-conf-test] ]
  20260. 2115.04 s [opt-env-conf-test] ++ availableCommandsLines cs
  20261. 2115.04 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20262. 2115.04 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."],
  20263. 2115.04 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20264. 2115.04 s [opt-env-conf-test] ]
  20265. 2115.04 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20266. 2115.04 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20267. 2115.04 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20268. 2115.05 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20269. 2115.05 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20270. 2115.05 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20271. 2115.05 s [opt-env-conf-test] ]
  20272. 2115.05 s [opt-env-conf-test]
  20273. 2115.05 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
  20274. 2115.05 s [opt-env-conf-test] @@ -244,7 +244,7 @@
  20275. 2115.05 s [opt-env-conf-test] (Live v : rest') ->
  20276. 2115.05 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  20277. 2115.05 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  20278. 2115.05 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  20279. 2115.05 s [opt-env-conf-test] + Just Nothing -> Nothing
  20280. 2115.05 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  20281. 2115.05 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  20282. 2115.05 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  20283. 2115.05 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20284. 2115.05 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20285. 2115.05 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20286. 2115.05 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20287. 2115.05 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20288. 2115.05 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20289. 2115.05 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20290. 2115.05 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20291. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20292. 2115.05 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20293. 2115.05 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
  20294. 2115.05 s [opt-env-conf-test] @@ -66,7 +66,7 @@
  20295. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20296. 2115.05 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20297. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20298. 2115.05 s [opt-env-conf-test] - ParseErrorMissingCapability _ -> False
  20299. 2115.05 s [opt-env-conf-test] + ParseErrorMissingCapability _ -> True
  20300. 2115.05 s [opt-env-conf-test]
  20301. 2115.05 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  20302. 2115.05 s [opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
  20303. 2115.05 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
  20304. 2115.05 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  20305. 2115.05 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20306. 2115.05 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20307. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20308. 2115.05 s [opt-env-conf-test] - ParseErrorAllOrNothing _ -> False
  20309. 2115.05 s [opt-env-conf-test] + ParseErrorAllOrNothing _ -> True
  20310. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20311. 2115.05 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20312. 2115.05 s [opt-env-conf-test]
  20313. 2115.05 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
  20314. 2115.05 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  20315. 2115.05 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20316. 2115.05 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20317. 2115.05 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20318. 2115.05 s [opt-env-conf-test] - ParseErrorUnrecognised _ -> False
  20319. 2115.05 s [opt-env-conf-test] + ParseErrorUnrecognised _ -> True
  20320. 2115.05 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20321. 2115.05 s [opt-env-conf-test]
  20322. 2115.05 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  20323. 2115.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  20324. 2115.05 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  20325. 2115.05 s [opt-env-conf-test] [ genericValidate arg,
  20326. 2115.05 s [opt-env-conf-test] case arg of
  20327. 2115.05 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20328. 2115.05 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20329. 2115.05 s [opt-env-conf-test] ('-' : _) -> False
  20330. 2115.05 s [opt-env-conf-test] - _ -> True
  20331. 2115.05 s [opt-env-conf-test] _ -> valid
  20332. 2115.05 s [opt-env-conf-test] ]
  20333. 2115.05 s [opt-env-conf-test]
  20334. 2115.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  20335. 2115.05 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  20336. 2115.05 s [opt-env-conf-test] [ genericValidate arg,
  20337. 2115.05 s [opt-env-conf-test] case arg of
  20338. 2115.05 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20339. 2115.05 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20340. 2115.05 s [opt-env-conf-test] - ('-' : _) -> False
  20341. 2115.05 s [opt-env-conf-test] _ -> True
  20342. 2115.05 s [opt-env-conf-test] _ -> valid
  20343. 2115.05 s [opt-env-conf-test] ]
  20344. 2115.05 s [opt-env-conf-test]
  20345. 2115.05 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  20346. 2115.05 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  20347. 2115.05 s [opt-env-conf-test] validate arg =
  20348. 2115.05 s [opt-env-conf-test] mconcat
  20349. 2115.05 s [opt-env-conf-test] [ genericValidate arg,
  20350. 2115.05 s [opt-env-conf-test] case arg of
  20351. 2115.05 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20352. 2115.05 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20353. 2115.05 s [opt-env-conf-test] ('-' : _) -> False
  20354. 2115.05 s [opt-env-conf-test] _ -> True
  20355. 2115.05 s [opt-env-conf-test] _ -> valid
  20356. 2115.05 s [opt-env-conf-test] ]
  20357. 2115.05 s [opt-env-conf-test]
  20358. 2115.05 s [opt-env-conf-test] instance IsString Arg where
  20359. 2115.05 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
  20360. 2115.05 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20361. 2115.05 s [opt-env-conf-test] [ genericValidate arg,
  20362. 2115.05 s [opt-env-conf-test] case arg of
  20363. 2115.05 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20364. 2115.05 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20365. 2115.05 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ not (case s of
  20366. 2115.05 s [opt-env-conf-test] ('-' : _) -> False
  20367. 2115.05 s [opt-env-conf-test] - _ -> True
  20368. 2115.05 s [opt-env-conf-test] + _ -> True)
  20369. 2115.05 s [opt-env-conf-test] _ -> valid
  20370. 2115.05 s [opt-env-conf-test] ]
  20371. 2115.05 s [opt-env-conf-test]
  20372. 2115.05 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  20373. 2115.05 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20374. 2115.05 s [opt-env-conf-test] [ genericValidate arg,
  20375. 2115.05 s [opt-env-conf-test] case arg of
  20376. 2115.05 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20377. 2115.05 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20378. 2115.05 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
  20379. 2115.06 s [opt-env-conf-test] ('-' : _) -> False
  20380. 2115.06 s [opt-env-conf-test] _ -> True
  20381. 2115.06 s [opt-env-conf-test] _ -> valid
  20382. 2115.06 s [opt-env-conf-test] ]
  20383. 2115.06 s [opt-env-conf-test]
  20384. 2115.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  20385. 2115.06 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20386. 2115.06 s [opt-env-conf-test] [ genericValidate arg,
  20387. 2115.06 s [opt-env-conf-test] case arg of
  20388. 2115.06 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20389. 2115.06 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20390. 2115.06 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
  20391. 2115.06 s [opt-env-conf-test] ('-' : _) -> False
  20392. 2115.06 s [opt-env-conf-test] _ -> True
  20393. 2115.06 s [opt-env-conf-test] _ -> valid
  20394. 2115.06 s [opt-env-conf-test] ]
  20395. 2115.06 s [opt-env-conf-test]
  20396. 2115.06 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20397. 2115.06 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20398. 2115.06 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20399. 2115.06 s [opt-env-conf-test] renderError ParseError {..} =
  20400. 2115.06 s [opt-env-conf-test] concat
  20401. 2115.06 s [opt-env-conf-test] [ case parseErrorMessage of
  20402. 2115.06 s [opt-env-conf-test] ParseErrorEmpty ->
  20403. 2115.06 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20404. 2115.06 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20405. 2115.06 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20406. 2115.06 s [opt-env-conf-test] ParseErrorNoReaders ->
  20407. 2115.06 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20408. 2115.06 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20409. 2115.06 s [opt-env-conf-test] ]
  20410. 2115.06 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20411. 2115.06 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20412. 2115.06 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20413. 2115.06 s [opt-env-conf-test] [ "Missing argument: "
  20414. 2115.06 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20415. 2115.06 s [opt-env-conf-test] ]
  20416. 2115.06 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20417. 2115.06 s [opt-env-conf-test] ["Failed to read argument: "]
  20418. 2115.06 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20419. 2115.06 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20420. 2115.06 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20421. 2115.06 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20422. 2115.06 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20423. 2115.06 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20424. 2115.06 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20425. 2115.06 s [opt-env-conf-test] ["Failed to read option: "]
  20426. 2115.06 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20427. 2115.06 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20428. 2115.06 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20429. 2115.06 s [opt-env-conf-test] ["Missing env var: "]
  20430. 2115.06 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20431. 2115.06 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20432. 2115.06 s [opt-env-conf-test] ["Failed to read env var: "]
  20433. 2115.06 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20434. 2115.06 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20435. 2115.06 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20436. 2115.06 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20437. 2115.06 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20438. 2121.12 s [opt-env-conf-test] ["Failed to parse configuraKilled: 1235
  20439. 2121.14 s [opt-env-conf-test] (of which timed out: 1)
  20440. 2121.14 s [opt-env-conf-test] Survived: 294
  20441. 2121.14 s [opt-env-conf-test] Uncovered: 381
  20442. 2121.14 s [opt-env-conf-test]
  20443. 2121.14 s [opt-env-conf-test] Timed-out mutations:
  20444. 2121.14 s [opt-env-conf-test]
  20445. 2121.14 s [opt-env-conf-test] [timed out after 30.214398s]
  20446. 2121.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  20447. 2121.14 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  20448. 2121.14 s [opt-env-conf-test] Nothing -> pure Nothing
  20449. 2121.14 s [opt-env-conf-test] Just os -> do
  20450. 2121.14 s [opt-env-conf-test] after <- get
  20451. 2121.14 s [opt-env-conf-test] - if after == before
  20452. 2121.14 s [opt-env-conf-test] + if False
  20453. 2121.14 s [opt-env-conf-test] then -- State did not advance; return these completions.
  20454. 2121.14 s [opt-env-conf-test] pure $ Just os
  20455. 2121.14 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  20456. 2121.14 s [opt-env-conf-test]
  20457. 2121.14 s [opt-env-conf-test] Surviving mutations:
  20458. 2121.14 s [opt-env-conf-test]
  20459. 2121.14 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20460. 2121.14 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20461. 2121.14 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20462. 2121.14 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20463. 2121.14 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20464. 2121.14 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20465. 2121.14 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20466. 2121.14 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20467. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20468. 2121.14 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20469. 2121.14 s [opt-env-conf-test]
  20470. 2121.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20471. 2121.14 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20472. 2121.14 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20473. 2121.14 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20474. 2121.14 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20475. 2121.14 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20476. 2121.14 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  20477. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20478. 2121.14 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20479. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20480. 2121.14 s [opt-env-conf-test]
  20481. 2121.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20482. 2121.14 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20483. 2121.14 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20484. 2121.14 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20485. 2121.14 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20486. 2121.14 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20487. 2121.14 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  20488. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20489. 2121.14 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20490. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20491. 2121.14 s [opt-env-conf-test]
  20492. 2121.14 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20493. 2121.14 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20494. 2121.14 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20495. 2121.14 s [opt-env-conf-test] renderError ParseError {..} =
  20496. 2121.14 s [opt-env-conf-test] concat
  20497. 2121.14 s [opt-env-conf-test] [ case parseErrorMessage of
  20498. 2121.14 s [opt-env-conf-test] ParseErrorEmpty ->
  20499. 2121.14 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20500. 2121.14 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20501. 2121.14 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20502. 2121.14 s [opt-env-conf-test] ParseErrorNoReaders ->
  20503. 2121.14 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20504. 2121.14 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20505. 2121.14 s [opt-env-conf-test] ]
  20506. 2121.14 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20507. 2121.14 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20508. 2121.14 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20509. 2121.14 s [opt-env-conf-test] [ "Missing argument: "
  20510. 2121.14 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20511. 2121.14 s [opt-env-conf-test] ]
  20512. 2121.14 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20513. 2121.14 s [opt-env-conf-test] ["Failed to read argument: "]
  20514. 2121.14 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20515. 2121.14 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20516. 2121.14 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20517. 2121.14 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20518. 2121.14 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20519. 2121.14 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20520. 2121.14 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20521. 2121.14 s [opt-env-conf-test] ["Failed to read option: "]
  20522. 2121.14 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20523. 2121.14 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20524. 2121.14 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20525. 2121.14 s [opt-env-conf-test] ["Missing env var: "]
  20526. 2121.14 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20527. 2121.14 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20528. 2121.14 s [opt-env-conf-test] ["Failed to read env var: "]
  20529. 2121.14 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20530. 2121.14 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20531. 2121.14 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20532. 2121.14 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20533. 2121.14 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20534. 2121.14 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20535. 2121.14 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20536. 2121.14 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20537. 2121.14 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20538. 2121.14 s [opt-env-conf-test] ["Missing command, available commands:"]
  20539. 2121.14 s [opt-env-conf-test] : availableCommandsLines cs
  20540. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20541. 2121.14 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20542. 2121.14 s [opt-env-conf-test] [fore blue "available commands:"]
  20543. 2121.14 s [opt-env-conf-test] ]
  20544. 2121.14 s [opt-env-conf-test] ++ availableCommandsLines cs
  20545. 2121.14 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20546. 2121.14 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."],
  20547. 2121.14 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20548. 2121.14 s [opt-env-conf-test] ]
  20549. 2121.14 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20550. 2121.14 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20551. 2121.14 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20552. 2121.14 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20553. 2121.14 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20554. 2121.15 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20555. 2121.15 s [opt-env-conf-test] ]
  20556. 2121.15 s [opt-env-conf-test]
  20557. 2121.15 s [opt-env-conf-test]
  20558. 2121.15 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20559. 2121.15 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20560. 2121.15 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20561. 2121.15 s [opt-env-conf-test] renderError ParseError {..} =
  20562. 2121.15 s [opt-env-conf-test] concat
  20563. 2121.15 s [opt-env-conf-test] [ case parseErrorMessage of
  20564. 2121.15 s [opt-env-conf-test] ParseErrorEmpty ->
  20565. 2121.15 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20566. 2121.15 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20567. 2121.15 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20568. 2121.15 s [opt-env-conf-test] ParseErrorNoReaders ->
  20569. 2121.15 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20570. 2121.15 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20571. 2121.15 s [opt-env-conf-test] ]
  20572. 2121.15 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20573. 2121.15 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20574. 2121.15 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20575. 2121.15 s [opt-env-conf-test] [ "Missing argument: "
  20576. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20577. 2121.15 s [opt-env-conf-test] ]
  20578. 2121.15 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20579. 2121.15 s [opt-env-conf-test] ["Failed to read argument: "]
  20580. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20581. 2121.15 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20582. 2121.15 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20583. 2121.15 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20584. 2121.15 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20585. 2121.15 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20586. 2121.15 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20587. 2121.15 s [opt-env-conf-test] ["Failed to read option: "]
  20588. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20589. 2121.15 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20590. 2121.15 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20591. 2121.15 s [opt-env-conf-test] ["Missing env var: "]
  20592. 2121.15 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20593. 2121.15 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20594. 2121.15 s [opt-env-conf-test] ["Failed to read env var: "]
  20595. 2121.15 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20596. 2121.15 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20597. 2121.15 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20598. 2121.15 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20599. 2121.15 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  20600. 2121.15 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  20601. 2121.15 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  20602. 2121.15 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  20603. 2121.15 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20604. 2121.15 s [opt-env-conf-test] ["Missing command, available commands:"]
  20605. 2121.15 s [opt-env-conf-test] : availableCommandsLines cs
  20606. 2121.15 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20607. 2121.15 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20608. 2121.15 s [opt-env-conf-test] [fore blue "available commands:"]
  20609. 2121.15 s [opt-env-conf-test] ]
  20610. 2121.15 s [opt-env-conf-test] ++ availableCommandsLines cs
  20611. 2121.15 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20612. 2121.15 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."],
  20613. 2121.15 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20614. 2121.15 s [opt-env-conf-test] ]
  20615. 2121.15 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20616. 2121.15 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20617. 2121.15 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20618. 2121.15 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20619. 2121.15 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20620. 2121.15 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20621. 2121.15 s [opt-env-conf-test] ]
  20622. 2121.15 s [opt-env-conf-test]
  20623. 2121.15 s [opt-env-conf-test]
  20624. 2121.15 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20625. 2121.15 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20626. 2121.15 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20627. 2121.15 s [opt-env-conf-test] renderError ParseError {..} =
  20628. 2121.15 s [opt-env-conf-test] concat
  20629. 2121.15 s [opt-env-conf-test] [ case parseErrorMessage of
  20630. 2121.15 s [opt-env-conf-test] ParseErrorEmpty ->
  20631. 2121.15 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20632. 2121.15 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20633. 2121.15 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20634. 2121.15 s [opt-env-conf-test] ParseErrorNoReaders ->
  20635. 2121.15 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20636. 2121.15 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20637. 2121.15 s [opt-env-conf-test] ]
  20638. 2121.15 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20639. 2121.15 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20640. 2121.15 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20641. 2121.15 s [opt-env-conf-test] [ "Missing argument: "
  20642. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20643. 2121.15 s [opt-env-conf-test] ]
  20644. 2121.15 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20645. 2121.15 s [opt-env-conf-test] ["Failed to read argument: "]
  20646. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20647. 2121.15 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20648. 2121.15 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20649. 2121.15 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20650. 2121.15 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20651. 2121.15 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20652. 2121.15 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20653. 2121.15 s [opt-env-conf-test] ["Failed to read option: "]
  20654. 2121.15 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20655. 2121.15 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20656. 2121.15 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20657. 2121.15 s [opt-env-conf-test] ["Missing env var: "]
  20658. 2121.15 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20659. 2121.15 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20660. 2121.15 s [opt-env-conf-test] ["Failed to read env var: "]
  20661. 2121.15 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20662. 2121.15 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20663. 2121.15 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  20664. 2121.15 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  20665. 2121.15 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20666. 2121.15 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20667. 2121.15 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20668. 2121.15 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20669. 2121.15 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20670. 2121.15 s [opt-env-conf-test] ["Missing command, available commands:"]
  20671. 2121.15 s [opt-env-conf-test] : availableCommandsLines cs
  20672. 2121.15 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20673. 2121.15 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20674. 2121.15 s [opt-env-conf-test] [fore blue "available commands:"]
  20675. 2121.15 s [opt-env-conf-test] ]
  20676. 2121.15 s [opt-env-conf-test] ++ availableCommandsLines cs
  20677. 2121.15 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20678. 2121.15 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."],
  20679. 2121.15 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20680. 2121.15 s [opt-env-conf-test] ]
  20681. 2121.15 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20682. 2121.15 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20683. 2121.15 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20684. 2121.15 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20685. 2121.15 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20686. 2121.15 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20687. 2121.15 s [opt-env-conf-test] ]
  20688. 2121.15 s [opt-env-conf-test]
  20689. 2121.16 s [opt-env-conf-test]
  20690. 2121.16 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20691. 2121.16 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20692. 2121.16 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20693. 2121.16 s [opt-env-conf-test] renderError ParseError {..} =
  20694. 2121.16 s [opt-env-conf-test] concat
  20695. 2121.16 s [opt-env-conf-test] [ case parseErrorMessage of
  20696. 2121.16 s [opt-env-conf-test] ParseErrorEmpty ->
  20697. 2121.16 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20698. 2121.16 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20699. 2121.16 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20700. 2121.16 s [opt-env-conf-test] ParseErrorNoReaders ->
  20701. 2121.16 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20702. 2121.16 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20703. 2121.16 s [opt-env-conf-test] ]
  20704. 2121.16 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20705. 2121.16 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20706. 2121.16 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20707. 2121.16 s [opt-env-conf-test] [ "Missing argument: "
  20708. 2121.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20709. 2121.16 s [opt-env-conf-test] ]
  20710. 2121.16 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20711. 2121.16 s [opt-env-conf-test] ["Failed to read argument: "]
  20712. 2121.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20713. 2121.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20714. 2121.16 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20715. 2121.16 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20716. 2121.16 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20717. 2121.16 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20718. 2121.16 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20719. 2121.16 s [opt-env-conf-test] ["Failed to read option: "]
  20720. 2121.16 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20721. 2121.16 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20722. 2121.16 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20723. 2121.16 s [opt-env-conf-test] ["Missing env var: "]
  20724. 2121.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20725. 2121.16 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20726. 2121.16 s [opt-env-conf-test] ["Failed to read env var: "]
  20727. 2121.16 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20728. 2121.16 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20729. 2121.16 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20730. 2121.16 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20731. 2121.16 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20732. 2121.16 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20733. 2121.16 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20734. 2121.16 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20735. 2121.16 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20736. 2121.16 s [opt-env-conf-test] ["Missing command, available commands:"]
  20737. 2121.16 s [opt-env-conf-test] : availableCommandsLines cs
  20738. 2121.16 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20739. 2121.16 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20740. 2121.16 s [opt-env-conf-test] [fore blue "available commands:"]
  20741. 2121.16 s [opt-env-conf-test] ]
  20742. 2121.16 s [opt-env-conf-test] ++ availableCommandsLines cs
  20743. 2121.16 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20744. 2121.16 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."],
  20745. 2121.16 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20746. 2121.16 s [opt-env-conf-test] ]
  20747. 2121.16 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20748. 2121.16 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20749. 2121.16 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20750. 2121.16 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20751. 2121.16 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20752. 2121.16 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20753. 2121.16 s [opt-env-conf-test] ]
  20754. 2121.16 s [opt-env-conf-test]
  20755. 2121.16 s [opt-env-conf-test]
  20756. 2121.16 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20757. 2121.16 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20758. 2121.16 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20759. 2121.16 s [opt-env-conf-test] renderError ParseError {..} =
  20760. 2121.16 s [opt-env-conf-test] concat
  20761. 2121.16 s [opt-env-conf-test] [ case parseErrorMessage of
  20762. 2121.16 s [opt-env-conf-test] ParseErrorEmpty ->
  20763. 2121.16 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20764. 2121.16 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20765. 2121.16 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20766. 2121.16 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20767. 2121.17 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20768. 2121.17 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20769. 2121.17 s [opt-env-conf-test] - ]
  20770. 2121.17 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20771. 2121.17 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20772. 2121.17 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20773. 2121.17 s [opt-env-conf-test] [ "Missing argument: "
  20774. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20775. 2121.17 s [opt-env-conf-test] ]
  20776. 2121.17 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20777. 2121.17 s [opt-env-conf-test] ["Failed to read argument: "]
  20778. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20779. 2121.17 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20780. 2121.17 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20781. 2121.17 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20782. 2121.17 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20783. 2121.17 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20784. 2121.17 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20785. 2121.17 s [opt-env-conf-test] ["Failed to read option: "]
  20786. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20787. 2121.17 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20788. 2121.17 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20789. 2121.17 s [opt-env-conf-test] ["Missing env var: "]
  20790. 2121.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20791. 2121.17 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20792. 2121.17 s [opt-env-conf-test] ["Failed to read env var: "]
  20793. 2121.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20794. 2121.17 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20795. 2121.17 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20796. 2121.17 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20797. 2121.17 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20798. 2121.17 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20799. 2121.17 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20800. 2121.17 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20801. 2121.17 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20802. 2121.17 s [opt-env-conf-test] ["Missing command, available commands:"]
  20803. 2121.17 s [opt-env-conf-test] : availableCommandsLines cs
  20804. 2121.17 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20805. 2121.17 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20806. 2121.17 s [opt-env-conf-test] [fore blue "available commands:"]
  20807. 2121.17 s [opt-env-conf-test] ]
  20808. 2121.17 s [opt-env-conf-test] ++ availableCommandsLines cs
  20809. 2121.17 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20810. 2121.17 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."],
  20811. 2121.17 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20812. 2121.17 s [opt-env-conf-test] ]
  20813. 2121.17 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20814. 2121.17 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20815. 2121.17 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20816. 2121.17 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20817. 2121.17 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20818. 2121.17 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20819. 2121.17 s [opt-env-conf-test] ]
  20820. 2121.17 s [opt-env-conf-test]
  20821. 2121.17 s [opt-env-conf-test]
  20822. 2121.17 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20823. 2121.17 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20824. 2121.17 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20825. 2121.17 s [opt-env-conf-test] renderError ParseError {..} =
  20826. 2121.17 s [opt-env-conf-test] concat
  20827. 2121.17 s [opt-env-conf-test] [ case parseErrorMessage of
  20828. 2121.17 s [opt-env-conf-test] ParseErrorEmpty ->
  20829. 2121.17 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20830. 2121.17 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20831. 2121.17 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20832. 2121.17 s [opt-env-conf-test] ParseErrorNoReaders ->
  20833. 2121.17 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20834. 2121.17 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20835. 2121.17 s [opt-env-conf-test] ]
  20836. 2121.17 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20837. 2121.17 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20838. 2121.17 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20839. 2121.17 s [opt-env-conf-test] [ "Missing argument: "
  20840. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20841. 2121.17 s [opt-env-conf-test] ]
  20842. 2121.17 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20843. 2121.17 s [opt-env-conf-test] ["Failed to read argument: "]
  20844. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20845. 2121.17 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20846. 2121.17 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20847. 2121.17 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20848. 2121.17 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20849. 2121.17 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20850. 2121.17 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20851. 2121.17 s [opt-env-conf-test] ["Failed to read option: "]
  20852. 2121.17 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20853. 2121.17 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20854. 2121.17 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20855. 2121.17 s [opt-env-conf-test] ["Missing env var: "]
  20856. 2121.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20857. 2121.17 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20858. 2121.17 s [opt-env-conf-test] ["Failed to read env var: "]
  20859. 2121.17 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20860. 2121.17 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20861. 2121.17 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20862. 2121.17 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20863. 2121.17 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20864. 2121.17 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20865. 2121.17 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20866. 2121.17 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20867. 2121.17 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20868. 2121.17 s [opt-env-conf-test] ["Missing command, available commands:"]
  20869. 2121.17 s [opt-env-conf-test] : availableCommandsLines cs
  20870. 2121.17 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20871. 2121.17 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20872. 2121.17 s [opt-env-conf-test] [fore blue "available commands:"]
  20873. 2121.17 s [opt-env-conf-test] ]
  20874. 2121.17 s [opt-env-conf-test] ++ availableCommandsLines cs
  20875. 2121.17 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20876. 2121.17 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."],
  20877. 2121.17 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20878. 2121.17 s [opt-env-conf-test] ]
  20879. 2121.17 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20880. 2121.17 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20881. 2121.17 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20882. 2121.17 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20883. 2121.17 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20884. 2121.17 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20885. 2121.17 s [opt-env-conf-test] ]
  20886. 2121.17 s [opt-env-conf-test]
  20887. 2121.17 s [opt-env-conf-test]
  20888. 2121.17 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  20889. 2121.17 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  20890. 2121.17 s [opt-env-conf-test] instance Validity Arg where
  20891. 2121.17 s [opt-env-conf-test] validate arg =
  20892. 2121.17 s [opt-env-conf-test] mconcat
  20893. 2121.17 s [opt-env-conf-test] - [ genericValidate arg,
  20894. 2121.17 s [opt-env-conf-test] case arg of
  20895. 2121.17 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20896. 2121.17 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20897. 2121.17 s [opt-env-conf-test] ('-' : _) -> False
  20898. 2121.17 s [opt-env-conf-test] _ -> True
  20899. 2121.17 s [opt-env-conf-test] _ -> valid
  20900. 2121.17 s [opt-env-conf-test] ]
  20901. 2121.17 s [opt-env-conf-test]
  20902. 2121.17 s [opt-env-conf-test] instance IsString Arg where
  20903. 2121.17 s [opt-env-conf-test] fromString = parseArg
  20904. 2121.17 s [opt-env-conf-test]
  20905. 2121.17 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  20906. 2121.17 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  20907. 2121.17 s [opt-env-conf-test] instance Validity Arg where
  20908. 2121.17 s [opt-env-conf-test] validate arg =
  20909. 2121.17 s [opt-env-conf-test] mconcat
  20910. 2121.17 s [opt-env-conf-test] - [ genericValidate arg,
  20911. 2121.17 s [opt-env-conf-test] - case arg of
  20912. 2121.17 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20913. 2121.18 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20914. 2121.18 s [opt-env-conf-test] - ('-' : _) -> False
  20915. 2121.18 s [opt-env-conf-test] - _ -> True
  20916. 2121.18 s [opt-env-conf-test] - _ -> valid
  20917. 2121.18 s [opt-env-conf-test] ]
  20918. 2121.18 s [opt-env-conf-test]
  20919. 2121.18 s [opt-env-conf-test] instance IsString Arg where
  20920. 2121.18 s [opt-env-conf-test] fromString = parseArg
  20921. 2121.18 s [opt-env-conf-test]
  20922. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  20923. 2121.18 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  20924. 2121.18 s [opt-env-conf-test] validate arg =
  20925. 2121.18 s [opt-env-conf-test] mconcat
  20926. 2121.18 s [opt-env-conf-test] [ genericValidate arg,
  20927. 2121.18 s [opt-env-conf-test] case arg of
  20928. 2121.18 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20929. 2121.18 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20930. 2121.18 s [opt-env-conf-test] - ('-' : _) -> False
  20931. 2121.18 s [opt-env-conf-test] - _ -> True
  20932. 2121.18 s [opt-env-conf-test] _ -> valid
  20933. 2121.18 s [opt-env-conf-test] ]
  20934. 2121.18 s [opt-env-conf-test]
  20935. 2121.18 s [opt-env-conf-test] instance IsString Arg where
  20936. 2121.18 s [opt-env-conf-test]
  20937. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  20938. 2121.18 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  20939. 2121.18 s [opt-env-conf-test] validate arg =
  20940. 2121.18 s [opt-env-conf-test] mconcat
  20941. 2121.18 s [opt-env-conf-test] [ genericValidate arg,
  20942. 2121.18 s [opt-env-conf-test] case arg of
  20943. 2121.18 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20944. 2121.18 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20945. 2121.18 s [opt-env-conf-test] ('-' : _) -> False
  20946. 2121.18 s [opt-env-conf-test] _ -> True
  20947. 2121.18 s [opt-env-conf-test] _ -> valid
  20948. 2121.18 s [opt-env-conf-test] ]
  20949. 2121.18 s [opt-env-conf-test]
  20950. 2121.18 s [opt-env-conf-test] instance IsString Arg where
  20951. 2121.18 s [opt-env-conf-test]
  20952. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  20953. 2121.18 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  20954. 2121.18 s [opt-env-conf-test] [ genericValidate arg,
  20955. 2121.18 s [opt-env-conf-test] case arg of
  20956. 2121.18 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20957. 2121.18 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20958. 2121.18 s [opt-env-conf-test] - ('-' : _) -> False
  20959. 2121.18 s [opt-env-conf-test] _ -> True
  20960. 2121.18 s [opt-env-conf-test] _ -> valid
  20961. 2121.18 s [opt-env-conf-test] ]
  20962. 2121.18 s [opt-env-conf-test]
  20963. 2121.18 s [opt-env-conf-test]
  20964. 2121.18 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
  20965. 2121.18 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20966. 2121.18 s [opt-env-conf-test] [ genericValidate arg,
  20967. 2121.18 s [opt-env-conf-test] case arg of
  20968. 2121.18 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20969. 2121.18 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20970. 2121.18 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
  20971. 2121.18 s [opt-env-conf-test] ('-' : _) -> False
  20972. 2121.18 s [opt-env-conf-test] _ -> True
  20973. 2121.18 s [opt-env-conf-test] _ -> valid
  20974. 2121.18 s [opt-env-conf-test] ]
  20975. 2121.18 s [opt-env-conf-test]
  20976. 2121.18 s [opt-env-conf-test]
  20977. 2121.18 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
  20978. 2121.18 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20979. 2121.18 s [opt-env-conf-test] mconcat
  20980. 2121.18 s [opt-env-conf-test] [ genericValidate arg,
  20981. 2121.18 s [opt-env-conf-test] case arg of
  20982. 2121.18 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20983. 2121.18 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  20984. 2121.18 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20985. 2121.18 s [opt-env-conf-test] ('-' : _) -> False
  20986. 2121.18 s [opt-env-conf-test] _ -> True
  20987. 2121.18 s [opt-env-conf-test]
  20988. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  20989. 2121.18 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  20990. 2121.18 s [opt-env-conf-test] instance Validity Dashed
  20991. 2121.18 s [opt-env-conf-test]
  20992. 2121.18 s [opt-env-conf-test] instance IsString Dashed where
  20993. 2121.18 s [opt-env-conf-test] fromString s = case fromString s of
  20994. 2121.18 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  20995. 2121.18 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  20996. 2121.18 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  20997. 2121.18 s [opt-env-conf-test]
  20998. 2121.18 s [opt-env-conf-test] renderDashed :: Dashed -> String
  20999. 2121.18 s [opt-env-conf-test] renderDashed = \case
  21000. 2121.18 s [opt-env-conf-test]
  21001. 2121.18 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
  21002. 2121.18 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  21003. 2121.18 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  21004. 2121.18 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  21005. 2121.18 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  21006. 2121.18 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  21007. 2121.18 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  21008. 2121.18 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21009. 2121.18 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21010. 2121.18 s [opt-env-conf-test]
  21011. 2121.18 s [opt-env-conf-test]
  21012. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  21013. 2121.18 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  21014. 2121.18 s [opt-env-conf-test] -- A single dash is always an argument
  21015. 2121.18 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  21016. 2121.18 s [opt-env-conf-test] -- Bare double-dash
  21017. 2121.18 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  21018. 2121.18 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  21019. 2121.18 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  21020. 2121.18 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  21021. 2121.18 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  21022. 2121.18 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  21023. 2121.18 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  21024. 2121.18 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  21025. 2121.18 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  21026. 2121.18 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  21027. 2121.18 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  21028. 2121.18 s [opt-env-conf-test] -- pop the args as they come.
  21029. 2121.18 s [opt-env-conf-test] _ ->
  21030. 2121.18 s [opt-env-conf-test] let go = \case
  21031. 2121.18 s [opt-env-conf-test] [] -> Nothing
  21032. 2121.18 s [opt-env-conf-test] (Dead : rest) -> go rest
  21033. 2121.18 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21034. 2121.18 s [opt-env-conf-test] in case go afters of
  21035. 2121.18 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  21036. 2121.18 s [opt-env-conf-test] Just (firstLive, rest) ->
  21037. 2121.18 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21038. 2121.18 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21039. 2121.18 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21040. 2121.18 s [opt-env-conf-test] -- arguments.
  21041. 2121.18 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21042. 2121.18 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21043. 2121.18 s [opt-env-conf-test] )
  21044. 2121.18 s [opt-env-conf-test] ]
  21045. 2121.18 s [opt-env-conf-test] ArgDashed {} ->
  21046. 2121.18 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21047. 2121.18 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21048. 2121.18 s [opt-env-conf-test]
  21049. 2121.18 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  21050. 2121.18 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  21051. 2121.18 s [opt-env-conf-test] [] -> Nothing
  21052. 2121.18 s [opt-env-conf-test] (Dead : rest) -> go rest
  21053. 2121.18 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21054. 2121.18 s [opt-env-conf-test] in case go afters of
  21055. 2121.18 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  21056. 2121.18 s [opt-env-conf-test] Just (firstLive, rest) ->
  21057. 2121.18 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21058. 2121.18 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21059. 2121.18 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21060. 2121.18 s [opt-env-conf-test] -- arguments.
  21061. 2121.18 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21062. 2121.18 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21063. 2121.18 s [opt-env-conf-test] )
  21064. 2121.18 s [opt-env-conf-test] ]
  21065. 2121.19 s [opt-env-conf-test] ArgDashed {} ->
  21066. 2121.19 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21067. 2121.19 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21068. 2121.19 s [opt-env-conf-test]
  21069. 2121.19 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
  21070. 2121.19 s [opt-env-conf-test] @@ -147,7 +147,7 @@
  21071. 2121.19 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  21072. 2121.19 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  21073. 2121.19 s [opt-env-conf-test] -- A single dash is always an argument
  21074. 2121.19 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  21075. 2121.19 s [opt-env-conf-test] + ArgBareDash -> [(Nothing, consumed)]
  21076. 2121.19 s [opt-env-conf-test] -- Bare double-dash
  21077. 2121.19 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  21078. 2121.19 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  21079. 2121.19 s [opt-env-conf-test]
  21080. 2121.19 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
  21081. 2121.19 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  21082. 2121.19 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  21083. 2121.19 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  21084. 2121.19 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  21085. 2121.19 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  21086. 2121.19 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  21087. 2121.19 s [opt-env-conf-test] _ -> do
  21088. 2121.19 s [opt-env-conf-test] os <- go rest
  21089. 2121.19 s [opt-env-conf-test] pure $ Live o : os
  21090. 2121.19 s [opt-env-conf-test]
  21091. 2121.19 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
  21092. 2121.19 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  21093. 2121.19 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  21094. 2121.19 s [opt-env-conf-test] go (c :| rest) =
  21095. 2121.19 s [opt-env-conf-test] if c `elem` cs
  21096. 2121.19 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  21097. 2121.19 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  21098. 2121.19 s [opt-env-conf-test] else do
  21099. 2121.19 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  21100. 2121.19 s [opt-env-conf-test] new <- go rest'
  21101. 2121.19 s [opt-env-conf-test]
  21102. 2121.19 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
  21103. 2121.19 s [opt-env-conf-test] @@ -41,7 +41,6 @@
  21104. 2121.19 s [opt-env-conf-test] exitSuccess
  21105. 2121.19 s [opt-env-conf-test] CheckSucceeded _ -> do
  21106. 2121.19 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  21107. 2121.19 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
  21108. 2121.19 s [opt-env-conf-test] exitSuccess
  21109. 2121.19 s [opt-env-conf-test]
  21110. 2121.19 s [opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
  21111. 2121.19 s [opt-env-conf-test]
  21112. 2121.19 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
  21113. 2121.19 s [opt-env-conf-test] @@ -77,7 +77,7 @@
  21114. 2121.19 s [opt-env-conf-test] Maybe JSON.Object ->
  21115. 2121.19 s [opt-env-conf-test] IO (CheckResult a)
  21116. 2121.19 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  21117. 2121.19 s [opt-env-conf-test] - errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  21118. 2121.19 s [opt-env-conf-test] + errOrSets <- runParserOn capabilities (Nothing) p args envVars mConfig
  21119. 2121.19 s [opt-env-conf-test] pure $ case errOrSets of
  21120. 2121.19 s [opt-env-conf-test] Right a -> CheckSucceeded a
  21121. 2121.19 s [opt-env-conf-test] Left errs ->
  21122. 2121.19 s [opt-env-conf-test]
  21123. 2121.19 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
  21124. 2121.19 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21125. 2121.19 s [opt-env-conf-test] Just (Rel rf) -> do
  21126. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21127. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21128. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21129. 2121.19 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  21130. 2121.19 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21131. 2121.19 s [opt-env-conf-test] pure
  21132. 2121.19 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21133. 2121.19 s [opt-env-conf-test]
  21134. 2121.19 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21135. 2121.19 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21136. 2121.19 s [opt-env-conf-test] Just (Rel rf) -> do
  21137. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21138. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21139. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21140. 2121.19 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21141. 2121.19 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21142. 2121.19 s [opt-env-conf-test] pure
  21143. 2121.19 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21144. 2121.19 s [opt-env-conf-test]
  21145. 2121.19 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21146. 2121.19 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21147. 2121.19 s [opt-env-conf-test] Just (Rel rf) -> do
  21148. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21149. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21150. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21151. 2121.19 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21152. 2121.19 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21153. 2121.19 s [opt-env-conf-test] pure
  21154. 2121.19 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21155. 2121.19 s [opt-env-conf-test]
  21156. 2121.19 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  21157. 2121.19 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  21158. 2121.19 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21159. 2121.19 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21160. 2121.19 s [opt-env-conf-test]
  21161. 2121.19 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21162. 2121.19 s [opt-env-conf-test] Nothing -> pure []
  21163. 2121.19 s [opt-env-conf-test] - Just (Abs af) -> do
  21164. 2121.19 s [opt-env-conf-test] - let dir = parent af
  21165. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  21166. 2121.19 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  21167. 2121.19 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21168. 2121.19 s [opt-env-conf-test] Just (Rel rf) ->
  21169. 2121.19 s [opt-env-conf-test] if fp == "."
  21170. 2121.19 s [opt-env-conf-test] then do
  21171. 2121.19 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21172. 2121.19 s [opt-env-conf-test] pure (map fromRelDir ds)
  21173. 2121.19 s [opt-env-conf-test] else do
  21174. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21175. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21176. 2121.19 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21177. 2121.19 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21178. 2121.19 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21179. 2121.19 s [opt-env-conf-test]
  21180. 2121.19 s [opt-env-conf-test] pure $
  21181. 2121.19 s [opt-env-conf-test] concat
  21182. 2121.19 s [opt-env-conf-test]
  21183. 2121.19 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
  21184. 2121.19 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21185. 2121.19 s [opt-env-conf-test] else do
  21186. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21187. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21188. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21189. 2121.19 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  21190. 2121.19 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21191. 2121.19 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21192. 2121.19 s [opt-env-conf-test]
  21193. 2121.19 s [opt-env-conf-test]
  21194. 2121.19 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21195. 2121.19 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21196. 2121.19 s [opt-env-conf-test] else do
  21197. 2121.19 s [opt-env-conf-test] let dir = parent rf
  21198. 2121.19 s [opt-env-conf-test] let ad = baseDir </> dir
  21199. 2121.19 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21200. 2121.19 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21201. 2121.19 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21202. 2121.19 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21203. 2121.20 s [opt-env-conf-test]
  21204. 2121.20 s [opt-env-conf-test]
  21205. 2121.20 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21206. 2121.20 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21207. 2121.20 s [opt-env-conf-test] else do
  21208. 2121.20 s [opt-env-conf-test] let dir = parent rf
  21209. 2121.20 s [opt-env-conf-test] let ad = baseDir </> dir
  21210. 2121.20 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21211. 2121.20 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21212. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21213. 2121.20 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21214. 2121.20 s [opt-env-conf-test]
  21215. 2121.20 s [opt-env-conf-test]
  21216. 2121.20 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  21217. 2121.20 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  21218. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  21219. 2121.20 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21220. 2121.20 s [opt-env-conf-test] Just (Rel rf) ->
  21221. 2121.20 s [opt-env-conf-test] - if fp == "."
  21222. 2121.20 s [opt-env-conf-test] + if False
  21223. 2121.20 s [opt-env-conf-test] then do
  21224. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21225. 2121.20 s [opt-env-conf-test] pure (map fromRelDir ds)
  21226. 2121.20 s [opt-env-conf-test]
  21227. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  21228. 2121.20 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  21229. 2121.20 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  21230. 2121.20 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21231. 2121.20 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21232. 2121.20 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21233. 2121.20 s [opt-env-conf-test] Nothing -> case fp of
  21234. 2121.20 s [opt-env-conf-test] [] -> do
  21235. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21236. 2121.20 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21237. 2121.20 s [opt-env-conf-test] _ -> pure []
  21238. 2121.20 s [opt-env-conf-test] - Just (Abs ad) -> do
  21239. 2121.20 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  21240. 2121.20 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21241. 2121.20 s [opt-env-conf-test] Just (Rel rd) -> do
  21242. 2121.20 s [opt-env-conf-test] let ad = baseDir </> rd
  21243. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21244. 2121.20 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21245. 2121.20 s [opt-env-conf-test]
  21246. 2121.20 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21247. 2121.20 s [opt-env-conf-test] Nothing -> pure []
  21248. 2121.20 s [opt-env-conf-test]
  21249. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  21250. 2121.20 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  21251. 2121.20 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21252. 2121.20 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21253. 2121.20 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21254. 2121.20 s [opt-env-conf-test] Nothing -> case fp of
  21255. 2121.20 s [opt-env-conf-test] [] -> do
  21256. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21257. 2121.20 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21258. 2121.20 s [opt-env-conf-test] - _ -> pure []
  21259. 2121.20 s [opt-env-conf-test] Just (Abs ad) -> do
  21260. 2121.20 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21261. 2121.20 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21262. 2121.20 s [opt-env-conf-test]
  21263. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21264. 2121.20 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21265. 2121.20 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21266. 2121.20 s [opt-env-conf-test]
  21267. 2121.20 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21268. 2121.20 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21269. 2121.20 s [opt-env-conf-test] [] -> []
  21270. 2121.20 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21271. 2121.20 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21272. 2121.20 s [opt-env-conf-test]
  21273. 2121.20 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21274. 2121.20 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21275. 2121.20 s [opt-env-conf-test]
  21276. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21277. 2121.20 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21278. 2121.20 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21279. 2121.20 s [opt-env-conf-test]
  21280. 2121.20 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21281. 2121.20 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21282. 2121.20 s [opt-env-conf-test] - [] -> []
  21283. 2121.20 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21284. 2121.20 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21285. 2121.20 s [opt-env-conf-test]
  21286. 2121.20 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21287. 2121.20 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21288. 2121.20 s [opt-env-conf-test]
  21289. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  21290. 2121.20 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  21291. 2121.20 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  21292. 2121.20 s [opt-env-conf-test]
  21293. 2121.20 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  21294. 2121.20 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  21295. 2121.20 s [opt-env-conf-test] - [] -> []
  21296. 2121.20 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  21297. 2121.20 s [opt-env-conf-test]
  21298. 2121.20 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  21299. 2121.20 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  21300. 2121.20 s [opt-env-conf-test]
  21301. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21302. 2121.20 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21303. 2121.20 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21304. 2121.20 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21305. 2121.20 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21306. 2121.20 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21307. 2121.20 s [opt-env-conf-test] (Nothing, _) -> o2
  21308. 2121.20 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21309. 2121.20 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21310. 2121.20 s [opt-env-conf-test]
  21311. 2121.20 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21312. 2121.20 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21313. 2121.20 s [opt-env-conf-test]
  21314. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21315. 2121.20 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21316. 2121.20 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21317. 2121.20 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21318. 2121.20 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21319. 2121.20 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21320. 2121.20 s [opt-env-conf-test] - (Nothing, _) -> o2
  21321. 2121.20 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21322. 2121.20 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21323. 2121.20 s [opt-env-conf-test]
  21324. 2121.20 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21325. 2121.20 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21326. 2121.20 s [opt-env-conf-test]
  21327. 2121.20 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  21328. 2121.20 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  21329. 2121.20 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21330. 2121.20 s [opt-env-conf-test]
  21331. 2121.20 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21332. 2121.20 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21333. 2121.20 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21334. 2121.20 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  21335. 2121.20 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21336. 2121.20 s [opt-env-conf-test] goCommand = go . commandParser
  21337. 2121.20 s [opt-env-conf-test]
  21338. 2121.20 s [opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
  21339. 2121.20 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  21340. 2121.20 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21341. 2121.20 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21342. 2121.20 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21343. 2121.20 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  21344. 2121.20 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21345. 2121.20 s [opt-env-conf-test] goCommand = go . commandParser
  21346. 2121.20 s [opt-env-conf-test]
  21347. 2121.20 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21348. 2121.20 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21349. 2121.20 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21350. 2121.20 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21351. 2121.20 s [opt-env-conf-test] and
  21352. 2121.20 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21353. 2121.20 s [opt-env-conf-test] null settingEnvVars,
  21354. 2121.20 s [opt-env-conf-test] - null settingConfigVals
  21355. 2121.20 s [opt-env-conf-test] ]
  21356. 2121.20 s [opt-env-conf-test]
  21357. 2121.20 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21358. 2121.20 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21359. 2121.20 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21360. 2121.20 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21361. 2121.20 s [opt-env-conf-test] and
  21362. 2121.20 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21363. 2121.20 s [opt-env-conf-test] null settingEnvVars,
  21364. 2121.20 s [opt-env-conf-test] null settingConfigVals
  21365. 2121.20 s [opt-env-conf-test] ]
  21366. 2121.20 s [opt-env-conf-test]
  21367. 2121.20 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  21368. 2121.20 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  21369. 2121.21 s [opt-env-conf-test] and
  21370. 2121.21 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21371. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21372. 2121.21 s [opt-env-conf-test] - null settingConfigVals
  21373. 2121.21 s [opt-env-conf-test] + True
  21374. 2121.21 s [opt-env-conf-test] ]
  21375. 2121.21 s [opt-env-conf-test]
  21376. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  21377. 2121.21 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  21378. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21379. 2121.21 s [opt-env-conf-test] and
  21380. 2121.21 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21381. 2121.21 s [opt-env-conf-test] - null settingEnvVars,
  21382. 2121.21 s [opt-env-conf-test] + True,
  21383. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21384. 2121.21 s [opt-env-conf-test] ]
  21385. 2121.21 s [opt-env-conf-test]
  21386. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  21387. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21388. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21389. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21390. 2121.21 s [opt-env-conf-test] and
  21391. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21392. 2121.21 s [opt-env-conf-test] + [ True,
  21393. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21394. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21395. 2121.21 s [opt-env-conf-test] ]
  21396. 2121.21 s [opt-env-conf-test]
  21397. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  21398. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21399. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21400. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21401. 2121.21 s [opt-env-conf-test] and
  21402. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21403. 2121.21 s [opt-env-conf-test] + [ settingTryArgument || True,
  21404. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21405. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21406. 2121.21 s [opt-env-conf-test] ]
  21407. 2121.21 s [opt-env-conf-test]
  21408. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  21409. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21410. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21411. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21412. 2121.21 s [opt-env-conf-test] and
  21413. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21414. 2121.21 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  21415. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21416. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21417. 2121.21 s [opt-env-conf-test] ]
  21418. 2121.21 s [opt-env-conf-test]
  21419. 2121.21 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
  21420. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21421. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21422. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21423. 2121.21 s [opt-env-conf-test] and
  21424. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21425. 2121.21 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption) || isJust settingSwitchValue,
  21426. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21427. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21428. 2121.21 s [opt-env-conf-test] ]
  21429. 2121.21 s [opt-env-conf-test]
  21430. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21431. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21432. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21433. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21434. 2121.21 s [opt-env-conf-test] and
  21435. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21436. 2121.21 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  21437. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21438. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21439. 2121.21 s [opt-env-conf-test] ]
  21440. 2121.21 s [opt-env-conf-test]
  21441. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21442. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21443. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21444. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21445. 2121.21 s [opt-env-conf-test] and
  21446. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21447. 2121.21 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  21448. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21449. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21450. 2121.21 s [opt-env-conf-test] ]
  21451. 2121.21 s [opt-env-conf-test]
  21452. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  21453. 2121.21 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21454. 2121.21 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21455. 2121.21 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21456. 2121.21 s [opt-env-conf-test] and
  21457. 2121.21 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21458. 2121.21 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  21459. 2121.21 s [opt-env-conf-test] null settingEnvVars,
  21460. 2121.21 s [opt-env-conf-test] null settingConfigVals
  21461. 2121.21 s [opt-env-conf-test] ]
  21462. 2121.21 s [opt-env-conf-test]
  21463. 2121.21 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
  21464. 2121.21 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21465. 2121.21 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21466. 2121.21 s [opt-env-conf-test] c1 <- go p1
  21467. 2121.21 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21468. 2121.21 s [opt-env-conf-test] - pure $ c1 || c2
  21469. 2121.21 s [opt-env-conf-test] + pure $ not (c1 || c2)
  21470. 2121.21 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21471. 2121.21 s [opt-env-conf-test] case settingHelp of
  21472. 2121.21 s [opt-env-conf-test] Nothing ->
  21473. 2121.21 s [opt-env-conf-test]
  21474. 2121.21 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
  21475. 2121.21 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21476. 2121.21 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21477. 2121.21 s [opt-env-conf-test] c1 <- go p1
  21478. 2121.21 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21479. 2121.21 s [opt-env-conf-test] - pure $ c1 || c2
  21480. 2121.21 s [opt-env-conf-test] + pure $ c1 && c2
  21481. 2121.21 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21482. 2121.21 s [opt-env-conf-test] case settingHelp of
  21483. 2121.21 s [opt-env-conf-test] Nothing ->
  21484. 2121.21 s [opt-env-conf-test]
  21485. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21486. 2121.21 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21487. 2121.21 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21488. 2121.21 s [opt-env-conf-test] c1 <- go p1
  21489. 2121.21 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21490. 2121.21 s [opt-env-conf-test] - pure $ c1 || c2
  21491. 2121.21 s [opt-env-conf-test] + pure $ False
  21492. 2121.21 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21493. 2121.21 s [opt-env-conf-test] case settingHelp of
  21494. 2121.21 s [opt-env-conf-test] Nothing ->
  21495. 2121.21 s [opt-env-conf-test]
  21496. 2121.21 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21497. 2121.21 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21498. 2121.21 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21499. 2121.21 s [opt-env-conf-test] c1 <- go p1
  21500. 2121.21 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21501. 2121.21 s [opt-env-conf-test] - pure $ c1 || c2
  21502. 2121.21 s [opt-env-conf-test] + pure $ True
  21503. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21504. 2121.22 s [opt-env-conf-test] case settingHelp of
  21505. 2121.22 s [opt-env-conf-test] Nothing ->
  21506. 2121.22 s [opt-env-conf-test]
  21507. 2121.22 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
  21508. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21509. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21510. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21511. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21512. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21513. 2121.22 s [opt-env-conf-test] + pure $ c1 || not (c2)
  21514. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21515. 2121.22 s [opt-env-conf-test] case settingHelp of
  21516. 2121.22 s [opt-env-conf-test] Nothing ->
  21517. 2121.22 s [opt-env-conf-test]
  21518. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21519. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21520. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21521. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21522. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21523. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21524. 2121.22 s [opt-env-conf-test] + pure $ c1 || False
  21525. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21526. 2121.22 s [opt-env-conf-test] case settingHelp of
  21527. 2121.22 s [opt-env-conf-test] Nothing ->
  21528. 2121.22 s [opt-env-conf-test]
  21529. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21530. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21531. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21532. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21533. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21534. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21535. 2121.22 s [opt-env-conf-test] + pure $ c1 || True
  21536. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21537. 2121.22 s [opt-env-conf-test] case settingHelp of
  21538. 2121.22 s [opt-env-conf-test] Nothing ->
  21539. 2121.22 s [opt-env-conf-test]
  21540. 2121.22 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
  21541. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21542. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21543. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21544. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21545. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21546. 2121.22 s [opt-env-conf-test] + pure $ not (c1) || c2
  21547. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21548. 2121.22 s [opt-env-conf-test] case settingHelp of
  21549. 2121.22 s [opt-env-conf-test] Nothing ->
  21550. 2121.22 s [opt-env-conf-test]
  21551. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21552. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21553. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21554. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21555. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21556. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21557. 2121.22 s [opt-env-conf-test] + pure $ False || c2
  21558. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21559. 2121.22 s [opt-env-conf-test] case settingHelp of
  21560. 2121.22 s [opt-env-conf-test] Nothing ->
  21561. 2121.22 s [opt-env-conf-test]
  21562. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21563. 2121.22 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21564. 2121.22 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21565. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21566. 2121.22 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21567. 2121.22 s [opt-env-conf-test] - pure $ c1 || c2
  21568. 2121.22 s [opt-env-conf-test] + pure $ True || c2
  21569. 2121.22 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21570. 2121.22 s [opt-env-conf-test] case settingHelp of
  21571. 2121.22 s [opt-env-conf-test] Nothing ->
  21572. 2121.22 s [opt-env-conf-test]
  21573. 2121.22 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
  21574. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21575. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21576. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21577. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21578. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21579. 2121.22 s [opt-env-conf-test] + pure not ((c1 && c2)) -- TODO: is this right?
  21580. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21581. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21582. 2121.22 s [opt-env-conf-test] c <- go p
  21583. 2121.22 s [opt-env-conf-test]
  21584. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21585. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21586. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21587. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21588. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21589. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21590. 2121.22 s [opt-env-conf-test] + pure False -- TODO: is this right?
  21591. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21592. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21593. 2121.22 s [opt-env-conf-test] c <- go p
  21594. 2121.22 s [opt-env-conf-test]
  21595. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21596. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21597. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21598. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21599. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21600. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21601. 2121.22 s [opt-env-conf-test] + pure True -- TODO: is this right?
  21602. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21603. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21604. 2121.22 s [opt-env-conf-test] c <- go p
  21605. 2121.22 s [opt-env-conf-test]
  21606. 2121.22 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
  21607. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21608. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21609. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21610. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21611. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21612. 2121.22 s [opt-env-conf-test] + pure (not (c1 && c2)) -- TODO: is this right?
  21613. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21614. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21615. 2121.22 s [opt-env-conf-test] c <- go p
  21616. 2121.22 s [opt-env-conf-test]
  21617. 2121.22 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
  21618. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21619. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21620. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21621. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21622. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21623. 2121.22 s [opt-env-conf-test] + pure (c1 || c2) -- TODO: is this right?
  21624. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21625. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21626. 2121.22 s [opt-env-conf-test] c <- go p
  21627. 2121.22 s [opt-env-conf-test]
  21628. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21629. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21630. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21631. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21632. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21633. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21634. 2121.22 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  21635. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21636. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21637. 2121.22 s [opt-env-conf-test] c <- go p
  21638. 2121.22 s [opt-env-conf-test]
  21639. 2121.22 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21640. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21641. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21642. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21643. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21644. 2121.22 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21645. 2121.22 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  21646. 2121.22 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21647. 2121.22 s [opt-env-conf-test] ParserMany mLoc p -> do
  21648. 2121.22 s [opt-env-conf-test] c <- go p
  21649. 2121.22 s [opt-env-conf-test]
  21650. 2121.22 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
  21651. 2121.22 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21652. 2121.22 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21653. 2121.22 s [opt-env-conf-test] c1 <- go p1
  21654. 2121.22 s [opt-env-conf-test] c2 <- go p2
  21655. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21656. 2121.23 s [opt-env-conf-test] + pure (c1 && not (c2)) -- TODO: is this right?
  21657. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21658. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21659. 2121.23 s [opt-env-conf-test] c <- go p
  21660. 2121.23 s [opt-env-conf-test]
  21661. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21662. 2121.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21663. 2121.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21664. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21665. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21666. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21667. 2121.23 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  21668. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21669. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21670. 2121.23 s [opt-env-conf-test] c <- go p
  21671. 2121.23 s [opt-env-conf-test]
  21672. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21673. 2121.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21674. 2121.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21675. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21676. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21677. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21678. 2121.23 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  21679. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21680. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21681. 2121.23 s [opt-env-conf-test] c <- go p
  21682. 2121.23 s [opt-env-conf-test]
  21683. 2121.23 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
  21684. 2121.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21685. 2121.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21686. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21687. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21688. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21689. 2121.23 s [opt-env-conf-test] + pure (not (c1) && c2) -- TODO: is this right?
  21690. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21691. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21692. 2121.23 s [opt-env-conf-test] c <- go p
  21693. 2121.23 s [opt-env-conf-test]
  21694. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  21695. 2121.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21696. 2121.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21697. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21698. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21699. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21700. 2121.23 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  21701. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21702. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21703. 2121.23 s [opt-env-conf-test] c <- go p
  21704. 2121.23 s [opt-env-conf-test]
  21705. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  21706. 2121.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21707. 2121.23 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21708. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21709. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21710. 2121.23 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21711. 2121.23 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  21712. 2121.23 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21713. 2121.23 s [opt-env-conf-test] ParserMany mLoc p -> do
  21714. 2121.23 s [opt-env-conf-test] c <- go p
  21715. 2121.23 s [opt-env-conf-test]
  21716. 2121.23 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
  21717. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21718. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21719. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21720. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21721. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21722. 2121.23 s [opt-env-conf-test] + pure not ((c1 || c2))
  21723. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21724. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21725. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21726. 2121.23 s [opt-env-conf-test]
  21727. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  21728. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21729. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21730. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21731. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21732. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21733. 2121.23 s [opt-env-conf-test] + pure False
  21734. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21735. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21736. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21737. 2121.23 s [opt-env-conf-test]
  21738. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  21739. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21740. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21741. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21742. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21743. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21744. 2121.23 s [opt-env-conf-test] + pure True
  21745. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21746. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21747. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21748. 2121.23 s [opt-env-conf-test]
  21749. 2121.23 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
  21750. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21751. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21752. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21753. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21754. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21755. 2121.23 s [opt-env-conf-test] + pure (not (c1 || c2))
  21756. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21757. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21758. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21759. 2121.23 s [opt-env-conf-test]
  21760. 2121.23 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
  21761. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21762. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21763. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21764. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21765. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21766. 2121.23 s [opt-env-conf-test] + pure (c1 && c2)
  21767. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21768. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21769. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21770. 2121.23 s [opt-env-conf-test]
  21771. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  21772. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21773. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21774. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21775. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21776. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21777. 2121.23 s [opt-env-conf-test] + pure (False)
  21778. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21779. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21780. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21781. 2121.23 s [opt-env-conf-test]
  21782. 2121.23 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  21783. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21784. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21785. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21786. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21787. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21788. 2121.23 s [opt-env-conf-test] + pure (True)
  21789. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21790. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21791. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21792. 2121.23 s [opt-env-conf-test]
  21793. 2121.23 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
  21794. 2121.23 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21795. 2121.23 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21796. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21797. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21798. 2121.23 s [opt-env-conf-test] - pure (c1 || c2)
  21799. 2121.23 s [opt-env-conf-test] + pure (c1 || not (c2))
  21800. 2121.23 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21801. 2121.23 s [opt-env-conf-test] c1 <- go p1
  21802. 2121.23 s [opt-env-conf-test] c2 <- go p2
  21803. 2121.24 s [opt-env-conf-test]
  21804. 2121.24 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  21805. 2121.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21806. 2121.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21807. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21808. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21809. 2121.24 s [opt-env-conf-test] - pure (c1 || c2)
  21810. 2121.24 s [opt-env-conf-test] + pure (c1 || False)
  21811. 2121.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21812. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21813. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21814. 2121.24 s [opt-env-conf-test]
  21815. 2121.24 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  21816. 2121.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21817. 2121.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21818. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21819. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21820. 2121.24 s [opt-env-conf-test] - pure (c1 || c2)
  21821. 2121.24 s [opt-env-conf-test] + pure (c1 || True)
  21822. 2121.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21823. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21824. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21825. 2121.24 s [opt-env-conf-test]
  21826. 2121.24 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
  21827. 2121.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21828. 2121.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21829. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21830. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21831. 2121.24 s [opt-env-conf-test] - pure (c1 || c2)
  21832. 2121.24 s [opt-env-conf-test] + pure (not (c1) || c2)
  21833. 2121.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21834. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21835. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21836. 2121.24 s [opt-env-conf-test]
  21837. 2121.24 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  21838. 2121.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21839. 2121.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21840. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21841. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21842. 2121.24 s [opt-env-conf-test] - pure (c1 || c2)
  21843. 2121.24 s [opt-env-conf-test] + pure (False || c2)
  21844. 2121.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21845. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21846. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21847. 2121.24 s [opt-env-conf-test]
  21848. 2121.24 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  21849. 2121.24 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21850. 2121.24 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21851. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21852. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21853. 2121.24 s [opt-env-conf-test] - pure (c1 || c2)
  21854. 2121.24 s [opt-env-conf-test] + pure (True || c2)
  21855. 2121.24 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21856. 2121.24 s [opt-env-conf-test] c1 <- go p1
  21857. 2121.24 s [opt-env-conf-test] c2 <- go p2
  21858. 2121.24 s [opt-env-conf-test]
  21859. 2121.24 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  21860. 2121.24 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  21861. 2121.24 s [opt-env-conf-test]
  21862. 2121.24 s [opt-env-conf-test] instance Applicative Parser where
  21863. 2121.24 s [opt-env-conf-test] pure = ParserPure
  21864. 2121.24 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  21865. 2121.24 s [opt-env-conf-test] -- Homomorphism law for applicative
  21866. 2121.24 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  21867. 2121.24 s [opt-env-conf-test] _ -> ParserAp p1 p2
  21868. 2121.24 s [opt-env-conf-test]
  21869. 2121.24 s [opt-env-conf-test] instance Selective Parser where
  21870. 2121.24 s [opt-env-conf-test] select = ParserSelect
  21871. 2121.24 s [opt-env-conf-test]
  21872. 2121.24 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21873. 2121.24 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21874. 2121.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21875. 2121.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21876. 2121.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  21877. 2121.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21878. 2121.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  21879. 2121.24 s [opt-env-conf-test] (True, False) -> p2
  21880. 2121.24 s [opt-env-conf-test] - (False, True) -> p1
  21881. 2121.24 s [opt-env-conf-test] (False, False) ->
  21882. 2121.24 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21883. 2121.24 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21884. 2121.24 s [opt-env-conf-test] -- alts to always be right-leaning
  21885. 2121.24 s [opt-env-conf-test] --
  21886. 2121.24 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21887. 2121.24 s [opt-env-conf-test] -- p
  21888. 2121.24 s [opt-env-conf-test] -- / \
  21889. 2121.24 s [opt-env-conf-test] -- p1 p2
  21890. 2121.24 s [opt-env-conf-test] -- / \
  21891. 2121.24 s [opt-env-conf-test] -- p3 p4
  21892. 2121.24 s [opt-env-conf-test] --
  21893. 2121.24 s [opt-env-conf-test] -- We need to rearrange it to
  21894. 2121.24 s [opt-env-conf-test] -- p
  21895. 2121.24 s [opt-env-conf-test] -- / \
  21896. 2121.24 s [opt-env-conf-test] -- p1 ++ p3 p4
  21897. 2121.24 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21898. 2121.24 s [opt-env-conf-test] go (go p1' p3') p4'
  21899. 2121.24 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21900. 2121.24 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21901. 2121.24 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21902. 2121.24 s [opt-env-conf-test] in go p1 p2
  21903. 2121.24 s [opt-env-conf-test] many = ParserMany Nothing
  21904. 2121.24 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21905. 2121.24 s [opt-env-conf-test]
  21906. 2121.24 s [opt-env-conf-test]
  21907. 2121.24 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21908. 2121.24 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21909. 2121.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21910. 2121.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21911. 2121.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  21912. 2121.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21913. 2121.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  21914. 2121.24 s [opt-env-conf-test] - (True, False) -> p2
  21915. 2121.24 s [opt-env-conf-test] (False, True) -> p1
  21916. 2121.24 s [opt-env-conf-test] (False, False) ->
  21917. 2121.24 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21918. 2121.24 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21919. 2121.24 s [opt-env-conf-test] -- alts to always be right-leaning
  21920. 2121.24 s [opt-env-conf-test] --
  21921. 2121.24 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21922. 2121.24 s [opt-env-conf-test] -- p
  21923. 2121.24 s [opt-env-conf-test] -- / \
  21924. 2121.24 s [opt-env-conf-test] -- p1 p2
  21925. 2121.24 s [opt-env-conf-test] -- / \
  21926. 2121.24 s [opt-env-conf-test] -- p3 p4
  21927. 2121.24 s [opt-env-conf-test] --
  21928. 2121.24 s [opt-env-conf-test] -- We need to rearrange it to
  21929. 2121.24 s [opt-env-conf-test] -- p
  21930. 2121.24 s [opt-env-conf-test] -- / \
  21931. 2121.24 s [opt-env-conf-test] -- p1 ++ p3 p4
  21932. 2121.24 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21933. 2121.24 s [opt-env-conf-test] go (go p1' p3') p4'
  21934. 2121.24 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21935. 2121.24 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21936. 2121.24 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21937. 2121.24 s [opt-env-conf-test] in go p1 p2
  21938. 2121.24 s [opt-env-conf-test] many = ParserMany Nothing
  21939. 2121.24 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21940. 2121.24 s [opt-env-conf-test]
  21941. 2121.24 s [opt-env-conf-test]
  21942. 2121.24 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21943. 2121.24 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21944. 2121.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21945. 2121.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21946. 2121.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  21947. 2121.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21948. 2121.24 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  21949. 2121.24 s [opt-env-conf-test] (True, False) -> p2
  21950. 2121.24 s [opt-env-conf-test] (False, True) -> p1
  21951. 2121.24 s [opt-env-conf-test] (False, False) ->
  21952. 2121.24 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21953. 2121.25 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21954. 2121.25 s [opt-env-conf-test] -- alts to always be right-leaning
  21955. 2121.25 s [opt-env-conf-test] --
  21956. 2121.25 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21957. 2121.25 s [opt-env-conf-test] -- p
  21958. 2121.25 s [opt-env-conf-test] -- / \
  21959. 2121.25 s [opt-env-conf-test] -- p1 p2
  21960. 2121.25 s [opt-env-conf-test] -- / \
  21961. 2121.25 s [opt-env-conf-test] -- p3 p4
  21962. 2121.25 s [opt-env-conf-test] --
  21963. 2121.25 s [opt-env-conf-test] -- We need to rearrange it to
  21964. 2121.25 s [opt-env-conf-test] -- p
  21965. 2121.25 s [opt-env-conf-test] -- / \
  21966. 2121.25 s [opt-env-conf-test] -- p1 ++ p3 p4
  21967. 2121.25 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21968. 2121.25 s [opt-env-conf-test] go (go p1' p3') p4'
  21969. 2121.25 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21970. 2121.25 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21971. 2121.25 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21972. 2121.25 s [opt-env-conf-test] in go p1 p2
  21973. 2121.25 s [opt-env-conf-test] many = ParserMany Nothing
  21974. 2121.25 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21975. 2121.25 s [opt-env-conf-test]
  21976. 2121.25 s [opt-env-conf-test]
  21977. 2121.25 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  21978. 2121.25 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  21979. 2121.25 s [opt-env-conf-test] (True, False) -> p2
  21980. 2121.25 s [opt-env-conf-test] (False, True) -> p1
  21981. 2121.25 s [opt-env-conf-test] (False, False) ->
  21982. 2121.25 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21983. 2121.25 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21984. 2121.25 s [opt-env-conf-test] -- alts to always be right-leaning
  21985. 2121.25 s [opt-env-conf-test] --
  21986. 2121.25 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21987. 2121.25 s [opt-env-conf-test] -- p
  21988. 2121.25 s [opt-env-conf-test] -- / \
  21989. 2121.25 s [opt-env-conf-test] -- p1 p2
  21990. 2121.25 s [opt-env-conf-test] -- / \
  21991. 2121.25 s [opt-env-conf-test] -- p3 p4
  21992. 2121.25 s [opt-env-conf-test] --
  21993. 2121.25 s [opt-env-conf-test] -- We need to rearrange it to
  21994. 2121.25 s [opt-env-conf-test] -- p
  21995. 2121.25 s [opt-env-conf-test] -- / \
  21996. 2121.25 s [opt-env-conf-test] -- p1 ++ p3 p4
  21997. 2121.25 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21998. 2121.25 s [opt-env-conf-test] go (go p1' p3') p4'
  21999. 2121.25 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22000. 2121.25 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22001. 2121.25 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22002. 2121.25 s [opt-env-conf-test] in go p1 p2
  22003. 2121.25 s [opt-env-conf-test] many = ParserMany Nothing
  22004. 2121.25 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22005. 2121.25 s [opt-env-conf-test]
  22006. 2121.25 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  22007. 2121.25 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  22008. 2121.25 s [opt-env-conf-test] (True, False) -> p2
  22009. 2121.25 s [opt-env-conf-test] (False, True) -> p1
  22010. 2121.25 s [opt-env-conf-test] (False, False) ->
  22011. 2121.25 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22012. 2121.25 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22013. 2121.25 s [opt-env-conf-test] -- alts to always be right-leaning
  22014. 2121.25 s [opt-env-conf-test] --
  22015. 2121.25 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22016. 2121.25 s [opt-env-conf-test] -- p
  22017. 2121.25 s [opt-env-conf-test] -- / \
  22018. 2121.25 s [opt-env-conf-test] -- p1 p2
  22019. 2121.25 s [opt-env-conf-test] -- / \
  22020. 2121.25 s [opt-env-conf-test] -- p3 p4
  22021. 2121.25 s [opt-env-conf-test] --
  22022. 2121.25 s [opt-env-conf-test] -- We need to rearrange it to
  22023. 2121.25 s [opt-env-conf-test] -- p
  22024. 2121.25 s [opt-env-conf-test] -- / \
  22025. 2121.25 s [opt-env-conf-test] -- p1 ++ p3 p4
  22026. 2121.25 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22027. 2121.25 s [opt-env-conf-test] - go (go p1' p3') p4'
  22028. 2121.25 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22029. 2121.25 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22030. 2121.25 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22031. 2121.25 s [opt-env-conf-test] in go p1 p2
  22032. 2121.25 s [opt-env-conf-test] many = ParserMany Nothing
  22033. 2121.25 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22034. 2121.25 s [opt-env-conf-test]
  22035. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  22036. 2121.25 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22037. 2121.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22038. 2121.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22039. 2121.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  22040. 2121.25 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22041. 2121.25 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  22042. 2121.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22043. 2121.25 s [opt-env-conf-test] (True, False) -> p2
  22044. 2121.25 s [opt-env-conf-test] (False, True) -> p1
  22045. 2121.25 s [opt-env-conf-test]
  22046. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  22047. 2121.25 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22048. 2121.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22049. 2121.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22050. 2121.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  22051. 2121.25 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22052. 2121.25 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  22053. 2121.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22054. 2121.25 s [opt-env-conf-test] (True, False) -> p2
  22055. 2121.25 s [opt-env-conf-test] (False, True) -> p1
  22056. 2121.25 s [opt-env-conf-test]
  22057. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  22058. 2121.25 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  22059. 2121.25 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22060. 2121.25 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22061. 2121.25 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22062. 2121.25 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  22063. 2121.25 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  22064. 2121.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22065. 2121.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  22066. 2121.25 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22067. 2121.25 s [opt-env-conf-test]
  22068. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  22069. 2121.25 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  22070. 2121.25 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22071. 2121.25 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22072. 2121.25 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22073. 2121.25 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  22074. 2121.25 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  22075. 2121.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22076. 2121.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22077. 2121.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  22078. 2121.25 s [opt-env-conf-test]
  22079. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  22080. 2121.25 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  22081. 2121.25 s [opt-env-conf-test] ParserAlt _ _ -> False
  22082. 2121.25 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22083. 2121.25 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22084. 2121.25 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  22085. 2121.25 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  22086. 2121.25 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22087. 2121.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22088. 2121.25 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22089. 2121.25 s [opt-env-conf-test]
  22090. 2121.25 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  22091. 2121.25 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  22092. 2121.25 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22093. 2121.25 s [opt-env-conf-test] ParserEmpty _ -> True
  22094. 2121.25 s [opt-env-conf-test] ParserAlt _ _ -> False
  22095. 2121.25 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  22096. 2121.25 s [opt-env-conf-test] + ParserMany _ p -> False
  22097. 2121.25 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22098. 2121.25 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22099. 2121.25 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22100. 2121.25 s [opt-env-conf-test]
  22101. 2121.25 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  22102. 2121.25 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  22103. 2121.25 s [opt-env-conf-test] ParserPure _ -> False
  22104. 2121.25 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  22105. 2121.25 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22106. 2121.25 s [opt-env-conf-test] - ParserEmpty _ -> True
  22107. 2121.25 s [opt-env-conf-test] + ParserEmpty _ -> False
  22108. 2121.25 s [opt-env-conf-test] ParserAlt _ _ -> False
  22109. 2121.25 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22110. 2121.25 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22111. 2121.25 s [opt-env-conf-test]
  22112. 2121.25 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
  22113. 2121.25 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22114. 2121.25 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22115. 2121.25 s [opt-env-conf-test] isEmpty = \case
  22116. 2121.25 s [opt-env-conf-test] ParserPure _ -> False
  22117. 2121.25 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22118. 2121.25 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf || isEmpty pa
  22119. 2121.25 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22120. 2121.25 s [opt-env-conf-test] ParserEmpty _ -> True
  22121. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22122. 2121.26 s [opt-env-conf-test]
  22123. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  22124. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22125. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22126. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22127. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22128. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22129. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> False
  22130. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22131. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22132. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22133. 2121.26 s [opt-env-conf-test]
  22134. 2121.26 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
  22135. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22136. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22137. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22138. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22139. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22140. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not (isEmpty pa)
  22141. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22142. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22143. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22144. 2121.26 s [opt-env-conf-test]
  22145. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22146. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22147. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22148. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22149. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22150. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22151. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  22152. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22153. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22154. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22155. 2121.26 s [opt-env-conf-test]
  22156. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22157. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22158. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22159. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22160. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22161. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22162. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  22163. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22164. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22165. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22166. 2121.26 s [opt-env-conf-test]
  22167. 2121.26 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
  22168. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22169. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22170. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22171. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22172. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22173. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf) && isEmpty pa
  22174. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22175. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22176. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22177. 2121.26 s [opt-env-conf-test]
  22178. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22179. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22180. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22181. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22182. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22183. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22184. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  22185. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22186. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22187. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22188. 2121.26 s [opt-env-conf-test]
  22189. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22190. 2121.26 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22191. 2121.26 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22192. 2121.26 s [opt-env-conf-test] isEmpty = \case
  22193. 2121.26 s [opt-env-conf-test] ParserPure _ -> False
  22194. 2121.26 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22195. 2121.26 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  22196. 2121.26 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22197. 2121.26 s [opt-env-conf-test] ParserEmpty _ -> True
  22198. 2121.26 s [opt-env-conf-test] ParserAlt _ _ -> False
  22199. 2121.26 s [opt-env-conf-test]
  22200. 2121.26 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
  22201. 2121.26 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  22202. 2121.26 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22203. 2121.26 s [opt-env-conf-test]
  22204. 2121.26 s [opt-env-conf-test] showParserABit :: Parser a -> String
  22205. 2121.26 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  22206. 2121.26 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  22207. 2121.26 s [opt-env-conf-test]
  22208. 2121.26 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  22209. 2121.26 s [opt-env-conf-test] showParserPrec = go
  22210. 2121.26 s [opt-env-conf-test]
  22211. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  22212. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22213. 2121.26 s [opt-env-conf-test] . showString " "
  22214. 2121.26 s [opt-env-conf-test] . go 11 p2
  22215. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22216. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22217. 2121.26 s [opt-env-conf-test] + showParen True $
  22218. 2121.26 s [opt-env-conf-test] showString "Setting "
  22219. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22220. 2121.26 s [opt-env-conf-test] . showString " "
  22221. 2121.26 s [opt-env-conf-test]
  22222. 2121.26 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  22223. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22224. 2121.26 s [opt-env-conf-test] . showString " "
  22225. 2121.26 s [opt-env-conf-test] . go 11 p2
  22226. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22227. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22228. 2121.26 s [opt-env-conf-test] + showParen (True) $
  22229. 2121.26 s [opt-env-conf-test] showString "Setting "
  22230. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22231. 2121.26 s [opt-env-conf-test] . showString " "
  22232. 2121.26 s [opt-env-conf-test]
  22233. 2121.26 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
  22234. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22235. 2121.26 s [opt-env-conf-test] . showString " "
  22236. 2121.26 s [opt-env-conf-test] . go 11 p2
  22237. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22238. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22239. 2121.26 s [opt-env-conf-test] + showParen (d >= 10) $
  22240. 2121.26 s [opt-env-conf-test] showString "Setting "
  22241. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22242. 2121.26 s [opt-env-conf-test] . showString " "
  22243. 2121.26 s [opt-env-conf-test]
  22244. 2121.26 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22245. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22246. 2121.26 s [opt-env-conf-test] . showString " "
  22247. 2121.26 s [opt-env-conf-test] . go 11 p2
  22248. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22249. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22250. 2121.26 s [opt-env-conf-test] + showParen (d > -10) $
  22251. 2121.26 s [opt-env-conf-test] showString "Setting "
  22252. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22253. 2121.26 s [opt-env-conf-test] . showString " "
  22254. 2121.26 s [opt-env-conf-test]
  22255. 2121.26 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22256. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22257. 2121.26 s [opt-env-conf-test] . showString " "
  22258. 2121.26 s [opt-env-conf-test] . go 11 p2
  22259. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22260. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22261. 2121.26 s [opt-env-conf-test] + showParen (d > 1) $
  22262. 2121.26 s [opt-env-conf-test] showString "Setting "
  22263. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22264. 2121.26 s [opt-env-conf-test] . showString " "
  22265. 2121.26 s [opt-env-conf-test]
  22266. 2121.26 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22267. 2121.26 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22268. 2121.26 s [opt-env-conf-test] . showString " "
  22269. 2121.26 s [opt-env-conf-test] . go 11 p2
  22270. 2121.26 s [opt-env-conf-test] ParserSetting mLoc p ->
  22271. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22272. 2121.26 s [opt-env-conf-test] + showParen (d > 0) $
  22273. 2121.26 s [opt-env-conf-test] showString "Setting "
  22274. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22275. 2121.26 s [opt-env-conf-test] . showString " "
  22276. 2121.26 s [opt-env-conf-test]
  22277. 2121.26 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
  22278. 2121.26 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22279. 2121.26 s [opt-env-conf-test] showCommandABit
  22280. 2121.26 s [opt-env-conf-test] cs
  22281. 2121.26 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22282. 2121.26 s [opt-env-conf-test] - showParen (d > 10) $
  22283. 2121.26 s [opt-env-conf-test] + showParen not ((d > 10)) $
  22284. 2121.26 s [opt-env-conf-test] showString "WithConfig _ "
  22285. 2121.26 s [opt-env-conf-test] . showsPrec 11 mLoc
  22286. 2121.26 s [opt-env-conf-test] . showString " "
  22287. 2121.27 s [opt-env-conf-test]
  22288. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22289. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22290. 2121.27 s [opt-env-conf-test] showCommandABit
  22291. 2121.27 s [opt-env-conf-test] cs
  22292. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22293. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22294. 2121.27 s [opt-env-conf-test] + showParen False $
  22295. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22296. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22297. 2121.27 s [opt-env-conf-test] . showString " "
  22298. 2121.27 s [opt-env-conf-test]
  22299. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22300. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22301. 2121.27 s [opt-env-conf-test] showCommandABit
  22302. 2121.27 s [opt-env-conf-test] cs
  22303. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22304. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22305. 2121.27 s [opt-env-conf-test] + showParen True $
  22306. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22307. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22308. 2121.27 s [opt-env-conf-test] . showString " "
  22309. 2121.27 s [opt-env-conf-test]
  22310. 2121.27 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
  22311. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22312. 2121.27 s [opt-env-conf-test] showCommandABit
  22313. 2121.27 s [opt-env-conf-test] cs
  22314. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22315. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22316. 2121.27 s [opt-env-conf-test] + showParen (not (d > 10)) $
  22317. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22318. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22319. 2121.27 s [opt-env-conf-test] . showString " "
  22320. 2121.27 s [opt-env-conf-test]
  22321. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22322. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22323. 2121.27 s [opt-env-conf-test] showCommandABit
  22324. 2121.27 s [opt-env-conf-test] cs
  22325. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22326. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22327. 2121.27 s [opt-env-conf-test] + showParen (False) $
  22328. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22329. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22330. 2121.27 s [opt-env-conf-test] . showString " "
  22331. 2121.27 s [opt-env-conf-test]
  22332. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22333. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22334. 2121.27 s [opt-env-conf-test] showCommandABit
  22335. 2121.27 s [opt-env-conf-test] cs
  22336. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22337. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22338. 2121.27 s [opt-env-conf-test] + showParen (True) $
  22339. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22340. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22341. 2121.27 s [opt-env-conf-test] . showString " "
  22342. 2121.27 s [opt-env-conf-test]
  22343. 2121.27 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22344. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22345. 2121.27 s [opt-env-conf-test] showCommandABit
  22346. 2121.27 s [opt-env-conf-test] cs
  22347. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22348. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22349. 2121.27 s [opt-env-conf-test] + showParen (d >= 10) $
  22350. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22351. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22352. 2121.27 s [opt-env-conf-test] . showString " "
  22353. 2121.27 s [opt-env-conf-test]
  22354. 2121.27 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22355. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22356. 2121.27 s [opt-env-conf-test] showCommandABit
  22357. 2121.27 s [opt-env-conf-test] cs
  22358. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22359. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22360. 2121.27 s [opt-env-conf-test] + showParen (d <= 10) $
  22361. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22362. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22363. 2121.27 s [opt-env-conf-test] . showString " "
  22364. 2121.27 s [opt-env-conf-test]
  22365. 2121.27 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22366. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22367. 2121.27 s [opt-env-conf-test] showCommandABit
  22368. 2121.27 s [opt-env-conf-test] cs
  22369. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22370. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22371. 2121.27 s [opt-env-conf-test] + showParen (d < 10) $
  22372. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22373. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22374. 2121.27 s [opt-env-conf-test] . showString " "
  22375. 2121.27 s [opt-env-conf-test]
  22376. 2121.27 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22377. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22378. 2121.27 s [opt-env-conf-test] showCommandABit
  22379. 2121.27 s [opt-env-conf-test] cs
  22380. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22381. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22382. 2121.27 s [opt-env-conf-test] + showParen (d > -10) $
  22383. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22384. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22385. 2121.27 s [opt-env-conf-test] . showString " "
  22386. 2121.27 s [opt-env-conf-test]
  22387. 2121.27 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22388. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22389. 2121.27 s [opt-env-conf-test] showCommandABit
  22390. 2121.27 s [opt-env-conf-test] cs
  22391. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22392. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22393. 2121.27 s [opt-env-conf-test] + showParen (d > 1) $
  22394. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22395. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22396. 2121.27 s [opt-env-conf-test] . showString " "
  22397. 2121.27 s [opt-env-conf-test]
  22398. 2121.27 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22399. 2121.27 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22400. 2121.27 s [opt-env-conf-test] showCommandABit
  22401. 2121.27 s [opt-env-conf-test] cs
  22402. 2121.27 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22403. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22404. 2121.27 s [opt-env-conf-test] + showParen (d > 0) $
  22405. 2121.27 s [opt-env-conf-test] showString "WithConfig _ "
  22406. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22407. 2121.27 s [opt-env-conf-test] . showString " "
  22408. 2121.27 s [opt-env-conf-test]
  22409. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  22410. 2121.27 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22411. 2121.27 s [opt-env-conf-test] . showString " _ "
  22412. 2121.27 s [opt-env-conf-test] . go 11 p
  22413. 2121.27 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22414. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22415. 2121.27 s [opt-env-conf-test] + showParen True $
  22416. 2121.27 s [opt-env-conf-test] showString "Commands "
  22417. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22418. 2121.27 s [opt-env-conf-test] . showString " "
  22419. 2121.27 s [opt-env-conf-test]
  22420. 2121.27 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  22421. 2121.27 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22422. 2121.27 s [opt-env-conf-test] . showString " _ "
  22423. 2121.27 s [opt-env-conf-test] . go 11 p
  22424. 2121.27 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22425. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22426. 2121.27 s [opt-env-conf-test] + showParen (True) $
  22427. 2121.27 s [opt-env-conf-test] showString "Commands "
  22428. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22429. 2121.27 s [opt-env-conf-test] . showString " "
  22430. 2121.27 s [opt-env-conf-test]
  22431. 2121.27 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
  22432. 2121.27 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22433. 2121.27 s [opt-env-conf-test] . showString " _ "
  22434. 2121.27 s [opt-env-conf-test] . go 11 p
  22435. 2121.27 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22436. 2121.27 s [opt-env-conf-test] - showParen (d > 10) $
  22437. 2121.27 s [opt-env-conf-test] + showParen (d >= 10) $
  22438. 2121.27 s [opt-env-conf-test] showString "Commands "
  22439. 2121.27 s [opt-env-conf-test] . showsPrec 11 mLoc
  22440. 2121.27 s [opt-env-conf-test] . showString " "
  22441. 2121.27 s [opt-env-conf-test]
  22442. 2121.27 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22443. 2121.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22444. 2121.28 s [opt-env-conf-test] . showString " _ "
  22445. 2121.28 s [opt-env-conf-test] . go 11 p
  22446. 2121.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22447. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22448. 2121.28 s [opt-env-conf-test] + showParen (d > -10) $
  22449. 2121.28 s [opt-env-conf-test] showString "Commands "
  22450. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22451. 2121.28 s [opt-env-conf-test] . showString " "
  22452. 2121.28 s [opt-env-conf-test]
  22453. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22454. 2121.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22455. 2121.28 s [opt-env-conf-test] . showString " _ "
  22456. 2121.28 s [opt-env-conf-test] . go 11 p
  22457. 2121.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22458. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22459. 2121.28 s [opt-env-conf-test] + showParen (d > 1) $
  22460. 2121.28 s [opt-env-conf-test] showString "Commands "
  22461. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22462. 2121.28 s [opt-env-conf-test] . showString " "
  22463. 2121.28 s [opt-env-conf-test]
  22464. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22465. 2121.28 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22466. 2121.28 s [opt-env-conf-test] . showString " _ "
  22467. 2121.28 s [opt-env-conf-test] . go 11 p
  22468. 2121.28 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22469. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22470. 2121.28 s [opt-env-conf-test] + showParen (d > 0) $
  22471. 2121.28 s [opt-env-conf-test] showString "Commands "
  22472. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22473. 2121.28 s [opt-env-conf-test] . showString " "
  22474. 2121.28 s [opt-env-conf-test]
  22475. 2121.28 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  22476. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22477. 2121.28 s [opt-env-conf-test] . showString " "
  22478. 2121.28 s [opt-env-conf-test] . go 11 p
  22479. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22480. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22481. 2121.28 s [opt-env-conf-test] + showParen True $
  22482. 2121.28 s [opt-env-conf-test] showString "Check "
  22483. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22484. 2121.28 s [opt-env-conf-test] . showString " "
  22485. 2121.28 s [opt-env-conf-test]
  22486. 2121.28 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  22487. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22488. 2121.28 s [opt-env-conf-test] . showString " "
  22489. 2121.28 s [opt-env-conf-test] . go 11 p
  22490. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22491. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22492. 2121.28 s [opt-env-conf-test] + showParen (True) $
  22493. 2121.28 s [opt-env-conf-test] showString "Check "
  22494. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22495. 2121.28 s [opt-env-conf-test] . showString " "
  22496. 2121.28 s [opt-env-conf-test]
  22497. 2121.28 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
  22498. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22499. 2121.28 s [opt-env-conf-test] . showString " "
  22500. 2121.28 s [opt-env-conf-test] . go 11 p
  22501. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22502. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22503. 2121.28 s [opt-env-conf-test] + showParen (d >= 10) $
  22504. 2121.28 s [opt-env-conf-test] showString "Check "
  22505. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22506. 2121.28 s [opt-env-conf-test] . showString " "
  22507. 2121.28 s [opt-env-conf-test]
  22508. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22509. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22510. 2121.28 s [opt-env-conf-test] . showString " "
  22511. 2121.28 s [opt-env-conf-test] . go 11 p
  22512. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22513. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22514. 2121.28 s [opt-env-conf-test] + showParen (d > -10) $
  22515. 2121.28 s [opt-env-conf-test] showString "Check "
  22516. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22517. 2121.28 s [opt-env-conf-test] . showString " "
  22518. 2121.28 s [opt-env-conf-test]
  22519. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22520. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22521. 2121.28 s [opt-env-conf-test] . showString " "
  22522. 2121.28 s [opt-env-conf-test] . go 11 p
  22523. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22524. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22525. 2121.28 s [opt-env-conf-test] + showParen (d > 1) $
  22526. 2121.28 s [opt-env-conf-test] showString "Check "
  22527. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22528. 2121.28 s [opt-env-conf-test] . showString " "
  22529. 2121.28 s [opt-env-conf-test]
  22530. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22531. 2121.28 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22532. 2121.28 s [opt-env-conf-test] . showString " "
  22533. 2121.28 s [opt-env-conf-test] . go 11 p
  22534. 2121.28 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22535. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22536. 2121.28 s [opt-env-conf-test] + showParen (d > 0) $
  22537. 2121.28 s [opt-env-conf-test] showString "Check "
  22538. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22539. 2121.28 s [opt-env-conf-test] . showString " "
  22540. 2121.28 s [opt-env-conf-test]
  22541. 2121.28 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  22542. 2121.28 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22543. 2121.28 s [opt-env-conf-test] . showString " "
  22544. 2121.28 s [opt-env-conf-test] . go 11 p
  22545. 2121.28 s [opt-env-conf-test] ParserSome mLoc p ->
  22546. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22547. 2121.28 s [opt-env-conf-test] + showParen True $
  22548. 2121.28 s [opt-env-conf-test] showString "Some "
  22549. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22550. 2121.28 s [opt-env-conf-test] . showString " "
  22551. 2121.28 s [opt-env-conf-test]
  22552. 2121.28 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  22553. 2121.28 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22554. 2121.28 s [opt-env-conf-test] . showString " "
  22555. 2121.28 s [opt-env-conf-test] . go 11 p
  22556. 2121.28 s [opt-env-conf-test] ParserSome mLoc p ->
  22557. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22558. 2121.28 s [opt-env-conf-test] + showParen (True) $
  22559. 2121.28 s [opt-env-conf-test] showString "Some "
  22560. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22561. 2121.28 s [opt-env-conf-test] . showString " "
  22562. 2121.28 s [opt-env-conf-test]
  22563. 2121.28 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
  22564. 2121.28 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22565. 2121.28 s [opt-env-conf-test] . showString " "
  22566. 2121.28 s [opt-env-conf-test] . go 11 p
  22567. 2121.28 s [opt-env-conf-test] ParserSome mLoc p ->
  22568. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22569. 2121.28 s [opt-env-conf-test] + showParen (d >= 10) $
  22570. 2121.28 s [opt-env-conf-test] showString "Some "
  22571. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22572. 2121.28 s [opt-env-conf-test] . showString " "
  22573. 2121.28 s [opt-env-conf-test]
  22574. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22575. 2121.28 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22576. 2121.28 s [opt-env-conf-test] . showString " "
  22577. 2121.28 s [opt-env-conf-test] . go 11 p
  22578. 2121.28 s [opt-env-conf-test] ParserSome mLoc p ->
  22579. 2121.28 s [opt-env-conf-test] - showParen (d > 10) $
  22580. 2121.28 s [opt-env-conf-test] + showParen (d > -10) $
  22581. 2121.28 s [opt-env-conf-test] showString "Some "
  22582. 2121.28 s [opt-env-conf-test] . showsPrec 11 mLoc
  22583. 2121.28 s [opt-env-conf-test] . showString " "
  22584. 2121.28 s [opt-env-conf-test]
  22585. 2121.28 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22586. 2121.28 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22587. 2121.28 s [opt-env-conf-test] . showString " "
  22588. 2121.28 s [opt-env-conf-test] . go 11 p
  22589. 2121.29 s [opt-env-conf-test] ParserSome mLoc p ->
  22590. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22591. 2121.29 s [opt-env-conf-test] + showParen (d > 1) $
  22592. 2121.29 s [opt-env-conf-test] showString "Some "
  22593. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22594. 2121.29 s [opt-env-conf-test] . showString " "
  22595. 2121.29 s [opt-env-conf-test]
  22596. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22597. 2121.29 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22598. 2121.29 s [opt-env-conf-test] . showString " "
  22599. 2121.29 s [opt-env-conf-test] . go 11 p
  22600. 2121.29 s [opt-env-conf-test] ParserSome mLoc p ->
  22601. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22602. 2121.29 s [opt-env-conf-test] + showParen (d > 0) $
  22603. 2121.29 s [opt-env-conf-test] showString "Some "
  22604. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22605. 2121.29 s [opt-env-conf-test] . showString " "
  22606. 2121.29 s [opt-env-conf-test]
  22607. 2121.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  22608. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22609. 2121.29 s [opt-env-conf-test] . showString " "
  22610. 2121.29 s [opt-env-conf-test] . go 11 p2
  22611. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22612. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22613. 2121.29 s [opt-env-conf-test] + showParen True $
  22614. 2121.29 s [opt-env-conf-test] showString "Many "
  22615. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22616. 2121.29 s [opt-env-conf-test] . showString " "
  22617. 2121.29 s [opt-env-conf-test]
  22618. 2121.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  22619. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22620. 2121.29 s [opt-env-conf-test] . showString " "
  22621. 2121.29 s [opt-env-conf-test] . go 11 p2
  22622. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22623. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22624. 2121.29 s [opt-env-conf-test] + showParen (True) $
  22625. 2121.29 s [opt-env-conf-test] showString "Many "
  22626. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22627. 2121.29 s [opt-env-conf-test] . showString " "
  22628. 2121.29 s [opt-env-conf-test]
  22629. 2121.29 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
  22630. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22631. 2121.29 s [opt-env-conf-test] . showString " "
  22632. 2121.29 s [opt-env-conf-test] . go 11 p2
  22633. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22634. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22635. 2121.29 s [opt-env-conf-test] + showParen (d >= 10) $
  22636. 2121.29 s [opt-env-conf-test] showString "Many "
  22637. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22638. 2121.29 s [opt-env-conf-test] . showString " "
  22639. 2121.29 s [opt-env-conf-test]
  22640. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22641. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22642. 2121.29 s [opt-env-conf-test] . showString " "
  22643. 2121.29 s [opt-env-conf-test] . go 11 p2
  22644. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22645. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22646. 2121.29 s [opt-env-conf-test] + showParen (d > -10) $
  22647. 2121.29 s [opt-env-conf-test] showString "Many "
  22648. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22649. 2121.29 s [opt-env-conf-test] . showString " "
  22650. 2121.29 s [opt-env-conf-test]
  22651. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22652. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22653. 2121.29 s [opt-env-conf-test] . showString " "
  22654. 2121.29 s [opt-env-conf-test] . go 11 p2
  22655. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22656. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22657. 2121.29 s [opt-env-conf-test] + showParen (d > 1) $
  22658. 2121.29 s [opt-env-conf-test] showString "Many "
  22659. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22660. 2121.29 s [opt-env-conf-test] . showString " "
  22661. 2121.29 s [opt-env-conf-test]
  22662. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22663. 2121.29 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22664. 2121.29 s [opt-env-conf-test] . showString " "
  22665. 2121.29 s [opt-env-conf-test] . go 11 p2
  22666. 2121.29 s [opt-env-conf-test] ParserMany mLoc p ->
  22667. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22668. 2121.29 s [opt-env-conf-test] + showParen (d > 0) $
  22669. 2121.29 s [opt-env-conf-test] showString "Many "
  22670. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22671. 2121.29 s [opt-env-conf-test] . showString " "
  22672. 2121.29 s [opt-env-conf-test]
  22673. 2121.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  22674. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22675. 2121.29 s [opt-env-conf-test] showString "Empty "
  22676. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22677. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22678. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22679. 2121.29 s [opt-env-conf-test] + showParen True $
  22680. 2121.29 s [opt-env-conf-test] showString "Alt "
  22681. 2121.29 s [opt-env-conf-test] . go 11 p1
  22682. 2121.29 s [opt-env-conf-test] . showString " "
  22683. 2121.29 s [opt-env-conf-test]
  22684. 2121.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  22685. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22686. 2121.29 s [opt-env-conf-test] showString "Empty "
  22687. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22688. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22689. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22690. 2121.29 s [opt-env-conf-test] + showParen (True) $
  22691. 2121.29 s [opt-env-conf-test] showString "Alt "
  22692. 2121.29 s [opt-env-conf-test] . go 11 p1
  22693. 2121.29 s [opt-env-conf-test] . showString " "
  22694. 2121.29 s [opt-env-conf-test]
  22695. 2121.29 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
  22696. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22697. 2121.29 s [opt-env-conf-test] showString "Empty "
  22698. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22699. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22700. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22701. 2121.29 s [opt-env-conf-test] + showParen (d >= 10) $
  22702. 2121.29 s [opt-env-conf-test] showString "Alt "
  22703. 2121.29 s [opt-env-conf-test] . go 11 p1
  22704. 2121.29 s [opt-env-conf-test] . showString " "
  22705. 2121.29 s [opt-env-conf-test]
  22706. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22707. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22708. 2121.29 s [opt-env-conf-test] showString "Empty "
  22709. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22710. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22711. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22712. 2121.29 s [opt-env-conf-test] + showParen (d > -10) $
  22713. 2121.29 s [opt-env-conf-test] showString "Alt "
  22714. 2121.29 s [opt-env-conf-test] . go 11 p1
  22715. 2121.29 s [opt-env-conf-test] . showString " "
  22716. 2121.29 s [opt-env-conf-test]
  22717. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22718. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22719. 2121.29 s [opt-env-conf-test] showString "Empty "
  22720. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22721. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22722. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22723. 2121.29 s [opt-env-conf-test] + showParen (d > 1) $
  22724. 2121.29 s [opt-env-conf-test] showString "Alt "
  22725. 2121.29 s [opt-env-conf-test] . go 11 p1
  22726. 2121.29 s [opt-env-conf-test] . showString " "
  22727. 2121.29 s [opt-env-conf-test]
  22728. 2121.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22729. 2121.29 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22730. 2121.29 s [opt-env-conf-test] showString "Empty "
  22731. 2121.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  22732. 2121.29 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22733. 2121.29 s [opt-env-conf-test] - showParen (d > 10) $
  22734. 2121.29 s [opt-env-conf-test] + showParen (d > 0) $
  22735. 2121.30 s [opt-env-conf-test] showString "Alt "
  22736. 2121.30 s [opt-env-conf-test] . go 11 p1
  22737. 2121.30 s [opt-env-conf-test] . showString " "
  22738. 2121.30 s [opt-env-conf-test]
  22739. 2121.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  22740. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22741. 2121.30 s [opt-env-conf-test] go d = \case
  22742. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22743. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22744. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22745. 2121.30 s [opt-env-conf-test] + showParen True $
  22746. 2121.30 s [opt-env-conf-test] showString "Ap "
  22747. 2121.30 s [opt-env-conf-test] . go 11 pf
  22748. 2121.30 s [opt-env-conf-test] . showString " "
  22749. 2121.30 s [opt-env-conf-test]
  22750. 2121.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  22751. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22752. 2121.30 s [opt-env-conf-test] go d = \case
  22753. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22754. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22755. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22756. 2121.30 s [opt-env-conf-test] + showParen (True) $
  22757. 2121.30 s [opt-env-conf-test] showString "Ap "
  22758. 2121.30 s [opt-env-conf-test] . go 11 pf
  22759. 2121.30 s [opt-env-conf-test] . showString " "
  22760. 2121.30 s [opt-env-conf-test]
  22761. 2121.30 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
  22762. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22763. 2121.30 s [opt-env-conf-test] go d = \case
  22764. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22765. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22766. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22767. 2121.30 s [opt-env-conf-test] + showParen (d >= 10) $
  22768. 2121.30 s [opt-env-conf-test] showString "Ap "
  22769. 2121.30 s [opt-env-conf-test] . go 11 pf
  22770. 2121.30 s [opt-env-conf-test] . showString " "
  22771. 2121.30 s [opt-env-conf-test]
  22772. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22773. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22774. 2121.30 s [opt-env-conf-test] go d = \case
  22775. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22776. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22777. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22778. 2121.30 s [opt-env-conf-test] + showParen (d > -10) $
  22779. 2121.30 s [opt-env-conf-test] showString "Ap "
  22780. 2121.30 s [opt-env-conf-test] . go 11 pf
  22781. 2121.30 s [opt-env-conf-test] . showString " "
  22782. 2121.30 s [opt-env-conf-test]
  22783. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22784. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22785. 2121.30 s [opt-env-conf-test] go d = \case
  22786. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22787. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22788. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22789. 2121.30 s [opt-env-conf-test] + showParen (d > 1) $
  22790. 2121.30 s [opt-env-conf-test] showString "Ap "
  22791. 2121.30 s [opt-env-conf-test] . go 11 pf
  22792. 2121.30 s [opt-env-conf-test] . showString " "
  22793. 2121.30 s [opt-env-conf-test]
  22794. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22795. 2121.30 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22796. 2121.30 s [opt-env-conf-test] go d = \case
  22797. 2121.30 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22798. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22799. 2121.30 s [opt-env-conf-test] - showParen (d > 10) $
  22800. 2121.30 s [opt-env-conf-test] + showParen (d > 0) $
  22801. 2121.30 s [opt-env-conf-test] showString "Ap "
  22802. 2121.30 s [opt-env-conf-test] . go 11 pf
  22803. 2121.30 s [opt-env-conf-test] . showString " "
  22804. 2121.30 s [opt-env-conf-test]
  22805. 2121.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  22806. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22807. 2121.30 s [opt-env-conf-test] where
  22808. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22809. 2121.30 s [opt-env-conf-test] go d = \case
  22810. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22811. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  22812. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22813. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22814. 2121.30 s [opt-env-conf-test] showString "Ap "
  22815. 2121.30 s [opt-env-conf-test]
  22816. 2121.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  22817. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22818. 2121.30 s [opt-env-conf-test] where
  22819. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22820. 2121.30 s [opt-env-conf-test] go d = \case
  22821. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22822. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  22823. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22824. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22825. 2121.30 s [opt-env-conf-test] showString "Ap "
  22826. 2121.30 s [opt-env-conf-test]
  22827. 2121.30 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
  22828. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22829. 2121.30 s [opt-env-conf-test] where
  22830. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22831. 2121.30 s [opt-env-conf-test] go d = \case
  22832. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22833. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen (d >= 10) $ showString "Pure _"
  22834. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22835. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22836. 2121.30 s [opt-env-conf-test] showString "Ap "
  22837. 2121.30 s [opt-env-conf-test]
  22838. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22839. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22840. 2121.30 s [opt-env-conf-test] where
  22841. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22842. 2121.30 s [opt-env-conf-test] go d = \case
  22843. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22844. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  22845. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22846. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22847. 2121.30 s [opt-env-conf-test] showString "Ap "
  22848. 2121.30 s [opt-env-conf-test]
  22849. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22850. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22851. 2121.30 s [opt-env-conf-test] where
  22852. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22853. 2121.30 s [opt-env-conf-test] go d = \case
  22854. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22855. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  22856. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22857. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22858. 2121.30 s [opt-env-conf-test] showString "Ap "
  22859. 2121.30 s [opt-env-conf-test]
  22860. 2121.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22861. 2121.30 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22862. 2121.30 s [opt-env-conf-test] where
  22863. 2121.30 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22864. 2121.30 s [opt-env-conf-test] go d = \case
  22865. 2121.30 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22866. 2121.30 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  22867. 2121.30 s [opt-env-conf-test] ParserAp pf pa ->
  22868. 2121.30 s [opt-env-conf-test] showParen (d > 10) $
  22869. 2121.30 s [opt-env-conf-test] showString "Ap "
  22870. 2121.30 s [opt-env-conf-test]
  22871. 2121.30 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22872. 2121.30 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22873. 2121.30 s [opt-env-conf-test] where
  22874. 2121.30 s [opt-env-conf-test] go p =
  22875. 2121.30 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22876. 2121.30 s [opt-env-conf-test] in case p of
  22877. 2121.30 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22878. 2121.30 s [opt-env-conf-test] ParserAp {} -> p'
  22879. 2121.30 s [opt-env-conf-test] ParserSelect {} -> p'
  22880. 2121.30 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22881. 2121.30 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22882. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  22883. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  22884. 2121.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22885. 2121.31 s [opt-env-conf-test] ParserCheck {} -> p'
  22886. 2121.31 s [opt-env-conf-test] ParserCommands {} -> p'
  22887. 2121.31 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  22888. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22889. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22890. 2121.31 s [opt-env-conf-test] Just _ -> p
  22891. 2121.31 s [opt-env-conf-test]
  22892. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  22893. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22894. 2121.31 s [opt-env-conf-test]
  22895. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22896. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22897. 2121.31 s [opt-env-conf-test] where
  22898. 2121.31 s [opt-env-conf-test] go p =
  22899. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22900. 2121.31 s [opt-env-conf-test] in case p of
  22901. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22902. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  22903. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  22904. 2121.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22905. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22906. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  22907. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  22908. 2121.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22909. 2121.31 s [opt-env-conf-test] ParserCheck {} -> p'
  22910. 2121.31 s [opt-env-conf-test] - ParserCommands {} -> p'
  22911. 2121.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22912. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22913. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22914. 2121.31 s [opt-env-conf-test] Just _ -> p
  22915. 2121.31 s [opt-env-conf-test]
  22916. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  22917. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22918. 2121.31 s [opt-env-conf-test]
  22919. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22920. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22921. 2121.31 s [opt-env-conf-test] where
  22922. 2121.31 s [opt-env-conf-test] go p =
  22923. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22924. 2121.31 s [opt-env-conf-test] in case p of
  22925. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22926. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  22927. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  22928. 2121.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22929. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22930. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  22931. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  22932. 2121.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22933. 2121.31 s [opt-env-conf-test] - ParserCheck {} -> p'
  22934. 2121.31 s [opt-env-conf-test] ParserCommands {} -> p'
  22935. 2121.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22936. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22937. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22938. 2121.31 s [opt-env-conf-test] Just _ -> p
  22939. 2121.31 s [opt-env-conf-test]
  22940. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  22941. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22942. 2121.31 s [opt-env-conf-test]
  22943. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22944. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22945. 2121.31 s [opt-env-conf-test] where
  22946. 2121.31 s [opt-env-conf-test] go p =
  22947. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22948. 2121.31 s [opt-env-conf-test] in case p of
  22949. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22950. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  22951. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  22952. 2121.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22953. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22954. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  22955. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  22956. 2121.31 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  22957. 2121.31 s [opt-env-conf-test] ParserCheck {} -> p'
  22958. 2121.31 s [opt-env-conf-test] ParserCommands {} -> p'
  22959. 2121.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22960. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22961. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22962. 2121.31 s [opt-env-conf-test] Just _ -> p
  22963. 2121.31 s [opt-env-conf-test]
  22964. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  22965. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22966. 2121.31 s [opt-env-conf-test]
  22967. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22968. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22969. 2121.31 s [opt-env-conf-test] where
  22970. 2121.31 s [opt-env-conf-test] go p =
  22971. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22972. 2121.31 s [opt-env-conf-test] in case p of
  22973. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22974. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  22975. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  22976. 2121.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22977. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22978. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  22979. 2121.31 s [opt-env-conf-test] - ParserSome {} -> p'
  22980. 2121.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22981. 2121.31 s [opt-env-conf-test] ParserCheck {} -> p'
  22982. 2121.31 s [opt-env-conf-test] ParserCommands {} -> p'
  22983. 2121.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22984. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22985. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22986. 2121.31 s [opt-env-conf-test] Just _ -> p
  22987. 2121.31 s [opt-env-conf-test]
  22988. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  22989. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22990. 2121.31 s [opt-env-conf-test]
  22991. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22992. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22993. 2121.31 s [opt-env-conf-test] where
  22994. 2121.31 s [opt-env-conf-test] go p =
  22995. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22996. 2121.31 s [opt-env-conf-test] in case p of
  22997. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22998. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  22999. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  23000. 2121.31 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23001. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23002. 2121.31 s [opt-env-conf-test] - ParserMany {} -> p'
  23003. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  23004. 2121.31 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23005. 2121.31 s [opt-env-conf-test] ParserCheck {} -> p'
  23006. 2121.31 s [opt-env-conf-test] ParserCommands {} -> p'
  23007. 2121.31 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23008. 2121.31 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23009. 2121.31 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23010. 2121.31 s [opt-env-conf-test] Just _ -> p
  23011. 2121.31 s [opt-env-conf-test]
  23012. 2121.31 s [opt-env-conf-test] -- | Try a list of parsers in order
  23013. 2121.31 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23014. 2121.31 s [opt-env-conf-test]
  23015. 2121.31 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23016. 2121.31 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23017. 2121.31 s [opt-env-conf-test] where
  23018. 2121.31 s [opt-env-conf-test] go p =
  23019. 2121.31 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23020. 2121.31 s [opt-env-conf-test] in case p of
  23021. 2121.31 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23022. 2121.31 s [opt-env-conf-test] ParserAp {} -> p'
  23023. 2121.31 s [opt-env-conf-test] ParserSelect {} -> p'
  23024. 2121.31 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  23025. 2121.31 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23026. 2121.31 s [opt-env-conf-test] ParserMany {} -> p'
  23027. 2121.31 s [opt-env-conf-test] ParserSome {} -> p'
  23028. 2121.32 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23029. 2121.32 s [opt-env-conf-test] ParserCheck {} -> p'
  23030. 2121.32 s [opt-env-conf-test] ParserCommands {} -> p'
  23031. 2121.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23032. 2121.32 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23033. 2121.32 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23034. 2121.32 s [opt-env-conf-test] Just _ -> p
  23035. 2121.32 s [opt-env-conf-test]
  23036. 2121.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  23037. 2121.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23038. 2121.32 s [opt-env-conf-test]
  23039. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23040. 2121.32 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23041. 2121.32 s [opt-env-conf-test] where
  23042. 2121.32 s [opt-env-conf-test] go p =
  23043. 2121.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23044. 2121.32 s [opt-env-conf-test] in case p of
  23045. 2121.32 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23046. 2121.32 s [opt-env-conf-test] ParserAp {} -> p'
  23047. 2121.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  23048. 2121.32 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23049. 2121.32 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23050. 2121.32 s [opt-env-conf-test] ParserMany {} -> p'
  23051. 2121.32 s [opt-env-conf-test] ParserSome {} -> p'
  23052. 2121.32 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23053. 2121.32 s [opt-env-conf-test] ParserCheck {} -> p'
  23054. 2121.32 s [opt-env-conf-test] ParserCommands {} -> p'
  23055. 2121.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23056. 2121.32 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23057. 2121.32 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23058. 2121.32 s [opt-env-conf-test] Just _ -> p
  23059. 2121.32 s [opt-env-conf-test]
  23060. 2121.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  23061. 2121.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23062. 2121.32 s [opt-env-conf-test]
  23063. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23064. 2121.32 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23065. 2121.32 s [opt-env-conf-test] where
  23066. 2121.32 s [opt-env-conf-test] go p =
  23067. 2121.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23068. 2121.32 s [opt-env-conf-test] in case p of
  23069. 2121.32 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23070. 2121.32 s [opt-env-conf-test] - ParserAp {} -> p'
  23071. 2121.32 s [opt-env-conf-test] ParserSelect {} -> p'
  23072. 2121.32 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23073. 2121.32 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23074. 2121.32 s [opt-env-conf-test] ParserMany {} -> p'
  23075. 2121.32 s [opt-env-conf-test] ParserSome {} -> p'
  23076. 2121.32 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23077. 2121.32 s [opt-env-conf-test] ParserCheck {} -> p'
  23078. 2121.32 s [opt-env-conf-test] ParserCommands {} -> p'
  23079. 2121.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23080. 2121.32 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23081. 2121.32 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23082. 2121.32 s [opt-env-conf-test] Just _ -> p
  23083. 2121.32 s [opt-env-conf-test]
  23084. 2121.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  23085. 2121.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23086. 2121.32 s [opt-env-conf-test]
  23087. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23088. 2121.32 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23089. 2121.32 s [opt-env-conf-test] where
  23090. 2121.32 s [opt-env-conf-test] go p =
  23091. 2121.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23092. 2121.32 s [opt-env-conf-test] in case p of
  23093. 2121.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  23094. 2121.32 s [opt-env-conf-test] ParserAp {} -> p'
  23095. 2121.32 s [opt-env-conf-test] ParserSelect {} -> p'
  23096. 2121.32 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23097. 2121.32 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23098. 2121.32 s [opt-env-conf-test] ParserMany {} -> p'
  23099. 2121.32 s [opt-env-conf-test] ParserSome {} -> p'
  23100. 2121.32 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23101. 2121.32 s [opt-env-conf-test] ParserCheck {} -> p'
  23102. 2121.32 s [opt-env-conf-test] ParserCommands {} -> p'
  23103. 2121.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23104. 2121.32 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23105. 2121.32 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23106. 2121.32 s [opt-env-conf-test] Just _ -> p
  23107. 2121.32 s [opt-env-conf-test]
  23108. 2121.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  23109. 2121.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23110. 2121.32 s [opt-env-conf-test]
  23111. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  23112. 2121.32 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  23113. 2121.32 s [opt-env-conf-test] ParserCheck {} -> p'
  23114. 2121.32 s [opt-env-conf-test] ParserCommands {} -> p'
  23115. 2121.32 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23116. 2121.32 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23117. 2121.32 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23118. 2121.32 s [opt-env-conf-test] - Just _ -> p
  23119. 2121.32 s [opt-env-conf-test]
  23120. 2121.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  23121. 2121.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23122. 2121.32 s [opt-env-conf-test]
  23123. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  23124. 2121.32 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  23125. 2121.32 s [opt-env-conf-test] checkMapMaybe func p =
  23126. 2121.32 s [opt-env-conf-test] withFrozenCallStack $
  23127. 2121.32 s [opt-env-conf-test] checkMapEither
  23128. 2121.32 s [opt-env-conf-test] ( \a -> case func a of
  23129. 2121.32 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  23130. 2121.32 s [opt-env-conf-test] - Just b -> Right b
  23131. 2121.32 s [opt-env-conf-test] )
  23132. 2121.32 s [opt-env-conf-test] p
  23133. 2121.32 s [opt-env-conf-test]
  23134. 2121.32 s [opt-env-conf-test]
  23135. 2121.32 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  23136. 2121.32 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  23137. 2121.32 s [opt-env-conf-test] put as'
  23138. 2121.32 s [opt-env-conf-test] pure $ Just []
  23139. 2121.32 s [opt-env-conf-test] else do
  23140. 2121.32 s [opt-env-conf-test] - if settingTryOption
  23141. 2121.32 s [opt-env-conf-test] + if True
  23142. 2121.32 s [opt-env-conf-test] then do
  23143. 2121.32 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  23144. 2121.32 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  23145. 2121.32 s [opt-env-conf-test]
  23146. 2121.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  23147. 2121.32 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  23148. 2121.32 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  23149. 2121.32 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  23150. 2121.32 s [opt-env-conf-test] -- completer if we are at the end.
  23151. 2121.32 s [opt-env-conf-test] case possibilities of
  23152. 2121.32 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  23153. 2121.32 s [opt-env-conf-test] (_, as') : _ -> do
  23154. 2121.32 s [opt-env-conf-test] put as'
  23155. 2121.32 s [opt-env-conf-test] completeWithCompleterAtEnd
  23156. 2121.32 s [opt-env-conf-test] else
  23157. 2121.32 s [opt-env-conf-test] if isJust settingSwitchValue
  23158. 2121.32 s [opt-env-conf-test] then do
  23159. 2121.32 s [opt-env-conf-test]
  23160. 2121.32 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
  23161. 2121.32 s [opt-env-conf-test] @@ -434,9 +434,8 @@
  23162. 2121.32 s [opt-env-conf-test] -- completer if we are at the end.
  23163. 2121.32 s [opt-env-conf-test] case possibilities of
  23164. 2121.32 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  23165. 2121.32 s [opt-env-conf-test] (_, as') : _ -> do
  23166. 2121.32 s [opt-env-conf-test] - put as'
  23167. 2121.32 s [opt-env-conf-test] completeWithCompleterAtEnd
  23168. 2121.32 s [opt-env-conf-test] else
  23169. 2121.32 s [opt-env-conf-test] if isJust settingSwitchValue
  23170. 2121.32 s [opt-env-conf-test] then do
  23171. 2121.32 s [opt-env-conf-test]
  23172. 2121.32 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
  23173. 2121.32 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  23174. 2121.32 s [opt-env-conf-test] pure Completion {..}
  23175. 2121.32 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  23176. 2121.32 s [opt-env-conf-test] as <- get
  23177. 2121.32 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  23178. 2121.32 s [opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ Nothing
  23179. 2121.32 s [opt-env-conf-test] let completeWithDasheds = do
  23180. 2121.32 s [opt-env-conf-test] let isLong = \case
  23181. 2121.32 s [opt-env-conf-test] DashedLong _ -> True
  23182. 2121.32 s [opt-env-conf-test]
  23183. 2121.32 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
  23184. 2121.32 s [opt-env-conf-test] @@ -251,9 +251,8 @@
  23185. 2121.32 s [opt-env-conf-test] before <- get
  23186. 2121.32 s [opt-env-conf-test] mA <- func
  23187. 2121.33 s [opt-env-conf-test] case mA of
  23188. 2121.33 s [opt-env-conf-test] Nothing -> do
  23189. 2121.33 s [opt-env-conf-test] - put before
  23190. 2121.33 s [opt-env-conf-test] pure Nothing
  23191. 2121.33 s [opt-env-conf-test] Just a -> pure (Just a)
  23192. 2121.33 s [opt-env-conf-test]
  23193. 2121.33 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  23194. 2121.33 s [opt-env-conf-test]
  23195. 2121.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23196. 2121.33 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  23197. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23198. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23199. 2121.33 s [opt-env-conf-test] exitFailure
  23200. 2121.33 s [opt-env-conf-test] Right i -> case i of
  23201. 2121.33 s [opt-env-conf-test] ShowVersion -> do
  23202. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23203. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23204. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23205. 2121.33 s [opt-env-conf-test] exitSuccess
  23206. 2121.33 s [opt-env-conf-test] RenderMan -> do
  23207. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23208. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23209. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23210. 2121.33 s [opt-env-conf-test] exitSuccess
  23211. 2121.33 s [opt-env-conf-test] RenderDocumentation -> do
  23212. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23213. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23214. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23215. 2121.33 s [opt-env-conf-test] exitSuccess
  23216. 2121.33 s [opt-env-conf-test] RenderNixosOptions -> do
  23217. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23218. 2121.33 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23219. 2121.33 s [opt-env-conf-test] exitSuccess
  23220. 2121.33 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23221. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23222. 2121.33 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23223. 2121.33 s [opt-env-conf-test] exitSuccess
  23224. 2121.33 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23225. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23226. 2121.33 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23227. 2121.33 s [opt-env-conf-test] exitSuccess
  23228. 2121.33 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23229. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23230. 2121.33 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23231. 2121.33 s [opt-env-conf-test] exitSuccess
  23232. 2121.33 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23233. 2121.33 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23234. 2121.33 s [opt-env-conf-test] exitSuccess
  23235. 2121.33 s [opt-env-conf-test] - ParsedNormally a -> pure a
  23236. 2121.33 s [opt-env-conf-test]
  23237. 2121.33 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.
  23238. 2121.33 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23239. 2121.33 s [opt-env-conf-test]
  23240. 2121.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23241. 2121.33 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  23242. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23243. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23244. 2121.33 s [opt-env-conf-test] exitFailure
  23245. 2121.33 s [opt-env-conf-test] Right i -> case i of
  23246. 2121.33 s [opt-env-conf-test] ShowVersion -> do
  23247. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23248. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23249. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23250. 2121.33 s [opt-env-conf-test] exitSuccess
  23251. 2121.33 s [opt-env-conf-test] RenderMan -> do
  23252. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23253. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23254. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23255. 2121.33 s [opt-env-conf-test] exitSuccess
  23256. 2121.33 s [opt-env-conf-test] RenderDocumentation -> do
  23257. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23258. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23259. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23260. 2121.33 s [opt-env-conf-test] exitSuccess
  23261. 2121.33 s [opt-env-conf-test] RenderNixosOptions -> do
  23262. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23263. 2121.33 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23264. 2121.33 s [opt-env-conf-test] exitSuccess
  23265. 2121.33 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23266. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23267. 2121.33 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23268. 2121.33 s [opt-env-conf-test] exitSuccess
  23269. 2121.33 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23270. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23271. 2121.33 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23272. 2121.33 s [opt-env-conf-test] exitSuccess
  23273. 2121.33 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23274. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23275. 2121.33 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23276. 2121.33 s [opt-env-conf-test] exitSuccess
  23277. 2121.33 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  23278. 2121.33 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  23279. 2121.33 s [opt-env-conf-test] - exitSuccess
  23280. 2121.33 s [opt-env-conf-test] ParsedNormally a -> pure a
  23281. 2121.33 s [opt-env-conf-test]
  23282. 2121.33 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.
  23283. 2121.33 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23284. 2121.33 s [opt-env-conf-test]
  23285. 2121.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23286. 2121.33 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23287. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23288. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23289. 2121.33 s [opt-env-conf-test] exitFailure
  23290. 2121.33 s [opt-env-conf-test] Right i -> case i of
  23291. 2121.33 s [opt-env-conf-test] ShowVersion -> do
  23292. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23293. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23294. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23295. 2121.33 s [opt-env-conf-test] exitSuccess
  23296. 2121.33 s [opt-env-conf-test] RenderMan -> do
  23297. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23298. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23299. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23300. 2121.33 s [opt-env-conf-test] exitSuccess
  23301. 2121.33 s [opt-env-conf-test] RenderDocumentation -> do
  23302. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23303. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23304. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23305. 2121.33 s [opt-env-conf-test] exitSuccess
  23306. 2121.33 s [opt-env-conf-test] RenderNixosOptions -> do
  23307. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23308. 2121.33 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23309. 2121.33 s [opt-env-conf-test] exitSuccess
  23310. 2121.33 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23311. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23312. 2121.33 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23313. 2121.33 s [opt-env-conf-test] exitSuccess
  23314. 2121.33 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23315. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23316. 2121.33 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23317. 2121.33 s [opt-env-conf-test] - exitSuccess
  23318. 2121.33 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  23319. 2121.33 s [opt-env-conf-test] - progname <- getProgName
  23320. 2121.33 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  23321. 2121.33 s [opt-env-conf-test] exitSuccess
  23322. 2121.33 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23323. 2121.33 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23324. 2121.33 s [opt-env-conf-test] exitSuccess
  23325. 2121.33 s [opt-env-conf-test] ParsedNormally a -> pure a
  23326. 2121.33 s [opt-env-conf-test]
  23327. 2121.33 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.
  23328. 2121.33 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23329. 2121.33 s [opt-env-conf-test]
  23330. 2121.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23331. 2121.33 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23332. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23333. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23334. 2121.33 s [opt-env-conf-test] exitFailure
  23335. 2121.33 s [opt-env-conf-test] Right i -> case i of
  23336. 2121.33 s [opt-env-conf-test] ShowVersion -> do
  23337. 2121.33 s [opt-env-conf-test] progname <- getProgName
  23338. 2121.33 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23339. 2121.33 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23340. 2121.33 s [opt-env-conf-test] exitSuccess
  23341. 2121.33 s [opt-env-conf-test] RenderMan -> do
  23342. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23343. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23344. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23345. 2121.34 s [opt-env-conf-test] exitSuccess
  23346. 2121.34 s [opt-env-conf-test] RenderDocumentation -> do
  23347. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23348. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23349. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23350. 2121.34 s [opt-env-conf-test] exitSuccess
  23351. 2121.34 s [opt-env-conf-test] RenderNixosOptions -> do
  23352. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23353. 2121.34 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23354. 2121.34 s [opt-env-conf-test] exitSuccess
  23355. 2121.34 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23356. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23357. 2121.34 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23358. 2121.34 s [opt-env-conf-test] - exitSuccess
  23359. 2121.34 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  23360. 2121.34 s [opt-env-conf-test] - progname <- getProgName
  23361. 2121.34 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  23362. 2121.34 s [opt-env-conf-test] exitSuccess
  23363. 2121.34 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23364. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23365. 2121.34 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23366. 2121.34 s [opt-env-conf-test] exitSuccess
  23367. 2121.34 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23368. 2121.34 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23369. 2121.34 s [opt-env-conf-test] exitSuccess
  23370. 2121.34 s [opt-env-conf-test] ParsedNormally a -> pure a
  23371. 2121.34 s [opt-env-conf-test]
  23372. 2121.34 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.
  23373. 2121.34 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23374. 2121.34 s [opt-env-conf-test]
  23375. 2121.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23376. 2121.34 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23377. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23378. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23379. 2121.34 s [opt-env-conf-test] exitFailure
  23380. 2121.34 s [opt-env-conf-test] Right i -> case i of
  23381. 2121.34 s [opt-env-conf-test] ShowVersion -> do
  23382. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23383. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23384. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23385. 2121.34 s [opt-env-conf-test] exitSuccess
  23386. 2121.34 s [opt-env-conf-test] RenderMan -> do
  23387. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23388. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23389. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23390. 2121.34 s [opt-env-conf-test] exitSuccess
  23391. 2121.34 s [opt-env-conf-test] RenderDocumentation -> do
  23392. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23393. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23394. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23395. 2121.34 s [opt-env-conf-test] exitSuccess
  23396. 2121.34 s [opt-env-conf-test] RenderNixosOptions -> do
  23397. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23398. 2121.34 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23399. 2121.34 s [opt-env-conf-test] - exitSuccess
  23400. 2121.34 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  23401. 2121.34 s [opt-env-conf-test] - progname <- getProgName
  23402. 2121.34 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  23403. 2121.34 s [opt-env-conf-test] exitSuccess
  23404. 2121.34 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23405. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23406. 2121.34 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23407. 2121.34 s [opt-env-conf-test] exitSuccess
  23408. 2121.34 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23409. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23410. 2121.34 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23411. 2121.34 s [opt-env-conf-test] exitSuccess
  23412. 2121.34 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23413. 2121.34 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23414. 2121.34 s [opt-env-conf-test] exitSuccess
  23415. 2121.34 s [opt-env-conf-test] ParsedNormally a -> pure a
  23416. 2121.34 s [opt-env-conf-test]
  23417. 2121.34 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.
  23418. 2121.34 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23419. 2121.34 s [opt-env-conf-test]
  23420. 2121.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23421. 2121.34 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23422. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23423. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23424. 2121.34 s [opt-env-conf-test] exitFailure
  23425. 2121.34 s [opt-env-conf-test] Right i -> case i of
  23426. 2121.34 s [opt-env-conf-test] ShowVersion -> do
  23427. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23428. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23429. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23430. 2121.34 s [opt-env-conf-test] exitSuccess
  23431. 2121.34 s [opt-env-conf-test] RenderMan -> do
  23432. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23433. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23434. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23435. 2121.34 s [opt-env-conf-test] exitSuccess
  23436. 2121.34 s [opt-env-conf-test] RenderDocumentation -> do
  23437. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23438. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23439. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23440. 2121.34 s [opt-env-conf-test] - exitSuccess
  23441. 2121.34 s [opt-env-conf-test] - RenderNixosOptions -> do
  23442. 2121.34 s [opt-env-conf-test] - progname <- getProgName
  23443. 2121.34 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23444. 2121.34 s [opt-env-conf-test] exitSuccess
  23445. 2121.34 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23446. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23447. 2121.34 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23448. 2121.34 s [opt-env-conf-test] exitSuccess
  23449. 2121.34 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23450. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23451. 2121.34 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23452. 2121.34 s [opt-env-conf-test] exitSuccess
  23453. 2121.34 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23454. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23455. 2121.34 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23456. 2121.34 s [opt-env-conf-test] exitSuccess
  23457. 2121.34 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23458. 2121.34 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23459. 2121.34 s [opt-env-conf-test] exitSuccess
  23460. 2121.34 s [opt-env-conf-test] ParsedNormally a -> pure a
  23461. 2121.34 s [opt-env-conf-test]
  23462. 2121.34 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.
  23463. 2121.34 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23464. 2121.34 s [opt-env-conf-test]
  23465. 2121.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23466. 2121.34 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23467. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23468. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23469. 2121.34 s [opt-env-conf-test] exitFailure
  23470. 2121.34 s [opt-env-conf-test] Right i -> case i of
  23471. 2121.34 s [opt-env-conf-test] ShowVersion -> do
  23472. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23473. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23474. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23475. 2121.34 s [opt-env-conf-test] exitSuccess
  23476. 2121.34 s [opt-env-conf-test] RenderMan -> do
  23477. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23478. 2121.34 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23479. 2121.34 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23480. 2121.34 s [opt-env-conf-test] exitSuccess
  23481. 2121.34 s [opt-env-conf-test] - RenderDocumentation -> do
  23482. 2121.34 s [opt-env-conf-test] - progname <- getProgName
  23483. 2121.34 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23484. 2121.34 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23485. 2121.34 s [opt-env-conf-test] - exitSuccess
  23486. 2121.34 s [opt-env-conf-test] RenderNixosOptions -> do
  23487. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23488. 2121.34 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23489. 2121.34 s [opt-env-conf-test] exitSuccess
  23490. 2121.34 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23491. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23492. 2121.34 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23493. 2121.34 s [opt-env-conf-test] exitSuccess
  23494. 2121.34 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23495. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23496. 2121.34 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23497. 2121.34 s [opt-env-conf-test] exitSuccess
  23498. 2121.34 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23499. 2121.34 s [opt-env-conf-test] progname <- getProgName
  23500. 2121.34 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23501. 2121.34 s [opt-env-conf-test] exitSuccess
  23502. 2121.34 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23503. 2121.34 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23504. 2121.35 s [opt-env-conf-test] exitSuccess
  23505. 2121.35 s [opt-env-conf-test] ParsedNormally a -> pure a
  23506. 2121.35 s [opt-env-conf-test]
  23507. 2121.35 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.
  23508. 2121.35 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23509. 2121.35 s [opt-env-conf-test]
  23510. 2121.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23511. 2121.35 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23512. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23513. 2121.35 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23514. 2121.35 s [opt-env-conf-test] exitFailure
  23515. 2121.35 s [opt-env-conf-test] Right i -> case i of
  23516. 2121.35 s [opt-env-conf-test] ShowVersion -> do
  23517. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23518. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23519. 2121.35 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23520. 2121.35 s [opt-env-conf-test] exitSuccess
  23521. 2121.35 s [opt-env-conf-test] - RenderMan -> do
  23522. 2121.35 s [opt-env-conf-test] - progname <- getProgName
  23523. 2121.35 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23524. 2121.35 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23525. 2121.35 s [opt-env-conf-test] - exitSuccess
  23526. 2121.35 s [opt-env-conf-test] RenderDocumentation -> do
  23527. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23528. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23529. 2121.35 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23530. 2121.35 s [opt-env-conf-test] exitSuccess
  23531. 2121.35 s [opt-env-conf-test] RenderNixosOptions -> do
  23532. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23533. 2121.35 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23534. 2121.35 s [opt-env-conf-test] exitSuccess
  23535. 2121.35 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23536. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23537. 2121.35 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23538. 2121.35 s [opt-env-conf-test] exitSuccess
  23539. 2121.35 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23540. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23541. 2121.35 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23542. 2121.35 s [opt-env-conf-test] exitSuccess
  23543. 2121.35 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23544. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23545. 2121.35 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23546. 2121.35 s [opt-env-conf-test] exitSuccess
  23547. 2121.35 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23548. 2121.35 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23549. 2121.35 s [opt-env-conf-test] exitSuccess
  23550. 2121.35 s [opt-env-conf-test] ParsedNormally a -> pure a
  23551. 2121.35 s [opt-env-conf-test]
  23552. 2121.35 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.
  23553. 2121.35 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23554. 2121.35 s [opt-env-conf-test]
  23555. 2121.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
  23556. 2121.35 s [opt-env-conf-test] @@ -129,7 +129,6 @@
  23557. 2121.35 s [opt-env-conf-test] ShowVersion -> do
  23558. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23559. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23560. 2121.35 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23561. 2121.35 s [opt-env-conf-test] exitSuccess
  23562. 2121.35 s [opt-env-conf-test] RenderMan -> do
  23563. 2121.35 s [opt-env-conf-test] progname <- getProgName
  23564. 2121.35 s [opt-env-conf-test]
  23565. 2121.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
  23566. 2121.35 s [opt-env-conf-test] @@ -123,7 +123,6 @@
  23567. 2121.35 s [opt-env-conf-test] case errOrResult of
  23568. 2121.35 s [opt-env-conf-test] Left errs -> do
  23569. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23570. 2121.35 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
  23571. 2121.35 s [opt-env-conf-test] exitFailure
  23572. 2121.35 s [opt-env-conf-test] Right i -> case i of
  23573. 2121.35 s [opt-env-conf-test] ShowVersion -> do
  23574. 2121.35 s [opt-env-conf-test]
  23575. 2121.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
  23576. 2121.35 s [opt-env-conf-test] @@ -97,9 +97,6 @@
  23577. 2121.35 s [opt-env-conf-test] exitFailure
  23578. 2121.35 s [opt-env-conf-test] Right mCommandDoc -> do
  23579. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23580. 2121.35 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  23581. 2121.35 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  23582. 2121.35 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  23583. 2121.35 s [opt-env-conf-test] exitSuccess
  23584. 2121.35 s [opt-env-conf-test] else do
  23585. 2121.35 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  23586. 2121.35 s [opt-env-conf-test]
  23587. 2121.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  23588. 2121.35 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  23589. 2121.35 s [opt-env-conf-test] exitFailure
  23590. 2121.35 s [opt-env-conf-test] Right mCommandDoc -> do
  23591. 2121.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23592. 2121.35 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  23593. 2121.35 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  23594. 2121.35 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  23595. 2121.35 s [opt-env-conf-test] exitSuccess
  23596. 2121.35 s [opt-env-conf-test] else do
  23597. 2121.35 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  23598. 2121.35 s [opt-env-conf-test]
  23599. 2121.35 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
  23600. 2121.35 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23601. 2121.35 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23602. 2121.35 s [opt-env-conf-test]
  23603. 2121.35 s [opt-env-conf-test] mDebugMode <-
  23604. 2121.35 s [opt-env-conf-test] - if debugMode
  23605. 2121.35 s [opt-env-conf-test] + if not (debugMode)
  23606. 2121.35 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23607. 2121.35 s [opt-env-conf-test] else pure Nothing
  23608. 2121.35 s [opt-env-conf-test]
  23609. 2121.35 s [opt-env-conf-test]
  23610. 2121.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23611. 2121.35 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23612. 2121.35 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23613. 2121.35 s [opt-env-conf-test]
  23614. 2121.35 s [opt-env-conf-test] mDebugMode <-
  23615. 2121.35 s [opt-env-conf-test] - if debugMode
  23616. 2121.35 s [opt-env-conf-test] + if False
  23617. 2121.35 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23618. 2121.35 s [opt-env-conf-test] else pure Nothing
  23619. 2121.35 s [opt-env-conf-test]
  23620. 2121.35 s [opt-env-conf-test]
  23621. 2121.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23622. 2121.35 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23623. 2121.35 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23624. 2121.35 s [opt-env-conf-test]
  23625. 2121.35 s [opt-env-conf-test] mDebugMode <-
  23626. 2121.35 s [opt-env-conf-test] - if debugMode
  23627. 2121.35 s [opt-env-conf-test] + if True
  23628. 2121.35 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23629. 2121.35 s [opt-env-conf-test] else pure Nothing
  23630. 2121.35 s [opt-env-conf-test]
  23631. 2121.35 s [opt-env-conf-test]
  23632. 2121.35 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
  23633. 2121.35 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23634. 2121.35 s [opt-env-conf-test] | x == arg -> (True, xs)
  23635. 2121.35 s [opt-env-conf-test] | otherwise ->
  23636. 2121.35 s [opt-env-conf-test] let (found, rest) = go xs
  23637. 2121.35 s [opt-env-conf-test] - in (found, x : rest)
  23638. 2121.35 s [opt-env-conf-test] + in (not (found), x : rest)
  23639. 2121.35 s [opt-env-conf-test]
  23640. 2121.35 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23641. 2121.35 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23642. 2121.35 s [opt-env-conf-test]
  23643. 2121.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
  23644. 2121.35 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23645. 2121.35 s [opt-env-conf-test] | x == arg -> (True, xs)
  23646. 2121.35 s [opt-env-conf-test] | otherwise ->
  23647. 2121.35 s [opt-env-conf-test] let (found, rest) = go xs
  23648. 2121.35 s [opt-env-conf-test] - in (found, x : rest)
  23649. 2121.35 s [opt-env-conf-test] + in (False, x : rest)
  23650. 2121.35 s [opt-env-conf-test]
  23651. 2121.35 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23652. 2121.35 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23653. 2121.35 s [opt-env-conf-test]
  23654. 2121.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  23655. 2121.35 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  23656. 2121.35 s [opt-env-conf-test] [] -> (caps, [])
  23657. 2121.35 s [opt-env-conf-test] (x : xs) ->
  23658. 2121.35 s [opt-env-conf-test] let t = T.pack x
  23659. 2121.35 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  23660. 2121.35 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  23661. 2121.35 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23662. 2121.35 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  23663. 2121.35 s [opt-env-conf-test] Nothing ->
  23664. 2121.35 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23665. 2121.35 s [opt-env-conf-test] in (finalCaps, x : rest)
  23666. 2121.35 s [opt-env-conf-test]
  23667. 2121.35 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23668. 2121.35 s [opt-env-conf-test] -- is supposed to.
  23669. 2121.35 s [opt-env-conf-test]
  23670. 2121.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  23671. 2121.35 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  23672. 2121.35 s [opt-env-conf-test] let t = T.pack x
  23673. 2121.35 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  23674. 2121.35 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  23675. 2121.35 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23676. 2121.35 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  23677. 2121.35 s [opt-env-conf-test] Nothing ->
  23678. 2121.35 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23679. 2121.35 s [opt-env-conf-test] in (finalCaps, x : rest)
  23680. 2121.35 s [opt-env-conf-test]
  23681. 2121.35 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23682. 2121.35 s [opt-env-conf-test] -- is supposed to.
  23683. 2121.35 s [opt-env-conf-test]
  23684. 2121.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  23685. 2121.35 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  23686. 2121.35 s [opt-env-conf-test] Just (a, _) -> do
  23687. 2121.35 s [opt-env-conf-test] debug ["set to default value"]
  23688. 2121.35 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23689. 2121.35 s [opt-env-conf-test] Nothing -> do
  23690. 2121.35 s [opt-env-conf-test] let parseResultError e res = case res of
  23691. 2121.35 s [opt-env-conf-test] NotRun -> Nothing
  23692. 2121.35 s [opt-env-conf-test] NotFound -> Just e
  23693. 2121.35 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  23694. 2121.35 s [opt-env-conf-test] - debug ["not found"]
  23695. 2121.35 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23696. 2121.35 s [opt-env-conf-test] NE.nonEmpty $
  23697. 2121.35 s [opt-env-conf-test] catMaybes
  23698. 2121.35 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  23699. 2121.35 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  23700. 2121.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  23701. 2121.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  23702. 2121.36 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  23703. 2121.36 s [opt-env-conf-test] ]
  23704. 2121.36 s [opt-env-conf-test]
  23705. 2121.36 s [opt-env-conf-test] withCapabilities ::
  23706. 2121.36 s [opt-env-conf-test] Maybe SrcLoc ->
  23707. 2121.36 s [opt-env-conf-test]
  23708. 2121.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  23709. 2121.36 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  23710. 2121.36 s [opt-env-conf-test] debug ["set to default value"]
  23711. 2121.36 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23712. 2121.36 s [opt-env-conf-test] Nothing -> do
  23713. 2121.36 s [opt-env-conf-test] let parseResultError e res = case res of
  23714. 2121.36 s [opt-env-conf-test] NotRun -> Nothing
  23715. 2121.36 s [opt-env-conf-test] NotFound -> Just e
  23716. 2121.36 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  23717. 2121.36 s [opt-env-conf-test] debug ["not found"]
  23718. 2121.36 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23719. 2121.36 s [opt-env-conf-test] NE.nonEmpty $
  23720. 2121.36 s [opt-env-conf-test]
  23721. 2121.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  23722. 2121.36 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  23723. 2121.36 s [opt-env-conf-test] case mO' of
  23724. 2121.36 s [opt-env-conf-test] Nothing -> pure Nothing
  23725. 2121.36 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23726. 2121.36 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23727. 2121.36 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23728. 2121.36 s [opt-env-conf-test] Right mV -> case mV of
  23729. 2121.36 s [opt-env-conf-test] Nothing -> do
  23730. 2121.36 s [opt-env-conf-test] debug
  23731. 2121.36 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  23732. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23733. 2121.36 s [opt-env-conf-test] ]
  23734. 2121.36 s [opt-env-conf-test] pure Nothing
  23735. 2121.36 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23736. 2121.36 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23737. 2121.36 s [opt-env-conf-test] Right mA -> case mA of
  23738. 2121.36 s [opt-env-conf-test] Nothing -> do
  23739. 2121.36 s [opt-env-conf-test] debug
  23740. 2121.36 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23741. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23742. 2121.36 s [opt-env-conf-test] ]
  23743. 2121.36 s [opt-env-conf-test] pure Nothing
  23744. 2121.36 s [opt-env-conf-test] Just a -> do
  23745. 2121.36 s [opt-env-conf-test] debug
  23746. 2121.36 s [opt-env-conf-test] [ "set based on config value: ",
  23747. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show v
  23748. 2121.36 s [opt-env-conf-test] ]
  23749. 2121.36 s [opt-env-conf-test] pure $ Just a
  23750. 2121.36 s [opt-env-conf-test] let toRes = \case
  23751. 2121.36 s [opt-env-conf-test] Nothing -> NotFound
  23752. 2121.36 s [opt-env-conf-test] Just a -> Found a
  23753. 2121.36 s [opt-env-conf-test]
  23754. 2121.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  23755. 2121.36 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  23756. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23757. 2121.36 s [opt-env-conf-test] ]
  23758. 2121.36 s [opt-env-conf-test] pure Nothing
  23759. 2121.36 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23760. 2121.36 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23761. 2121.36 s [opt-env-conf-test] Right mA -> case mA of
  23762. 2121.36 s [opt-env-conf-test] Nothing -> do
  23763. 2121.36 s [opt-env-conf-test] debug
  23764. 2121.36 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23765. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23766. 2121.36 s [opt-env-conf-test] ]
  23767. 2121.36 s [opt-env-conf-test] pure Nothing
  23768. 2121.36 s [opt-env-conf-test] Just a -> do
  23769. 2121.36 s [opt-env-conf-test] debug
  23770. 2121.36 s [opt-env-conf-test] [ "set based on config value: ",
  23771. 2121.36 s [opt-env-conf-test] chunk $ T.pack $ show v
  23772. 2121.36 s [opt-env-conf-test] ]
  23773. 2121.36 s [opt-env-conf-test] pure $ Just a
  23774. 2121.36 s [opt-env-conf-test] let toRes = \case
  23775. 2121.36 s [opt-env-conf-test] Nothing -> NotFound
  23776. 2121.36 s [opt-env-conf-test] Just a -> Found a
  23777. 2121.36 s [opt-env-conf-test]
  23778. 2121.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  23779. 2121.36 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  23780. 2121.36 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  23781. 2121.36 s [opt-env-conf-test] Just neRest -> do
  23782. 2121.36 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  23783. 2121.36 s [opt-env-conf-test] case mO' of
  23784. 2121.36 s [opt-env-conf-test] - Nothing -> pure Nothing
  23785. 2121.36 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23786. 2121.36 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23787. 2121.36 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23788. 2121.36 s [opt-env-conf-test] Right mV -> case mV of
  23789. 2121.36 s [opt-env-conf-test]
  23790. 2121.36 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
  23791. 2121.36 s [opt-env-conf-test] @@ -221,15 +221,14 @@
  23792. 2121.36 s [opt-env-conf-test] Just c -> do
  23793. 2121.36 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  23794. 2121.36 s [opt-env-conf-test] go $ commandParser c
  23795. 2121.36 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23796. 2121.36 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23797. 2121.36 s [opt-env-conf-test] ppIndent $ do
  23798. 2121.36 s [opt-env-conf-test] debug ["loading config"]
  23799. 2121.36 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  23800. 2121.36 s [opt-env-conf-test] debug ["with loaded config"]
  23801. 2121.36 s [opt-env-conf-test] ppIndent $
  23802. 2121.36 s [opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
  23803. 2121.36 s [opt-env-conf-test] go pa
  23804. 2121.36 s [opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
  23805. 2121.36 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  23806. 2121.36 s [opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
  23807. 2121.36 s [opt-env-conf-test]
  23808. 2121.36 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
  23809. 2121.36 s [opt-env-conf-test] @@ -218,9 +218,8 @@
  23810. 2121.36 s [opt-env-conf-test] Just s -> do
  23811. 2121.36 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23812. 2121.36 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23813. 2121.36 s [opt-env-conf-test] Just c -> do
  23814. 2121.36 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  23815. 2121.36 s [opt-env-conf-test] go $ commandParser c
  23816. 2121.36 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23817. 2121.36 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23818. 2121.36 s [opt-env-conf-test] ppIndent $ do
  23819. 2121.36 s [opt-env-conf-test]
  23820. 2121.36 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
  23821. 2121.36 s [opt-env-conf-test] @@ -212,9 +212,8 @@
  23822. 2121.36 s [opt-env-conf-test] find ((== d) . commandArg) cs
  23823. 2121.36 s [opt-env-conf-test] case mDefaultCommand of
  23824. 2121.36 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  23825. 2121.36 s [opt-env-conf-test] Just dc -> do
  23826. 2121.36 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  23827. 2121.36 s [opt-env-conf-test] go $ commandParser dc
  23828. 2121.36 s [opt-env-conf-test] Just s -> do
  23829. 2121.36 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23830. 2121.36 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23831. 2121.36 s [opt-env-conf-test]
  23832. 2121.36 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
  23833. 2121.36 s [opt-env-conf-test] @@ -192,9 +192,8 @@
  23834. 2121.36 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  23835. 2121.36 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23836. 2121.36 s [opt-env-conf-test] case errOrB of
  23837. 2121.36 s [opt-env-conf-test] Left err -> do
  23838. 2121.36 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23839. 2121.36 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23840. 2121.36 s [opt-env-conf-test] Right b -> do
  23841. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23842. 2121.36 s [opt-env-conf-test] pure b
  23843. 2121.36 s [opt-env-conf-test]
  23844. 2121.36 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
  23845. 2121.36 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  23846. 2121.36 s [opt-env-conf-test] case errOrB of
  23847. 2121.36 s [opt-env-conf-test] Left err -> do
  23848. 2121.36 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23849. 2121.36 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  23850. 2121.36 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
  23851. 2121.36 s [opt-env-conf-test] Right b -> do
  23852. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23853. 2121.36 s [opt-env-conf-test] pure b
  23854. 2121.36 s [opt-env-conf-test]
  23855. 2121.36 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  23856. 2121.36 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  23857. 2121.36 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23858. 2121.36 s [opt-env-conf-test] case errOrB of
  23859. 2121.36 s [opt-env-conf-test] Left err -> do
  23860. 2121.36 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23861. 2121.36 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23862. 2121.36 s [opt-env-conf-test] Right b -> do
  23863. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23864. 2121.36 s [opt-env-conf-test]
  23865. 2121.36 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  23866. 2121.36 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  23867. 2121.36 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23868. 2121.36 s [opt-env-conf-test] case errOrB of
  23869. 2121.36 s [opt-env-conf-test] Left err -> do
  23870. 2121.36 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23871. 2121.36 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23872. 2121.36 s [opt-env-conf-test] Right b -> do
  23873. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23874. 2121.36 s [opt-env-conf-test]
  23875. 2121.36 s [opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
  23876. 2121.36 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  23877. 2121.36 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23878. 2121.36 s [opt-env-conf-test] case errOrB of
  23879. 2121.36 s [opt-env-conf-test] Left err -> do
  23880. 2121.36 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23881. 2121.36 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not (forgivable)]
  23882. 2121.36 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23883. 2121.36 s [opt-env-conf-test] Right b -> do
  23884. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23885. 2121.36 s [opt-env-conf-test]
  23886. 2121.36 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
  23887. 2121.36 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  23888. 2121.36 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23889. 2121.36 s [opt-env-conf-test] case errOrB of
  23890. 2121.36 s [opt-env-conf-test] Left err -> do
  23891. 2121.36 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23892. 2121.36 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
  23893. 2121.36 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23894. 2121.36 s [opt-env-conf-test] Right b -> do
  23895. 2121.36 s [opt-env-conf-test] debug ["succeeded"]
  23896. 2121.36 s [opt-env-conf-test]
  23897. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
  23898. 2121.37 s [opt-env-conf-test] @@ -147,34 +147,33 @@
  23899. 2121.37 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  23900. 2121.37 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  23901. 2121.37 s [opt-env-conf-test] pure (a :| as)
  23902. 2121.37 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  23903. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  23904. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23905. 2121.37 s [opt-env-conf-test] e <- ask
  23906. 2121.37 s [opt-env-conf-test] s <- get
  23907. 2121.37 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  23908. 2121.37 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  23909. 2121.37 s [opt-env-conf-test] put s'
  23910. 2121.37 s [opt-env-conf-test] case result of
  23911. 2121.37 s [opt-env-conf-test] Success a -> pure a
  23912. 2121.37 s [opt-env-conf-test] Failure errs -> do
  23913. 2121.37 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  23914. 2121.37 s [opt-env-conf-test] then ppErrors' errs
  23915. 2121.37 s [opt-env-conf-test] else do
  23916. 2121.37 s [opt-env-conf-test] -- Settings available below
  23917. 2121.37 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  23918. 2121.37 s [opt-env-conf-test] -- Settings that have been parsed
  23919. 2121.37 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  23920. 2121.37 s [opt-env-conf-test] -- Settings that have been parsed below
  23921. 2121.37 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  23922. 2121.37 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  23923. 2121.37 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  23924. 2121.37 s [opt-env-conf-test] -- with only forgivable errors
  23925. 2121.37 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  23926. 2121.37 s [opt-env-conf-test] -- then this should be an unforgivable error.
  23927. 2121.37 s [opt-env-conf-test] if null parsedSettingsMap
  23928. 2121.37 s [opt-env-conf-test] then ppErrors' errs
  23929. 2121.37 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  23930. 2121.37 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  23931. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  23932. 2121.37 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  23933. 2121.37 s [opt-env-conf-test]
  23934. 2121.37 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
  23935. 2121.37 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  23936. 2121.37 s [opt-env-conf-test] case result of
  23937. 2121.37 s [opt-env-conf-test] Success a -> pure a
  23938. 2121.37 s [opt-env-conf-test] Failure errs -> do
  23939. 2121.37 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  23940. 2121.37 s [opt-env-conf-test] + if False
  23941. 2121.37 s [opt-env-conf-test] then ppErrors' errs
  23942. 2121.37 s [opt-env-conf-test] else do
  23943. 2121.37 s [opt-env-conf-test] -- Settings available below
  23944. 2121.37 s [opt-env-conf-test]
  23945. 2121.37 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
  23946. 2121.37 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  23947. 2121.37 s [opt-env-conf-test] case result of
  23948. 2121.37 s [opt-env-conf-test] Success a -> pure a
  23949. 2121.37 s [opt-env-conf-test] Failure errs -> do
  23950. 2121.37 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  23951. 2121.37 s [opt-env-conf-test] + if not $ True
  23952. 2121.37 s [opt-env-conf-test] then ppErrors' errs
  23953. 2121.37 s [opt-env-conf-test] else do
  23954. 2121.37 s [opt-env-conf-test] -- Settings available below
  23955. 2121.37 s [opt-env-conf-test]
  23956. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
  23957. 2121.37 s [opt-env-conf-test] @@ -140,13 +140,12 @@
  23958. 2121.37 s [opt-env-conf-test] Just a -> do
  23959. 2121.37 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  23960. 2121.37 s [opt-env-conf-test] pure (a : as)
  23961. 2121.37 s [opt-env-conf-test] ParserSome mLoc p' -> do
  23962. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  23963. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23964. 2121.37 s [opt-env-conf-test] a <- go p'
  23965. 2121.37 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  23966. 2121.37 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  23967. 2121.37 s [opt-env-conf-test] pure (a :| as)
  23968. 2121.37 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  23969. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  23970. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23971. 2121.37 s [opt-env-conf-test]
  23972. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
  23973. 2121.37 s [opt-env-conf-test] @@ -131,15 +131,14 @@
  23974. 2121.37 s [opt-env-conf-test] Nothing -> do
  23975. 2121.37 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  23976. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  23977. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  23978. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  23979. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23980. 2121.37 s [opt-env-conf-test] eor <- tryPP $ go p'
  23981. 2121.37 s [opt-env-conf-test] case eor of
  23982. 2121.37 s [opt-env-conf-test] Nothing -> pure []
  23983. 2121.37 s [opt-env-conf-test] Just a -> do
  23984. 2121.37 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  23985. 2121.37 s [opt-env-conf-test] pure (a : as)
  23986. 2121.37 s [opt-env-conf-test] ParserSome mLoc p' -> do
  23987. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  23988. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23989. 2121.37 s [opt-env-conf-test]
  23990. 2121.37 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  23991. 2121.37 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  23992. 2121.37 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  23993. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  23994. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  23995. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  23996. 2121.37 s [opt-env-conf-test] ppIndent $ do
  23997. 2121.37 s [opt-env-conf-test] eor <- tryPP $ go p'
  23998. 2121.37 s [opt-env-conf-test] case eor of
  23999. 2121.37 s [opt-env-conf-test]
  24000. 2121.37 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24001. 2121.37 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24002. 2121.37 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24003. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  24004. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24005. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24006. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24007. 2121.37 s [opt-env-conf-test] eor <- tryPP $ go p'
  24008. 2121.37 s [opt-env-conf-test] case eor of
  24009. 2121.37 s [opt-env-conf-test]
  24010. 2121.37 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24011. 2121.37 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24012. 2121.37 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24013. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  24014. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24015. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24016. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24017. 2121.37 s [opt-env-conf-test] eor <- tryPP $ go p'
  24018. 2121.37 s [opt-env-conf-test] case eor of
  24019. 2121.37 s [opt-env-conf-test]
  24020. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
  24021. 2121.37 s [opt-env-conf-test] @@ -119,18 +119,17 @@
  24022. 2121.37 s [opt-env-conf-test] ParserSelect fe ff -> do
  24023. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24024. 2121.37 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24025. 2121.37 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24026. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24027. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24028. 2121.37 s [opt-env-conf-test] debug ["Trying left side."]
  24029. 2121.37 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24030. 2121.37 s [opt-env-conf-test] case eor of
  24031. 2121.37 s [opt-env-conf-test] Just a -> do
  24032. 2121.37 s [opt-env-conf-test] debug ["Left side succeeded."]
  24033. 2121.37 s [opt-env-conf-test] pure a
  24034. 2121.37 s [opt-env-conf-test] Nothing -> do
  24035. 2121.37 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24036. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  24037. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24038. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24039. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24040. 2121.37 s [opt-env-conf-test]
  24041. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
  24042. 2121.37 s [opt-env-conf-test] @@ -128,9 +128,8 @@
  24043. 2121.37 s [opt-env-conf-test] Just a -> do
  24044. 2121.37 s [opt-env-conf-test] debug ["Left side succeeded."]
  24045. 2121.37 s [opt-env-conf-test] pure a
  24046. 2121.37 s [opt-env-conf-test] Nothing -> do
  24047. 2121.37 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24048. 2121.37 s [opt-env-conf-test] ppIndent $ go p2
  24049. 2121.37 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24050. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24051. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24052. 2121.37 s [opt-env-conf-test]
  24053. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
  24054. 2121.37 s [opt-env-conf-test] @@ -116,9 +116,8 @@
  24055. 2121.37 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24056. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24057. 2121.37 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24058. 2121.37 s [opt-env-conf-test] ParserSelect fe ff -> do
  24059. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Select"]
  24060. 2121.37 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24061. 2121.37 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24062. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Alt"]
  24063. 2121.37 s [opt-env-conf-test] ppIndent $ do
  24064. 2121.37 s [opt-env-conf-test]
  24065. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
  24066. 2121.37 s [opt-env-conf-test] @@ -113,9 +113,8 @@
  24067. 2121.37 s [opt-env-conf-test] ParserAp ff fa -> do
  24068. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  24069. 2121.37 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24070. 2121.37 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24071. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24072. 2121.37 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24073. 2121.37 s [opt-env-conf-test] ParserSelect fe ff -> do
  24074. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24075. 2121.37 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24076. 2121.37 s [opt-env-conf-test]
  24077. 2121.37 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
  24078. 2121.37 s [opt-env-conf-test] @@ -110,9 +110,8 @@
  24079. 2121.37 s [opt-env-conf-test] ParserPure a -> do
  24080. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24081. 2121.37 s [opt-env-conf-test] pure a
  24082. 2121.37 s [opt-env-conf-test] ParserAp ff fa -> do
  24083. 2121.37 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24084. 2121.37 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24085. 2121.37 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24086. 2121.37 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24087. 2121.37 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24088. 2121.37 s [opt-env-conf-test]
  24089. 2121.37 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
  24090. 2121.37 s [opt-env-conf-test] @@ -81,27 +81,26 @@
  24091. 2121.37 s [opt-env-conf-test] Nothing -> pure result
  24092. 2121.37 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  24093. 2121.37 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  24094. 2121.37 s [opt-env-conf-test] case mTup of
  24095. 2121.37 s [opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
  24096. 2121.37 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  24097. 2121.37 s [opt-env-conf-test] Success a -> pure (Right a)
  24098. 2121.37 s [opt-env-conf-test] Failure firstErrors ->
  24099. 2121.37 s [opt-env-conf-test] let goNexts ns = do
  24100. 2121.37 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  24101. 2121.37 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  24102. 2121.37 s [opt-env-conf-test] case mNext of
  24103. 2121.37 s [opt-env-conf-test] Nothing ->
  24104. 2121.37 s [opt-env-conf-test] pure $
  24105. 2121.37 s [opt-env-conf-test] Left $
  24106. 2121.37 s [opt-env-conf-test] -- Only show source locations in debug mode.
  24107. 2121.37 s [opt-env-conf-test] let f = case mDebugMode of
  24108. 2121.37 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  24109. 2121.37 s [opt-env-conf-test] Just _ -> id
  24110. 2121.37 s [opt-env-conf-test] in f firstErrors
  24111. 2121.37 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  24112. 2121.37 s [opt-env-conf-test] Success a -> pure (Right a)
  24113. 2121.37 s [opt-env-conf-test] Failure _ -> goNexts ns'
  24114. 2121.37 s [opt-env-conf-test] in goNexts nexts
  24115. 2121.37 s [opt-env-conf-test] where
  24116. 2121.37 s [opt-env-conf-test] go ::
  24117. 2121.37 s [opt-env-conf-test] Parser a ->
  24118. 2121.38 s [opt-env-conf-test]
  24119. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
  24120. 2121.38 s [opt-env-conf-test] @@ -461,11 +461,8 @@
  24121. 2121.38 s [opt-env-conf-test] PP a
  24122. 2121.38 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  24123. 2121.38 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  24124. 2121.38 s [opt-env-conf-test] Just missings -> do
  24125. 2121.38 s [opt-env-conf-test] - debug $
  24126. 2121.38 s [opt-env-conf-test] - "Missing capabilities: "
  24127. 2121.38 s [opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
  24128. 2121.38 s [opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  24129. 2121.38 s [opt-env-conf-test] Nothing -> func
  24130. 2121.38 s [opt-env-conf-test]
  24131. 2121.38 s [opt-env-conf-test] data ParseResult a
  24132. 2121.38 s [opt-env-conf-test]
  24133. 2121.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
  24134. 2121.38 s [opt-env-conf-test] @@ -474,9 +474,8 @@
  24135. 2121.38 s [opt-env-conf-test] | Found a
  24136. 2121.38 s [opt-env-conf-test]
  24137. 2121.38 s [opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
  24138. 2121.38 s [opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
  24139. 2121.38 s [opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
  24140. 2121.38 s [opt-env-conf-test] Just ne -> pure ne
  24141. 2121.38 s [opt-env-conf-test]
  24142. 2121.38 s [opt-env-conf-test] -- Try the readers in order
  24143. 2121.38 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  24144. 2121.38 s [opt-env-conf-test]
  24145. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
  24146. 2121.38 s [opt-env-conf-test] @@ -565,12 +565,11 @@
  24147. 2121.38 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24148. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24149. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24150. 2121.38 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24151. 2121.38 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24152. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24153. 2121.38 s [opt-env-conf-test] mNewConfig <- go pc
  24154. 2121.38 s [opt-env-conf-test] mRes <- go pa
  24155. 2121.38 s [opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
  24156. 2121.38 s [opt-env-conf-test] ParserSetting mLoc _ -> do
  24157. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  24158. 2121.38 s [opt-env-conf-test] pure Nothing
  24159. 2121.38 s [opt-env-conf-test]
  24160. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
  24161. 2121.38 s [opt-env-conf-test] @@ -562,9 +562,8 @@
  24162. 2121.38 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24163. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24164. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24165. 2121.38 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24166. 2121.38 s [opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24167. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24168. 2121.38 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24169. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24170. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24171. 2121.38 s [opt-env-conf-test]
  24172. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
  24173. 2121.38 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  24174. 2121.38 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24175. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24176. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24177. 2121.38 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24178. 2121.38 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24179. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24180. 2121.38 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24181. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24182. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24183. 2121.38 s [opt-env-conf-test]
  24184. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
  24185. 2121.38 s [opt-env-conf-test] @@ -541,18 +541,17 @@
  24186. 2121.38 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24187. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24188. 2121.38 s [opt-env-conf-test] pure Nothing
  24189. 2121.38 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24190. 2121.38 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24191. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24192. 2121.38 s [opt-env-conf-test] debug ["Trying left side."]
  24193. 2121.38 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24194. 2121.38 s [opt-env-conf-test] case eor of
  24195. 2121.38 s [opt-env-conf-test] Just a -> do
  24196. 2121.38 s [opt-env-conf-test] debug ["Left side succeeded."]
  24197. 2121.38 s [opt-env-conf-test] pure a
  24198. 2121.38 s [opt-env-conf-test] Nothing -> do
  24199. 2121.38 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24200. 2121.38 s [opt-env-conf-test] ppIndent $ go p2
  24201. 2121.38 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24202. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24203. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24204. 2121.38 s [opt-env-conf-test]
  24205. 2121.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
  24206. 2121.38 s [opt-env-conf-test] @@ -546,13 +546,10 @@
  24207. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24208. 2121.38 s [opt-env-conf-test] debug ["Trying left side."]
  24209. 2121.38 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24210. 2121.38 s [opt-env-conf-test] case eor of
  24211. 2121.38 s [opt-env-conf-test] Just a -> do
  24212. 2121.38 s [opt-env-conf-test] debug ["Left side succeeded."]
  24213. 2121.38 s [opt-env-conf-test] pure a
  24214. 2121.38 s [opt-env-conf-test] - Nothing -> do
  24215. 2121.38 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24216. 2121.38 s [opt-env-conf-test] - ppIndent $ go p2
  24217. 2121.38 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24218. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24219. 2121.38 s [opt-env-conf-test] ppIndent $ go p'
  24220. 2121.38 s [opt-env-conf-test]
  24221. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
  24222. 2121.38 s [opt-env-conf-test] @@ -526,12 +526,11 @@
  24223. 2121.38 s [opt-env-conf-test] ParserPure _ -> do
  24224. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24225. 2121.38 s [opt-env-conf-test] pure Nothing
  24226. 2121.38 s [opt-env-conf-test] ParserAp ff fa -> do
  24227. 2121.38 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24228. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24229. 2121.38 s [opt-env-conf-test] mf <- go ff
  24230. 2121.38 s [opt-env-conf-test] ma <- go fa
  24231. 2121.38 s [opt-env-conf-test] pure $ ma <|> mf -- Reverse order
  24232. 2121.38 s [opt-env-conf-test] ParserSelect fe ff -> do
  24233. 2121.38 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24234. 2121.38 s [opt-env-conf-test] ppIndent $ do
  24235. 2121.38 s [opt-env-conf-test]
  24236. 2121.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
  24237. 2121.38 s [opt-env-conf-test] @@ -511,11 +511,10 @@
  24238. 2121.38 s [opt-env-conf-test] ppEnvIndent = 0
  24239. 2121.38 s [opt-env-conf-test] }
  24240. 2121.38 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24241. 2121.38 s [opt-env-conf-test] case mResOrNext of
  24242. 2121.38 s [opt-env-conf-test] - Nothing -> pure $ Right Nothing
  24243. 2121.38 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24244. 2121.38 s [opt-env-conf-test] Failure errs -> Left errs
  24245. 2121.38 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24246. 2121.38 s [opt-env-conf-test] where
  24247. 2121.38 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24248. 2121.38 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24249. 2121.38 s [opt-env-conf-test]
  24250. 2121.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
  24251. 2121.38 s [opt-env-conf-test] @@ -513,9 +513,8 @@
  24252. 2121.38 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24253. 2121.38 s [opt-env-conf-test] case mResOrNext of
  24254. 2121.38 s [opt-env-conf-test] Nothing -> pure $ Right Nothing
  24255. 2121.38 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24256. 2121.38 s [opt-env-conf-test] - Failure errs -> Left errs
  24257. 2121.38 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24258. 2121.38 s [opt-env-conf-test] where
  24259. 2121.38 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24260. 2121.38 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24261. 2121.38 s [opt-env-conf-test]
  24262. 2121.38 s [opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
  24263. 2121.38 s [opt-env-conf-test] @@ -508,7 +508,7 @@
  24264. 2121.38 s [opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
  24265. 2121.38 s [opt-env-conf-test] ppEnvConf = Nothing,
  24266. 2121.38 s [opt-env-conf-test] ppEnvDebug = mDebugMode,
  24267. 2121.38 s [opt-env-conf-test] - ppEnvIndent = 0
  24268. 2121.38 s [opt-env-conf-test] + ppEnvIndent = 1
  24269. 2121.38 s [opt-env-conf-test] }
  24270. 2121.38 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24271. 2121.38 s [opt-env-conf-test] case mResOrNext of
  24272. 2121.38 s [opt-env-conf-test]
  24273. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
  24274. 2121.38 s [opt-env-conf-test] @@ -367,11 +367,10 @@
  24275. 2121.38 s [opt-env-conf-test] | not (null commandDocs)
  24276. 2121.38 s [opt-env-conf-test] ],
  24277. 2121.38 s [opt-env-conf-test] concat
  24278. 2121.38 s [opt-env-conf-test] [ [ headerChunks "Options",
  24279. 2121.38 s [opt-env-conf-test] renderLongOptDocs optDocs
  24280. 2121.38 s [opt-env-conf-test] ]
  24281. 2121.38 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24282. 2121.38 s [opt-env-conf-test] ],
  24283. 2121.38 s [opt-env-conf-test] concat
  24284. 2121.38 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24285. 2121.38 s [opt-env-conf-test] renderEnvDocs envDocs
  24286. 2121.38 s [opt-env-conf-test]
  24287. 2121.38 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
  24288. 2121.38 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  24289. 2121.38 s [opt-env-conf-test] [ [ headerChunks "Options",
  24290. 2121.38 s [opt-env-conf-test] renderLongOptDocs optDocs
  24291. 2121.38 s [opt-env-conf-test] ]
  24292. 2121.38 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24293. 2121.38 s [opt-env-conf-test] + | True
  24294. 2121.38 s [opt-env-conf-test] ],
  24295. 2121.38 s [opt-env-conf-test] concat
  24296. 2121.38 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24297. 2121.38 s [opt-env-conf-test]
  24298. 2121.38 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
  24299. 2121.38 s [opt-env-conf-test] @@ -326,11 +326,10 @@
  24300. 2121.38 s [opt-env-conf-test] | not (null commandDocs)
  24301. 2121.38 s [opt-env-conf-test] ],
  24302. 2121.38 s [opt-env-conf-test] concat
  24303. 2121.38 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24304. 2121.38 s [opt-env-conf-test] renderLongOptDocs optDocs
  24305. 2121.38 s [opt-env-conf-test] ]
  24306. 2121.38 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24307. 2121.38 s [opt-env-conf-test] ],
  24308. 2121.38 s [opt-env-conf-test] concat
  24309. 2121.38 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24310. 2121.38 s [opt-env-conf-test] renderEnvDocs envDocs
  24311. 2121.38 s [opt-env-conf-test]
  24312. 2121.38 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
  24313. 2121.38 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  24314. 2121.38 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24315. 2121.38 s [opt-env-conf-test] renderLongOptDocs optDocs
  24316. 2121.38 s [opt-env-conf-test] ]
  24317. 2121.38 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24318. 2121.38 s [opt-env-conf-test] + | True
  24319. 2121.38 s [opt-env-conf-test] ],
  24320. 2121.38 s [opt-env-conf-test] concat
  24321. 2121.38 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24322. 2121.38 s [opt-env-conf-test]
  24323. 2121.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
  24324. 2121.38 s [opt-env-conf-test] @@ -565,21 +565,20 @@
  24325. 2121.38 s [opt-env-conf-test] [] -> []
  24326. 2121.39 s [opt-env-conf-test] [d] -> go isTopLevel d
  24327. 2121.39 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24328. 2121.39 s [opt-env-conf-test] case setDocHelp d of
  24329. 2121.39 s [opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24330. 2121.39 s [opt-env-conf-test] Just h ->
  24331. 2121.39 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24332. 2121.39 s [opt-env-conf-test] in concat
  24333. 2121.39 s [opt-env-conf-test] [ concat
  24334. 2121.39 s [opt-env-conf-test] [ concat
  24335. 2121.39 s [opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
  24336. 2121.39 s [opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  24337. 2121.39 s [opt-env-conf-test] [[]]
  24338. 2121.39 s [opt-env-conf-test] ]
  24339. 2121.39 s [opt-env-conf-test] | not isTopLevel
  24340. 2121.39 s [opt-env-conf-test] ],
  24341. 2121.39 s [opt-env-conf-test] goOr isTopLevel rest
  24342. 2121.39 s [opt-env-conf-test] ]
  24343. 2121.39 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24344. 2121.39 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24345. 2121.39 s [opt-env-conf-test] goSameHelp h = \case
  24346. 2121.39 s [opt-env-conf-test]
  24347. 2121.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
  24348. 2121.39 s [opt-env-conf-test] @@ -578,7 +578,7 @@
  24349. 2121.39 s [opt-env-conf-test] ]
  24350. 2121.39 s [opt-env-conf-test] | not isTopLevel
  24351. 2121.39 s [opt-env-conf-test] ],
  24352. 2121.39 s [opt-env-conf-test] - goOr isTopLevel rest
  24353. 2121.39 s [opt-env-conf-test] + goOr True rest
  24354. 2121.39 s [opt-env-conf-test] ]
  24355. 2121.39 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24356. 2121.39 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24357. 2121.39 s [opt-env-conf-test]
  24358. 2121.39 s [opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
  24359. 2121.39 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24360. 2121.39 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24361. 2121.39 s [opt-env-conf-test] goOr isTopLevel = \case
  24362. 2121.39 s [opt-env-conf-test] [] -> []
  24363. 2121.39 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24364. 2121.39 s [opt-env-conf-test] + [d] -> go not (isTopLevel) d
  24365. 2121.39 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24366. 2121.39 s [opt-env-conf-test] case setDocHelp d of
  24367. 2121.39 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24368. 2121.39 s [opt-env-conf-test]
  24369. 2121.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
  24370. 2121.39 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24371. 2121.39 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24372. 2121.39 s [opt-env-conf-test] goOr isTopLevel = \case
  24373. 2121.39 s [opt-env-conf-test] [] -> []
  24374. 2121.39 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24375. 2121.39 s [opt-env-conf-test] + [d] -> go True d
  24376. 2121.39 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24377. 2121.39 s [opt-env-conf-test] case setDocHelp d of
  24378. 2121.39 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24379. 2121.39 s [opt-env-conf-test]
  24380. 2121.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
  24381. 2121.39 s [opt-env-conf-test] @@ -585,7 +585,7 @@
  24382. 2121.39 s [opt-env-conf-test] goSameHelp h = \case
  24383. 2121.39 s [opt-env-conf-test] [] -> ([], [])
  24384. 2121.39 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24385. 2121.39 s [opt-env-conf-test] - if setDocHelp d == Just h
  24386. 2121.39 s [opt-env-conf-test] + if True
  24387. 2121.39 s [opt-env-conf-test] then
  24388. 2121.39 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24389. 2121.39 s [opt-env-conf-test] in (d : sds, rest)
  24390. 2121.39 s [opt-env-conf-test]
  24391. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
  24392. 2121.39 s [opt-env-conf-test] @@ -529,12 +529,11 @@
  24393. 2121.39 s [opt-env-conf-test] [] -> []
  24394. 2121.39 s [opt-env-conf-test] [d] -> [go' d]
  24395. 2121.39 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24396. 2121.39 s [opt-env-conf-test] case setDocHelp d of
  24397. 2121.39 s [opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
  24398. 2121.39 s [opt-env-conf-test] Just h ->
  24399. 2121.39 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24400. 2121.39 s [opt-env-conf-test] ne = d :| sds
  24401. 2121.39 s [opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
  24402. 2121.39 s [opt-env-conf-test] (d : ds) -> go' d : goOr' ds
  24403. 2121.39 s [opt-env-conf-test]
  24404. 2121.39 s [opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
  24405. 2121.39 s [opt-env-conf-test]
  24406. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
  24407. 2121.39 s [opt-env-conf-test] @@ -256,18 +256,16 @@
  24408. 2121.39 s [opt-env-conf-test] concat
  24409. 2121.39 s [opt-env-conf-test] [ concatMap
  24410. 2121.39 s [opt-env-conf-test] ( \(key, schema) ->
  24411. 2121.39 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24412. 2121.39 s [opt-env-conf-test] - [line] ->
  24413. 2121.39 s [opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
  24414. 2121.39 s [opt-env-conf-test] ls ->
  24415. 2121.39 s [opt-env-conf-test] ["config:"]
  24416. 2121.39 s [opt-env-conf-test] : indent
  24417. 2121.39 s [opt-env-conf-test] ( case ls of
  24418. 2121.39 s [opt-env-conf-test] [] -> [["TODO"]]
  24419. 2121.39 s [opt-env-conf-test] (l : ll) ->
  24420. 2121.39 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24421. 2121.39 s [opt-env-conf-test] : indent ll
  24422. 2121.39 s [opt-env-conf-test] )
  24423. 2121.39 s [opt-env-conf-test] )
  24424. 2121.39 s [opt-env-conf-test] (NE.toList confs)
  24425. 2121.39 s [opt-env-conf-test] | confs <- maybeToList setDocConfKeys
  24426. 2121.39 s [opt-env-conf-test]
  24427. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
  24428. 2121.39 s [opt-env-conf-test] @@ -262,11 +262,10 @@
  24429. 2121.39 s [opt-env-conf-test] ls ->
  24430. 2121.39 s [opt-env-conf-test] ["config:"]
  24431. 2121.39 s [opt-env-conf-test] : indent
  24432. 2121.39 s [opt-env-conf-test] ( case ls of
  24433. 2121.39 s [opt-env-conf-test] - [] -> [["TODO"]]
  24434. 2121.39 s [opt-env-conf-test] (l : ll) ->
  24435. 2121.39 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24436. 2121.39 s [opt-env-conf-test] : indent ll
  24437. 2121.39 s [opt-env-conf-test] )
  24438. 2121.39 s [opt-env-conf-test] )
  24439. 2121.39 s [opt-env-conf-test] (NE.toList confs)
  24440. 2121.39 s [opt-env-conf-test]
  24441. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
  24442. 2121.39 s [opt-env-conf-test] @@ -658,29 +658,28 @@
  24443. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24444. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24445. 2121.39 s [opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
  24446. 2121.39 s [opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
  24447. 2121.39 s [opt-env-conf-test] - Nothing -> Nothing
  24448. 2121.39 s [opt-env-conf-test] Just OptDoc {..} ->
  24449. 2121.39 s [opt-env-conf-test] Just
  24450. 2121.39 s [opt-env-conf-test] $ ( if isJust optDocDefault
  24451. 2121.39 s [opt-env-conf-test] then bracketise
  24452. 2121.39 s [opt-env-conf-test] else id
  24453. 2121.39 s [opt-env-conf-test] )
  24454. 2121.39 s [opt-env-conf-test] $ unwordsChunks
  24455. 2121.39 s [opt-env-conf-test] $ concat
  24456. 2121.39 s [opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
  24457. 2121.39 s [opt-env-conf-test] | optDocTryArgument
  24458. 2121.39 s [opt-env-conf-test] ],
  24459. 2121.39 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
  24460. 2121.39 s [opt-env-conf-test] | optDocTrySwitch
  24461. 2121.39 s [opt-env-conf-test] ],
  24462. 2121.39 s [opt-env-conf-test] [ concat
  24463. 2121.39 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
  24464. 2121.39 s [opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
  24465. 2121.39 s [opt-env-conf-test] ]
  24466. 2121.39 s [opt-env-conf-test] | optDocTryOption
  24467. 2121.39 s [opt-env-conf-test] ]
  24468. 2121.39 s [opt-env-conf-test] ]
  24469. 2121.39 s [opt-env-conf-test]
  24470. 2121.39 s [opt-env-conf-test] orChunk :: Chunk
  24471. 2121.39 s [opt-env-conf-test] orChunk = fore cyan "|"
  24472. 2121.39 s [opt-env-conf-test]
  24473. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24474. 2121.39 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24475. 2121.39 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24476. 2121.39 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24477. 2121.39 s [opt-env-conf-test] AnyDocsAnd ds ->
  24478. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24479. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24480. 2121.39 s [opt-env-conf-test] - [c] -> Just c
  24481. 2121.39 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24482. 2121.39 s [opt-env-conf-test] AnyDocsOr ds ->
  24483. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24484. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24485. 2121.39 s [opt-env-conf-test]
  24486. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24487. 2121.39 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24488. 2121.39 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24489. 2121.39 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24490. 2121.39 s [opt-env-conf-test] AnyDocsAnd ds ->
  24491. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24492. 2121.39 s [opt-env-conf-test] - [] -> Nothing
  24493. 2121.39 s [opt-env-conf-test] [c] -> Just c
  24494. 2121.39 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24495. 2121.39 s [opt-env-conf-test] AnyDocsOr ds ->
  24496. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24497. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24498. 2121.39 s [opt-env-conf-test]
  24499. 2121.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
  24500. 2121.39 s [opt-env-conf-test] @@ -653,7 +653,7 @@
  24501. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24502. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24503. 2121.39 s [opt-env-conf-test] [c] -> Just c
  24504. 2121.39 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24505. 2121.39 s [opt-env-conf-test] + cs -> Just $ (if False then parenthesise else id) $ unwordsChunks cs
  24506. 2121.39 s [opt-env-conf-test] AnyDocsOr ds ->
  24507. 2121.39 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24508. 2121.39 s [opt-env-conf-test] [] -> Nothing
  24509. 2121.39 s [opt-env-conf-test]
  24510. 2121.39 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
  24511. 2121.39 s [opt-env-conf-test] @@ -634,7 +634,7 @@
  24512. 2121.39 s [opt-env-conf-test] withoutNothings =
  24513. 2121.39 s [opt-env-conf-test] filter
  24514. 2121.39 s [opt-env-conf-test] ( \case
  24515. 2121.39 s [opt-env-conf-test] - AnyDocsSingle Nothing -> False
  24516. 2121.39 s [opt-env-conf-test] + AnyDocsSingle Nothing -> True
  24517. 2121.39 s [opt-env-conf-test] AnyDocsAnd [] -> False
  24518. 2121.39 s [opt-env-conf-test] AnyDocsOr [] -> False
  24519. 2121.39 s [opt-env-conf-test] _ -> True
  24520. 2121.39 s [opt-env-conf-test]
  24521. 2121.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
  24522. 2121.39 s [opt-env-conf-test] @@ -819,11 +819,9 @@
  24523. 2121.40 s [opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
  24524. 2121.40 s [opt-env-conf-test] concatMap
  24525. 2121.40 s [opt-env-conf-test] ( \(key, schema) ->
  24526. 2121.40 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24527. 2121.40 s [opt-env-conf-test] - [line] ->
  24528. 2121.40 s [opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
  24529. 2121.40 s [opt-env-conf-test] ls ->
  24530. 2121.40 s [opt-env-conf-test] [confValChunk key, ":"] : indent ls
  24531. 2121.40 s [opt-env-conf-test] )
  24532. 2121.40 s [opt-env-conf-test] (NE.toList confDocKeys)
  24533. 2121.40 s [opt-env-conf-test] ]
  24534. 2121.40 s [opt-env-conf-test]
  24535. 2121.40 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
  24536. 2121.40 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24537. 2121.40 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24538. 2121.40 s [opt-env-conf-test] salt
  24539. 2121.40 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24540. 2121.40 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24541. 2121.40 s [opt-env-conf-test] + `hashWithSalt` not (envVarSettingAllowPrefix)
  24542. 2121.40 s [opt-env-conf-test]
  24543. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24544. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24545. 2121.40 s [opt-env-conf-test]
  24546. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24547. 2121.40 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24548. 2121.40 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24549. 2121.40 s [opt-env-conf-test] salt
  24550. 2121.40 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24551. 2121.40 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24552. 2121.40 s [opt-env-conf-test] + `hashWithSalt` False
  24553. 2121.40 s [opt-env-conf-test]
  24554. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24555. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24556. 2121.40 s [opt-env-conf-test]
  24557. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24558. 2121.40 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24559. 2121.40 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24560. 2121.40 s [opt-env-conf-test] salt
  24561. 2121.40 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24562. 2121.40 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24563. 2121.40 s [opt-env-conf-test] + `hashWithSalt` True
  24564. 2121.40 s [opt-env-conf-test]
  24565. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24566. 2121.40 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24567. 2121.40 s [opt-env-conf-test]
  24568. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
  24569. 2121.40 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  24570. 2121.40 s [opt-env-conf-test]
  24571. 2121.40 s [opt-env-conf-test] data EnvVarSetting = EnvVarSetting
  24572. 2121.40 s [opt-env-conf-test] { envVarSettingVar :: !String,
  24573. 2121.40 s [opt-env-conf-test] - envVarSettingAllowPrefix :: !Bool
  24574. 2121.40 s [opt-env-conf-test] + True :: !Bool
  24575. 2121.40 s [opt-env-conf-test] }
  24576. 2121.40 s [opt-env-conf-test] deriving (Show, Eq)
  24577. 2121.40 s [opt-env-conf-test]
  24578. 2121.40 s [opt-env-conf-test]
  24579. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
  24580. 2121.40 s [opt-env-conf-test] @@ -156,7 +156,7 @@
  24581. 2121.40 s [opt-env-conf-test] = forall void.
  24582. 2121.40 s [opt-env-conf-test] ConfigValSetting
  24583. 2121.40 s [opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
  24584. 2121.40 s [opt-env-conf-test] - configValSettingAllowPrefix :: !Bool,
  24585. 2121.40 s [opt-env-conf-test] + True :: !Bool,
  24586. 2121.40 s [opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
  24587. 2121.40 s [opt-env-conf-test] }
  24588. 2121.40 s [opt-env-conf-test]
  24589. 2121.40 s [opt-env-conf-test]
  24590. 2121.40 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
  24591. 2121.40 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24592. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24593. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24594. 2121.40 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24595. 2121.40 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24596. 2121.40 s [opt-env-conf-test] + `hashWithSalt` not (settingTryOption)
  24597. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24598. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24599. 2121.40 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24600. 2121.40 s [opt-env-conf-test]
  24601. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24602. 2121.40 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24603. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24604. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24605. 2121.40 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24606. 2121.40 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24607. 2121.40 s [opt-env-conf-test] + `hashWithSalt` False
  24608. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24609. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24610. 2121.40 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24611. 2121.40 s [opt-env-conf-test]
  24612. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24613. 2121.40 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24614. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24615. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24616. 2121.40 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24617. 2121.40 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24618. 2121.40 s [opt-env-conf-test] + `hashWithSalt` True
  24619. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24620. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24621. 2121.40 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24622. 2121.40 s [opt-env-conf-test]
  24623. 2121.40 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
  24624. 2121.40 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24625. 2121.40 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24626. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24627. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24628. 2121.40 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24629. 2121.40 s [opt-env-conf-test] + `hashWithSalt` not (isJust settingSwitchValue)
  24630. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24631. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24632. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24633. 2121.40 s [opt-env-conf-test]
  24634. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24635. 2121.40 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24636. 2121.40 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24637. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24638. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24639. 2121.40 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24640. 2121.40 s [opt-env-conf-test] + `hashWithSalt` False
  24641. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24642. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24643. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24644. 2121.40 s [opt-env-conf-test]
  24645. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24646. 2121.40 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24647. 2121.40 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24648. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24649. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24650. 2121.40 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24651. 2121.40 s [opt-env-conf-test] + `hashWithSalt` True
  24652. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24653. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24654. 2121.40 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24655. 2121.40 s [opt-env-conf-test]
  24656. 2121.40 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
  24657. 2121.40 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24658. 2121.40 s [opt-env-conf-test] SettingHash
  24659. 2121.40 s [opt-env-conf-test] ( 42
  24660. 2121.40 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24661. 2121.40 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24662. 2121.40 s [opt-env-conf-test] + `hashWithSalt` not (settingTryArgument)
  24663. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24664. 2121.40 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24665. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24666. 2121.40 s [opt-env-conf-test]
  24667. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
  24668. 2121.40 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24669. 2121.40 s [opt-env-conf-test] SettingHash
  24670. 2121.40 s [opt-env-conf-test] ( 42
  24671. 2121.40 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24672. 2121.40 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24673. 2121.40 s [opt-env-conf-test] + `hashWithSalt` False
  24674. 2121.40 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24675. 2121.40 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24676. 2121.40 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24677. 2121.40 s [opt-env-conf-test]
  24678. 2121.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setttion: "]
  24679. 2121.40 s [opt-env-conf-test] : maybe [] renderConfDoc md
  24680. 2121.40 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  24681. 2121.40 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  24682. 2121.40 s [opt-env-conf-test] ["Missing command, available commands:"]
  24683. 2121.40 s [opt-env-conf-test] : availableCommandsLines cs
  24684. 2121.40 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  24685. 2121.40 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  24686. 2121.40 s [opt-env-conf-test] [fore blue "available commands:"]
  24687. 2121.40 s [opt-env-conf-test] ]
  24688. 2121.40 s [opt-env-conf-test] ++ availableCommandsLines cs
  24689. 2121.40 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  24690. 2121.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."],
  24691. 2121.40 s [opt-env-conf-test] ["The following settings have been parsed:"]
  24692. 2121.40 s [opt-env-conf-test] ]
  24693. 2121.40 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  24694. 2121.40 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  24695. 2121.40 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  24696. 2121.40 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  24697. 2121.40 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  24698. 2121.40 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  24699. 2121.40 s [opt-env-conf-test] ]
  24700. 2121.40 s [opt-env-conf-test]
  24701. 2121.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  24702. 2121.40 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  24703. 2121.40 s [opt-env-conf-test] Nothing ->
  24704. 2121.40 s [opt-env-conf-test] case rest of
  24705. 2121.40 s [opt-env-conf-test] (Live v : rest') ->
  24706. 2121.40 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  24707. 2121.40 s [opt-env-conf-test] + case consumeDashedOption dasheds True cs of
  24708. 2121.40 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  24709. 2121.40 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  24710. 2121.40 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  24711. 2121.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  24712. 2121.40 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  24713. 2121.40 s [opt-env-conf-test] Nothing ->
  24714. 2121.40 s [opt-env-conf-test] case rest of
  24715. 2121.40 s [opt-env-conf-test] (Live v : rest') ->
  24716. 2121.40 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  24717. 2121.40 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  24718. 2121.40 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  24719. 2121.40 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  24720. 2121.40 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24721. 2121.40 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24722. 2121.40 s [opt-env-conf-test]
  24723. 2121.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  24724. 2121.40 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  24725. 2121.40 s [opt-env-conf-test] Nothing ->
  24726. 2121.40 s [opt-env-conf-test] case rest of
  24727. 2121.40 s [opt-env-conf-test] (Live v : rest') ->
  24728. 2121.40 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  24729. 2121.40 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  24730. 2121.40 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  24731. 2121.41 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  24732. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24733. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24734. 2121.41 s [opt-env-conf-test]
  24735. 2121.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  24736. 2121.41 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  24737. 2121.41 s [opt-env-conf-test] Nothing ->
  24738. 2121.41 s [opt-env-conf-test] case rest of
  24739. 2121.41 s [opt-env-conf-test] (Live v : rest') ->
  24740. 2121.41 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  24741. 2121.41 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  24742. 2121.41 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  24743. 2121.41 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  24744. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24745. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24746. 2121.41 s [opt-env-conf-test]
  24747. 2121.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  24748. 2121.41 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  24749. 2121.41 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  24750. 2121.41 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  24751. 2121.41 s [opt-env-conf-test] ArgDashed isLong cs ->
  24752. 2121.41 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  24753. 2121.41 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds True cs of
  24754. 2121.41 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  24755. 2121.41 s [opt-env-conf-test] Nothing ->
  24756. 2121.41 s [opt-env-conf-test] case rest of
  24757. 2121.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  24758. 2121.41 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  24759. 2121.41 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  24760. 2121.41 s [opt-env-conf-test] Nothing ->
  24761. 2121.41 s [opt-env-conf-test] -- TODO option value on the border
  24762. 2121.41 s [opt-env-conf-test] case go (argsAfter as) of
  24763. 2121.41 s [opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  24764. 2121.41 s [opt-env-conf-test] - Nothing -> Nothing
  24765. 2121.41 s [opt-env-conf-test] where
  24766. 2121.41 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  24767. 2121.41 s [opt-env-conf-test] go = \case
  24768. 2121.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  24769. 2121.41 s [opt-env-conf-test] @@ -240,13 +240,8 @@
  24770. 2121.41 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  24771. 2121.41 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  24772. 2121.41 s [opt-env-conf-test] Nothing ->
  24773. 2121.41 s [opt-env-conf-test] case rest of
  24774. 2121.41 s [opt-env-conf-test] - (Live v : rest') ->
  24775. 2121.41 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  24776. 2121.41 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  24777. 2121.41 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  24778. 2121.41 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  24779. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24780. 2121.41 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  24781. 2121.41 s [opt-env-conf-test]
  24782. 2121.41 s [opt-env-conf-test] consumeDashedShorthandOption ::
  24783. 2121.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
  24784. 2121.41 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  24785. 2121.41 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  24786. 2121.41 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  24787. 2121.41 s [opt-env-conf-test] ArgDashed isLong cs ->
  24788. 2121.41 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  24789. 2121.41 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds not (isLong) cs of
  24790. 2121.41 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  24791. 2121.41 s [opt-env-conf-test] Nothing ->
  24792. 2121.41 s [opt-env-conf-test] case rest of
  24793. 2121.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  24794. 2121.41 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  24795. 2121.41 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  24796. 2121.41 s [opt-env-conf-test] Nothing ->
  24797. 2121.41 s [opt-env-conf-test] -- TODO option value on the border
  24798. 2121.41 s [opt-env-conf-test] case go (argsAfter as) of
  24799. 2121.41 s [opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  24800. 2121.41 s [opt-env-conf-test] Nothing -> Nothing
  24801. 2121.41 s [opt-env-conf-test] where
  24802. 2121.41 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  24803. 2121.41 s [opt-env-conf-test] go = \case
  24804. 2121.41 s [opt-env-conf-test] ing.hs:125:24-42
  24805. 2121.41 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24806. 2121.41 s [opt-env-conf-test] SettingHash
  24807. 2121.41 s [opt-env-conf-test] ( 42
  24808. 2121.41 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24809. 2121.41 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24810. 2121.41 s [opt-env-conf-test] + `hashWithSalt` True
  24811. 2121.41 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24812. 2121.41 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24813. 2121.41 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24814. 2121.41 s [opt-env-conf-test]
  24815. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
  24816. 2121.41 s [opt-env-conf-test] @@ -145,7 +145,7 @@
  24817. 2121.41 s [opt-env-conf-test]
  24818. 2121.41 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24819. 2121.41 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24820. 2121.41 s [opt-env-conf-test] - if envVarSettingAllowPrefix e
  24821. 2121.41 s [opt-env-conf-test] + if True
  24822. 2121.41 s [opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
  24823. 2121.41 s [opt-env-conf-test] else e
  24824. 2121.41 s [opt-env-conf-test]
  24825. 2121.41 s [opt-env-conf-test]
  24826. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
  24827. 2121.41 s [opt-env-conf-test] @@ -162,7 +162,7 @@
  24828. 2121.41 s [opt-env-conf-test]
  24829. 2121.41 s [opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
  24830. 2121.41 s [opt-env-conf-test] prefixConfigValSetting prefix c =
  24831. 2121.41 s [opt-env-conf-test] - if configValSettingAllowPrefix c
  24832. 2121.41 s [opt-env-conf-test] + if True
  24833. 2121.41 s [opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
  24834. 2121.41 s [opt-env-conf-test] else c
  24835. 2121.41 s [opt-env-conf-test]
  24836. 2121.41 s [opt-env-conf-test]
  24837. 2121.41 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
  24838. 2121.41 s [opt-env-conf-test] @@ -170,9 +170,8 @@
  24839. 2121.41 s [opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
  24840. 2121.41 s [opt-env-conf-test] where
  24841. 2121.41 s [opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
  24842. 2121.41 s [opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
  24843. 2121.41 s [opt-env-conf-test] Nothing -> (f <> suffix) :| []
  24844. 2121.41 s [opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
  24845. 2121.41 s [opt-env-conf-test]
  24846. 2121.41 s [opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
  24847. 2121.41 s [opt-env-conf-test] emptySetting :: Setting a
  24848. 2121.41 s [opt-env-conf-test]
  24849. 2121.41 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
  24850. 2121.41 s [opt-env-conf-test] @@ -64,10 +64,8 @@
  24851. 2121.41 s [opt-env-conf-test]
  24852. 2121.41 s [opt-env-conf-test] parserLintTest :: Parser a -> IO ()
  24853. 2121.41 s [opt-env-conf-test] parserLintTest parser =
  24854. 2121.41 s [opt-env-conf-test] case lintParser parser of
  24855. 2121.41 s [opt-env-conf-test] Nothing -> pure ()
  24856. 2121.41 s [opt-env-conf-test] - Just errs ->
  24857. 2121.41 s [opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
  24858. 2121.41 s [opt-env-conf-test]
  24859. 2121.41 s [opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
  24860. 2121.41 s [opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
  24861. 2121.41 s [opt-env-conf-test]
  24862. 2121.41 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
  24863. 2121.41 s [opt-env-conf-test] @@ -146,14 +146,13 @@
  24864. 2121.41 s [opt-env-conf-test]
  24865. 2121.41 s [opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
  24866. 2121.41 s [opt-env-conf-test] generatedFileComment cs =
  24867. 2121.41 s [opt-env-conf-test] let loc = case getCallStack cs of
  24868. 2121.41 s [opt-env-conf-test] (_, srcLoc) : _ ->
  24869. 2121.41 s [opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
  24870. 2121.41 s [opt-env-conf-test] <> ":"
  24871. 2121.41 s [opt-env-conf-test] <> Stack.srcLocFile srcLoc
  24872. 2121.41 s [opt-env-conf-test] <> ":"
  24873. 2121.41 s [opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
  24874. 2121.41 s [opt-env-conf-test] - [] -> "unknown"
  24875. 2121.41 s [opt-env-conf-test] in T.pack $
  24876. 2121.41 s [opt-env-conf-test] unlines $
  24877. 2121.41 s [opt-env-conf-test] map
  24878. 2121.41 s [opt-env-conf-test]
  24879. 2121.41 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
  24880. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24881. 2121.41 s [opt-env-conf-test] where
  24882. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24883. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24884. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24885. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) || elem '.' v && all (\c -> isDigit c || c == '.') v
  24886. 2121.41 s [opt-env-conf-test]
  24887. 2121.41 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
  24888. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24889. 2121.41 s [opt-env-conf-test] where
  24890. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24891. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24892. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24893. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v || all (\c -> isDigit c || c == '.') v
  24894. 2121.41 s [opt-env-conf-test]
  24895. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
  24896. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24897. 2121.41 s [opt-env-conf-test] where
  24898. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24899. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24900. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24901. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) && True
  24902. 2121.41 s [opt-env-conf-test]
  24903. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
  24904. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24905. 2121.41 s [opt-env-conf-test] where
  24906. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24907. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24908. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24909. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && True
  24910. 2121.41 s [opt-env-conf-test]
  24911. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
  24912. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24913. 2121.41 s [opt-env-conf-test] where
  24914. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24915. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24916. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24917. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True) v
  24918. 2121.41 s [opt-env-conf-test]
  24919. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
  24920. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24921. 2121.41 s [opt-env-conf-test] where
  24922. 2121.41 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24923. 2121.41 s [opt-env-conf-test] go (c : rest) = c : go rest
  24924. 2121.41 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24925. 2121.41 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || True) v
  24926. 2121.41 s [opt-env-conf-test]
  24927. 2121.41 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
  24928. 2121.41 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24929. 2121.42 s [opt-env-conf-test] where
  24930. 2121.42 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24931. 2121.42 s [opt-env-conf-test] go (c : rest) = c : go rest
  24932. 2121.42 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24933. 2121.42 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True || c == '.') v
  24934. 2121.42 s [opt-env-conf-test]
  24935. 2121.42 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
  24936. 2121.42 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24937. 2121.42 s [opt-env-conf-test] where
  24938. 2121.42 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24939. 2121.42 s [opt-env-conf-test] go (c : rest) = c : go rest
  24940. 2121.42 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24941. 2121.42 s [opt-env-conf-test] + isVersion v = not (null v) && True && all (\c -> isDigit c || c == '.') v
  24942. 2121.42 s [opt-env-conf-test]
  24943. 2121.42 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
  24944. 2121.42 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24945. 2121.42 s [opt-env-conf-test] where
  24946. 2121.42 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24947. 2121.42 s [opt-env-conf-test] go (c : rest) = c : go rest
  24948. 2121.42 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24949. 2121.42 s [opt-env-conf-test] + isVersion v = True && elem '.' v && all (\c -> isDigit c || c == '.') v
  24950. 2121.42 s [opt-env-conf-test]
  24951. 2121.42 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
  24952. 2121.42 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24953. 2121.42 s [opt-env-conf-test] where
  24954. 2121.42 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24955. 2121.42 s [opt-env-conf-test] go (c : rest) = c : go rest
  24956. 2121.42 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24957. 2121.42 s [opt-env-conf-test] + isVersion v = not False && elem '.' v && all (\c -> isDigit c || c == '.') v
  24958. 2121.42 s [opt-env-conf-test]
  24959. 2121.42 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
  24960. 2121.42 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24961. 2121.42 s [opt-env-conf-test] where
  24962. 2121.42 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24963. 2121.42 s [opt-env-conf-test] go (c : rest) = c : go rest
  24964. 2121.42 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24965. 2121.42 s [opt-env-conf-test] + isVersion v = not (False) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24966. 2121.42 s [opt-env-conf-test] checkPhase completed in 27 minutes 30 seconds
  24967. 2121.42 s [opt-env-conf-test] Phase: haddockPhase
  24968. 2121.42 s [opt-env-conf-test] Phase: installPhase
  24969. 2121.42 s [opt-env-conf-test] Installing library in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-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-3WilUK79pGbKEOnYVCQCp5
  24970. 2121.67 s [opt-env-conf-test] Phase: fixupPhase
  24971. 2121.69 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
  24972. 2121.69 s [opt-env-conf-test] shrinking /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-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-3WilUK79pGbKEOnYVCQCp5-ghc9.10.3.so
  24973. 2121.73 s [opt-env-conf-test] shrinking /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
  24974. 2121.76 s [opt-env-conf-test] checking for references to /build/ in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4...
  24975. 2121.79 s [opt-env-conf-test] patching script interpreter paths in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
  24976. 2121.80 s [opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/lib /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4/bin
  24977. 2121.88 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest
  24978. 2121.89 s [opt-env-conf-test] checking for references to /build/ in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest...
  24979. 2121.90 s [opt-env-conf-test] patching script interpreter paths in /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest
  24980. 2121.90 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report
  24981. 2121.97 s [opt-env-conf-test] checking for references to /build/ in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report...
  24982. 2122.06 s [opt-env-conf-test] patching script interpreter paths in /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report
  24983. 2122.23 s [post-build-hook] Uploading to cachix cache "sydtest": /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
  24984. 2122.79 s [post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
  24985. 2122.79 s [post-build-hook]
  24986. 2123.14 s [post-build-hook] Pushing /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report (2.88 MiB)
  24987. 2123.17 s [post-build-hook] Pushing /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4 (15.01 MiB)
  24988. 2123.22 s [post-build-hook] Pushing /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
  24989. 2124.77 s [post-build-hook]
  24990. 2124.77 s [post-build-hook] All done.
  24991. 2124.79 s [post-build-hook] Uploading to the NixCI staging cache: /nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report /nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest /nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4
  24992. 2124.84 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  24993. 2125.14 s [post-build-hook] copying 3 paths...
  24994. 2125.14 s [post-build-hook] copying path '/nix/store/y4mj0r6yw2lrba7cm0xcm7l2m6snsd23-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
  24995. 2125.14 s [post-build-hook] copying path '/nix/store/44axcxdjmwfpqd3r28h6p9lpi5fgllnh-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
  24996. 2125.14 s [post-build-hook] copying path '/nix/store/d1mrmzjx23v4bzjp0yma28asm0c9cyx9-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
  24997. 2129.18 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  24998. 2129.41 s [post-build-hook] copying 1 paths...
  24999. 2129.79 s [post-build-hook] copying path '/nix/store/pz2pjcgdf2ic1xwf63jg8370vacdza09-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
  25000. 2129.79 s Progress: 10 of 11 built