1. 1499.38 s [opt-env-conf-test] -- result.
  2. 1499.38 s [opt-env-conf-test] results <- for founds $ \varStr ->
  3. 1499.38 s [opt-env-conf-test] case tryReaders rs varStr of
  4. 1499.38 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  5. 1499.38 s [opt-env-conf-test] Right a -> do
  6. 1499.38 s [opt-env-conf-test] debug
  7. 1499.38 s [opt-env-conf-test] [ "set based on env: ",
  8. 1499.38 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  9. 1499.38 s [opt-env-conf-test] ]
  10. 1499.38 s [opt-env-conf-test] pure a
  11. 1499.38 s [opt-env-conf-test] case listToMaybe results of
  12. 1499.38 s [opt-env-conf-test] Nothing -> do
  13. 1499.38 s [opt-env-conf-test] debug
  14. 1499.38 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  15. 1499.38 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  16. 1499.38 s [opt-env-conf-test] ]
  17. 1499.38 s [opt-env-conf-test] pure NotFound
  18. 1499.38 s [opt-env-conf-test] Just a -> pure $ Found a
  19. 1499.39 s [opt-env-conf-test]
  20. 1499.39 s [opt-env-conf-test] case mEnv of
  21. 1499.39 s [opt-env-conf-test] Found a -> do
  22. 1499.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  23. 1499.39 s [opt-env-conf-test] @@ -357,14 +357,13 @@
  24. 1499.39 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  25. 1499.39 s [opt-env-conf-test] ]
  26. 1499.39 s [opt-env-conf-test] pure a
  27. 1499.39 s [opt-env-conf-test] case listToMaybe results of
  28. 1499.39 s [opt-env-conf-test] Nothing -> do
  29. 1499.39 s [opt-env-conf-test] debug
  30. 1499.39 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  31. 1499.39 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  32. 1499.39 s [opt-env-conf-test] ]
  33. 1504.31 s [opt-env-conf-test] pure NotFound
  34. 1504.31 s [opt-env-conf-test] - Just a -> pure $ Found a
  35. 1504.31 s [opt-env-conf-test]
  36. 1504.31 s [opt-env-conf-test] case mEnv of
  37. 1504.31 s [opt-env-conf-test] Found a -> do
  38. 1504.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
  39. 1504.31 s [opt-env-conf-test] @@ -349,14 +349,8 @@
  40. 1504.31 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  41. 1504.31 s [opt-env-conf-test] -- result.
  42. 1504.31 s [opt-env-conf-test] results <- for founds $ \varStr ->
  43. 1504.31 s [opt-env-conf-test] case tryReaders rs varStr of
  44. 1504.31 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  45. 1504.31 s [opt-env-conf-test] - Right a -> do
  46. 1504.31 s [opt-env-conf-test] - debug
  47. 1504.31 s [opt-env-conf-test] - [ "set based on env: ",
  48. 1504.32 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  49. 1504.32 s [opt-env-conf-test] - ]
  50. 1504.32 s [opt-env-conf-test] - pure a
  51. 1504.32 s [opt-env-conf-test] case listToMaybe results of
  52. 1504.32 s [opt-env-conf-test] Nothing -> do
  53. 1504.32 s [opt-env-conf-test] debug
  54. 1504.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
  55. 1504.32 s [opt-env-conf-test] @@ -357,14 +357,8 @@
  56. 1504.32 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  57. 1504.32 s [opt-env-conf-test] ]
  58. 1504.32 s [opt-env-conf-test] pure a
  59. 1504.32 s [opt-env-conf-test] case listToMaybe results of
  60. 1504.32 s [opt-env-conf-test] - Nothing -> do
  61. 1504.32 s [opt-env-conf-test] - debug
  62. 1504.32 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  63. 1504.32 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  64. 1504.32 s [opt-env-conf-test] - ]
  65. 1504.32 s [opt-env-conf-test] - pure NotFound
  66. 1504.32 s [opt-env-conf-test] Just a -> pure $ Found a
  67. 1504.32 s [opt-env-conf-test]
  68. 1504.32 s [opt-env-conf-test] case mEnv of
  69. 1504.32 s [opt-env-conf-test] Found a -> do
  70. 1504.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
  71. 1504.32 s [opt-env-conf-test] @@ -312,22 +312,13 @@
  72. 1504.32 s [opt-env-conf-test] -- always fails if it's missing a reader.
  73. 1504.32 s [opt-env-conf-test] rs <- requireReaders settingReaders
  74. 1504.32 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  75. 1504.33 s [opt-env-conf-test] case mS of
  76. 1504.33 s [opt-env-conf-test] Nothing -> do
  77. 1504.33 s [opt-env-conf-test] debug
  78. 1504.33 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  79. 1504.33 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  80. 1504.33 s [opt-env-conf-test] ]
  81. 1504.33 s [opt-env-conf-test] pure NotFound
  82. 1504.33 s [opt-env-conf-test] - Just optionStr -> cap $
  83. 1504.33 s [opt-env-conf-test] - case tryReaders rs optionStr of
  84. 1504.33 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  85. 1504.33 s [opt-env-conf-test] - Right a -> do
  86. 1504.33 s [opt-env-conf-test] - debug
  87. 1504.33 s [opt-env-conf-test] - [ "set based on option: ",
  88. 1504.33 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  89. 1504.33 s [opt-env-conf-test] - ]
  90. 1504.33 s [opt-env-conf-test] - pure $ Found a
  91. 1504.33 s [opt-env-conf-test] else pure NotRun
  92. 1504.33 s [opt-env-conf-test]
  93. 1504.33 s [opt-env-conf-test] case mOpt of
  94. 1504.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  95. 1504.33 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  96. 1504.38 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  97. 1504.38 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  98. 1504.38 s [opt-env-conf-test] Nothing -> do
  99. 1504.38 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  100. 1504.38 s [opt-env-conf-test] - Nothing -> pure Nothing
  101. 1504.38 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  102. 1504.38 s [opt-env-conf-test] Just neRest -> do
  103. 1504.38 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  104. 1504.38 s [opt-env-conf-test] case mO' of
  105. 1504.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  106. 1504.39 s [opt-env-conf-test] @@ -383,16 +383,12 @@
  107. 1504.39 s [opt-env-conf-test] Just obj -> do
  108. 1504.39 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  109. 1504.39 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  110. 1504.39 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  111. 1504.39 s [opt-env-conf-test] - Nothing -> do
  112. 1504.39 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  113. 1504.39 s [opt-env-conf-test] - Nothing -> pure Nothing
  114. 1504.39 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  115. 1504.39 s [opt-env-conf-test] Just neRest -> do
  116. 1504.39 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  117. 1504.39 s [opt-env-conf-test] case mO' of
  118. 1504.39 s [opt-env-conf-test] Nothing -> pure Nothing
  119. 1504.39 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  120. 1504.39 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  121. 1504.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  122. 1504.39 s [opt-env-conf-test] Right mV -> case mV of
  123. 1504.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  124. 1504.39 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  125. 1504.39 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  126. 1504.39 s [opt-env-conf-test] Just neRest -> do
  127. 1504.39 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  128. 1504.39 s [opt-env-conf-test] case mO' of
  129. 1504.39 s [opt-env-conf-test] Nothing -> pure Nothing
  130. 1504.39 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  131. 1504.39 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  132. 1504.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  133. 1504.39 s [opt-env-conf-test] Right mV -> case mV of
  134. 1504.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
  135. 1504.39 s [opt-env-conf-test] @@ -383,16 +383,11 @@
  136. 1504.39 s [opt-env-conf-test] Just obj -> do
  137. 1504.39 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  138. 1504.39 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  139. 1504.39 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  140. 1504.39 s [opt-env-conf-test] Nothing -> do
  141. 1504.39 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  142. 1504.39 s [opt-env-conf-test] Nothing -> pure Nothing
  143. 1504.39 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  144. 1504.40 s [opt-env-conf-test] - Just neRest -> do
  145. 1504.40 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  146. 1504.40 s [opt-env-conf-test] - case mO' of
  147. 1504.40 s [opt-env-conf-test] - Nothing -> pure Nothing
  148. 1504.40 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  149. 1504.40 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  150. 1504.40 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  151. 1504.40 s [opt-env-conf-test] Right mV -> case mV of
  152. 1504.40 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
  153. 1504.40 s [opt-env-conf-test] @@ -416,7 +416,7 @@
  154. 1504.40 s [opt-env-conf-test] [ "set based on config value: ",
  155. 1504.40 s [opt-env-conf-test] chunk $ T.pack $ show v
  156. 1504.40 s [opt-env-conf-test] ]
  157. 1504.40 s [opt-env-conf-test] - pure $ Just a
  158. 1504.40 s [opt-env-conf-test] + pure $ Nothing
  159. 1507.84 s [opt-env-conf-test] let toRes = \case
  160. 1507.84 s [opt-env-conf-test] Nothing -> NotFound
  161. 1507.84 s [opt-env-conf-test] Just a -> Found a
  162. 1507.84 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  163. 1507.84 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  164. 1507.84 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  165. 1507.84 s [opt-env-conf-test] Just neRest -> do
  166. 1507.85 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  167. 1507.85 s [opt-env-conf-test] case mO' of
  168. 1507.85 s [opt-env-conf-test] - Nothing -> pure Nothing
  169. 1507.85 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  170. 1507.85 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  171. 1507.85 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  172. 1507.85 s [opt-env-conf-test] Right mV -> case mV of
  173. 1507.85 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:196:72-82
  174. 1507.85 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  175. 1507.85 s [opt-env-conf-test] errOrB <- liftIO $ f a
  176. 1507.85 s [opt-env-conf-test] case errOrB of
  177. 1507.85 s [opt-env-conf-test] Left err -> do
  178. 1507.85 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  179. 1507.85 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not (forgivable)]
  180. 1507.85 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  181. 1507.85 s [opt-env-conf-test] Right b -> do
  182. 1507.85 s [opt-env-conf-test] debug ["succeeded"]
  183. 1507.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  184. 1507.85 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  185. 1507.85 s [opt-env-conf-test] pure Nothing
  186. 1507.85 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  187. 1507.85 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  188. 1507.85 s [opt-env-conf-test] Right mA -> case mA of
  189. 1507.85 s [opt-env-conf-test] Nothing -> do
  190. 1507.85 s [opt-env-conf-test] debug
  191. 1507.85 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  192. 1507.85 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  193. 1507.85 s [opt-env-conf-test] ]
  194. 1507.85 s [opt-env-conf-test] pure Nothing
  195. 1507.85 s [opt-env-conf-test] - Just a -> do
  196. 1507.85 s [opt-env-conf-test] - debug
  197. 1507.85 s [opt-env-conf-test] - [ "set based on config value: ",
  198. 1507.85 s [opt-env-conf-test] - chunk $ T.pack $ show v
  199. 1507.85 s [opt-env-conf-test] - ]
  200. 1507.85 s [opt-env-conf-test] - pure $ Just a
  201. 1507.86 s [opt-env-conf-test] let toRes = \case
  202. 1507.86 s [opt-env-conf-test] Nothing -> NotFound
  203. 1507.86 s [opt-env-conf-test] Just a -> Found a
  204. 1507.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
  205. 1507.86 s [opt-env-conf-test] @@ -404,19 +404,13 @@
  206. 1507.86 s [opt-env-conf-test] pure Nothing
  207. 1507.86 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  208. 1507.86 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  209. 1507.86 s [opt-env-conf-test] Right mA -> case mA of
  210. 1507.86 s [opt-env-conf-test] - Nothing -> do
  211. 1507.86 s [opt-env-conf-test] - debug
  212. 1507.86 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  213. 1507.86 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  214. 1507.86 s [opt-env-conf-test] - ]
  215. 1507.86 s [opt-env-conf-test] - pure Nothing
  216. 1507.86 s [opt-env-conf-test] Just a -> do
  217. 1507.86 s [opt-env-conf-test] debug
  218. 1507.86 s [opt-env-conf-test] [ "set based on config value: ",
  219. 1507.86 s [opt-env-conf-test] chunk $ T.pack $ show v
  220. 1507.86 s [opt-env-conf-test] ]
  221. 1507.86 s [opt-env-conf-test] pure $ Just a
  222. 1507.86 s [opt-env-conf-test] let toRes = \case
  223. 1507.86 s [opt-env-conf-test] Nothing -> NotFound
  224. 1507.86 s [opt-env-conf-test] Just a -> Found a
  225. 1507.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  226. 1507.86 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  227. 1507.86 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  228. 1507.86 s [opt-env-conf-test] ]
  229. 1507.86 s [opt-env-conf-test] pure Nothing
  230. 1507.86 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  231. 1507.86 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  232. 1507.86 s [opt-env-conf-test] Right mA -> case mA of
  233. 1507.86 s [opt-env-conf-test] Nothing -> do
  234. 1507.86 s [opt-env-conf-test] debug
  235. 1507.86 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  236. 1507.86 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  237. 1507.86 s [opt-env-conf-test] ]
  238. 1507.86 s [opt-env-conf-test] pure Nothing
  239. 1507.86 s [opt-env-conf-test] Just a -> do
  240. 1507.86 s [opt-env-conf-test] debug
  241. 1507.86 s [opt-env-conf-test] [ "set based on config value: ",
  242. 1507.86 s [opt-env-conf-test] chunk $ T.pack $ show v
  243. 1507.86 s [opt-env-conf-test] ]
  244. 1507.86 s [opt-env-conf-test] pure $ Just a
  245. 1507.86 s [opt-env-conf-test] let toRes = \case
  246. 1507.86 s [opt-env-conf-test] Nothing -> NotFound
  247. 1507.86 s [opt-env-conf-test] Just a -> Found a
  248. 1507.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  249. 1507.86 s [opt-env-conf-test] @@ -402,21 +402,8 @@
  250. 1507.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  251. 1507.87 s [opt-env-conf-test] ]
  252. 1507.87 s [opt-env-conf-test] pure Nothing
  253. 1507.87 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  254. 1507.87 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  255. 1507.87 s [opt-env-conf-test] - Right mA -> case mA of
  256. 1507.87 s [opt-env-conf-test] - Nothing -> do
  257. 1507.87 s [opt-env-conf-test] - debug
  258. 1507.87 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  259. 1507.87 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  260. 1507.87 s [opt-env-conf-test] - ]
  261. 1507.87 s [opt-env-conf-test] - pure Nothing
  262. 1507.87 s [opt-env-conf-test] - Just a -> do
  263. 1507.87 s [opt-env-conf-test] - debug
  264. 1507.87 s [opt-env-conf-test] - [ "set based on config value: ",
  265. 1507.87 s [opt-env-conf-test] - chunk $ T.pack $ show v
  266. 1507.87 s [opt-env-conf-test] - ]
  267. 1507.87 s [opt-env-conf-test] - pure $ Just a
  268. 1507.87 s [opt-env-conf-test] let toRes = \case
  269. 1507.87 s [opt-env-conf-test] Nothing -> NotFound
  270. 1507.87 s [opt-env-conf-test] Just a -> Found a
  271. 1507.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  272. 1507.87 s [opt-env-conf-test] @@ -395,28 +395,22 @@
  273. 1507.87 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  274. 1507.87 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  275. 1507.87 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  276. 1507.87 s [opt-env-conf-test] Right mV -> case mV of
  277. 1507.87 s [opt-env-conf-test] - Nothing -> do
  278. 1507.87 s [opt-env-conf-test] - debug
  279. 1507.87 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  280. 1507.87 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  281. 1507.87 s [opt-env-conf-test] - ]
  282. 1507.87 s [opt-env-conf-test] - pure Nothing
  283. 1507.87 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  284. 1507.87 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  285. 1507.87 s [opt-env-conf-test] Right mA -> case mA of
  286. 1507.87 s [opt-env-conf-test] Nothing -> do
  287. 1507.87 s [opt-env-conf-test] debug
  288. 1507.87 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  289. 1507.87 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  290. 1507.87 s [opt-env-conf-test] ]
  291. 1507.87 s [opt-env-conf-test] pure Nothing
  292. 1507.87 s [opt-env-conf-test] Just a -> do
  293. 1507.87 s [opt-env-conf-test] debug
  294. 1507.87 s [opt-env-conf-test] [ "set based on config value: ",
  295. 1507.87 s [opt-env-conf-test] chunk $ T.pack $ show v
  296. 1507.87 s [opt-env-conf-test] ]
  297. 1508.40 s [opt-env-conf-test] pure $ Just a
  298. 1508.40 s [opt-env-conf-test] let toRes = \case
  299. 1508.40 s [opt-env-conf-test] Nothing -> NotFound
  300. 1508.40 s [opt-env-conf-test] Just a -> Found a
  301. 1508.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
  302. 1508.41 s [opt-env-conf-test] @@ -395,28 +395,13 @@
  303. 1508.41 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  304. 1508.41 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  305. 1508.41 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  306. 1508.41 s [opt-env-conf-test] Right mV -> case mV of
  307. 1508.41 s [opt-env-conf-test] Nothing -> do
  308. 1508.41 s [opt-env-conf-test] debug
  309. 1508.41 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  310. 1508.41 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  311. 1508.41 s [opt-env-conf-test] ]
  312. 1508.41 s [opt-env-conf-test] pure Nothing
  313. 1508.41 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  314. 1508.41 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  315. 1508.41 s [opt-env-conf-test] - Right mA -> case mA of
  316. 1508.41 s [opt-env-conf-test] - Nothing -> do
  317. 1508.41 s [opt-env-conf-test] - debug
  318. 1508.41 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  319. 1508.41 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  320. 1508.41 s [opt-env-conf-test] - ]
  321. 1508.41 s [opt-env-conf-test] - pure Nothing
  322. 1508.41 s [opt-env-conf-test] - Just a -> do
  323. 1508.41 s [opt-env-conf-test] - debug
  324. 1508.41 s [opt-env-conf-test] - [ "set based on config value: ",
  325. 1508.41 s [opt-env-conf-test] - chunk $ T.pack $ show v
  326. 1509.00 s [opt-env-conf-test] - ]
  327. 1509.00 s [opt-env-conf-test] - pure $ Just a
  328. 1509.01 s [opt-env-conf-test] let toRes = \case
  329. 1509.01 s [opt-env-conf-test] Nothing -> NotFound
  330. 1509.01 s [opt-env-conf-test] Just a -> Found a
  331. 1509.01 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
  332. 1509.01 s [opt-env-conf-test] @@ -219,7 +219,6 @@
  333. 1509.01 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  334. 1509.01 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  335. 1509.01 s [opt-env-conf-test] Just c -> do
  336. 1509.01 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  337. 1509.01 s [opt-env-conf-test] go $ commandParser c
  338. 1509.01 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  339. 1509.01 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  340. 1509.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  341. 1509.01 s [opt-env-conf-test] @@ -393,30 +393,8 @@
  342. 1509.01 s [opt-env-conf-test] case mO' of
  343. 1509.01 s [opt-env-conf-test] Nothing -> pure Nothing
  344. 1509.01 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  345. 1509.01 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  346. 1509.01 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  347. 1509.01 s [opt-env-conf-test] - Right mV -> case mV of
  348. 1509.01 s [opt-env-conf-test] - Nothing -> do
  349. 1509.01 s [opt-env-conf-test] - debug
  350. 1509.01 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  351. 1509.01 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  352. 1509.01 s [opt-env-conf-test] - ]
  353. 1509.01 s [opt-env-conf-test] - pure Nothing
  354. 1509.01 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  355. 1509.01 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  356. 1509.01 s [opt-env-conf-test] - Right mA -> case mA of
  357. 1509.02 s [opt-env-conf-test] - Nothing -> do
  358. 1509.02 s [opt-env-conf-test] - debug
  359. 1509.02 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  360. 1509.02 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  361. 1509.02 s [opt-env-conf-test] - ]
  362. 1509.02 s [opt-env-conf-test] - pure Nothing
  363. 1509.02 s [opt-env-conf-test] - Just a -> do
  364. 1509.12 s [opt-env-conf-test] - debug
  365. 1509.12 s [opt-env-conf-test] - [ "set based on config value: ",
  366. 1509.12 s [opt-env-conf-test] - chunk $ T.pack $ show v
  367. 1509.12 s [opt-env-conf-test] - ]
  368. 1509.12 s [opt-env-conf-test] - pure $ Just a
  369. 1509.12 s [opt-env-conf-test] let toRes = \case
  370. 1509.12 s [opt-env-conf-test] Nothing -> NotFound
  371. 1509.12 s [opt-env-conf-test] Just a -> Found a
  372. 1509.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  373. 1509.12 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  374. 1509.12 s [opt-env-conf-test] case mO' of
  375. 1509.12 s [opt-env-conf-test] Nothing -> pure Nothing
  376. 1509.12 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  377. 1509.12 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  378. 1509.12 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  379. 1509.12 s [opt-env-conf-test] Right mV -> case mV of
  380. 1509.12 s [opt-env-conf-test] Nothing -> do
  381. 1509.12 s [opt-env-conf-test] debug
  382. 1509.12 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  383. 1509.12 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  384. 1509.12 s [opt-env-conf-test] ]
  385. 1509.12 s [opt-env-conf-test] pure Nothing
  386. 1509.12 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  387. 1509.12 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  388. 1509.12 s [opt-env-conf-test] Right mA -> case mA of
  389. 1509.12 s [opt-env-conf-test] Nothing -> do
  390. 1509.12 s [opt-env-conf-test] debug
  391. 1509.12 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  392. 1509.13 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  393. 1509.13 s [opt-env-conf-test] ]
  394. 1509.13 s [opt-env-conf-test] pure Nothing
  395. 1509.13 s [opt-env-conf-test] Just a -> do
  396. 1509.13 s [opt-env-conf-test] debug
  397. 1509.13 s [opt-env-conf-test] [ "set based on config value: ",
  398. 1510.32 s [opt-env-conf-test] chunk $ T.pack $ show v
  399. 1510.32 s [opt-env-conf-test] ]
  400. 1510.38 s [opt-env-conf-test] pure $ Just a
  401. 1510.38 s [opt-env-conf-test] let toRes = \case
  402. 1510.38 s [opt-env-conf-test] Nothing -> NotFound
  403. 1510.38 s [opt-env-conf-test] Just a -> Found a
  404. 1510.38 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  405. 1510.38 s [opt-env-conf-test] @@ -420,13 +420,8 @@
  406. 1510.39 s [opt-env-conf-test] let toRes = \case
  407. 1510.39 s [opt-env-conf-test] Nothing -> NotFound
  408. 1510.39 s [opt-env-conf-test] Just a -> Found a
  409. 1510.39 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  410. 1510.39 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  411. 1510.39 s [opt-env-conf-test] - Just ne -> do
  412. 1510.39 s [opt-env-conf-test] - res <- goConfSet confSet
  413. 1510.39 s [opt-env-conf-test] - case res of
  414. 1510.39 s [opt-env-conf-test] - Just a -> pure $ Found a
  415. 1510.39 s [opt-env-conf-test] - Nothing -> goConfSets ne
  416. 1510.39 s [opt-env-conf-test] goConfSets confSets
  417. 1510.39 s [opt-env-conf-test] case mConf of
  418. 1510.39 s [opt-env-conf-test] Found a -> do
  419. 1510.39 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  420. 1510.39 s [opt-env-conf-test] @@ -376,58 +376,55 @@
  421. 1510.39 s [opt-env-conf-test] Nothing -> pure NotRun
  422. 1510.39 s [opt-env-conf-test] Just confSets -> do
  423. 1510.39 s [opt-env-conf-test] mObj <- asks ppEnvConf
  424. 1510.39 s [opt-env-conf-test] case mObj of
  425. 1510.39 s [opt-env-conf-test] - Nothing -> do
  426. 1510.39 s [opt-env-conf-test] - debug ["no config object to set from"]
  427. 1510.39 s [opt-env-conf-test] - pure NotFound
  428. 1510.39 s [opt-env-conf-test] Just obj -> do
  429. 1510.39 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  430. 1510.39 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  431. 1510.39 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  432. 1510.39 s [opt-env-conf-test] Nothing -> do
  433. 1510.39 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  434. 1510.39 s [opt-env-conf-test] Nothing -> pure Nothing
  435. 1510.39 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  436. 1510.39 s [opt-env-conf-test] Just neRest -> do
  437. 1510.39 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  438. 1510.39 s [opt-env-conf-test] case mO' of
  439. 1510.39 s [opt-env-conf-test] Nothing -> pure Nothing
  440. 1510.39 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  441. 1510.39 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  442. 1510.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  443. 1510.39 s [opt-env-conf-test] Right mV -> case mV of
  444. 1510.39 s [opt-env-conf-test] Nothing -> do
  445. 1510.39 s [opt-env-conf-test] debug
  446. 1510.39 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  447. 1510.39 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  448. 1510.39 s [opt-env-conf-test] ]
  449. 1510.39 s [opt-env-conf-test] pure Nothing
  450. 1510.39 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  451. 1510.39 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  452. 1510.39 s [opt-env-conf-test] Right mA -> case mA of
  453. 1510.40 s [opt-env-conf-test] Nothing -> do
  454. 1510.40 s [opt-env-conf-test] debug
  455. 1510.40 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  456. 1510.40 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  457. 1510.40 s [opt-env-conf-test] ]
  458. 1510.40 s [opt-env-conf-test] pure Nothing
  459. 1510.40 s [opt-env-conf-test] Just a -> do
  460. 1510.40 s [opt-env-conf-test] debug
  461. 1510.40 s [opt-env-conf-test] [ "set based on config value: ",
  462. 1510.40 s [opt-env-conf-test] chunk $ T.pack $ show v
  463. 1510.40 s [opt-env-conf-test] ]
  464. 1510.40 s [opt-env-conf-test] pure $ Just a
  465. 1510.40 s [opt-env-conf-test] let toRes = \case
  466. 1510.40 s [opt-env-conf-test] Nothing -> NotFound
  467. 1510.40 s [opt-env-conf-test] Just a -> Found a
  468. 1510.40 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  469. 1510.40 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  470. 1510.40 s [opt-env-conf-test] Just ne -> do
  471. 1510.40 s [opt-env-conf-test] res <- goConfSet confSet
  472. 1510.40 s [opt-env-conf-test] case res of
  473. 1510.40 s [opt-env-conf-test] Just a -> pure $ Found a
  474. 1510.40 s [opt-env-conf-test] Nothing -> goConfSets ne
  475. 1510.40 s [opt-env-conf-test] goConfSets confSets
  476. 1510.40 s [opt-env-conf-test] case mConf of
  477. 1510.40 s [opt-env-conf-test] Found a -> do
  478. 1510.40 s [opt-env-conf-test] markParsed
  479. 1510.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
  480. 1510.40 s [opt-env-conf-test] @@ -376,58 +376,10 @@
  481. 1510.40 s [opt-env-conf-test] Nothing -> pure NotRun
  482. 1510.40 s [opt-env-conf-test] Just confSets -> do
  483. 1510.40 s [opt-env-conf-test] mObj <- asks ppEnvConf
  484. 1510.40 s [opt-env-conf-test] case mObj of
  485. 1510.40 s [opt-env-conf-test] Nothing -> do
  486. 1510.40 s [opt-env-conf-test] debug ["no config object to set from"]
  487. 1510.40 s [opt-env-conf-test] pure NotFound
  488. 1510.40 s [opt-env-conf-test] - Just obj -> do
  489. 1510.40 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  490. 1510.40 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  491. 1510.40 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  492. 1510.40 s [opt-env-conf-test] - Nothing -> do
  493. 1510.40 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  494. 1510.40 s [opt-env-conf-test] - Nothing -> pure Nothing
  495. 1510.40 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  496. 1510.40 s [opt-env-conf-test] - Just neRest -> do
  497. 1510.40 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  498. 1510.40 s [opt-env-conf-test] - case mO' of
  499. 1510.40 s [opt-env-conf-test] - Nothing -> pure Nothing
  500. 1510.40 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  501. 1510.40 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  502. 1510.40 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  503. 1510.40 s [opt-env-conf-test] - Right mV -> case mV of
  504. 1510.40 s [opt-env-conf-test] - Nothing -> do
  505. 1510.40 s [opt-env-conf-test] - debug
  506. 1510.40 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  507. 1510.40 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  508. 1510.40 s [opt-env-conf-test] - ]
  509. 1510.40 s [opt-env-conf-test] - pure Nothing
  510. 1510.40 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  511. 1510.40 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  512. 1510.40 s [opt-env-conf-test] - Right mA -> case mA of
  513. 1510.41 s [opt-env-conf-test] - Nothing -> do
  514. 1510.41 s [opt-env-conf-test] - debug
  515. 1510.41 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  516. 1510.41 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  517. 1510.41 s [opt-env-conf-test] - ]
  518. 1510.41 s [opt-env-conf-test] - pure Nothing
  519. 1510.41 s [opt-env-conf-test] - Just a -> do
  520. 1510.41 s [opt-env-conf-test] - debug
  521. 1510.41 s [opt-env-conf-test] - [ "set based on config value: ",
  522. 1510.41 s [opt-env-conf-test] - chunk $ T.pack $ show v
  523. 1510.41 s [opt-env-conf-test] - ]
  524. 1510.41 s [opt-env-conf-test] - pure $ Just a
  525. 1510.41 s [opt-env-conf-test] - let toRes = \case
  526. 1510.41 s [opt-env-conf-test] - Nothing -> NotFound
  527. 1510.41 s [opt-env-conf-test] - Just a -> Found a
  528. 1510.41 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  529. 1510.41 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  530. 1513.68 s [opt-env-conf-test] - Just ne -> do
  531. 1513.68 s [opt-env-conf-test] - res <- goConfSet confSet
  532. 1513.68 s [opt-env-conf-test] - case res of
  533. 1513.68 s [opt-env-conf-test] - Just a -> pure $ Found a
  534. 1513.69 s [opt-env-conf-test] - Nothing -> goConfSets ne
  535. 1513.69 s [opt-env-conf-test] - goConfSets confSets
  536. 1513.69 s [opt-env-conf-test] case mConf of
  537. 1513.69 s [opt-env-conf-test] Found a -> do
  538. 1513.69 s [opt-env-conf-test] markParsed
  539. 1513.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
  540. 1513.69 s [opt-env-conf-test] @@ -420,13 +420,12 @@
  541. 1513.69 s [opt-env-conf-test] let toRes = \case
  542. 1513.69 s [opt-env-conf-test] Nothing -> NotFound
  543. 1513.69 s [opt-env-conf-test] Just a -> Found a
  544. 1513.69 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  545. 1513.69 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  546. 1513.69 s [opt-env-conf-test] Just ne -> do
  547. 1513.69 s [opt-env-conf-test] res <- goConfSet confSet
  548. 1513.69 s [opt-env-conf-test] case res of
  549. 1513.69 s [opt-env-conf-test] Just a -> pure $ Found a
  550. 1513.69 s [opt-env-conf-test] Nothing -> goConfSets ne
  551. 1513.69 s [opt-env-conf-test] goConfSets confSets
  552. 1513.69 s [opt-env-conf-test] case mConf of
  553. 1513.69 s [opt-env-conf-test] Found a -> do
  554. 1513.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  555. 1513.69 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  556. 1513.69 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  557. 1513.69 s [opt-env-conf-test] Just ne -> do
  558. 1513.69 s [opt-env-conf-test] res <- goConfSet confSet
  559. 1513.69 s [opt-env-conf-test] case res of
  560. 1513.69 s [opt-env-conf-test] Just a -> pure $ Found a
  561. 1513.69 s [opt-env-conf-test] - Nothing -> goConfSets ne
  562. 1513.69 s [opt-env-conf-test] goConfSets confSets
  563. 1513.69 s [opt-env-conf-test] case mConf of
  564. 1513.69 s [opt-env-conf-test] Found a -> do
  565. 1513.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
  566. 1513.69 s [opt-env-conf-test] @@ -424,9 +424,8 @@
  567. 1513.69 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  568. 1513.69 s [opt-env-conf-test] Just ne -> do
  569. 1513.69 s [opt-env-conf-test] res <- goConfSet confSet
  570. 1513.69 s [opt-env-conf-test] case res of
  571. 1513.69 s [opt-env-conf-test] - Just a -> pure $ Found a
  572. 1513.69 s [opt-env-conf-test] Nothing -> goConfSets ne
  573. 1513.69 s [opt-env-conf-test] goConfSets confSets
  574. 1513.70 s [opt-env-conf-test] case mConf of
  575. 1513.70 s [opt-env-conf-test] Found a -> do
  576. 1513.70 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
  577. 1513.70 s [opt-env-conf-test] @@ -385,9 +385,8 @@
  578. 1513.70 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  579. 1513.70 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  580. 1513.70 s [opt-env-conf-test] Nothing -> do
  581. 1513.70 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  582. 1513.70 s [opt-env-conf-test] Nothing -> pure Nothing
  583. 1513.70 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  584. 1513.70 s [opt-env-conf-test] Just neRest -> do
  585. 1513.70 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  586. 1513.70 s [opt-env-conf-test] case mO' of
  587. 1513.70 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  588. 1513.70 s [opt-env-conf-test] @@ -372,62 +372,61 @@
  589. 1513.70 s [opt-env-conf-test] pure a
  590. 1513.70 s [opt-env-conf-test] _ -> do
  591. 1513.70 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  592. 1513.70 s [opt-env-conf-test] mConf <- case settingConfigVals of
  593. 1513.70 s [opt-env-conf-test] - Nothing -> pure NotRun
  594. 1513.70 s [opt-env-conf-test] Just confSets -> do
  595. 1513.70 s [opt-env-conf-test] mObj <- asks ppEnvConf
  596. 1513.70 s [opt-env-conf-test] case mObj of
  597. 1513.70 s [opt-env-conf-test] Nothing -> do
  598. 1513.70 s [opt-env-conf-test] debug ["no config object to set from"]
  599. 1513.70 s [opt-env-conf-test] pure NotFound
  600. 1513.70 s [opt-env-conf-test] Just obj -> do
  601. 1513.70 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  602. 1513.70 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  603. 1513.70 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  604. 1513.70 s [opt-env-conf-test] Nothing -> do
  605. 1513.70 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  606. 1513.70 s [opt-env-conf-test] Nothing -> pure Nothing
  607. 1513.70 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  608. 1513.70 s [opt-env-conf-test] Just neRest -> do
  609. 1513.70 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  610. 1513.70 s [opt-env-conf-test] case mO' of
  611. 1513.70 s [opt-env-conf-test] Nothing -> pure Nothing
  612. 1513.70 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  613. 1513.70 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  614. 1513.70 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  615. 1513.70 s [opt-env-conf-test] Right mV -> case mV of
  616. 1513.70 s [opt-env-conf-test] Nothing -> do
  617. 1513.70 s [opt-env-conf-test] debug
  618. 1513.70 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  619. 1513.70 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  620. 1513.70 s [opt-env-conf-test] ]
  621. 1513.71 s [opt-env-conf-test] pure Nothing
  622. 1513.71 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  623. 1513.71 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  624. 1513.71 s [opt-env-conf-test] Right mA -> case mA of
  625. 1513.71 s [opt-env-conf-test] Nothing -> do
  626. 1513.71 s [opt-env-conf-test] debug
  627. 1513.71 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  628. 1513.71 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  629. 1513.71 s [opt-env-conf-test] ]
  630. 1513.71 s [opt-env-conf-test] pure Nothing
  631. 1513.71 s [opt-env-conf-test] Just a -> do
  632. 1513.71 s [opt-env-conf-test] debug
  633. 1513.71 s [opt-env-conf-test] [ "set based on config value: ",
  634. 1513.71 s [opt-env-conf-test] chunk $ T.pack $ show v
  635. 1513.71 s [opt-env-conf-test] ]
  636. 1513.71 s [opt-env-conf-test] pure $ Just a
  637. 1513.71 s [opt-env-conf-test] let toRes = \case
  638. 1513.71 s [opt-env-conf-test] Nothing -> NotFound
  639. 1513.71 s [opt-env-conf-test] Just a -> Found a
  640. 1513.71 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  641. 1513.71 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  642. 1513.71 s [opt-env-conf-test] Just ne -> do
  643. 1513.71 s [opt-env-conf-test] res <- goConfSet confSet
  644. 1513.71 s [opt-env-conf-test] case res of
  645. 1517.40 s [opt-env-conf-test] Just a -> pure $ Found a
  646. 1517.46 s [opt-env-conf-test] Nothing -> goConfSets ne
  647. 1517.46 s [opt-env-conf-test] goConfSets confSets
  648. 1517.46 s [opt-env-conf-test] case mConf of
  649. 1517.46 s [opt-env-conf-test] Found a -> do
  650. 1517.46 s [opt-env-conf-test] markParsed
  651. 1517.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  652. 1517.46 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  653. 1517.46 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  654. 1517.46 s [opt-env-conf-test] NE.nonEmpty $
  655. 1517.46 s [opt-env-conf-test] catMaybes
  656. 1517.46 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  657. 1517.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  658. 1517.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  659. 1517.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  660. 1517.46 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  661. 1517.46 s [opt-env-conf-test] ]
  662. 1517.46 s [opt-env-conf-test]
  663. 1517.46 s [opt-env-conf-test] withCapabilities ::
  664. 1517.46 s [opt-env-conf-test] Maybe SrcLoc ->
  665. 1517.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  666. 1517.46 s [opt-env-conf-test] @@ -446,12 +446,7 @@
  667. 1517.46 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  668. 1517.46 s [opt-env-conf-test] NE.nonEmpty $
  669. 1517.46 s [opt-env-conf-test] catMaybes
  670. 1517.46 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  671. 1517.46 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  672. 1517.46 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  673. 1517.46 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  674. 1517.46 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  675. 1517.46 s [opt-env-conf-test] ]
  676. 1517.46 s [opt-env-conf-test]
  677. 1517.46 s [opt-env-conf-test] withCapabilities ::
  678. 1517.46 s [opt-env-conf-test] Maybe SrcLoc ->
  679. 1517.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  680. 1517.46 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  681. 1517.46 s [opt-env-conf-test] debug ["set to default value"]
  682. 1517.46 s [opt-env-conf-test] pure a -- Don't mark as parsed
  683. 1517.46 s [opt-env-conf-test] Nothing -> do
  684. 1517.46 s [opt-env-conf-test] let parseResultError e res = case res of
  685. 1517.47 s [opt-env-conf-test] NotRun -> Nothing
  686. 1517.47 s [opt-env-conf-test] - NotFound -> Just e
  687. 1517.47 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  688. 1517.47 s [opt-env-conf-test] debug ["not found"]
  689. 1517.47 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  690. 1517.47 s [opt-env-conf-test] NE.nonEmpty $
  691. 1517.47 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  692. 1517.47 s [opt-env-conf-test] @@ -433,25 +433,10 @@
  693. 1517.47 s [opt-env-conf-test] markParsed
  694. 1517.47 s [opt-env-conf-test] pure a
  695. 1517.47 s [opt-env-conf-test] _ ->
  696. 1517.47 s [opt-env-conf-test] case settingDefaultValue of
  697. 1517.47 s [opt-env-conf-test] Just (a, _) -> do
  698. 1517.47 s [opt-env-conf-test] debug ["set to default value"]
  699. 1517.47 s [opt-env-conf-test] pure a -- Don't mark as parsed
  700. 1517.47 s [opt-env-conf-test] - Nothing -> do
  701. 1517.47 s [opt-env-conf-test] - let parseResultError e res = case res of
  702. 1517.47 s [opt-env-conf-test] - NotRun -> Nothing
  703. 1517.47 s [opt-env-conf-test] - NotFound -> Just e
  704. 1517.47 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  705. 1517.47 s [opt-env-conf-test] - debug ["not found"]
  706. 1517.47 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  707. 1517.47 s [opt-env-conf-test] - NE.nonEmpty $
  708. 1517.47 s [opt-env-conf-test] - catMaybes
  709. 1517.47 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  710. 1517.47 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  711. 1517.47 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  712. 1517.47 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  713. 1517.47 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  714. 1517.47 s [opt-env-conf-test] - ]
  715. 1517.47 s [opt-env-conf-test]
  716. 1517.47 s [opt-env-conf-test] withCapabilities ::
  717. 1517.47 s [opt-env-conf-test] Maybe SrcLoc ->
  718. 1517.47 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  719. 1517.47 s [opt-env-conf-test] @@ -428,30 +428,27 @@
  720. 1517.47 s [opt-env-conf-test] Just a -> pure $ Found a
  721. 1517.47 s [opt-env-conf-test] Nothing -> goConfSets ne
  722. 1517.47 s [opt-env-conf-test] goConfSets confSets
  723. 1517.47 s [opt-env-conf-test] case mConf of
  724. 1517.47 s [opt-env-conf-test] - Found a -> do
  725. 1517.47 s [opt-env-conf-test] - markParsed
  726. 1517.47 s [opt-env-conf-test] - pure a
  727. 1517.47 s [opt-env-conf-test] _ ->
  728. 1517.47 s [opt-env-conf-test] case settingDefaultValue of
  729. 1517.47 s [opt-env-conf-test] Just (a, _) -> do
  730. 1517.47 s [opt-env-conf-test] debug ["set to default value"]
  731. 1517.47 s [opt-env-conf-test] pure a -- Don't mark as parsed
  732. 1517.47 s [opt-env-conf-test] Nothing -> do
  733. 1517.47 s [opt-env-conf-test] let parseResultError e res = case res of
  734. 1517.47 s [opt-env-conf-test] NotRun -> Nothing
  735. 1517.47 s [opt-env-conf-test] NotFound -> Just e
  736. 1517.47 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  737. 1517.47 s [opt-env-conf-test] debug ["not found"]
  738. 1517.47 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  739. 1517.47 s [opt-env-conf-test] NE.nonEmpty $
  740. 1517.47 s [opt-env-conf-test] catMaybes
  741. 1517.48 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  742. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  743. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  744. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  745. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  746. 1517.48 s [opt-env-conf-test] ]
  747. 1517.48 s [opt-env-conf-test]
  748. 1517.48 s [opt-env-conf-test] withCapabilities ::
  749. 1517.48 s [opt-env-conf-test] Maybe SrcLoc ->
  750. 1517.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
  751. 1517.48 s [opt-env-conf-test] @@ -433,25 +433,22 @@
  752. 1517.48 s [opt-env-conf-test] markParsed
  753. 1517.48 s [opt-env-conf-test] pure a
  754. 1517.48 s [opt-env-conf-test] _ ->
  755. 1517.48 s [opt-env-conf-test] case settingDefaultValue of
  756. 1517.48 s [opt-env-conf-test] - Just (a, _) -> do
  757. 1517.48 s [opt-env-conf-test] - debug ["set to default value"]
  758. 1517.48 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  759. 1517.48 s [opt-env-conf-test] Nothing -> do
  760. 1517.48 s [opt-env-conf-test] let parseResultError e res = case res of
  761. 1517.48 s [opt-env-conf-test] NotRun -> Nothing
  762. 1517.48 s [opt-env-conf-test] NotFound -> Just e
  763. 1517.48 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  764. 1517.48 s [opt-env-conf-test] debug ["not found"]
  765. 1517.48 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  766. 1517.48 s [opt-env-conf-test] NE.nonEmpty $
  767. 1517.48 s [opt-env-conf-test] catMaybes
  768. 1517.48 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  769. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  770. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  771. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  772. 1517.48 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  773. 1517.48 s [opt-env-conf-test] ]
  774. 1517.48 s [opt-env-conf-test]
  775. 1517.48 s [opt-env-conf-test] withCapabilities ::
  776. 1517.48 s [opt-env-conf-test] Maybe SrcLoc ->
  777. 1517.48 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  778. 1517.48 s [opt-env-conf-test] @@ -330,128 +330,125 @@
  779. 1517.48 s [opt-env-conf-test] pure $ Found a
  780. 1517.48 s [opt-env-conf-test] else pure NotRun
  781. 1517.48 s [opt-env-conf-test]
  782. 1517.48 s [opt-env-conf-test] case mOpt of
  783. 1517.48 s [opt-env-conf-test] - Found a -> do
  784. 1517.48 s [opt-env-conf-test] - markParsed
  785. 1517.48 s [opt-env-conf-test] - pure a
  786. 1517.48 s [opt-env-conf-test] _ -> do
  787. 1517.48 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  788. 1517.48 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  789. 1517.48 s [opt-env-conf-test] Nothing -> pure NotRun
  790. 1517.48 s [opt-env-conf-test] Just ne -> do
  791. 1517.48 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  792. 1517.48 s [opt-env-conf-test] -- always fails if it's missing a reader.
  793. 1517.48 s [opt-env-conf-test] rs <- requireReaders settingReaders
  794. 1517.48 s [opt-env-conf-test] es <- asks ppEnvEnv
  795. 1517.48 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  796. 1517.48 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  797. 1517.48 s [opt-env-conf-test] -- returning the first because we want to fail if any
  798. 1517.48 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  799. 1517.48 s [opt-env-conf-test] -- result.
  800. 1517.48 s [opt-env-conf-test] results <- for founds $ \varStr ->
  801. 1517.48 s [opt-env-conf-test] case tryReaders rs varStr of
  802. 1517.48 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  803. 1517.48 s [opt-env-conf-test] Right a -> do
  804. 1517.48 s [opt-env-conf-test] debug
  805. 1517.48 s [opt-env-conf-test] [ "set based on env: ",
  806. 1517.48 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  807. 1517.49 s [opt-env-conf-test] ]
  808. 1517.49 s [opt-env-conf-test] pure a
  809. 1517.49 s [opt-env-conf-test] case listToMaybe results of
  810. 1517.49 s [opt-env-conf-test] Nothing -> do
  811. 1517.49 s [opt-env-conf-test] debug
  812. 1517.49 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  813. 1517.49 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  814. 1517.49 s [opt-env-conf-test] ]
  815. 1517.49 s [opt-env-conf-test] pure NotFound
  816. 1517.49 s [opt-env-conf-test] Just a -> pure $ Found a
  817. 1517.49 s [opt-env-conf-test]
  818. 1517.49 s [opt-env-conf-test] case mEnv of
  819. 1517.49 s [opt-env-conf-test] Found a -> do
  820. 1517.49 s [opt-env-conf-test] markParsed
  821. 1517.49 s [opt-env-conf-test] pure a
  822. 1517.49 s [opt-env-conf-test] _ -> do
  823. 1517.49 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  824. 1517.49 s [opt-env-conf-test] mConf <- case settingConfigVals of
  825. 1517.49 s [opt-env-conf-test] Nothing -> pure NotRun
  826. 1517.49 s [opt-env-conf-test] Just confSets -> do
  827. 1517.49 s [opt-env-conf-test] mObj <- asks ppEnvConf
  828. 1517.49 s [opt-env-conf-test] case mObj of
  829. 1517.49 s [opt-env-conf-test] Nothing -> do
  830. 1517.49 s [opt-env-conf-test] debug ["no config object to set from"]
  831. 1517.49 s [opt-env-conf-test] pure NotFound
  832. 1517.49 s [opt-env-conf-test] Just obj -> do
  833. 1517.49 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  834. 1517.49 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  835. 1517.49 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  836. 1517.49 s [opt-env-conf-test] Nothing -> do
  837. 1517.49 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  838. 1517.49 s [opt-env-conf-test] Nothing -> pure Nothing
  839. 1517.49 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  840. 1517.49 s [opt-env-conf-test] Just neRest -> do
  841. 1517.49 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  842. 1517.49 s [opt-env-conf-test] case mO' of
  843. 1517.49 s [opt-env-conf-test] Nothing -> pure Nothing
  844. 1517.49 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  845. 1517.49 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  846. 1517.49 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  847. 1517.49 s [opt-env-conf-test] Right mV -> case mV of
  848. 1517.49 s [opt-env-conf-test] Nothing -> do
  849. 1517.49 s [opt-env-conf-test] debug
  850. 1517.49 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  851. 1517.49 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  852. 1517.49 s [opt-env-conf-test] ]
  853. 1517.49 s [opt-env-conf-test] pure Nothing
  854. 1517.49 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  855. 1517.49 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  856. 1517.49 s [opt-env-conf-test] Right mA -> case mA of
  857. 1517.49 s [opt-env-conf-test] Nothing -> do
  858. 1517.49 s [opt-env-conf-test] debug
  859. 1517.49 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  860. 1517.49 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  861. 1517.49 s [opt-env-conf-test] ]
  862. 1517.49 s [opt-env-conf-test] pure Nothing
  863. 1517.49 s [opt-env-conf-test] Just a -> do
  864. 1517.49 s [opt-env-conf-test] debug
  865. 1517.49 s [opt-env-conf-test] [ "set based on config value: ",
  866. 1517.49 s [opt-env-conf-test] chunk $ T.pack $ show v
  867. 1517.49 s [opt-env-conf-test] ]
  868. 1517.49 s [opt-env-conf-test] pure $ Just a
  869. 1517.49 s [opt-env-conf-test] let toRes = \case
  870. 1517.49 s [opt-env-conf-test] Nothing -> NotFound
  871. 1517.49 s [opt-env-conf-test] Just a -> Found a
  872. 1517.49 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  873. 1517.49 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  874. 1517.50 s [opt-env-conf-test] Just ne -> do
  875. 1517.50 s [opt-env-conf-test] res <- goConfSet confSet
  876. 1517.50 s [opt-env-conf-test] case res of
  877. 1517.50 s [opt-env-conf-test] Just a -> pure $ Found a
  878. 1517.50 s [opt-env-conf-test] Nothing -> goConfSets ne
  879. 1517.50 s [opt-env-conf-test] goConfSets confSets
  880. 1517.50 s [opt-env-conf-test] case mConf of
  881. 1517.50 s [opt-env-conf-test] Found a -> do
  882. 1517.50 s [opt-env-conf-test] markParsed
  883. 1517.50 s [opt-env-conf-test] pure a
  884. 1517.50 s [opt-env-conf-test] _ ->
  885. 1517.50 s [opt-env-conf-test] case settingDefaultValue of
  886. 1517.50 s [opt-env-conf-test] Just (a, _) -> do
  887. 1517.50 s [opt-env-conf-test] debug ["set to default value"]
  888. 1517.50 s [opt-env-conf-test] pure a -- Don't mark as parsed
  889. 1517.50 s [opt-env-conf-test] Nothing -> do
  890. 1517.50 s [opt-env-conf-test] let parseResultError e res = case res of
  891. 1517.50 s [opt-env-conf-test] NotRun -> Nothing
  892. 1517.50 s [opt-env-conf-test] NotFound -> Just e
  893. 1517.50 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  894. 1517.50 s [opt-env-conf-test] debug ["not found"]
  895. 1517.50 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  896. 1517.50 s [opt-env-conf-test] NE.nonEmpty $
  897. 1517.50 s [opt-env-conf-test] catMaybes
  898. 1517.50 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  899. 1517.50 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  900. 1517.50 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  901. 1517.50 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  902. 1517.50 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  903. 1517.50 s [opt-env-conf-test] ]
  904. 1517.50 s [opt-env-conf-test]
  905. 1517.50 s [opt-env-conf-test] withCapabilities ::
  906. 1517.50 s [opt-env-conf-test] Maybe SrcLoc ->
  907. 1517.50 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  908. 1517.50 s [opt-env-conf-test] @@ -366,92 +366,10 @@
  909. 1517.50 s [opt-env-conf-test] pure NotFound
  910. 1517.50 s [opt-env-conf-test] Just a -> pure $ Found a
  911. 1517.50 s [opt-env-conf-test]
  912. 1517.50 s [opt-env-conf-test] case mEnv of
  913. 1517.50 s [opt-env-conf-test] Found a -> do
  914. 1517.50 s [opt-env-conf-test] markParsed
  915. 1517.50 s [opt-env-conf-test] pure a
  916. 1517.50 s [opt-env-conf-test] - _ -> do
  917. 1517.50 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  918. 1517.50 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  919. 1517.50 s [opt-env-conf-test] - Nothing -> pure NotRun
  920. 1517.50 s [opt-env-conf-test] - Just confSets -> do
  921. 1517.50 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  922. 1517.50 s [opt-env-conf-test] - case mObj of
  923. 1517.50 s [opt-env-conf-test] - Nothing -> do
  924. 1517.50 s [opt-env-conf-test] - debug ["no config object to set from"]
  925. 1517.50 s [opt-env-conf-test] - pure NotFound
  926. 1517.50 s [opt-env-conf-test] - Just obj -> do
  927. 1517.50 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  928. 1517.50 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  929. 1517.50 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  930. 1517.50 s [opt-env-conf-test] - Nothing -> do
  931. 1517.50 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  932. 1517.50 s [opt-env-conf-test] - Nothing -> pure Nothing
  933. 1517.50 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  934. 1517.50 s [opt-env-conf-test] - Just neRest -> do
  935. 1517.50 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  936. 1517.50 s [opt-env-conf-test] - case mO' of
  937. 1517.50 s [opt-env-conf-test] - Nothing -> pure Nothing
  938. 1517.50 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  939. 1517.50 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  940. 1517.50 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  941. 1517.50 s [opt-env-conf-test] - Right mV -> case mV of
  942. 1517.50 s [opt-env-conf-test] - Nothing -> do
  943. 1517.50 s [opt-env-conf-test] - debug
  944. 1517.50 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  945. 1517.50 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  946. 1517.50 s [opt-env-conf-test] - ]
  947. 1517.50 s [opt-env-conf-test] - pure Nothing
  948. 1517.50 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  949. 1517.50 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  950. 1517.50 s [opt-env-conf-test] - Right mA -> case mA of
  951. 1517.50 s [opt-env-conf-test] - Nothing -> do
  952. 1517.50 s [opt-env-conf-test] - debug
  953. 1517.50 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  954. 1517.50 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  955. 1517.50 s [opt-env-conf-test] - ]
  956. 1517.50 s [opt-env-conf-test] - pure Nothing
  957. 1517.50 s [opt-env-conf-test] - Just a -> do
  958. 1517.50 s [opt-env-conf-test] - debug
  959. 1517.51 s [opt-env-conf-test] - [ "set based on config value: ",
  960. 1517.51 s [opt-env-conf-test] - chunk $ T.pack $ show v
  961. 1517.51 s [opt-env-conf-test] - ]
  962. 1517.51 s [opt-env-conf-test] - pure $ Just a
  963. 1517.51 s [opt-env-conf-test] - let toRes = \case
  964. 1517.51 s [opt-env-conf-test] - Nothing -> NotFound
  965. 1517.51 s [opt-env-conf-test] - Just a -> Found a
  966. 1517.51 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  967. 1517.51 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  968. 1517.51 s [opt-env-conf-test] - Just ne -> do
  969. 1517.51 s [opt-env-conf-test] - res <- goConfSet confSet
  970. 1517.51 s [opt-env-conf-test] - case res of
  971. 1517.51 s [opt-env-conf-test] - Just a -> pure $ Found a
  972. 1517.51 s [opt-env-conf-test] - Nothing -> goConfSets ne
  973. 1517.51 s [opt-env-conf-test] - goConfSets confSets
  974. 1517.51 s [opt-env-conf-test] - case mConf of
  975. 1517.51 s [opt-env-conf-test] - Found a -> do
  976. 1517.51 s [opt-env-conf-test] - markParsed
  977. 1517.51 s [opt-env-conf-test] - pure a
  978. 1517.51 s [opt-env-conf-test] - _ ->
  979. 1517.51 s [opt-env-conf-test] - case settingDefaultValue of
  980. 1517.51 s [opt-env-conf-test] - Just (a, _) -> do
  981. 1517.51 s [opt-env-conf-test] - debug ["set to default value"]
  982. 1517.51 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  983. 1517.51 s [opt-env-conf-test] - Nothing -> do
  984. 1517.51 s [opt-env-conf-test] - let parseResultError e res = case res of
  985. 1517.51 s [opt-env-conf-test] - NotRun -> Nothing
  986. 1517.51 s [opt-env-conf-test] - NotFound -> Just e
  987. 1517.51 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  988. 1517.51 s [opt-env-conf-test] - debug ["not found"]
  989. 1517.51 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  990. 1517.51 s [opt-env-conf-test] - NE.nonEmpty $
  991. 1517.51 s [opt-env-conf-test] - catMaybes
  992. 1517.53 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  993. 1517.53 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  994. 1517.53 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  995. 1517.53 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  996. 1517.53 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  997. 1517.53 s [opt-env-conf-test] - ]
  998. 1517.53 s [opt-env-conf-test]
  999. 1517.53 s [opt-env-conf-test] withCapabilities ::
  1000. 1517.53 s [opt-env-conf-test] Maybe SrcLoc ->
  1001. 1517.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  1002. 1517.53 s [opt-env-conf-test] @@ -280,178 +280,175 @@
  1003. 1517.53 s [opt-env-conf-test] pure $ Found a
  1004. 1517.53 s [opt-env-conf-test] else pure NotRun
  1005. 1517.53 s [opt-env-conf-test]
  1006. 1517.53 s [opt-env-conf-test] case mArg of
  1007. 1517.54 s [opt-env-conf-test] - Found a -> do
  1008. 1517.54 s [opt-env-conf-test] - markParsed
  1009. 1517.54 s [opt-env-conf-test] - pure a
  1010. 1517.54 s [opt-env-conf-test] _ -> do
  1011. 1517.54 s [opt-env-conf-test] mSwitch <- case settingSwitchValue of
  1012. 1517.54 s [opt-env-conf-test] Nothing -> pure NotRun
  1013. 1517.54 s [opt-env-conf-test] Just a -> do
  1014. 1517.54 s [opt-env-conf-test] mS <- ppSwitch settingDasheds
  1015. 1517.54 s [opt-env-conf-test] case mS of
  1016. 1517.54 s [opt-env-conf-test] Nothing -> do
  1017. 1517.54 s [opt-env-conf-test] debug
  1018. 1517.54 s [opt-env-conf-test] [ "could not set based on switch, no switch: ",
  1019. 1517.54 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1020. 1517.54 s [opt-env-conf-test] ]
  1021. 1517.54 s [opt-env-conf-test] pure NotFound
  1022. 1517.54 s [opt-env-conf-test] Just () -> cap $ do
  1023. 1517.54 s [opt-env-conf-test] debug ["set based on switch."]
  1024. 1517.54 s [opt-env-conf-test] pure $ Found a
  1025. 1517.54 s [opt-env-conf-test]
  1026. 1517.54 s [opt-env-conf-test] case mSwitch of
  1027. 1517.54 s [opt-env-conf-test] Found a -> do
  1028. 1517.54 s [opt-env-conf-test] markParsed
  1029. 1517.54 s [opt-env-conf-test] pure a
  1030. 1517.54 s [opt-env-conf-test] _ -> do
  1031. 1517.54 s [opt-env-conf-test] mOpt <-
  1032. 1517.54 s [opt-env-conf-test] if settingTryOption
  1033. 1517.54 s [opt-env-conf-test] then do
  1034. 1517.54 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1035. 1517.54 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1036. 1517.54 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1037. 1517.54 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1038. 1517.54 s [opt-env-conf-test] case mS of
  1039. 1517.54 s [opt-env-conf-test] Nothing -> do
  1040. 1517.54 s [opt-env-conf-test] debug
  1041. 1517.54 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  1042. 1517.54 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1043. 1517.54 s [opt-env-conf-test] ]
  1044. 1517.54 s [opt-env-conf-test] pure NotFound
  1045. 1517.54 s [opt-env-conf-test] Just optionStr -> cap $
  1046. 1517.54 s [opt-env-conf-test] case tryReaders rs optionStr of
  1047. 1517.54 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1048. 1517.54 s [opt-env-conf-test] Right a -> do
  1049. 1517.54 s [opt-env-conf-test] debug
  1050. 1517.54 s [opt-env-conf-test] [ "set based on option: ",
  1051. 1517.54 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1052. 1517.54 s [opt-env-conf-test] ]
  1053. 1517.55 s [opt-env-conf-test] pure $ Found a
  1054. 1517.55 s [opt-env-conf-test] else pure NotRun
  1055. 1517.55 s [opt-env-conf-test]
  1056. 1517.55 s [opt-env-conf-test] case mOpt of
  1057. 1517.55 s [opt-env-conf-test] Found a -> do
  1058. 1517.55 s [opt-env-conf-test] markParsed
  1059. 1517.55 s [opt-env-conf-test] pure a
  1060. 1517.55 s [opt-env-conf-test] _ -> do
  1061. 1517.55 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1062. 1517.55 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1063. 1517.55 s [opt-env-conf-test] Nothing -> pure NotRun
  1064. 1517.55 s [opt-env-conf-test] Just ne -> do
  1065. 1517.55 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1066. 1517.55 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1067. 1517.55 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1068. 1517.55 s [opt-env-conf-test] es <- asks ppEnvEnv
  1069. 1517.55 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1070. 1517.55 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1071. 1517.55 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1072. 1517.55 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1073. 1517.55 s [opt-env-conf-test] -- result.
  1074. 1517.55 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1075. 1517.55 s [opt-env-conf-test] case tryReaders rs varStr of
  1076. 1517.55 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1077. 1517.55 s [opt-env-conf-test] Right a -> do
  1078. 1517.55 s [opt-env-conf-test] debug
  1079. 1517.55 s [opt-env-conf-test] [ "set based on env: ",
  1080. 1517.55 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1081. 1517.55 s [opt-env-conf-test] ]
  1082. 1517.55 s [opt-env-conf-test] pure a
  1083. 1517.55 s [opt-env-conf-test] case listToMaybe results of
  1084. 1517.55 s [opt-env-conf-test] Nothing -> do
  1085. 1517.55 s [opt-env-conf-test] debug
  1086. 1517.55 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1087. 1517.56 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1088. 1517.56 s [opt-env-conf-test] ]
  1089. 1517.56 s [opt-env-conf-test] pure NotFound
  1090. 1517.56 s [opt-env-conf-test] Just a -> pure $ Found a
  1091. 1517.56 s [opt-env-conf-test]
  1092. 1517.56 s [opt-env-conf-test] case mEnv of
  1093. 1517.56 s [opt-env-conf-test] Found a -> do
  1094. 1517.56 s [opt-env-conf-test] markParsed
  1095. 1517.56 s [opt-env-conf-test] pure a
  1096. 1517.56 s [opt-env-conf-test] _ -> do
  1097. 1517.56 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1098. 1517.56 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1099. 1517.56 s [opt-env-conf-test] Nothing -> pure NotRun
  1100. 1517.56 s [opt-env-conf-test] Just confSets -> do
  1101. 1517.56 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1102. 1517.56 s [opt-env-conf-test] case mObj of
  1103. 1517.56 s [opt-env-conf-test] Nothing -> do
  1104. 1517.56 s [opt-env-conf-test] debug ["no config object to set from"]
  1105. 1517.56 s [opt-env-conf-test] pure NotFound
  1106. 1517.56 s [opt-env-conf-test] Just obj -> do
  1107. 1517.56 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1108. 1517.56 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1109. 1517.56 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1110. 1517.56 s [opt-env-conf-test] Nothing -> do
  1111. 1517.56 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1112. 1517.56 s [opt-env-conf-test] Nothing -> pure Nothing
  1113. 1517.56 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1114. 1517.56 s [opt-env-conf-test] Just neRest -> do
  1115. 1517.56 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1116. 1517.56 s [opt-env-conf-test] case mO' of
  1117. 1517.56 s [opt-env-conf-test] Nothing -> pure Nothing
  1118. 1517.56 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1119. 1517.56 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1120. 1517.56 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1121. 1517.56 s [opt-env-conf-test] Right mV -> case mV of
  1122. 1517.56 s [opt-env-conf-test] Nothing -> do
  1123. 1517.56 s [opt-env-conf-test] debug
  1124. 1517.56 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1125. 1517.56 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1126. 1517.56 s [opt-env-conf-test] ]
  1127. 1517.56 s [opt-env-conf-test] pure Nothing
  1128. 1517.56 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1129. 1517.56 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1130. 1517.56 s [opt-env-conf-test] Right mA -> case mA of
  1131. 1517.56 s [opt-env-conf-test] Nothing -> do
  1132. 1517.56 s [opt-env-conf-test] debug
  1133. 1517.56 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1134. 1517.56 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1135. 1517.57 s [opt-env-conf-test] ]
  1136. 1517.57 s [opt-env-conf-test] pure Nothing
  1137. 1517.57 s [opt-env-conf-test] Just a -> do
  1138. 1517.57 s [opt-env-conf-test] debug
  1139. 1517.57 s [opt-env-conf-test] [ "set based on config value: ",
  1140. 1517.57 s [opt-env-conf-test] chunk $ T.pack $ show v
  1141. 1517.57 s [opt-env-conf-test] ]
  1142. 1517.57 s [opt-env-conf-test] pure $ Just a
  1143. 1517.57 s [opt-env-conf-test] let toRes = \case
  1144. 1517.57 s [opt-env-conf-test] Nothing -> NotFound
  1145. 1517.57 s [opt-env-conf-test] Just a -> Found a
  1146. 1517.57 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1147. 1519.83 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1148. 1519.83 s [opt-env-conf-test] Just ne -> do
  1149. 1519.83 s [opt-env-conf-test] res <- goConfSet confSet
  1150. 1519.83 s [opt-env-conf-test] case res of
  1151. 1519.83 s [opt-env-conf-test] Just a -> pure $ Found a
  1152. 1519.83 s [opt-env-conf-test] Nothing -> goConfSets ne
  1153. 1519.83 s [opt-env-conf-test] goConfSets confSets
  1154. 1519.84 s [opt-env-conf-test] case mConf of
  1155. 1519.84 s [opt-env-conf-test] Found a -> do
  1156. 1519.84 s [opt-env-conf-test] markParsed
  1157. 1519.84 s [opt-env-conf-test] pure a
  1158. 1519.84 s [opt-env-conf-test] _ ->
  1159. 1519.84 s [opt-env-conf-test] case settingDefaultValue of
  1160. 1519.84 s [opt-env-conf-test] Just (a, _) -> do
  1161. 1519.84 s [opt-env-conf-test] debug ["set to default value"]
  1162. 1519.84 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1163. 1519.84 s [opt-env-conf-test] Nothing -> do
  1164. 1519.84 s [opt-env-conf-test] let parseResultError e res = case res of
  1165. 1519.84 s [opt-env-conf-test] NotRun -> Nothing
  1166. 1519.84 s [opt-env-conf-test] NotFound -> Just e
  1167. 1519.84 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1168. 1519.84 s [opt-env-conf-test] debug ["not found"]
  1169. 1519.84 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1170. 1519.84 s [opt-env-conf-test] NE.nonEmpty $
  1171. 1519.84 s [opt-env-conf-test] catMaybes
  1172. 1519.84 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1173. 1519.84 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1174. 1519.84 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1175. 1519.84 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1176. 1519.84 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1177. 1519.84 s [opt-env-conf-test] ]
  1178. 1519.84 s [opt-env-conf-test]
  1179. 1519.84 s [opt-env-conf-test] withCapabilities ::
  1180. 1519.84 s [opt-env-conf-test] Maybe SrcLoc ->
  1181. 1519.84 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  1182. 1519.84 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  1183. 1519.84 s [opt-env-conf-test] Just (a, _) -> do
  1184. 1519.84 s [opt-env-conf-test] debug ["set to default value"]
  1185. 1519.85 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1186. 1519.85 s [opt-env-conf-test] Nothing -> do
  1187. 1519.85 s [opt-env-conf-test] let parseResultError e res = case res of
  1188. 1519.85 s [opt-env-conf-test] NotRun -> Nothing
  1189. 1519.85 s [opt-env-conf-test] NotFound -> Just e
  1190. 1519.85 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1191. 1519.85 s [opt-env-conf-test] - debug ["not found"]
  1192. 1519.85 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1193. 1519.85 s [opt-env-conf-test] NE.nonEmpty $
  1194. 1519.85 s [opt-env-conf-test] catMaybes
  1195. 1519.85 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1196. 1519.85 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1197. 1519.85 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1198. 1519.85 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1199. 1519.85 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1200. 1519.85 s [opt-env-conf-test] ]
  1201. 1519.85 s [opt-env-conf-test]
  1202. 1519.85 s [opt-env-conf-test] withCapabilities ::
  1203. 1519.85 s [opt-env-conf-test] Maybe SrcLoc ->
  1204. 1519.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  1205. 1519.85 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  1206. 1519.85 s [opt-env-conf-test] debug ["set to default value"]
  1207. 1519.85 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1208. 1519.85 s [opt-env-conf-test] Nothing -> do
  1209. 1519.85 s [opt-env-conf-test] let parseResultError e res = case res of
  1210. 1519.85 s [opt-env-conf-test] NotRun -> Nothing
  1211. 1519.85 s [opt-env-conf-test] NotFound -> Just e
  1212. 1519.85 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1213. 1519.85 s [opt-env-conf-test] debug ["not found"]
  1214. 1519.86 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1215. 1519.86 s [opt-env-conf-test] NE.nonEmpty $
  1216. 1519.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
  1217. 1519.86 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  1218. 1519.86 s [opt-env-conf-test] case result of
  1219. 1519.86 s [opt-env-conf-test] Success a -> pure a
  1220. 1519.86 s [opt-env-conf-test] Failure errs -> do
  1221. 1519.86 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  1222. 1519.86 s [opt-env-conf-test] + if True
  1223. 1519.86 s [opt-env-conf-test] then ppErrors' errs
  1224. 1519.86 s [opt-env-conf-test] else do
  1225. 1519.86 s [opt-env-conf-test] -- Settings available below
  1226. 1519.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
  1227. 1519.86 s [opt-env-conf-test] @@ -336,35 +336,8 @@
  1228. 1519.86 s [opt-env-conf-test] pure a
  1229. 1519.86 s [opt-env-conf-test] _ -> do
  1230. 1519.86 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1231. 1519.86 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1232. 1519.86 s [opt-env-conf-test] Nothing -> pure NotRun
  1233. 1519.86 s [opt-env-conf-test] - Just ne -> do
  1234. 1519.86 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  1235. 1519.86 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1236. 1519.86 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1237. 1519.86 s [opt-env-conf-test] - es <- asks ppEnvEnv
  1238. 1519.86 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1239. 1519.86 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  1240. 1519.86 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  1241. 1519.86 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  1242. 1519.86 s [opt-env-conf-test] - -- result.
  1243. 1519.86 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  1244. 1519.86 s [opt-env-conf-test] - case tryReaders rs varStr of
  1245. 1519.86 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1246. 1519.86 s [opt-env-conf-test] - Right a -> do
  1247. 1519.86 s [opt-env-conf-test] - debug
  1248. 1519.87 s [opt-env-conf-test] - [ "set based on env: ",
  1249. 1519.87 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1250. 1519.87 s [opt-env-conf-test] - ]
  1251. 1519.87 s [opt-env-conf-test] - pure a
  1252. 1519.87 s [opt-env-conf-test] - case listToMaybe results of
  1253. 1519.87 s [opt-env-conf-test] - Nothing -> do
  1254. 1519.87 s [opt-env-conf-test] - debug
  1255. 1519.87 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  1256. 1519.87 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1257. 1519.87 s [opt-env-conf-test] - ]
  1258. 1519.87 s [opt-env-conf-test] - pure NotFound
  1259. 1519.87 s [opt-env-conf-test] - Just a -> pure $ Found a
  1260. 1519.87 s [opt-env-conf-test]
  1261. 1519.87 s [opt-env-conf-test] case mEnv of
  1262. 1519.87 s [opt-env-conf-test] Found a -> do
  1263. 1519.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
  1264. 1519.87 s [opt-env-conf-test] @@ -148,7 +148,6 @@
  1265. 1519.87 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  1266. 1519.87 s [opt-env-conf-test] pure (a :| as)
  1267. 1519.87 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  1268. 1519.88 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  1269. 1519.88 s [opt-env-conf-test] ppIndent $ do
  1270. 1519.88 s [opt-env-conf-test] e <- ask
  1271. 1519.88 s [opt-env-conf-test] s <- get
  1272. 1519.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
  1273. 1519.88 s [opt-env-conf-test] @@ -428,30 +428,10 @@
  1274. 1519.88 s [opt-env-conf-test] Just a -> pure $ Found a
  1275. 1519.88 s [opt-env-conf-test] Nothing -> goConfSets ne
  1276. 1519.88 s [opt-env-conf-test] goConfSets confSets
  1277. 1519.88 s [opt-env-conf-test] case mConf of
  1278. 1519.88 s [opt-env-conf-test] Found a -> do
  1279. 1519.88 s [opt-env-conf-test] markParsed
  1280. 1519.88 s [opt-env-conf-test] pure a
  1281. 1519.88 s [opt-env-conf-test] - _ ->
  1282. 1519.88 s [opt-env-conf-test] - case settingDefaultValue of
  1283. 1519.88 s [opt-env-conf-test] - Just (a, _) -> do
  1284. 1519.88 s [opt-env-conf-test] - debug ["set to default value"]
  1285. 1519.88 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1286. 1519.88 s [opt-env-conf-test] - Nothing -> do
  1287. 1519.88 s [opt-env-conf-test] - let parseResultError e res = case res of
  1288. 1519.88 s [opt-env-conf-test] - NotRun -> Nothing
  1289. 1519.88 s [opt-env-conf-test] - NotFound -> Just e
  1290. 1519.88 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1291. 1519.88 s [opt-env-conf-test] - debug ["not found"]
  1292. 1519.88 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1293. 1519.88 s [opt-env-conf-test] - NE.nonEmpty $
  1294. 1519.88 s [opt-env-conf-test] - catMaybes
  1295. 1519.88 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1296. 1519.88 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1297. 1519.88 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1298. 1519.88 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1299. 1519.88 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1300. 1519.88 s [opt-env-conf-test] - ]
  1301. 1519.88 s [opt-env-conf-test]
  1302. 1519.88 s [opt-env-conf-test] withCapabilities ::
  1303. 1523.80 s [opt-env-conf-test] Maybe SrcLoc ->
  1304. 1523.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
  1305. 1523.88 s [opt-env-conf-test] @@ -191,13 +191,10 @@
  1306. 1523.88 s [opt-env-conf-test] ppIndent $
  1307. 1523.88 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  1308. 1523.88 s [opt-env-conf-test] errOrB <- liftIO $ f a
  1309. 1523.88 s [opt-env-conf-test] case errOrB of
  1310. 1523.88 s [opt-env-conf-test] Left err -> do
  1311. 1523.88 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  1312. 1523.88 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  1313. 1523.88 s [opt-env-conf-test] - Right b -> do
  1314. 1523.88 s [opt-env-conf-test] - debug ["succeeded"]
  1315. 1523.88 s [opt-env-conf-test] - pure b
  1316. 1523.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  1317. 1523.89 s [opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
  1318. 1523.89 s [opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
  1319. 1523.89 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
  1320. 1523.89 s [opt-env-conf-test] @@ -114,7 +114,6 @@
  1321. 1523.89 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  1322. 1523.89 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  1323. 1523.89 s [opt-env-conf-test] ParserEmpty mLoc -> do
  1324. 1523.89 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  1325. 1523.89 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  1326. 1523.89 s [opt-env-conf-test] ParserSelect fe ff -> do
  1327. 1523.89 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  1328. 1523.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  1329. 1523.89 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  1330. 1523.89 s [opt-env-conf-test] debug ["set to default value"]
  1331. 1523.89 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1332. 1523.89 s [opt-env-conf-test] Nothing -> do
  1333. 1523.89 s [opt-env-conf-test] let parseResultError e res = case res of
  1334. 1523.89 s [opt-env-conf-test] - NotRun -> Nothing
  1335. 1523.89 s [opt-env-conf-test] NotFound -> Just e
  1336. 1523.89 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1337. 1523.89 s [opt-env-conf-test] debug ["not found"]
  1338. 1523.89 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1339. 1523.89 s [opt-env-conf-test] NE.nonEmpty $
  1340. 1523.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:18-50
  1341. 1523.89 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  1342. 1523.89 s [opt-env-conf-test] case result of
  1343. 1523.89 s [opt-env-conf-test] Success a -> pure a
  1344. 1523.89 s [opt-env-conf-test] Failure errs -> do
  1345. 1523.89 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  1346. 1523.89 s [opt-env-conf-test] + if not (not $ all errorIsForgivable errs)
  1347. 1523.90 s [opt-env-conf-test] then ppErrors' errs
  1348. 1523.90 s [opt-env-conf-test] else do
  1349. 1523.90 s [opt-env-conf-test] -- Settings available below
  1350. 1523.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
  1351. 1523.90 s [opt-env-conf-test] @@ -330,128 +330,10 @@
  1352. 1523.90 s [opt-env-conf-test] pure $ Found a
  1353. 1523.90 s [opt-env-conf-test] else pure NotRun
  1354. 1523.90 s [opt-env-conf-test]
  1355. 1523.90 s [opt-env-conf-test] case mOpt of
  1356. 1523.90 s [opt-env-conf-test] Found a -> do
  1357. 1523.90 s [opt-env-conf-test] markParsed
  1358. 1523.90 s [opt-env-conf-test] pure a
  1359. 1523.90 s [opt-env-conf-test] - _ -> do
  1360. 1523.90 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  1361. 1523.90 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  1362. 1523.90 s [opt-env-conf-test] - Nothing -> pure NotRun
  1363. 1523.90 s [opt-env-conf-test] - Just ne -> do
  1364. 1523.90 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  1365. 1523.90 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1366. 1523.90 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1367. 1523.90 s [opt-env-conf-test] - es <- asks ppEnvEnv
  1368. 1523.90 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1369. 1523.90 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  1370. 1523.90 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  1371. 1523.90 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  1372. 1523.90 s [opt-env-conf-test] - -- result.
  1373. 1523.90 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  1374. 1523.90 s [opt-env-conf-test] - case tryReaders rs varStr of
  1375. 1523.90 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1376. 1523.90 s [opt-env-conf-test] - Right a -> do
  1377. 1523.90 s [opt-env-conf-test] - debug
  1378. 1523.90 s [opt-env-conf-test] - [ "set based on env: ",
  1379. 1523.90 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1380. 1523.90 s [opt-env-conf-test] - ]
  1381. 1523.90 s [opt-env-conf-test] - pure a
  1382. 1523.91 s [opt-env-conf-test] - case listToMaybe results of
  1383. 1523.91 s [opt-env-conf-test] - Nothing -> do
  1384. 1523.91 s [opt-env-conf-test] - debug
  1385. 1523.91 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  1386. 1523.91 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1387. 1523.91 s [opt-env-conf-test] - ]
  1388. 1523.91 s [opt-env-conf-test] - pure NotFound
  1389. 1523.91 s [opt-env-conf-test] - Just a -> pure $ Found a
  1390. 1523.91 s [opt-env-conf-test] -
  1391. 1523.91 s [opt-env-conf-test] - case mEnv of
  1392. 1523.91 s [opt-env-conf-test] - Found a -> do
  1393. 1523.91 s [opt-env-conf-test] - markParsed
  1394. 1523.91 s [opt-env-conf-test] - pure a
  1395. 1523.91 s [opt-env-conf-test] - _ -> do
  1396. 1523.91 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  1397. 1523.91 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  1398. 1523.91 s [opt-env-conf-test] - Nothing -> pure NotRun
  1399. 1523.91 s [opt-env-conf-test] - Just confSets -> do
  1400. 1523.91 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1401. 1523.91 s [opt-env-conf-test] - case mObj of
  1402. 1523.91 s [opt-env-conf-test] - Nothing -> do
  1403. 1523.91 s [opt-env-conf-test] - debug ["no config object to set from"]
  1404. 1523.91 s [opt-env-conf-test] - pure NotFound
  1405. 1523.91 s [opt-env-conf-test] - Just obj -> do
  1406. 1523.91 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1407. 1523.91 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1408. 1523.91 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1409. 1523.91 s [opt-env-conf-test] - Nothing -> do
  1410. 1523.91 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1411. 1523.91 s [opt-env-conf-test] - Nothing -> pure Nothing
  1412. 1523.91 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1413. 1523.91 s [opt-env-conf-test] - Just neRest -> do
  1414. 1523.91 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1415. 1523.91 s [opt-env-conf-test] - case mO' of
  1416. 1523.91 s [opt-env-conf-test] - Nothing -> pure Nothing
  1417. 1523.91 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1418. 1523.92 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1419. 1523.92 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1420. 1523.92 s [opt-env-conf-test] - Right mV -> case mV of
  1421. 1523.92 s [opt-env-conf-test] - Nothing -> do
  1422. 1523.92 s [opt-env-conf-test] - debug
  1423. 1523.92 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1424. 1523.92 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1425. 1523.92 s [opt-env-conf-test] - ]
  1426. 1523.92 s [opt-env-conf-test] - pure Nothing
  1427. 1523.92 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1428. 1523.92 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1429. 1523.92 s [opt-env-conf-test] - Right mA -> case mA of
  1430. 1523.92 s [opt-env-conf-test] - Nothing -> do
  1431. 1523.92 s [opt-env-conf-test] - debug
  1432. 1523.92 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1433. 1523.92 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1434. 1523.92 s [opt-env-conf-test] - ]
  1435. 1523.92 s [opt-env-conf-test] - pure Nothing
  1436. 1523.92 s [opt-env-conf-test] - Just a -> do
  1437. 1523.92 s [opt-env-conf-test] - debug
  1438. 1523.92 s [opt-env-conf-test] - [ "set based on config value: ",
  1439. 1523.92 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1440. 1523.92 s [opt-env-conf-test] - ]
  1441. 1523.92 s [opt-env-conf-test] - pure $ Just a
  1442. 1523.92 s [opt-env-conf-test] - let toRes = \case
  1443. 1523.92 s [opt-env-conf-test] - Nothing -> NotFound
  1444. 1523.92 s [opt-env-conf-test] - Just a -> Found a
  1445. 1523.92 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1446. 1523.92 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1447. 1523.92 s [opt-env-conf-test] - Just ne -> do
  1448. 1523.92 s [opt-env-conf-test] - res <- goConfSet confSet
  1449. 1523.92 s [opt-env-conf-test] - case res of
  1450. 1523.92 s [opt-env-conf-test] - Just a -> pure $ Found a
  1451. 1523.92 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1452. 1523.92 s [opt-env-conf-test] - goConfSets confSets
  1453. 1523.92 s [opt-env-conf-test] - case mConf of
  1454. 1523.92 s [opt-env-conf-test] - Found a -> do
  1455. 1523.92 s [opt-env-conf-test] - markParsed
  1456. 1523.92 s [opt-env-conf-test] - pure a
  1457. 1523.92 s [opt-env-conf-test] - _ ->
  1458. 1523.92 s [opt-env-conf-test] - case settingDefaultValue of
  1459. 1523.92 s [opt-env-conf-test] - Just (a, _) -> do
  1460. 1523.92 s [opt-env-conf-test] - debug ["set to default value"]
  1461. 1523.93 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1462. 1523.93 s [opt-env-conf-test] - Nothing -> do
  1463. 1523.93 s [opt-env-conf-test] - let parseResultError e res = case res of
  1464. 1523.93 s [opt-env-conf-test] - NotRun -> Nothing
  1465. 1523.93 s [opt-env-conf-test] - NotFound -> Just e
  1466. 1523.93 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1467. 1523.93 s [opt-env-conf-test] - debug ["not found"]
  1468. 1524.11 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1469. 1524.12 s [opt-env-conf-test] - NE.nonEmpty $
  1470. 1524.12 s [opt-env-conf-test] - catMaybes
  1471. 1524.12 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1472. 1524.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1473. 1524.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1474. 1524.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1475. 1524.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1476. 1524.12 s [opt-env-conf-test] - ]
  1477. 1524.12 s [opt-env-conf-test]
  1478. 1524.12 s [opt-env-conf-test] withCapabilities ::
  1479. 1524.12 s [opt-env-conf-test] Maybe SrcLoc ->
  1480. 1524.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
  1481. 1524.12 s [opt-env-conf-test] @@ -141,7 +141,6 @@
  1482. 1524.12 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  1483. 1524.12 s [opt-env-conf-test] pure (a : as)
  1484. 1524.12 s [opt-env-conf-test] ParserSome mLoc p' -> do
  1485. 1524.12 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  1486. 1524.12 s [opt-env-conf-test] ppIndent $ do
  1487. 1524.12 s [opt-env-conf-test] a <- go p'
  1488. 1524.12 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  1489. 1524.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
  1490. 1524.12 s [opt-env-conf-test] @@ -141,7 +141,6 @@
  1491. 1524.12 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  1492. 1524.12 s [opt-env-conf-test] pure (a : as)
  1493. 1524.12 s [opt-env-conf-test] ParserSome mLoc p' -> do
  1494. 1524.12 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  1495. 1524.12 s [opt-env-conf-test] ppIndent $ do
  1496. 1524.12 s [opt-env-conf-test] a <- go p'
  1497. 1524.12 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  1498. 1524.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
  1499. 1524.12 s [opt-env-conf-test] @@ -372,62 +372,8 @@
  1500. 1524.12 s [opt-env-conf-test] pure a
  1501. 1524.12 s [opt-env-conf-test] _ -> do
  1502. 1524.12 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1503. 1524.12 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1504. 1524.12 s [opt-env-conf-test] Nothing -> pure NotRun
  1505. 1524.13 s [opt-env-conf-test] - Just confSets -> do
  1506. 1524.13 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1507. 1524.13 s [opt-env-conf-test] - case mObj of
  1508. 1524.13 s [opt-env-conf-test] - Nothing -> do
  1509. 1524.13 s [opt-env-conf-test] - debug ["no config object to set from"]
  1510. 1524.13 s [opt-env-conf-test] - pure NotFound
  1511. 1524.13 s [opt-env-conf-test] - Just obj -> do
  1512. 1524.13 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1513. 1524.13 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1514. 1524.13 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1515. 1524.13 s [opt-env-conf-test] - Nothing -> do
  1516. 1524.13 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1517. 1524.13 s [opt-env-conf-test] - Nothing -> pure Nothing
  1518. 1524.13 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1519. 1524.13 s [opt-env-conf-test] - Just neRest -> do
  1520. 1524.13 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1521. 1524.13 s [opt-env-conf-test] - case mO' of
  1522. 1524.13 s [opt-env-conf-test] - Nothing -> pure Nothing
  1523. 1524.13 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1524. 1524.13 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1525. 1524.13 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1526. 1524.13 s [opt-env-conf-test] - Right mV -> case mV of
  1527. 1524.13 s [opt-env-conf-test] - Nothing -> do
  1528. 1524.13 s [opt-env-conf-test] - debug
  1529. 1524.13 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1530. 1524.13 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1531. 1524.13 s [opt-env-conf-test] - ]
  1532. 1524.13 s [opt-env-conf-test] - pure Nothing
  1533. 1524.13 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1534. 1524.13 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1535. 1524.13 s [opt-env-conf-test] - Right mA -> case mA of
  1536. 1524.13 s [opt-env-conf-test] - Nothing -> do
  1537. 1524.13 s [opt-env-conf-test] - debug
  1538. 1524.13 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1539. 1524.13 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1540. 1524.13 s [opt-env-conf-test] - ]
  1541. 1524.13 s [opt-env-conf-test] - pure Nothing
  1542. 1524.13 s [opt-env-conf-test] - Just a -> do
  1543. 1524.14 s [opt-env-conf-test] - debug
  1544. 1524.14 s [opt-env-conf-test] - [ "set based on config value: ",
  1545. 1524.14 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1546. 1524.14 s [opt-env-conf-test] - ]
  1547. 1524.14 s [opt-env-conf-test] - pure $ Just a
  1548. 1524.14 s [opt-env-conf-test] - let toRes = \case
  1549. 1524.14 s [opt-env-conf-test] - Nothing -> NotFound
  1550. 1524.14 s [opt-env-conf-test] - Just a -> Found a
  1551. 1524.88 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1552. 1524.88 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1553. 1524.88 s [opt-env-conf-test] - Just ne -> do
  1554. 1524.88 s [opt-env-conf-test] - res <- goConfSet confSet
  1555. 1524.88 s [opt-env-conf-test] - case res of
  1556. 1524.88 s [opt-env-conf-test] - Just a -> pure $ Found a
  1557. 1524.88 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1558. 1524.88 s [opt-env-conf-test] - goConfSets confSets
  1559. 1524.88 s [opt-env-conf-test] case mConf of
  1560. 1524.88 s [opt-env-conf-test] Found a -> do
  1561. 1524.88 s [opt-env-conf-test] markParsed
  1562. 1524.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  1563. 1524.88 s [opt-env-conf-test] @@ -300,158 +300,10 @@
  1564. 1524.88 s [opt-env-conf-test] debug ["set based on switch."]
  1565. 1524.88 s [opt-env-conf-test] pure $ Found a
  1566. 1524.88 s [opt-env-conf-test]
  1567. 1524.88 s [opt-env-conf-test] case mSwitch of
  1568. 1524.88 s [opt-env-conf-test] Found a -> do
  1569. 1524.88 s [opt-env-conf-test] markParsed
  1570. 1524.88 s [opt-env-conf-test] pure a
  1571. 1524.88 s [opt-env-conf-test] - _ -> do
  1572. 1524.89 s [opt-env-conf-test] - mOpt <-
  1573. 1524.89 s [opt-env-conf-test] - if settingTryOption
  1574. 1524.89 s [opt-env-conf-test] - then do
  1575. 1524.89 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  1576. 1524.89 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1577. 1524.89 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1578. 1524.89 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  1579. 1524.89 s [opt-env-conf-test] - case mS of
  1580. 1524.89 s [opt-env-conf-test] - Nothing -> do
  1581. 1524.89 s [opt-env-conf-test] - debug
  1582. 1524.89 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  1583. 1524.89 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  1584. 1524.89 s [opt-env-conf-test] - ]
  1585. 1524.89 s [opt-env-conf-test] - pure NotFound
  1586. 1524.89 s [opt-env-conf-test] - Just optionStr -> cap $
  1587. 1524.89 s [opt-env-conf-test] - case tryReaders rs optionStr of
  1588. 1524.89 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1589. 1524.89 s [opt-env-conf-test] - Right a -> do
  1590. 1524.89 s [opt-env-conf-test] - debug
  1591. 1524.89 s [opt-env-conf-test] - [ "set based on option: ",
  1592. 1524.89 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  1593. 1524.89 s [opt-env-conf-test] - ]
  1594. 1524.89 s [opt-env-conf-test] - pure $ Found a
  1595. 1524.89 s [opt-env-conf-test] - else pure NotRun
  1596. 1524.89 s [opt-env-conf-test] -
  1597. 1524.89 s [opt-env-conf-test] - case mOpt of
  1598. 1524.89 s [opt-env-conf-test] - Found a -> do
  1599. 1524.89 s [opt-env-conf-test] - markParsed
  1600. 1524.89 s [opt-env-conf-test] - pure a
  1601. 1524.89 s [opt-env-conf-test] - _ -> do
  1602. 1524.89 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  1603. 1524.89 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  1604. 1524.89 s [opt-env-conf-test] - Nothing -> pure NotRun
  1605. 1524.89 s [opt-env-conf-test] - Just ne -> do
  1606. 1524.89 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  1607. 1524.89 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  1608. 1524.89 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  1609. 1524.89 s [opt-env-conf-test] - es <- asks ppEnvEnv
  1610. 1524.89 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1611. 1524.89 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  1612. 1524.89 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  1613. 1524.89 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  1614. 1524.89 s [opt-env-conf-test] - -- result.
  1615. 1524.89 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  1616. 1524.89 s [opt-env-conf-test] - case tryReaders rs varStr of
  1617. 1524.89 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1618. 1524.89 s [opt-env-conf-test] - Right a -> do
  1619. 1524.89 s [opt-env-conf-test] - debug
  1620. 1524.89 s [opt-env-conf-test] - [ "set based on env: ",
  1621. 1524.89 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  1622. 1524.89 s [opt-env-conf-test] - ]
  1623. 1524.89 s [opt-env-conf-test] - pure a
  1624. 1524.89 s [opt-env-conf-test] - case listToMaybe results of
  1625. 1524.89 s [opt-env-conf-test] - Nothing -> do
  1626. 1524.89 s [opt-env-conf-test] - debug
  1627. 1524.89 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  1628. 1524.89 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1629. 1524.89 s [opt-env-conf-test] - ]
  1630. 1524.89 s [opt-env-conf-test] - pure NotFound
  1631. 1524.89 s [opt-env-conf-test] - Just a -> pure $ Found a
  1632. 1524.89 s [opt-env-conf-test] -
  1633. 1524.89 s [opt-env-conf-test] - case mEnv of
  1634. 1524.90 s [opt-env-conf-test] - Found a -> do
  1635. 1524.90 s [opt-env-conf-test] - markParsed
  1636. 1524.90 s [opt-env-conf-test] - pure a
  1637. 1524.90 s [opt-env-conf-test] - _ -> do
  1638. 1524.90 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  1639. 1524.90 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  1640. 1524.90 s [opt-env-conf-test] - Nothing -> pure NotRun
  1641. 1524.90 s [opt-env-conf-test] - Just confSets -> do
  1642. 1524.90 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  1643. 1524.90 s [opt-env-conf-test] - case mObj of
  1644. 1524.90 s [opt-env-conf-test] - Nothing -> do
  1645. 1524.90 s [opt-env-conf-test] - debug ["no config object to set from"]
  1646. 1524.90 s [opt-env-conf-test] - pure NotFound
  1647. 1524.90 s [opt-env-conf-test] - Just obj -> do
  1648. 1524.90 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  1649. 1524.90 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1650. 1524.90 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1651. 1524.90 s [opt-env-conf-test] - Nothing -> do
  1652. 1524.90 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  1653. 1524.90 s [opt-env-conf-test] - Nothing -> pure Nothing
  1654. 1524.90 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  1655. 1524.90 s [opt-env-conf-test] - Just neRest -> do
  1656. 1524.90 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  1657. 1524.90 s [opt-env-conf-test] - case mO' of
  1658. 1524.90 s [opt-env-conf-test] - Nothing -> pure Nothing
  1659. 1524.90 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  1660. 1524.90 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  1661. 1524.90 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1662. 1524.90 s [opt-env-conf-test] - Right mV -> case mV of
  1663. 1524.90 s [opt-env-conf-test] - Nothing -> do
  1664. 1524.90 s [opt-env-conf-test] - debug
  1665. 1524.90 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  1666. 1524.90 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1667. 1524.90 s [opt-env-conf-test] - ]
  1668. 1524.90 s [opt-env-conf-test] - pure Nothing
  1669. 1524.90 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1670. 1524.90 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1671. 1524.90 s [opt-env-conf-test] - Right mA -> case mA of
  1672. 1524.90 s [opt-env-conf-test] - Nothing -> do
  1673. 1524.90 s [opt-env-conf-test] - debug
  1674. 1524.90 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  1675. 1524.90 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  1676. 1524.90 s [opt-env-conf-test] - ]
  1677. 1524.90 s [opt-env-conf-test] - pure Nothing
  1678. 1524.90 s [opt-env-conf-test] - Just a -> do
  1679. 1524.90 s [opt-env-conf-test] - debug
  1680. 1524.90 s [opt-env-conf-test] - [ "set based on config value: ",
  1681. 1524.90 s [opt-env-conf-test] - chunk $ T.pack $ show v
  1682. 1524.90 s [opt-env-conf-test] - ]
  1683. 1524.90 s [opt-env-conf-test] - pure $ Just a
  1684. 1524.90 s [opt-env-conf-test] - let toRes = \case
  1685. 1524.90 s [opt-env-conf-test] - Nothing -> NotFound
  1686. 1524.90 s [opt-env-conf-test] - Just a -> Found a
  1687. 1524.90 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1688. 1524.90 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  1689. 1524.90 s [opt-env-conf-test] - Just ne -> do
  1690. 1524.90 s [opt-env-conf-test] - res <- goConfSet confSet
  1691. 1524.90 s [opt-env-conf-test] - case res of
  1692. 1524.90 s [opt-env-conf-test] - Just a -> pure $ Found a
  1693. 1524.90 s [opt-env-conf-test] - Nothing -> goConfSets ne
  1694. 1524.90 s [opt-env-conf-test] - goConfSets confSets
  1695. 1524.91 s [opt-env-conf-test] - case mConf of
  1696. 1524.91 s [opt-env-conf-test] - Found a -> do
  1697. 1524.91 s [opt-env-conf-test] - markParsed
  1698. 1524.91 s [opt-env-conf-test] - pure a
  1699. 1524.91 s [opt-env-conf-test] - _ ->
  1700. 1524.91 s [opt-env-conf-test] - case settingDefaultValue of
  1701. 1524.91 s [opt-env-conf-test] - Just (a, _) -> do
  1702. 1524.91 s [opt-env-conf-test] - debug ["set to default value"]
  1703. 1524.91 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  1704. 1524.91 s [opt-env-conf-test] - Nothing -> do
  1705. 1524.91 s [opt-env-conf-test] - let parseResultError e res = case res of
  1706. 1524.91 s [opt-env-conf-test] - NotRun -> Nothing
  1707. 1524.91 s [opt-env-conf-test] - NotFound -> Just e
  1708. 1524.91 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  1709. 1524.91 s [opt-env-conf-test] - debug ["not found"]
  1710. 1524.91 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1711. 1524.91 s [opt-env-conf-test] - NE.nonEmpty $
  1712. 1524.91 s [opt-env-conf-test] - catMaybes
  1713. 1524.91 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1714. 1524.91 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1715. 1525.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1716. 1525.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1717. 1525.12 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1718. 1525.12 s [opt-env-conf-test] - ]
  1719. 1525.12 s [opt-env-conf-test]
  1720. 1525.13 s [opt-env-conf-test] withCapabilities ::
  1721. 1525.13 s [opt-env-conf-test] Maybe SrcLoc ->
  1722. 1525.13 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
  1723. 1525.13 s [opt-env-conf-test] @@ -300,158 +300,155 @@
  1724. 1525.13 s [opt-env-conf-test] debug ["set based on switch."]
  1725. 1525.13 s [opt-env-conf-test] pure $ Found a
  1726. 1525.13 s [opt-env-conf-test]
  1727. 1525.13 s [opt-env-conf-test] case mSwitch of
  1728. 1525.13 s [opt-env-conf-test] - Found a -> do
  1729. 1525.13 s [opt-env-conf-test] - markParsed
  1730. 1525.13 s [opt-env-conf-test] - pure a
  1731. 1525.13 s [opt-env-conf-test] _ -> do
  1732. 1525.13 s [opt-env-conf-test] mOpt <-
  1733. 1525.13 s [opt-env-conf-test] if settingTryOption
  1734. 1525.13 s [opt-env-conf-test] then do
  1735. 1525.13 s [opt-env-conf-test] -- Require readers before finding the option so the parser
  1736. 1525.13 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1737. 1525.13 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1738. 1525.13 s [opt-env-conf-test] mS <- ppOpt settingDasheds
  1739. 1525.13 s [opt-env-conf-test] case mS of
  1740. 1525.13 s [opt-env-conf-test] Nothing -> do
  1741. 1525.13 s [opt-env-conf-test] debug
  1742. 1525.13 s [opt-env-conf-test] [ "could not set based on options, no option: ",
  1743. 1525.13 s [opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
  1744. 1525.13 s [opt-env-conf-test] ]
  1745. 1525.13 s [opt-env-conf-test] pure NotFound
  1746. 1525.13 s [opt-env-conf-test] Just optionStr -> cap $
  1747. 1525.13 s [opt-env-conf-test] case tryReaders rs optionStr of
  1748. 1525.13 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  1749. 1525.13 s [opt-env-conf-test] Right a -> do
  1750. 1525.13 s [opt-env-conf-test] debug
  1751. 1525.13 s [opt-env-conf-test] [ "set based on option: ",
  1752. 1525.13 s [opt-env-conf-test] chunk $ T.pack $ show optionStr
  1753. 1525.13 s [opt-env-conf-test] ]
  1754. 1525.13 s [opt-env-conf-test] pure $ Found a
  1755. 1525.13 s [opt-env-conf-test] else pure NotRun
  1756. 1525.14 s [opt-env-conf-test]
  1757. 1525.14 s [opt-env-conf-test] case mOpt of
  1758. 1525.14 s [opt-env-conf-test] Found a -> do
  1759. 1525.14 s [opt-env-conf-test] markParsed
  1760. 1525.14 s [opt-env-conf-test] pure a
  1761. 1525.14 s [opt-env-conf-test] _ -> do
  1762. 1525.14 s [opt-env-conf-test] let mEnvDoc = settingEnvDoc set
  1763. 1525.14 s [opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
  1764. 1525.14 s [opt-env-conf-test] Nothing -> pure NotRun
  1765. 1525.14 s [opt-env-conf-test] Just ne -> do
  1766. 1525.14 s [opt-env-conf-test] -- Require readers before finding the env vars so the parser
  1767. 1525.14 s [opt-env-conf-test] -- always fails if it's missing a reader.
  1768. 1525.14 s [opt-env-conf-test] rs <- requireReaders settingReaders
  1769. 1525.14 s [opt-env-conf-test] es <- asks ppEnvEnv
  1770. 1525.14 s [opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  1771. 1525.14 s [opt-env-conf-test] -- Run the parser on all specified env vars before
  1772. 1525.14 s [opt-env-conf-test] -- returning the first because we want to fail if any
  1773. 1525.14 s [opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
  1774. 1525.14 s [opt-env-conf-test] -- result.
  1775. 1525.14 s [opt-env-conf-test] results <- for founds $ \varStr ->
  1776. 1525.14 s [opt-env-conf-test] case tryReaders rs varStr of
  1777. 1525.14 s [opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  1778. 1525.14 s [opt-env-conf-test] Right a -> do
  1779. 1525.14 s [opt-env-conf-test] debug
  1780. 1525.14 s [opt-env-conf-test] [ "set based on env: ",
  1781. 1525.14 s [opt-env-conf-test] chunk $ T.pack $ show varStr
  1782. 1525.14 s [opt-env-conf-test] ]
  1783. 1525.14 s [opt-env-conf-test] pure a
  1784. 1525.14 s [opt-env-conf-test] case listToMaybe results of
  1785. 1525.14 s [opt-env-conf-test] Nothing -> do
  1786. 1525.14 s [opt-env-conf-test] debug
  1787. 1525.14 s [opt-env-conf-test] [ "could not set based on env vars, no var: ",
  1788. 1525.14 s [opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  1789. 1525.14 s [opt-env-conf-test] ]
  1790. 1525.14 s [opt-env-conf-test] pure NotFound
  1791. 1525.14 s [opt-env-conf-test] Just a -> pure $ Found a
  1792. 1525.14 s [opt-env-conf-test]
  1793. 1525.14 s [opt-env-conf-test] case mEnv of
  1794. 1525.14 s [opt-env-conf-test] Found a -> do
  1795. 1525.14 s [opt-env-conf-test] markParsed
  1796. 1525.14 s [opt-env-conf-test] pure a
  1797. 1525.14 s [opt-env-conf-test] _ -> do
  1798. 1525.14 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1799. 1525.14 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1800. 1525.14 s [opt-env-conf-test] Nothing -> pure NotRun
  1801. 1525.14 s [opt-env-conf-test] Just confSets -> do
  1802. 1525.14 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1803. 1525.14 s [opt-env-conf-test] case mObj of
  1804. 1525.14 s [opt-env-conf-test] Nothing -> do
  1805. 1525.14 s [opt-env-conf-test] debug ["no config object to set from"]
  1806. 1525.14 s [opt-env-conf-test] pure NotFound
  1807. 1525.14 s [opt-env-conf-test] Just obj -> do
  1808. 1525.14 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1809. 1525.14 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1810. 1525.14 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1811. 1525.14 s [opt-env-conf-test] Nothing -> do
  1812. 1525.14 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1813. 1525.14 s [opt-env-conf-test] Nothing -> pure Nothing
  1814. 1525.14 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1815. 1525.14 s [opt-env-conf-test] Just neRest -> do
  1816. 1525.14 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1817. 1525.14 s [opt-env-conf-test] case mO' of
  1818. 1525.14 s [opt-env-conf-test] Nothing -> pure Nothing
  1819. 1525.14 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1820. 1525.14 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1821. 1525.14 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1822. 1525.14 s [opt-env-conf-test] Right mV -> case mV of
  1823. 1525.14 s [opt-env-conf-test] Nothing -> do
  1824. 1525.14 s [opt-env-conf-test] debug
  1825. 1525.15 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1826. 1525.15 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1827. 1525.15 s [opt-env-conf-test] ]
  1828. 1525.15 s [opt-env-conf-test] pure Nothing
  1829. 1525.15 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1830. 1525.15 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1831. 1525.15 s [opt-env-conf-test] Right mA -> case mA of
  1832. 1525.15 s [opt-env-conf-test] Nothing -> do
  1833. 1525.15 s [opt-env-conf-test] debug
  1834. 1525.15 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1835. 1525.15 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1836. 1525.15 s [opt-env-conf-test] ]
  1837. 1525.15 s [opt-env-conf-test] pure Nothing
  1838. 1525.15 s [opt-env-conf-test] Just a -> do
  1839. 1525.15 s [opt-env-conf-test] debug
  1840. 1525.15 s [opt-env-conf-test] [ "set based on config value: ",
  1841. 1525.15 s [opt-env-conf-test] chunk $ T.pack $ show v
  1842. 1525.15 s [opt-env-conf-test] ]
  1843. 1525.15 s [opt-env-conf-test] pure $ Just a
  1844. 1525.15 s [opt-env-conf-test] let toRes = \case
  1845. 1525.15 s [opt-env-conf-test] Nothing -> NotFound
  1846. 1525.15 s [opt-env-conf-test] Just a -> Found a
  1847. 1525.15 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1848. 1525.15 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1849. 1525.15 s [opt-env-conf-test] Just ne -> do
  1850. 1525.15 s [opt-env-conf-test] res <- goConfSet confSet
  1851. 1525.15 s [opt-env-conf-test] case res of
  1852. 1525.15 s [opt-env-conf-test] Just a -> pure $ Found a
  1853. 1525.15 s [opt-env-conf-test] Nothing -> goConfSets ne
  1854. 1525.15 s [opt-env-conf-test] goConfSets confSets
  1855. 1525.15 s [opt-env-conf-test] case mConf of
  1856. 1525.15 s [opt-env-conf-test] Found a -> do
  1857. 1525.15 s [opt-env-conf-test] markParsed
  1858. 1525.15 s [opt-env-conf-test] pure a
  1859. 1525.15 s [opt-env-conf-test] _ ->
  1860. 1525.15 s [opt-env-conf-test] case settingDefaultValue of
  1861. 1525.15 s [opt-env-conf-test] Just (a, _) -> do
  1862. 1527.00 s [opt-env-conf-test] debug ["set to default value"]
  1863. 1527.00 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1864. 1527.00 s [opt-env-conf-test] Nothing -> do
  1865. 1527.00 s [opt-env-conf-test] let parseResultError e res = case res of
  1866. 1527.00 s [opt-env-conf-test] NotRun -> Nothing
  1867. 1527.00 s [opt-env-conf-test] NotFound -> Just e
  1868. 1527.00 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1869. 1527.00 s [opt-env-conf-test] debug ["not found"]
  1870. 1527.00 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1871. 1527.00 s [opt-env-conf-test] NE.nonEmpty $
  1872. 1527.00 s [opt-env-conf-test] catMaybes
  1873. 1527.00 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1874. 1527.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1875. 1527.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1876. 1527.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1877. 1527.00 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1878. 1527.00 s [opt-env-conf-test] ]
  1879. 1527.00 s [opt-env-conf-test]
  1880. 1527.00 s [opt-env-conf-test] withCapabilities ::
  1881. 1527.00 s [opt-env-conf-test] Maybe SrcLoc ->
  1882. 1527.00 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
  1883. 1527.00 s [opt-env-conf-test] @@ -440,7 +440,7 @@
  1884. 1527.00 s [opt-env-conf-test] Nothing -> do
  1885. 1527.00 s [opt-env-conf-test] let parseResultError e res = case res of
  1886. 1527.00 s [opt-env-conf-test] NotRun -> Nothing
  1887. 1527.00 s [opt-env-conf-test] - NotFound -> Just e
  1888. 1527.00 s [opt-env-conf-test] + NotFound -> Nothing
  1889. 1527.00 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1890. 1527.00 s [opt-env-conf-test] debug ["not found"]
  1891. 1527.00 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1892. 1527.01 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
  1893. 1527.01 s [opt-env-conf-test] @@ -446,12 +446,11 @@
  1894. 1527.01 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1895. 1527.01 s [opt-env-conf-test] NE.nonEmpty $
  1896. 1527.01 s [opt-env-conf-test] catMaybes
  1897. 1527.01 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1898. 1527.01 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1899. 1527.01 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1900. 1527.01 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1901. 1527.01 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1902. 1527.01 s [opt-env-conf-test] ]
  1903. 1527.01 s [opt-env-conf-test]
  1904. 1527.01 s [opt-env-conf-test] withCapabilities ::
  1905. 1527.01 s [opt-env-conf-test] Maybe SrcLoc ->
  1906. 1527.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
  1907. 1527.01 s [opt-env-conf-test] @@ -366,92 +366,89 @@
  1908. 1527.01 s [opt-env-conf-test] pure NotFound
  1909. 1527.01 s [opt-env-conf-test] Just a -> pure $ Found a
  1910. 1527.01 s [opt-env-conf-test]
  1911. 1527.01 s [opt-env-conf-test] case mEnv of
  1912. 1527.01 s [opt-env-conf-test] - Found a -> do
  1913. 1527.01 s [opt-env-conf-test] - markParsed
  1914. 1527.01 s [opt-env-conf-test] - pure a
  1915. 1527.01 s [opt-env-conf-test] _ -> do
  1916. 1527.01 s [opt-env-conf-test] let mConfDoc = settingConfDoc set
  1917. 1527.01 s [opt-env-conf-test] mConf <- case settingConfigVals of
  1918. 1527.01 s [opt-env-conf-test] Nothing -> pure NotRun
  1919. 1527.01 s [opt-env-conf-test] Just confSets -> do
  1920. 1527.01 s [opt-env-conf-test] mObj <- asks ppEnvConf
  1921. 1527.01 s [opt-env-conf-test] case mObj of
  1922. 1527.01 s [opt-env-conf-test] Nothing -> do
  1923. 1527.01 s [opt-env-conf-test] debug ["no config object to set from"]
  1924. 1527.01 s [opt-env-conf-test] pure NotFound
  1925. 1527.01 s [opt-env-conf-test] Just obj -> do
  1926. 1527.01 s [opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
  1927. 1527.01 s [opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  1928. 1527.01 s [opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
  1929. 1527.01 s [opt-env-conf-test] Nothing -> do
  1930. 1527.01 s [opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
  1931. 1527.01 s [opt-env-conf-test] Nothing -> pure Nothing
  1932. 1527.01 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  1933. 1527.01 s [opt-env-conf-test] Just neRest -> do
  1934. 1527.01 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  1935. 1527.01 s [opt-env-conf-test] case mO' of
  1936. 1527.01 s [opt-env-conf-test] Nothing -> pure Nothing
  1937. 1527.01 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  1938. 1527.01 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  1939. 1527.01 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1940. 1527.01 s [opt-env-conf-test] Right mV -> case mV of
  1941. 1527.01 s [opt-env-conf-test] Nothing -> do
  1942. 1527.01 s [opt-env-conf-test] debug
  1943. 1527.01 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  1944. 1527.01 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1945. 1527.01 s [opt-env-conf-test] ]
  1946. 1527.01 s [opt-env-conf-test] pure Nothing
  1947. 1527.01 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  1948. 1527.01 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  1949. 1527.01 s [opt-env-conf-test] Right mA -> case mA of
  1950. 1527.01 s [opt-env-conf-test] Nothing -> do
  1951. 1527.01 s [opt-env-conf-test] debug
  1952. 1527.01 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  1953. 1527.01 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  1954. 1527.02 s [opt-env-conf-test] ]
  1955. 1527.02 s [opt-env-conf-test] pure Nothing
  1956. 1527.02 s [opt-env-conf-test] Just a -> do
  1957. 1527.02 s [opt-env-conf-test] debug
  1958. 1527.02 s [opt-env-conf-test] [ "set based on config value: ",
  1959. 1527.02 s [opt-env-conf-test] chunk $ T.pack $ show v
  1960. 1527.02 s [opt-env-conf-test] ]
  1961. 1527.02 s [opt-env-conf-test] pure $ Just a
  1962. 1527.02 s [opt-env-conf-test] let toRes = \case
  1963. 1527.02 s [opt-env-conf-test] Nothing -> NotFound
  1964. 1527.02 s [opt-env-conf-test] Just a -> Found a
  1965. 1527.02 s [opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  1966. 1527.56 s [opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
  1967. 1527.57 s [opt-env-conf-test] Just ne -> do
  1968. 1527.57 s [opt-env-conf-test] res <- goConfSet confSet
  1969. 1527.57 s [opt-env-conf-test] case res of
  1970. 1527.57 s [opt-env-conf-test] Just a -> pure $ Found a
  1971. 1527.57 s [opt-env-conf-test] Nothing -> goConfSets ne
  1972. 1527.57 s [opt-env-conf-test] goConfSets confSets
  1973. 1527.57 s [opt-env-conf-test] case mConf of
  1974. 1527.57 s [opt-env-conf-test] Found a -> do
  1975. 1527.57 s [opt-env-conf-test] markParsed
  1976. 1527.57 s [opt-env-conf-test] pure a
  1977. 1527.57 s [opt-env-conf-test] _ ->
  1978. 1527.57 s [opt-env-conf-test] case settingDefaultValue of
  1979. 1527.57 s [opt-env-conf-test] Just (a, _) -> do
  1980. 1527.57 s [opt-env-conf-test] debug ["set to default value"]
  1981. 1527.57 s [opt-env-conf-test] pure a -- Don't mark as parsed
  1982. 1527.57 s [opt-env-conf-test] Nothing -> do
  1983. 1527.57 s [opt-env-conf-test] let parseResultError e res = case res of
  1984. 1527.57 s [opt-env-conf-test] NotRun -> Nothing
  1985. 1527.57 s [opt-env-conf-test] NotFound -> Just e
  1986. 1527.57 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  1987. 1527.57 s [opt-env-conf-test] debug ["not found"]
  1988. 1527.58 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  1989. 1527.58 s [opt-env-conf-test] NE.nonEmpty $
  1990. 1527.58 s [opt-env-conf-test] catMaybes
  1991. 1527.58 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  1992. 1527.58 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  1993. 1527.58 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  1994. 1527.58 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  1995. 1527.58 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  1996. 1527.58 s [opt-env-conf-test] ]
  1997. 1527.58 s [opt-env-conf-test]
  1998. 1527.58 s [opt-env-conf-test] withCapabilities ::
  1999. 1527.58 s [opt-env-conf-test] Maybe SrcLoc ->
  2000. 1527.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2001. 1527.58 s [opt-env-conf-test] @@ -227,10 +227,7 @@
  2002. 1527.58 s [opt-env-conf-test] internalParser p =
  2003. 1527.58 s [opt-env-conf-test] choice
  2004. 1527.58 s [opt-env-conf-test] [ setting
  2005. 1527.58 s [opt-env-conf-test] - [ switch ShowVersion,
  2006. 1527.58 s [opt-env-conf-test] - long "version",
  2007. 1527.58 s [opt-env-conf-test] - hidden
  2008. 1527.58 s [opt-env-conf-test] ],
  2009. 1527.58 s [opt-env-conf-test] setting
  2010. 1527.58 s [opt-env-conf-test] [ switch RenderMan,
  2011. 1527.58 s [opt-env-conf-test] long "render-man-page",
  2012. 1527.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2013. 1527.58 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  2014. 1527.58 s [opt-env-conf-test] internalParser p =
  2015. 1527.58 s [opt-env-conf-test] choice
  2016. 1527.58 s [opt-env-conf-test] [ setting
  2017. 1527.58 s [opt-env-conf-test] [ switch ShowVersion,
  2018. 1527.58 s [opt-env-conf-test] long "version",
  2019. 1527.58 s [opt-env-conf-test] - hidden
  2020. 1527.58 s [opt-env-conf-test] ],
  2021. 1527.58 s [opt-env-conf-test] setting
  2022. 1527.58 s [opt-env-conf-test] [ switch RenderMan,
  2023. 1527.58 s [opt-env-conf-test] long "render-man-page",
  2024. 1527.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2025. 1527.58 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  2026. 1527.58 s [opt-env-conf-test] hidden
  2027. 1527.58 s [opt-env-conf-test] ],
  2028. 1527.58 s [opt-env-conf-test] setting
  2029. 1527.58 s [opt-env-conf-test] [ switch RenderMan,
  2030. 1527.58 s [opt-env-conf-test] long "render-man-page",
  2031. 1527.59 s [opt-env-conf-test] hidden,
  2032. 1527.59 s [opt-env-conf-test] - help "Render a manpage"
  2033. 1527.59 s [opt-env-conf-test] ],
  2034. 1527.59 s [opt-env-conf-test] setting
  2035. 1527.59 s [opt-env-conf-test] [ switch RenderDocumentation,
  2036. 1527.59 s [opt-env-conf-test] long "render-reference-documentation",
  2037. 1527.59 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2038. 1527.59 s [opt-env-conf-test] @@ -238,11 +238,7 @@
  2039. 1527.59 s [opt-env-conf-test] help "Render a manpage"
  2040. 1527.59 s [opt-env-conf-test] ],
  2041. 1527.59 s [opt-env-conf-test] setting
  2042. 1527.59 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2043. 1527.59 s [opt-env-conf-test] - long "render-reference-documentation",
  2044. 1527.59 s [opt-env-conf-test] - hidden,
  2045. 1527.59 s [opt-env-conf-test] - help "Render reference documentation"
  2046. 1527.59 s [opt-env-conf-test] ],
  2047. 1527.59 s [opt-env-conf-test] setting
  2048. 1527.59 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2049. 1527.59 s [opt-env-conf-test] long "render-nix-options",
  2050. 1527.59 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2051. 1527.59 s [opt-env-conf-test] @@ -232,11 +232,7 @@
  2052. 1527.59 s [opt-env-conf-test] hidden
  2053. 1527.59 s [opt-env-conf-test] ],
  2054. 1527.59 s [opt-env-conf-test] setting
  2055. 1527.59 s [opt-env-conf-test] - [ switch RenderMan,
  2056. 1527.59 s [opt-env-conf-test] - long "render-man-page",
  2057. 1527.59 s [opt-env-conf-test] - hidden,
  2058. 1527.59 s [opt-env-conf-test] - help "Render a manpage"
  2059. 1527.59 s [opt-env-conf-test] ],
  2060. 1527.59 s [opt-env-conf-test] setting
  2061. 1527.59 s [opt-env-conf-test] [ switch RenderDocumentation,
  2062. 1527.59 s [opt-env-conf-test] long "render-reference-documentation",
  2063. 1527.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
  2064. 1527.59 s [opt-env-conf-test] @@ -280,178 +280,10 @@
  2065. 1527.59 s [opt-env-conf-test] pure $ Found a
  2066. 1527.59 s [opt-env-conf-test] else pure NotRun
  2067. 1527.59 s [opt-env-conf-test]
  2068. 1527.60 s [opt-env-conf-test] case mArg of
  2069. 1527.60 s [opt-env-conf-test] Found a -> do
  2070. 1527.60 s [opt-env-conf-test] markParsed
  2071. 1527.60 s [opt-env-conf-test] pure a
  2072. 1527.60 s [opt-env-conf-test] - _ -> do
  2073. 1527.60 s [opt-env-conf-test] - mSwitch <- case settingSwitchValue of
  2074. 1527.60 s [opt-env-conf-test] - Nothing -> pure NotRun
  2075. 1527.60 s [opt-env-conf-test] - Just a -> do
  2076. 1527.60 s [opt-env-conf-test] - mS <- ppSwitch settingDasheds
  2077. 1527.60 s [opt-env-conf-test] - case mS of
  2078. 1527.60 s [opt-env-conf-test] - Nothing -> do
  2079. 1527.60 s [opt-env-conf-test] - debug
  2080. 1527.60 s [opt-env-conf-test] - [ "could not set based on switch, no switch: ",
  2081. 1527.60 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  2082. 1527.60 s [opt-env-conf-test] - ]
  2083. 1527.60 s [opt-env-conf-test] - pure NotFound
  2084. 1527.60 s [opt-env-conf-test] - Just () -> cap $ do
  2085. 1527.60 s [opt-env-conf-test] - debug ["set based on switch."]
  2086. 1527.60 s [opt-env-conf-test] - pure $ Found a
  2087. 1527.60 s [opt-env-conf-test] -
  2088. 1527.60 s [opt-env-conf-test] - case mSwitch of
  2089. 1527.60 s [opt-env-conf-test] - Found a -> do
  2090. 1527.60 s [opt-env-conf-test] - markParsed
  2091. 1527.60 s [opt-env-conf-test] - pure a
  2092. 1527.60 s [opt-env-conf-test] - _ -> do
  2093. 1527.60 s [opt-env-conf-test] - mOpt <-
  2094. 1527.60 s [opt-env-conf-test] - if settingTryOption
  2095. 1527.60 s [opt-env-conf-test] - then do
  2096. 1527.60 s [opt-env-conf-test] - -- Require readers before finding the option so the parser
  2097. 1527.60 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2098. 1527.60 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2099. 1527.60 s [opt-env-conf-test] - mS <- ppOpt settingDasheds
  2100. 1527.60 s [opt-env-conf-test] - case mS of
  2101. 1527.60 s [opt-env-conf-test] - Nothing -> do
  2102. 1527.60 s [opt-env-conf-test] - debug
  2103. 1527.60 s [opt-env-conf-test] - [ "could not set based on options, no option: ",
  2104. 1527.60 s [opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
  2105. 1527.60 s [opt-env-conf-test] - ]
  2106. 1527.60 s [opt-env-conf-test] - pure NotFound
  2107. 1527.60 s [opt-env-conf-test] - Just optionStr -> cap $
  2108. 1527.60 s [opt-env-conf-test] - case tryReaders rs optionStr of
  2109. 1527.60 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
  2110. 1527.60 s [opt-env-conf-test] - Right a -> do
  2111. 1527.60 s [opt-env-conf-test] - debug
  2112. 1527.60 s [opt-env-conf-test] - [ "set based on option: ",
  2113. 1527.60 s [opt-env-conf-test] - chunk $ T.pack $ show optionStr
  2114. 1527.61 s [opt-env-conf-test] - ]
  2115. 1527.61 s [opt-env-conf-test] - pure $ Found a
  2116. 1527.61 s [opt-env-conf-test] - else pure NotRun
  2117. 1527.61 s [opt-env-conf-test] -
  2118. 1527.61 s [opt-env-conf-test] - case mOpt of
  2119. 1527.61 s [opt-env-conf-test] - Found a -> do
  2120. 1527.61 s [opt-env-conf-test] - markParsed
  2121. 1527.61 s [opt-env-conf-test] - pure a
  2122. 1527.61 s [opt-env-conf-test] - _ -> do
  2123. 1527.61 s [opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
  2124. 1527.61 s [opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
  2125. 1527.61 s [opt-env-conf-test] - Nothing -> pure NotRun
  2126. 1527.61 s [opt-env-conf-test] - Just ne -> do
  2127. 1527.61 s [opt-env-conf-test] - -- Require readers before finding the env vars so the parser
  2128. 1527.61 s [opt-env-conf-test] - -- always fails if it's missing a reader.
  2129. 1527.61 s [opt-env-conf-test] - rs <- requireReaders settingReaders
  2130. 1527.61 s [opt-env-conf-test] - es <- asks ppEnvEnv
  2131. 1527.61 s [opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
  2132. 1527.61 s [opt-env-conf-test] - -- Run the parser on all specified env vars before
  2133. 1527.61 s [opt-env-conf-test] - -- returning the first because we want to fail if any
  2134. 1527.61 s [opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
  2135. 1527.61 s [opt-env-conf-test] - -- result.
  2136. 1527.61 s [opt-env-conf-test] - results <- for founds $ \varStr ->
  2137. 1527.61 s [opt-env-conf-test] - case tryReaders rs varStr of
  2138. 1527.61 s [opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
  2139. 1527.61 s [opt-env-conf-test] - Right a -> do
  2140. 1527.61 s [opt-env-conf-test] - debug
  2141. 1527.61 s [opt-env-conf-test] - [ "set based on env: ",
  2142. 1527.61 s [opt-env-conf-test] - chunk $ T.pack $ show varStr
  2143. 1527.61 s [opt-env-conf-test] - ]
  2144. 1527.61 s [opt-env-conf-test] - pure a
  2145. 1527.61 s [opt-env-conf-test] - case listToMaybe results of
  2146. 1527.61 s [opt-env-conf-test] - Nothing -> do
  2147. 1527.61 s [opt-env-conf-test] - debug
  2148. 1527.61 s [opt-env-conf-test] - [ "could not set based on env vars, no var: ",
  2149. 1527.61 s [opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
  2150. 1527.61 s [opt-env-conf-test] - ]
  2151. 1527.61 s [opt-env-conf-test] - pure NotFound
  2152. 1527.61 s [opt-env-conf-test] - Just a -> pure $ Found a
  2153. 1527.61 s [opt-env-conf-test] -
  2154. 1527.61 s [opt-env-conf-test] - case mEnv of
  2155. 1527.61 s [opt-env-conf-test] - Found a -> do
  2156. 1527.61 s [opt-env-conf-test] - markParsed
  2157. 1527.61 s [opt-env-conf-test] - pure a
  2158. 1527.61 s [opt-env-conf-test] - _ -> do
  2159. 1527.61 s [opt-env-conf-test] - let mConfDoc = settingConfDoc set
  2160. 1527.61 s [opt-env-conf-test] - mConf <- case settingConfigVals of
  2161. 1527.61 s [opt-env-conf-test] - Nothing -> pure NotRun
  2162. 1527.61 s [opt-env-conf-test] - Just confSets -> do
  2163. 1527.61 s [opt-env-conf-test] - mObj <- asks ppEnvConf
  2164. 1527.61 s [opt-env-conf-test] - case mObj of
  2165. 1527.61 s [opt-env-conf-test] - Nothing -> do
  2166. 1527.61 s [opt-env-conf-test] - debug ["no config object to set from"]
  2167. 1527.61 s [opt-env-conf-test] - pure NotFound
  2168. 1527.61 s [opt-env-conf-test] - Just obj -> do
  2169. 1527.61 s [opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
  2170. 1527.61 s [opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
  2171. 1527.61 s [opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
  2172. 1527.61 s [opt-env-conf-test] - Nothing -> do
  2173. 1527.62 s [opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
  2174. 1527.62 s [opt-env-conf-test] - Nothing -> pure Nothing
  2175. 1527.62 s [opt-env-conf-test] - Just v -> Just <$> parseJSON v
  2176. 1527.62 s [opt-env-conf-test] - Just neRest -> do
  2177. 1527.62 s [opt-env-conf-test] - mO' <- o .:? Key.fromString k
  2178. 1527.62 s [opt-env-conf-test] - case mO' of
  2179. 1527.62 s [opt-env-conf-test] - Nothing -> pure Nothing
  2180. 1527.62 s [opt-env-conf-test] - Just o' -> jsonParser o' neRest
  2181. 1527.62 s [opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
  2182. 1527.62 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2183. 1527.62 s [opt-env-conf-test] - Right mV -> case mV of
  2184. 1527.62 s [opt-env-conf-test] - Nothing -> do
  2185. 1527.62 s [opt-env-conf-test] - debug
  2186. 1527.62 s [opt-env-conf-test] - [ "could not set based on config value, not configured: ",
  2187. 1527.62 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2188. 1527.62 s [opt-env-conf-test] - ]
  2189. 1527.62 s [opt-env-conf-test] - pure Nothing
  2190. 1527.62 s [opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  2191. 1527.62 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  2192. 1527.62 s [opt-env-conf-test] - Right mA -> case mA of
  2193. 1527.62 s [opt-env-conf-test] - Nothing -> do
  2194. 1527.62 s [opt-env-conf-test] - debug
  2195. 1527.62 s [opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
  2196. 1527.62 s [opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
  2197. 1527.62 s [opt-env-conf-test] - ]
  2198. 1527.62 s [opt-env-conf-test] - pure Nothing
  2199. 1527.62 s [opt-env-conf-test] - Just a -> do
  2200. 1527.62 s [opt-env-conf-test] - debug
  2201. 1527.62 s [opt-env-conf-test] - [ "set based on config value: ",
  2202. 1527.62 s [opt-env-conf-test] - chunk $ T.pack $ show v
  2203. 1527.62 s [opt-env-conf-test] - ]
  2204. 1527.62 s [opt-env-conf-test] - pure $ Just a
  2205. 1527.62 s [opt-env-conf-test] - let toRes = \case
  2206. 1527.62 s [opt-env-conf-test] - Nothing -> NotFound
  2207. 1527.62 s [opt-env-conf-test] - Just a -> Found a
  2208. 1527.62 s [opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
  2209. 1527.62 s [opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
  2210. 1527.62 s [opt-env-conf-test] - Just ne -> do
  2211. 1527.62 s [opt-env-conf-test] - res <- goConfSet confSet
  2212. 1527.62 s [opt-env-conf-test] - case res of
  2213. 1527.62 s [opt-env-conf-test] - Just a -> pure $ Found a
  2214. 1527.62 s [opt-env-conf-test] - Nothing -> goConfSets ne
  2215. 1527.62 s [opt-env-conf-test] - goConfSets confSets
  2216. 1527.62 s [opt-env-conf-test] - case mConf of
  2217. 1527.62 s [opt-env-conf-test] - Found a -> do
  2218. 1527.62 s [opt-env-conf-test] - markParsed
  2219. 1527.62 s [opt-env-conf-test] - pure a
  2220. 1527.62 s [opt-env-conf-test] - _ ->
  2221. 1527.62 s [opt-env-conf-test] - case settingDefaultValue of
  2222. 1527.62 s [opt-env-conf-test] - Just (a, _) -> do
  2223. 1527.62 s [opt-env-conf-test] - debug ["set to default value"]
  2224. 1527.63 s [opt-env-conf-test] - pure a -- Don't mark as parsed
  2225. 1527.65 s [opt-env-conf-test] - Nothing -> do
  2226. 1527.65 s [opt-env-conf-test] - let parseResultError e res = case res of
  2227. 1527.65 s [opt-env-conf-test] - NotRun -> Nothing
  2228. 1527.65 s [opt-env-conf-test] - NotFound -> Just e
  2229. 1527.65 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  2230. 1527.65 s [opt-env-conf-test] - debug ["not found"]
  2231. 1527.65 s [opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  2232. 1527.65 s [opt-env-conf-test] - NE.nonEmpty $
  2233. 1527.65 s [opt-env-conf-test] - catMaybes
  2234. 1527.65 s [opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  2235. 1527.65 s [opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  2236. 1527.65 s [opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  2237. 1527.66 s [opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  2238. 1527.66 s [opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  2239. 1527.66 s [opt-env-conf-test] - ]
  2240. 1527.66 s [opt-env-conf-test]
  2241. 1527.66 s [opt-env-conf-test] withCapabilities ::
  2242. 1527.66 s [opt-env-conf-test] Maybe SrcLoc ->
  2243. 1527.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2244. 1527.66 s [opt-env-conf-test] @@ -244,11 +244,7 @@
  2245. 1527.66 s [opt-env-conf-test] help "Render reference documentation"
  2246. 1527.66 s [opt-env-conf-test] ],
  2247. 1527.66 s [opt-env-conf-test] setting
  2248. 1527.66 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2249. 1527.66 s [opt-env-conf-test] - long "render-nix-options",
  2250. 1527.66 s [opt-env-conf-test] - hidden,
  2251. 1527.66 s [opt-env-conf-test] - help "Render Nix options"
  2252. 1527.66 s [opt-env-conf-test] ],
  2253. 1527.66 s [opt-env-conf-test] BashCompletionScript
  2254. 1527.66 s [opt-env-conf-test] <$> setting
  2255. 1527.66 s [opt-env-conf-test] [ option,
  2256. 1527.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2257. 1527.66 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  2258. 1527.66 s [opt-env-conf-test] help "Render a manpage"
  2259. 1527.66 s [opt-env-conf-test] ],
  2260. 1527.66 s [opt-env-conf-test] setting
  2261. 1527.66 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2262. 1527.66 s [opt-env-conf-test] long "render-reference-documentation",
  2263. 1527.66 s [opt-env-conf-test] hidden,
  2264. 1527.66 s [opt-env-conf-test] help "Render reference documentation"
  2265. 1527.66 s [opt-env-conf-test] ],
  2266. 1527.66 s [opt-env-conf-test] setting
  2267. 1527.66 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2268. 1527.66 s [opt-env-conf-test] long "render-nix-options",
  2269. 1527.66 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:230:9-10
  2270. 1527.66 s [opt-env-conf-test] @@ -227,10 +227,9 @@
  2271. 1527.66 s [opt-env-conf-test] internalParser p =
  2272. 1527.66 s [opt-env-conf-test] choice
  2273. 1527.66 s [opt-env-conf-test] [ setting
  2274. 1527.66 s [opt-env-conf-test] - [ switch ShowVersion,
  2275. 1527.66 s [opt-env-conf-test] long "version",
  2276. 1527.66 s [opt-env-conf-test] hidden
  2277. 1527.67 s [opt-env-conf-test] ],
  2278. 1527.67 s [opt-env-conf-test] setting
  2279. 1527.67 s [opt-env-conf-test] [ switch RenderMan,
  2280. 1527.67 s [opt-env-conf-test] long "render-man-page",
  2281. 1527.67 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:235:9-10
  2282. 1527.67 s [opt-env-conf-test] @@ -232,11 +232,10 @@
  2283. 1527.67 s [opt-env-conf-test] hidden
  2284. 1527.67 s [opt-env-conf-test] ],
  2285. 1527.67 s [opt-env-conf-test] setting
  2286. 1527.67 s [opt-env-conf-test] - [ switch RenderMan,
  2287. 1527.67 s [opt-env-conf-test] long "render-man-page",
  2288. 1527.67 s [opt-env-conf-test] hidden,
  2289. 1527.67 s [opt-env-conf-test] help "Render a manpage"
  2290. 1527.67 s [opt-env-conf-test] ],
  2291. 1527.67 s [opt-env-conf-test] setting
  2292. 1527.67 s [opt-env-conf-test] [ switch RenderDocumentation,
  2293. 1527.67 s [opt-env-conf-test] long "render-reference-documentation",
  2294. 1527.67 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:241:9-10
  2295. 1527.67 s [opt-env-conf-test] @@ -238,11 +238,10 @@
  2296. 1527.67 s [opt-env-conf-test] help "Render a manpage"
  2297. 1527.67 s [opt-env-conf-test] ],
  2298. 1527.67 s [opt-env-conf-test] setting
  2299. 1527.67 s [opt-env-conf-test] [ switch RenderDocumentation,
  2300. 1527.67 s [opt-env-conf-test] long "render-reference-documentation",
  2301. 1527.67 s [opt-env-conf-test] hidden,
  2302. 1527.67 s [opt-env-conf-test] - help "Render reference documentation"
  2303. 1527.67 s [opt-env-conf-test] ],
  2304. 1527.67 s [opt-env-conf-test] setting
  2305. 1527.67 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2306. 1527.68 s [opt-env-conf-test] long "render-nix-options",
  2307. 1527.68 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2308. 1527.68 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  2309. 1527.68 s [opt-env-conf-test] help "Render reference documentation"
  2310. 1527.68 s [opt-env-conf-test] ],
  2311. 1527.68 s [opt-env-conf-test] setting
  2312. 1527.68 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2313. 1527.68 s [opt-env-conf-test] long "render-nix-options",
  2314. 1527.68 s [opt-env-conf-test] hidden,
  2315. 1527.68 s [opt-env-conf-test] - help "Render Nix options"
  2316. 1527.68 s [opt-env-conf-test] ],
  2317. 1527.68 s [opt-env-conf-test] BashCompletionScript
  2318. 1527.68 s [opt-env-conf-test] <$> setting
  2319. 1527.68 s [opt-env-conf-test] [ option,
  2320. 1527.68 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:247:9-10
  2321. 1527.68 s [opt-env-conf-test] @@ -244,11 +244,10 @@
  2322. 1527.68 s [opt-env-conf-test] help "Render reference documentation"
  2323. 1527.68 s [opt-env-conf-test] ],
  2324. 1527.68 s [opt-env-conf-test] setting
  2325. 1527.68 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2326. 1527.68 s [opt-env-conf-test] long "render-nix-options",
  2327. 1527.68 s [opt-env-conf-test] hidden,
  2328. 1527.68 s [opt-env-conf-test] help "Render Nix options"
  2329. 1527.68 s [opt-env-conf-test] ],
  2330. 1527.68 s [opt-env-conf-test] BashCompletionScript
  2331. 1527.68 s [opt-env-conf-test] <$> setting
  2332. 1527.68 s [opt-env-conf-test] [ option,
  2333. 1527.68 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2334. 1527.68 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  2335. 1527.68 s [opt-env-conf-test] ],
  2336. 1527.68 s [opt-env-conf-test] BashCompletionScript
  2337. 1527.68 s [opt-env-conf-test] <$> setting
  2338. 1527.68 s [opt-env-conf-test] - [ option,
  2339. 1527.68 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2340. 1527.68 s [opt-env-conf-test] long "bash-completion-script",
  2341. 1527.68 s [opt-env-conf-test] hidden,
  2342. 1527.68 s [opt-env-conf-test] help "Render the bash completion script"
  2343. 1527.68 s [opt-env-conf-test] ],
  2344. 1527.68 s [opt-env-conf-test] ZshCompletionScript
  2345. 1527.68 s [opt-env-conf-test] <$> setting
  2346. 1527.68 s [opt-env-conf-test] [ option,
  2347. 1527.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2348. 1527.69 s [opt-env-conf-test] @@ -251,12 +251,11 @@
  2349. 1527.69 s [opt-env-conf-test] ],
  2350. 1527.69 s [opt-env-conf-test] BashCompletionScript
  2351. 1527.69 s [opt-env-conf-test] <$> setting
  2352. 1527.69 s [opt-env-conf-test] [ option,
  2353. 1527.69 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2354. 1527.69 s [opt-env-conf-test] long "bash-completion-script",
  2355. 1527.69 s [opt-env-conf-test] hidden,
  2356. 1527.69 s [opt-env-conf-test] - help "Render the bash completion script"
  2357. 1527.69 s [opt-env-conf-test] ],
  2358. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2359. 1527.69 s [opt-env-conf-test] <$> setting
  2360. 1527.69 s [opt-env-conf-test] [ option,
  2361. 1527.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2362. 1527.69 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  2363. 1527.69 s [opt-env-conf-test] ],
  2364. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2365. 1527.69 s [opt-env-conf-test] <$> setting
  2366. 1527.69 s [opt-env-conf-test] - [ option,
  2367. 1527.69 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2368. 1527.69 s [opt-env-conf-test] long "zsh-completion-script",
  2369. 1527.69 s [opt-env-conf-test] hidden,
  2370. 1527.69 s [opt-env-conf-test] help "Render the zsh completion script"
  2371. 1527.69 s [opt-env-conf-test] ],
  2372. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2373. 1527.69 s [opt-env-conf-test] <$> setting
  2374. 1527.69 s [opt-env-conf-test] [ option,
  2375. 1527.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2376. 1527.69 s [opt-env-conf-test] @@ -259,12 +259,11 @@
  2377. 1527.69 s [opt-env-conf-test] ],
  2378. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2379. 1527.69 s [opt-env-conf-test] <$> setting
  2380. 1527.69 s [opt-env-conf-test] [ option,
  2381. 1527.69 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2382. 1527.69 s [opt-env-conf-test] long "zsh-completion-script",
  2383. 1527.69 s [opt-env-conf-test] hidden,
  2384. 1527.69 s [opt-env-conf-test] - help "Render the zsh completion script"
  2385. 1527.69 s [opt-env-conf-test] ],
  2386. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2387. 1527.69 s [opt-env-conf-test] <$> setting
  2388. 1527.69 s [opt-env-conf-test] [ option,
  2389. 1527.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2390. 1527.69 s [opt-env-conf-test] @@ -267,12 +267,7 @@
  2391. 1527.69 s [opt-env-conf-test] ],
  2392. 1527.69 s [opt-env-conf-test] ZshCompletionScript
  2393. 1527.69 s [opt-env-conf-test] <$> setting
  2394. 1527.69 s [opt-env-conf-test] - [ option,
  2395. 1527.69 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2396. 1527.69 s [opt-env-conf-test] - long "fish-completion-script",
  2397. 1527.69 s [opt-env-conf-test] - hidden,
  2398. 1527.69 s [opt-env-conf-test] - help "Render the fish completion script"
  2399. 1527.70 s [opt-env-conf-test] ],
  2400. 1527.70 s [opt-env-conf-test] setting
  2401. 1527.70 s [opt-env-conf-test] [ help "Query completion",
  2402. 1527.70 s [opt-env-conf-test] switch CompletionQuery,
  2403. 1527.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2404. 1527.70 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  2405. 1527.70 s [opt-env-conf-test] ],
  2406. 1527.70 s [opt-env-conf-test] ZshCompletionScript
  2407. 1527.70 s [opt-env-conf-test] <$> setting
  2408. 1527.70 s [opt-env-conf-test] - [ option,
  2409. 1527.70 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2410. 1527.70 s [opt-env-conf-test] long "fish-completion-script",
  2411. 1527.70 s [opt-env-conf-test] hidden,
  2412. 1527.70 s [opt-env-conf-test] help "Render the fish completion script"
  2413. 1527.70 s [opt-env-conf-test] ],
  2414. 1527.70 s [opt-env-conf-test] setting
  2415. 1527.70 s [opt-env-conf-test] [ help "Query completion",
  2416. 1527.70 s [opt-env-conf-test] switch CompletionQuery,
  2417. 1527.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:270:11-12
  2418. 1527.70 s [opt-env-conf-test] @@ -267,12 +267,11 @@
  2419. 1527.70 s [opt-env-conf-test] ],
  2420. 1527.70 s [opt-env-conf-test] ZshCompletionScript
  2421. 1527.70 s [opt-env-conf-test] <$> setting
  2422. 1527.70 s [opt-env-conf-test] [ option,
  2423. 1527.70 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2424. 1527.70 s [opt-env-conf-test] long "fish-completion-script",
  2425. 1527.70 s [opt-env-conf-test] hidden,
  2426. 1527.70 s [opt-env-conf-test] - help "Render the fish completion script"
  2427. 1527.70 s [opt-env-conf-test] ],
  2428. 1527.70 s [opt-env-conf-test] setting
  2429. 1527.70 s [opt-env-conf-test] [ help "Query completion",
  2430. 1527.70 s [opt-env-conf-test] switch CompletionQuery,
  2431. 1527.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2432. 1527.70 s [opt-env-conf-test] @@ -274,12 +274,8 @@
  2433. 1527.70 s [opt-env-conf-test] help "Render the fish completion script"
  2434. 1527.70 s [opt-env-conf-test] ],
  2435. 1527.70 s [opt-env-conf-test] setting
  2436. 1527.70 s [opt-env-conf-test] - [ help "Query completion",
  2437. 1527.70 s [opt-env-conf-test] - switch CompletionQuery,
  2438. 1527.70 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2439. 1527.70 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  2440. 1527.70 s [opt-env-conf-test] - hidden
  2441. 1527.70 s [opt-env-conf-test] ]
  2442. 1527.70 s [opt-env-conf-test] <*> setting
  2443. 1527.70 s [opt-env-conf-test] [ switch True,
  2444. 1527.70 s [opt-env-conf-test] long "completion-enriched",
  2445. 1527.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2446. 1527.70 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  2447. 1527.70 s [opt-env-conf-test] help "Render the fish completion script"
  2448. 1527.70 s [opt-env-conf-test] ],
  2449. 1527.70 s [opt-env-conf-test] setting
  2450. 1527.70 s [opt-env-conf-test] - [ help "Query completion",
  2451. 1527.70 s [opt-env-conf-test] switch CompletionQuery,
  2452. 1527.70 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2453. 1527.70 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2454. 1527.70 s [opt-env-conf-test] hidden
  2455. 1527.70 s [opt-env-conf-test] ]
  2456. 1527.70 s [opt-env-conf-test] <*> setting
  2457. 1527.70 s [opt-env-conf-test] [ switch True,
  2458. 1527.70 s [opt-env-conf-test] long "completion-enriched",
  2459. 1527.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
  2460. 1527.70 s [opt-env-conf-test] @@ -274,12 +274,11 @@
  2461. 1527.70 s [opt-env-conf-test] help "Render the fish completion script"
  2462. 1527.70 s [opt-env-conf-test] ],
  2463. 1527.70 s [opt-env-conf-test] setting
  2464. 1527.70 s [opt-env-conf-test] [ help "Query completion",
  2465. 1527.70 s [opt-env-conf-test] switch CompletionQuery,
  2466. 1527.70 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2467. 1527.70 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2468. 1527.70 s [opt-env-conf-test] - hidden
  2469. 1527.71 s [opt-env-conf-test] ]
  2470. 1527.71 s [opt-env-conf-test] <*> setting
  2471. 1527.71 s [opt-env-conf-test] [ switch True,
  2472. 1527.71 s [opt-env-conf-test] long "completion-enriched",
  2473. 1527.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:284:20-24
  2474. 1527.71 s [opt-env-conf-test] @@ -281,7 +281,7 @@
  2475. 1527.71 s [opt-env-conf-test] hidden
  2476. 1527.71 s [opt-env-conf-test] ]
  2477. 1527.71 s [opt-env-conf-test] <*> setting
  2478. 1527.71 s [opt-env-conf-test] - [ switch True,
  2479. 1527.71 s [opt-env-conf-test] + [ switch False,
  2480. 1527.71 s [opt-env-conf-test] long "completion-enriched",
  2481. 1527.71 s [opt-env-conf-test] value False,
  2482. 1527.71 s [opt-env-conf-test] hidden,
  2483. 1527.71 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:286:19-24
  2484. 1527.71 s [opt-env-conf-test] @@ -283,7 +283,7 @@
  2485. 1527.71 s [opt-env-conf-test] <*> setting
  2486. 1527.71 s [opt-env-conf-test] [ switch True,
  2487. 1527.71 s [opt-env-conf-test] long "completion-enriched",
  2488. 1527.71 s [opt-env-conf-test] - value False,
  2489. 1527.71 s [opt-env-conf-test] + value True,
  2490. 1527.71 s [opt-env-conf-test] hidden,
  2491. 1527.71 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2492. 1527.71 s [opt-env-conf-test] ]
  2493. 1527.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2494. 1527.71 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  2495. 1527.71 s [opt-env-conf-test] hidden
  2496. 1527.71 s [opt-env-conf-test] ]
  2497. 1527.71 s [opt-env-conf-test] <*> setting
  2498. 1527.71 s [opt-env-conf-test] [ switch True,
  2499. 1527.71 s [opt-env-conf-test] long "completion-enriched",
  2500. 1527.71 s [opt-env-conf-test] value False,
  2501. 1527.71 s [opt-env-conf-test] hidden,
  2502. 1527.71 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2503. 1527.71 s [opt-env-conf-test] ]
  2504. 1527.71 s [opt-env-conf-test] <*> setting
  2505. 1527.71 s [opt-env-conf-test] [ option,
  2506. 1527.71 s [opt-env-conf-test] reader auto,
  2507. 1527.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2508. 1527.71 s [opt-env-conf-test] @@ -288,12 +288,7 @@
  2509. 1527.71 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2510. 1527.71 s [opt-env-conf-test] ]
  2511. 1527.71 s [opt-env-conf-test] <*> setting
  2512. 1527.71 s [opt-env-conf-test] - [ option,
  2513. 1527.71 s [opt-env-conf-test] - reader auto,
  2514. 1527.71 s [opt-env-conf-test] - long "completion-index",
  2515. 1527.71 s [opt-env-conf-test] - hidden,
  2516. 1527.71 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2517. 1527.71 s [opt-env-conf-test] ]
  2518. 1527.71 s [opt-env-conf-test] <*> many
  2519. 1527.71 s [opt-env-conf-test] ( setting
  2520. 1527.71 s [opt-env-conf-test] [ option,
  2521. 1527.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2522. 1527.71 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  2523. 1527.71 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2524. 1527.71 s [opt-env-conf-test] ]
  2525. 1527.71 s [opt-env-conf-test] <*> setting
  2526. 1527.71 s [opt-env-conf-test] - [ option,
  2527. 1527.71 s [opt-env-conf-test] reader auto,
  2528. 1527.71 s [opt-env-conf-test] long "completion-index",
  2529. 1527.71 s [opt-env-conf-test] hidden,
  2530. 1527.71 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2531. 1527.71 s [opt-env-conf-test] ]
  2532. 1527.71 s [opt-env-conf-test] <*> many
  2533. 1527.71 s [opt-env-conf-test] ( setting
  2534. 1527.71 s [opt-env-conf-test] [ option,
  2535. 1527.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2536. 1527.71 s [opt-env-conf-test] @@ -281,12 +281,7 @@
  2537. 1527.71 s [opt-env-conf-test] hidden
  2538. 1527.71 s [opt-env-conf-test] ]
  2539. 1527.71 s [opt-env-conf-test] <*> setting
  2540. 1527.71 s [opt-env-conf-test] - [ switch True,
  2541. 1527.71 s [opt-env-conf-test] - long "completion-enriched",
  2542. 1527.71 s [opt-env-conf-test] - value False,
  2543. 1527.71 s [opt-env-conf-test] - hidden,
  2544. 1527.71 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2545. 1527.71 s [opt-env-conf-test] ]
  2546. 1527.71 s [opt-env-conf-test] <*> setting
  2547. 1527.71 s [opt-env-conf-test] [ option,
  2548. 1527.71 s [opt-env-conf-test] reader auto,
  2549. 1527.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
  2550. 1527.71 s [opt-env-conf-test] @@ -281,12 +281,11 @@
  2551. 1527.71 s [opt-env-conf-test] hidden
  2552. 1527.71 s [opt-env-conf-test] ]
  2553. 1527.71 s [opt-env-conf-test] <*> setting
  2554. 1527.71 s [opt-env-conf-test] - [ switch True,
  2555. 1527.71 s [opt-env-conf-test] long "completion-enriched",
  2556. 1527.71 s [opt-env-conf-test] value False,
  2557. 1527.71 s [opt-env-conf-test] hidden,
  2558. 1527.71 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2559. 1527.71 s [opt-env-conf-test] ]
  2560. 1527.72 s [opt-env-conf-test] <*> setting
  2561. 1527.72 s [opt-env-conf-test] [ option,
  2562. 1527.72 s [opt-env-conf-test] reader auto,
  2563. 1527.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2564. 1527.72 s [opt-env-conf-test] @@ -226,82 +226,81 @@
  2565. 1527.72 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2566. 1527.72 s [opt-env-conf-test] internalParser p =
  2567. 1527.72 s [opt-env-conf-test] choice
  2568. 1527.72 s [opt-env-conf-test] [ setting
  2569. 1527.72 s [opt-env-conf-test] [ switch ShowVersion,
  2570. 1527.72 s [opt-env-conf-test] long "version",
  2571. 1527.72 s [opt-env-conf-test] hidden
  2572. 1527.72 s [opt-env-conf-test] ],
  2573. 1527.72 s [opt-env-conf-test] setting
  2574. 1527.72 s [opt-env-conf-test] [ switch RenderMan,
  2575. 1527.72 s [opt-env-conf-test] long "render-man-page",
  2576. 1527.72 s [opt-env-conf-test] hidden,
  2577. 1527.72 s [opt-env-conf-test] help "Render a manpage"
  2578. 1527.72 s [opt-env-conf-test] ],
  2579. 1527.72 s [opt-env-conf-test] setting
  2580. 1527.72 s [opt-env-conf-test] [ switch RenderDocumentation,
  2581. 1527.72 s [opt-env-conf-test] long "render-reference-documentation",
  2582. 1527.72 s [opt-env-conf-test] hidden,
  2583. 1527.72 s [opt-env-conf-test] help "Render reference documentation"
  2584. 1527.72 s [opt-env-conf-test] ],
  2585. 1527.72 s [opt-env-conf-test] setting
  2586. 1527.72 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2587. 1527.72 s [opt-env-conf-test] long "render-nix-options",
  2588. 1527.72 s [opt-env-conf-test] hidden,
  2589. 1527.72 s [opt-env-conf-test] help "Render Nix options"
  2590. 1527.72 s [opt-env-conf-test] ],
  2591. 1527.72 s [opt-env-conf-test] BashCompletionScript
  2592. 1527.72 s [opt-env-conf-test] <$> setting
  2593. 1527.72 s [opt-env-conf-test] [ option,
  2594. 1527.72 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2595. 1527.72 s [opt-env-conf-test] long "bash-completion-script",
  2596. 1527.72 s [opt-env-conf-test] hidden,
  2597. 1527.72 s [opt-env-conf-test] help "Render the bash completion script"
  2598. 1527.72 s [opt-env-conf-test] ],
  2599. 1527.72 s [opt-env-conf-test] ZshCompletionScript
  2600. 1527.72 s [opt-env-conf-test] <$> setting
  2601. 1527.72 s [opt-env-conf-test] [ option,
  2602. 1527.72 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2603. 1527.72 s [opt-env-conf-test] long "zsh-completion-script",
  2604. 1527.72 s [opt-env-conf-test] hidden,
  2605. 1527.72 s [opt-env-conf-test] help "Render the zsh completion script"
  2606. 1527.72 s [opt-env-conf-test] ],
  2607. 1527.72 s [opt-env-conf-test] ZshCompletionScript
  2608. 1527.72 s [opt-env-conf-test] <$> setting
  2609. 1527.72 s [opt-env-conf-test] [ option,
  2610. 1527.72 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2611. 1527.72 s [opt-env-conf-test] long "fish-completion-script",
  2612. 1527.72 s [opt-env-conf-test] hidden,
  2613. 1527.72 s [opt-env-conf-test] help "Render the fish completion script"
  2614. 1527.72 s [opt-env-conf-test] ],
  2615. 1527.72 s [opt-env-conf-test] setting
  2616. 1527.72 s [opt-env-conf-test] [ help "Query completion",
  2617. 1527.72 s [opt-env-conf-test] switch CompletionQuery,
  2618. 1527.72 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2619. 1527.72 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2620. 1527.72 s [opt-env-conf-test] hidden
  2621. 1527.72 s [opt-env-conf-test] ]
  2622. 1527.72 s [opt-env-conf-test] <*> setting
  2623. 1527.72 s [opt-env-conf-test] [ switch True,
  2624. 1527.72 s [opt-env-conf-test] long "completion-enriched",
  2625. 1527.72 s [opt-env-conf-test] value False,
  2626. 1527.72 s [opt-env-conf-test] hidden,
  2627. 1527.72 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2628. 1527.72 s [opt-env-conf-test] ]
  2629. 1527.72 s [opt-env-conf-test] <*> setting
  2630. 1527.72 s [opt-env-conf-test] [ option,
  2631. 1527.72 s [opt-env-conf-test] reader auto,
  2632. 1528.74 s [opt-env-conf-test] long "completion-index",
  2633. 1528.74 s [opt-env-conf-test] hidden,
  2634. 1528.74 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2635. 1528.75 s [opt-env-conf-test] ]
  2636. 1528.75 s [opt-env-conf-test] <*> many
  2637. 1528.75 s [opt-env-conf-test] ( setting
  2638. 1528.75 s [opt-env-conf-test] [ option,
  2639. 1528.75 s [opt-env-conf-test] reader str,
  2640. 1528.75 s [opt-env-conf-test] long "completion-word",
  2641. 1528.75 s [opt-env-conf-test] hidden,
  2642. 1528.75 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2643. 1528.75 s [opt-env-conf-test] ]
  2644. 1528.75 s [opt-env-conf-test] ),
  2645. 1528.75 s [opt-env-conf-test] - ParsedNormally <$> p
  2646. 1528.75 s [opt-env-conf-test] ]
  2647. 1528.75 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2648. 1528.75 s [opt-env-conf-test] @@ -226,82 +226,4 @@
  2649. 1528.75 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2650. 1528.75 s [opt-env-conf-test] internalParser p =
  2651. 1528.75 s [opt-env-conf-test] choice
  2652. 1528.75 s [opt-env-conf-test] - [ setting
  2653. 1528.75 s [opt-env-conf-test] - [ switch ShowVersion,
  2654. 1528.75 s [opt-env-conf-test] - long "version",
  2655. 1528.75 s [opt-env-conf-test] - hidden
  2656. 1528.75 s [opt-env-conf-test] - ],
  2657. 1528.75 s [opt-env-conf-test] - setting
  2658. 1528.75 s [opt-env-conf-test] - [ switch RenderMan,
  2659. 1528.75 s [opt-env-conf-test] - long "render-man-page",
  2660. 1528.75 s [opt-env-conf-test] - hidden,
  2661. 1528.75 s [opt-env-conf-test] - help "Render a manpage"
  2662. 1528.75 s [opt-env-conf-test] - ],
  2663. 1528.75 s [opt-env-conf-test] - setting
  2664. 1528.75 s [opt-env-conf-test] - [ switch RenderDocumentation,
  2665. 1528.75 s [opt-env-conf-test] - long "render-reference-documentation",
  2666. 1528.75 s [opt-env-conf-test] - hidden,
  2667. 1528.75 s [opt-env-conf-test] - help "Render reference documentation"
  2668. 1528.75 s [opt-env-conf-test] - ],
  2669. 1528.75 s [opt-env-conf-test] - setting
  2670. 1528.75 s [opt-env-conf-test] - [ switch RenderNixosOptions,
  2671. 1528.75 s [opt-env-conf-test] - long "render-nix-options",
  2672. 1528.75 s [opt-env-conf-test] - hidden,
  2673. 1528.75 s [opt-env-conf-test] - help "Render Nix options"
  2674. 1528.75 s [opt-env-conf-test] - ],
  2675. 1528.75 s [opt-env-conf-test] - BashCompletionScript
  2676. 1528.75 s [opt-env-conf-test] - <$> setting
  2677. 1528.75 s [opt-env-conf-test] - [ option,
  2678. 1528.75 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2679. 1528.75 s [opt-env-conf-test] - long "bash-completion-script",
  2680. 1528.75 s [opt-env-conf-test] - hidden,
  2681. 1528.75 s [opt-env-conf-test] - help "Render the bash completion script"
  2682. 1528.75 s [opt-env-conf-test] - ],
  2683. 1528.75 s [opt-env-conf-test] - ZshCompletionScript
  2684. 1528.75 s [opt-env-conf-test] - <$> setting
  2685. 1528.75 s [opt-env-conf-test] - [ option,
  2686. 1528.75 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2687. 1528.75 s [opt-env-conf-test] - long "zsh-completion-script",
  2688. 1528.75 s [opt-env-conf-test] - hidden,
  2689. 1528.76 s [opt-env-conf-test] - help "Render the zsh completion script"
  2690. 1528.76 s [opt-env-conf-test] - ],
  2691. 1528.76 s [opt-env-conf-test] - ZshCompletionScript
  2692. 1528.76 s [opt-env-conf-test] - <$> setting
  2693. 1528.76 s [opt-env-conf-test] - [ option,
  2694. 1528.76 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2695. 1528.76 s [opt-env-conf-test] - long "fish-completion-script",
  2696. 1528.76 s [opt-env-conf-test] - hidden,
  2697. 1528.76 s [opt-env-conf-test] - help "Render the fish completion script"
  2698. 1528.76 s [opt-env-conf-test] - ],
  2699. 1528.76 s [opt-env-conf-test] - setting
  2700. 1528.76 s [opt-env-conf-test] - [ help "Query completion",
  2701. 1528.76 s [opt-env-conf-test] - switch CompletionQuery,
  2702. 1529.29 s [opt-env-conf-test] - -- Long string that no normal user would ever use.
  2703. 1529.44 s [opt-env-conf-test] - long "query-opt-env-conf-completion",
  2704. 1529.44 s [opt-env-conf-test] - hidden
  2705. 1529.44 s [opt-env-conf-test] - ]
  2706. 1529.45 s [opt-env-conf-test] - <*> setting
  2707. 1529.45 s [opt-env-conf-test] - [ switch True,
  2708. 1529.45 s [opt-env-conf-test] - long "completion-enriched",
  2709. 1529.45 s [opt-env-conf-test] - value False,
  2710. 1529.45 s [opt-env-conf-test] - hidden,
  2711. 1529.45 s [opt-env-conf-test] - help "Whether to enable enriched completion"
  2712. 1529.45 s [opt-env-conf-test] - ]
  2713. 1529.45 s [opt-env-conf-test] - <*> setting
  2714. 1529.45 s [opt-env-conf-test] - [ option,
  2715. 1529.45 s [opt-env-conf-test] - reader auto,
  2716. 1529.45 s [opt-env-conf-test] - long "completion-index",
  2717. 1529.45 s [opt-env-conf-test] - hidden,
  2718. 1529.45 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2719. 1529.45 s [opt-env-conf-test] - ]
  2720. 1529.45 s [opt-env-conf-test] - <*> many
  2721. 1529.45 s [opt-env-conf-test] - ( setting
  2722. 1529.45 s [opt-env-conf-test] - [ option,
  2723. 1529.45 s [opt-env-conf-test] - reader str,
  2724. 1529.45 s [opt-env-conf-test] - long "completion-word",
  2725. 1529.45 s [opt-env-conf-test] - hidden,
  2726. 1529.45 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2727. 1529.45 s [opt-env-conf-test] - ]
  2728. 1529.45 s [opt-env-conf-test] - ),
  2729. 1529.45 s [opt-env-conf-test] - ParsedNormally <$> p
  2730. 1529.45 s [opt-env-conf-test] ]
  2731. 1529.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:229:5-6
  2732. 1529.45 s [opt-env-conf-test] @@ -226,82 +226,77 @@
  2733. 1529.46 s [opt-env-conf-test] internalParser :: Parser a -> Parser (Internal a)
  2734. 1529.46 s [opt-env-conf-test] internalParser p =
  2735. 1529.46 s [opt-env-conf-test] choice
  2736. 1529.46 s [opt-env-conf-test] - [ setting
  2737. 1529.46 s [opt-env-conf-test] - [ switch ShowVersion,
  2738. 1529.46 s [opt-env-conf-test] - long "version",
  2739. 1529.46 s [opt-env-conf-test] - hidden
  2740. 1529.46 s [opt-env-conf-test] - ],
  2741. 1529.46 s [opt-env-conf-test] setting
  2742. 1529.46 s [opt-env-conf-test] [ switch RenderMan,
  2743. 1529.46 s [opt-env-conf-test] long "render-man-page",
  2744. 1529.46 s [opt-env-conf-test] hidden,
  2745. 1529.46 s [opt-env-conf-test] help "Render a manpage"
  2746. 1529.46 s [opt-env-conf-test] ],
  2747. 1529.46 s [opt-env-conf-test] setting
  2748. 1529.46 s [opt-env-conf-test] [ switch RenderDocumentation,
  2749. 1529.46 s [opt-env-conf-test] long "render-reference-documentation",
  2750. 1529.46 s [opt-env-conf-test] hidden,
  2751. 1529.46 s [opt-env-conf-test] help "Render reference documentation"
  2752. 1529.46 s [opt-env-conf-test] ],
  2753. 1529.46 s [opt-env-conf-test] setting
  2754. 1529.46 s [opt-env-conf-test] [ switch RenderNixosOptions,
  2755. 1529.46 s [opt-env-conf-test] long "render-nix-options",
  2756. 1529.46 s [opt-env-conf-test] hidden,
  2757. 1529.46 s [opt-env-conf-test] help "Render Nix options"
  2758. 1529.46 s [opt-env-conf-test] ],
  2759. 1529.46 s [opt-env-conf-test] BashCompletionScript
  2760. 1529.46 s [opt-env-conf-test] <$> setting
  2761. 1529.46 s [opt-env-conf-test] [ option,
  2762. 1529.46 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2763. 1529.46 s [opt-env-conf-test] long "bash-completion-script",
  2764. 1529.46 s [opt-env-conf-test] hidden,
  2765. 1529.46 s [opt-env-conf-test] help "Render the bash completion script"
  2766. 1529.46 s [opt-env-conf-test] ],
  2767. 1529.46 s [opt-env-conf-test] ZshCompletionScript
  2768. 1529.47 s [opt-env-conf-test] <$> setting
  2769. 1529.47 s [opt-env-conf-test] [ option,
  2770. 1529.47 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2771. 1529.47 s [opt-env-conf-test] long "zsh-completion-script",
  2772. 1529.47 s [opt-env-conf-test] hidden,
  2773. 1529.47 s [opt-env-conf-test] help "Render the zsh completion script"
  2774. 1529.47 s [opt-env-conf-test] ],
  2775. 1529.47 s [opt-env-conf-test] ZshCompletionScript
  2776. 1529.47 s [opt-env-conf-test] <$> setting
  2777. 1529.47 s [opt-env-conf-test] [ option,
  2778. 1529.47 s [opt-env-conf-test] reader $ maybeReader parseAbsFile,
  2779. 1529.47 s [opt-env-conf-test] long "fish-completion-script",
  2780. 1529.47 s [opt-env-conf-test] hidden,
  2781. 1529.47 s [opt-env-conf-test] help "Render the fish completion script"
  2782. 1529.47 s [opt-env-conf-test] ],
  2783. 1529.47 s [opt-env-conf-test] setting
  2784. 1529.47 s [opt-env-conf-test] [ help "Query completion",
  2785. 1529.47 s [opt-env-conf-test] switch CompletionQuery,
  2786. 1529.47 s [opt-env-conf-test] -- Long string that no normal user would ever use.
  2787. 1529.47 s [opt-env-conf-test] long "query-opt-env-conf-completion",
  2788. 1529.47 s [opt-env-conf-test] hidden
  2789. 1529.47 s [opt-env-conf-test] ]
  2790. 1529.47 s [opt-env-conf-test] <*> setting
  2791. 1529.47 s [opt-env-conf-test] [ switch True,
  2792. 1529.47 s [opt-env-conf-test] long "completion-enriched",
  2793. 1529.47 s [opt-env-conf-test] value False,
  2794. 1529.47 s [opt-env-conf-test] hidden,
  2795. 1529.47 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2796. 1529.47 s [opt-env-conf-test] ]
  2797. 1529.47 s [opt-env-conf-test] <*> setting
  2798. 1529.47 s [opt-env-conf-test] [ option,
  2799. 1533.13 s [opt-env-conf-test] reader auto,
  2800. 1533.13 s [opt-env-conf-test] long "completion-index",
  2801. 1533.13 s [opt-env-conf-test] hidden,
  2802. 1533.13 s [opt-env-conf-test] help "The index between the arguments where completion was invoked."
  2803. 1533.13 s [opt-env-conf-test] ]
  2804. 1533.13 s [opt-env-conf-test] <*> many
  2805. 1533.13 s [opt-env-conf-test] ( setting
  2806. 1533.13 s [opt-env-conf-test] [ option,
  2807. 1533.13 s [opt-env-conf-test] reader str,
  2808. 1533.13 s [opt-env-conf-test] long "completion-word",
  2809. 1533.13 s [opt-env-conf-test] hidden,
  2810. 1533.13 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2811. 1533.13 s [opt-env-conf-test] ]
  2812. 1533.13 s [opt-env-conf-test] ),
  2813. 1533.13 s [opt-env-conf-test] ParsedNormally <$> p
  2814. 1533.13 s [opt-env-conf-test] ]
  2815. 1533.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2816. 1533.13 s [opt-env-conf-test] @@ -296,12 +296,7 @@
  2817. 1533.13 s [opt-env-conf-test] ]
  2818. 1533.13 s [opt-env-conf-test] <*> many
  2819. 1533.13 s [opt-env-conf-test] ( setting
  2820. 1533.13 s [opt-env-conf-test] - [ option,
  2821. 1533.13 s [opt-env-conf-test] - reader str,
  2822. 1533.13 s [opt-env-conf-test] - long "completion-word",
  2823. 1533.13 s [opt-env-conf-test] - hidden,
  2824. 1533.13 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2825. 1533.13 s [opt-env-conf-test] ]
  2826. 1533.13 s [opt-env-conf-test] ),
  2827. 1533.14 s [opt-env-conf-test] ParsedNormally <$> p
  2828. 1533.14 s [opt-env-conf-test] ]
  2829. 1533.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  2830. 1533.14 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  2831. 1533.14 s [opt-env-conf-test] let t = T.pack x
  2832. 1533.14 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2833. 1533.14 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2834. 1533.14 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2835. 1533.14 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  2836. 1533.14 s [opt-env-conf-test] Nothing ->
  2837. 1533.14 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  2838. 1533.14 s [opt-env-conf-test] in (finalCaps, x : rest)
  2839. 1533.14 s [opt-env-conf-test]
  2840. 1533.14 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2841. 1533.14 s [opt-env-conf-test] -- is supposed to.
  2842. 1533.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  2843. 1533.14 s [opt-env-conf-test] @@ -198,11 +198,8 @@
  2844. 1533.14 s [opt-env-conf-test] let t = T.pack x
  2845. 1533.14 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2846. 1533.14 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2847. 1533.14 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2848. 1533.14 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  2849. 1533.14 s [opt-env-conf-test] - Nothing ->
  2850. 1533.14 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  2851. 1533.14 s [opt-env-conf-test] - in (finalCaps, x : rest)
  2852. 1533.14 s [opt-env-conf-test]
  2853. 1533.14 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2854. 1533.14 s [opt-env-conf-test] -- is supposed to.
  2855. 1533.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  2856. 1533.14 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  2857. 1533.14 s [opt-env-conf-test] [] -> (caps, [])
  2858. 1533.14 s [opt-env-conf-test] (x : xs) ->
  2859. 1533.14 s [opt-env-conf-test] let t = T.pack x
  2860. 1533.14 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2861. 1533.14 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  2862. 1533.14 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2863. 1533.14 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  2864. 1533.14 s [opt-env-conf-test] Nothing ->
  2865. 1533.14 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  2866. 1533.14 s [opt-env-conf-test] in (finalCaps, x : rest)
  2867. 1533.14 s [opt-env-conf-test]
  2868. 1533.14 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2869. 1533.14 s [opt-env-conf-test] -- is supposed to.
  2870. 1533.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2871. 1533.14 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  2872. 1533.14 s [opt-env-conf-test] ]
  2873. 1533.15 s [opt-env-conf-test] <*> many
  2874. 1533.15 s [opt-env-conf-test] ( setting
  2875. 1533.15 s [opt-env-conf-test] [ option,
  2876. 1533.15 s [opt-env-conf-test] reader str,
  2877. 1533.15 s [opt-env-conf-test] long "completion-word",
  2878. 1533.15 s [opt-env-conf-test] hidden,
  2879. 1533.15 s [opt-env-conf-test] - help "The words (arguments) that have already been typed"
  2880. 1533.15 s [opt-env-conf-test] ]
  2881. 1533.15 s [opt-env-conf-test] ),
  2882. 1533.15 s [opt-env-conf-test] ParsedNormally <$> p
  2883. 1533.15 s [opt-env-conf-test] ]
  2884. 1533.15 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  2885. 1533.15 s [opt-env-conf-test] @@ -196,13 +196,8 @@
  2886. 1533.15 s [opt-env-conf-test] [] -> (caps, [])
  2887. 1533.15 s [opt-env-conf-test] (x : xs) ->
  2888. 1533.15 s [opt-env-conf-test] let t = T.pack x
  2889. 1533.15 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  2890. 1533.15 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  2891. 1533.15 s [opt-env-conf-test] - Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  2892. 1533.15 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  2893. 1533.15 s [opt-env-conf-test] - Nothing ->
  2894. 1533.15 s [opt-env-conf-test] - let (finalCaps, rest) = go caps xs
  2895. 1533.15 s [opt-env-conf-test] - in (finalCaps, x : rest)
  2896. 1533.15 s [opt-env-conf-test]
  2897. 1533.15 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  2898. 1533.15 s [opt-env-conf-test] -- is supposed to.
  2899. 1533.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
  2900. 1533.15 s [opt-env-conf-test] @@ -296,12 +296,11 @@
  2901. 1533.15 s [opt-env-conf-test] ]
  2902. 1533.15 s [opt-env-conf-test] <*> many
  2903. 1533.15 s [opt-env-conf-test] ( setting
  2904. 1533.15 s [opt-env-conf-test] - [ option,
  2905. 1533.15 s [opt-env-conf-test] reader str,
  2906. 1533.15 s [opt-env-conf-test] long "completion-word",
  2907. 1533.15 s [opt-env-conf-test] hidden,
  2908. 1533.15 s [opt-env-conf-test] help "The words (arguments) that have already been typed"
  2909. 1533.15 s [opt-env-conf-test] ]
  2910. 1533.15 s [opt-env-conf-test] ),
  2911. 1533.15 s [opt-env-conf-test] ParsedNormally <$> p
  2912. 1533.15 s [opt-env-conf-test] ]
  2913. 1533.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:254:11-12
  2914. 1533.15 s [opt-env-conf-test] @@ -251,12 +251,7 @@
  2915. 1533.15 s [opt-env-conf-test] ],
  2916. 1533.15 s [opt-env-conf-test] BashCompletionScript
  2917. 1533.15 s [opt-env-conf-test] <$> setting
  2918. 1533.15 s [opt-env-conf-test] - [ option,
  2919. 1533.16 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2920. 1533.16 s [opt-env-conf-test] - long "bash-completion-script",
  2921. 1533.16 s [opt-env-conf-test] - hidden,
  2922. 1533.16 s [opt-env-conf-test] - help "Render the bash completion script"
  2923. 1533.16 s [opt-env-conf-test] ],
  2924. 1533.16 s [opt-env-conf-test] ZshCompletionScript
  2925. 1533.16 s [opt-env-conf-test] <$> setting
  2926. 1533.16 s [opt-env-conf-test] [ option,
  2927. 1533.16 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:291:11-12
  2928. 1533.16 s [opt-env-conf-test] @@ -288,12 +288,11 @@
  2929. 1533.16 s [opt-env-conf-test] help "Whether to enable enriched completion"
  2930. 1533.16 s [opt-env-conf-test] ]
  2931. 1533.16 s [opt-env-conf-test] <*> setting
  2932. 1533.16 s [opt-env-conf-test] [ option,
  2933. 1533.16 s [opt-env-conf-test] reader auto,
  2934. 1533.16 s [opt-env-conf-test] long "completion-index",
  2935. 1533.16 s [opt-env-conf-test] hidden,
  2936. 1533.16 s [opt-env-conf-test] - help "The index between the arguments where completion was invoked."
  2937. 1533.16 s [opt-env-conf-test] ]
  2938. 1533.16 s [opt-env-conf-test] <*> many
  2939. 1533.16 s [opt-env-conf-test] ( setting
  2940. 1533.16 s [opt-env-conf-test] [ option,
  2941. 1533.16 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
  2942. 1533.16 s [opt-env-conf-test] @@ -259,12 +259,7 @@
  2943. 1533.16 s [opt-env-conf-test] ],
  2944. 1533.16 s [opt-env-conf-test] ZshCompletionScript
  2945. 1533.16 s [opt-env-conf-test] <$> setting
  2946. 1533.16 s [opt-env-conf-test] - [ option,
  2947. 1533.16 s [opt-env-conf-test] - reader $ maybeReader parseAbsFile,
  2948. 1533.16 s [opt-env-conf-test] - long "zsh-completion-script",
  2949. 1533.16 s [opt-env-conf-test] - hidden,
  2950. 1533.16 s [opt-env-conf-test] - help "Render the zsh completion script"
  2951. 1533.16 s [opt-env-conf-test] ],
  2952. 1533.16 s [opt-env-conf-test] ZshCompletionScript
  2953. 1533.16 s [opt-env-conf-test] <$> setting
  2954. 1533.16 s [opt-env-conf-test] [ option,
  2955. 1533.16 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:172:24-28
  2956. 1533.16 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  2957. 1533.16 s [opt-env-conf-test] go = \case
  2958. 1533.16 s [opt-env-conf-test] [] -> (False, [])
  2959. 1533.16 s [opt-env-conf-test] (x : xs)
  2960. 1533.16 s [opt-env-conf-test] - | x == arg -> (True, xs)
  2961. 1533.16 s [opt-env-conf-test] + | x == arg -> (False, xs)
  2962. 1533.16 s [opt-env-conf-test] | otherwise ->
  2963. 1533.16 s [opt-env-conf-test] let (found, rest) = go xs
  2964. 1533.16 s [opt-env-conf-test] in (found, x : rest)
  2965. 1533.16 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:175:18-23
  2966. 1533.16 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  2967. 1533.16 s [opt-env-conf-test] | x == arg -> (True, xs)
  2968. 1533.16 s [opt-env-conf-test] | otherwise ->
  2969. 1533.16 s [opt-env-conf-test] let (found, rest) = go xs
  2970. 1533.16 s [opt-env-conf-test] - in (found, x : rest)
  2971. 1533.16 s [opt-env-conf-test] + in (not (found), x : rest)
  2972. 1533.17 s [opt-env-conf-test]
  2973. 1533.17 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  2974. 1533.17 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  2975. 1533.17 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  2976. 1533.17 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  2977. 1533.17 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  2978. 1533.17 s [opt-env-conf-test] consumeHelpMode as =
  2979. 1533.17 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  2980. 1533.17 s [opt-env-conf-test] - in if found
  2981. 1533.17 s [opt-env-conf-test] + in if True
  2982. 1533.17 s [opt-env-conf-test] then (True, as')
  2983. 1533.17 s [opt-env-conf-test] else consumeExactArg "-h" as'
  2984. 1533.17 s [opt-env-conf-test]
  2985. 1533.17 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:184:10-15
  2986. 1533.17 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  2987. 1533.17 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  2988. 1533.17 s [opt-env-conf-test] consumeHelpMode as =
  2989. 1533.17 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  2990. 1533.17 s [opt-env-conf-test] - in if found
  2991. 1533.17 s [opt-env-conf-test] + in if not (found)
  2992. 1533.17 s [opt-env-conf-test] then (True, as')
  2993. 1533.17 s [opt-env-conf-test] else consumeExactArg "-h" as'
  2994. 1533.17 s [opt-env-conf-test]
  2995. 1533.17 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:74:7-61
  2996. 1533.17 s [opt-env-conf-test] @@ -71,7 +71,6 @@
  2997. 1533.17 s [opt-env-conf-test] case lintParser p of
  2998. 1533.17 s [opt-env-conf-test] Just errs -> do
  2999. 1533.17 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3000. 1533.17 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderLintErrors errs
  3001. 1533.17 s [opt-env-conf-test] exitFailure
  3002. 1533.17 s [opt-env-conf-test] Nothing -> do
  3003. 1533.17 s [opt-env-conf-test] let docs = parserDocs p
  3004. 1533.17 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:185:15-19
  3005. 1533.17 s [opt-env-conf-test] @@ -182,7 +182,7 @@
  3006. 1533.17 s [opt-env-conf-test] consumeHelpMode as =
  3007. 1533.17 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3008. 1533.17 s [opt-env-conf-test] in if found
  3009. 1533.17 s [opt-env-conf-test] - then (True, as')
  3010. 1542.68 s [opt-env-conf-test] + then (False, as')
  3011. 1542.68 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3012. 1542.71 s [opt-env-conf-test]
  3013. 1542.71 s [opt-env-conf-test] consumeCheckMode :: [String] -> (Bool, [String])
  3014. 1542.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  3015. 1542.71 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3016. 1542.71 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3017. 1542.71 s [opt-env-conf-test]
  3018. 1542.71 s [opt-env-conf-test] mDebugMode <-
  3019. 1542.71 s [opt-env-conf-test] - if debugMode
  3020. 1542.71 s [opt-env-conf-test] + if True
  3021. 1542.71 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3022. 1542.71 s [opt-env-conf-test] else pure Nothing
  3023. 1542.71 s [opt-env-conf-test]
  3024. 1542.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  3025. 1542.71 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3026. 1542.71 s [opt-env-conf-test]
  3027. 1542.71 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3028. 1542.71 s [opt-env-conf-test]
  3029. 1542.71 s [opt-env-conf-test] - if helpMode
  3030. 1542.71 s [opt-env-conf-test] + if True
  3031. 1542.71 s [opt-env-conf-test] then do
  3032. 1542.71 s [opt-env-conf-test] progname <- getProgName
  3033. 1542.71 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3034. 1542.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:89:10-18
  3035. 1542.71 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3036. 1542.71 s [opt-env-conf-test]
  3037. 1542.71 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3038. 1542.71 s [opt-env-conf-test]
  3039. 1542.71 s [opt-env-conf-test] - if helpMode
  3040. 1542.71 s [opt-env-conf-test] + if False
  3041. 1542.71 s [opt-env-conf-test] then do
  3042. 1542.71 s [opt-env-conf-test] progname <- getProgName
  3043. 1542.72 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3044. 1542.72 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:89:10-18
  3045. 1542.72 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  3046. 1542.72 s [opt-env-conf-test]
  3047. 1542.72 s [opt-env-conf-test] let (helpMode, args') = consumeHelpMode args
  3048. 1542.72 s [opt-env-conf-test]
  3049. 1542.72 s [opt-env-conf-test] - if helpMode
  3050. 1542.72 s [opt-env-conf-test] + if not (helpMode)
  3051. 1542.72 s [opt-env-conf-test] then do
  3052. 1542.72 s [opt-env-conf-test] progname <- getProgName
  3053. 1542.72 s [opt-env-conf-test] errOrDocs <- runHelpParser mDebugMode (Args.parseArgs args') p
  3054. 1542.72 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:96:15-71
  3055. 1542.72 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  3056. 1542.72 s [opt-env-conf-test] case errOrDocs of
  3057. 1542.72 s [opt-env-conf-test] Left errs -> do
  3058. 1542.72 s [opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
  3059. 1542.72 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
  3060. 1542.72 s [opt-env-conf-test] exitFailure
  3061. 1542.72 s [opt-env-conf-test] Right mCommandDoc -> do
  3062. 1542.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3063. 1542.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:83:12-21
  3064. 1542.72 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3065. 1542.72 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3066. 1542.72 s [opt-env-conf-test]
  3067. 1542.72 s [opt-env-conf-test] mDebugMode <-
  3068. 1542.72 s [opt-env-conf-test] - if debugMode
  3069. 1542.72 s [opt-env-conf-test] + if False
  3070. 1542.72 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3071. 1542.72 s [opt-env-conf-test] else pure Nothing
  3072. 1542.72 s [opt-env-conf-test]
  3073. 1542.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  3074. 1542.72 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  3075. 1542.72 s [opt-env-conf-test] exitFailure
  3076. 1542.72 s [opt-env-conf-test] Right mCommandDoc -> do
  3077. 1542.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3078. 1542.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3079. 1542.72 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  3080. 1542.72 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3081. 1542.72 s [opt-env-conf-test] exitSuccess
  3082. 1542.72 s [opt-env-conf-test] else do
  3083. 1542.72 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3084. 1542.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  3085. 1542.72 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  3086. 1542.72 s [opt-env-conf-test] exitFailure
  3087. 1542.72 s [opt-env-conf-test] Right mCommandDoc -> do
  3088. 1542.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3089. 1542.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3090. 1542.72 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  3091. 1542.72 s [opt-env-conf-test] Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3092. 1542.72 s [opt-env-conf-test] exitSuccess
  3093. 1542.72 s [opt-env-conf-test] else do
  3094. 1542.72 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3095. 1542.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:184:10-15
  3096. 1542.72 s [opt-env-conf-test] @@ -181,7 +181,7 @@
  3097. 1542.72 s [opt-env-conf-test] consumeHelpMode :: [String] -> (Bool, [String])
  3098. 1542.72 s [opt-env-conf-test] consumeHelpMode as =
  3099. 1542.73 s [opt-env-conf-test] let (found, as') = consumeExactArg "--help" as
  3100. 1542.73 s [opt-env-conf-test] - in if found
  3101. 1542.73 s [opt-env-conf-test] + in if False
  3102. 1542.73 s [opt-env-conf-test] then (True, as')
  3103. 1542.73 s [opt-env-conf-test] else consumeExactArg "-h" as'
  3104. 1542.73 s [opt-env-conf-test]
  3105. 1542.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  3106. 1542.73 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  3107. 1542.73 s [opt-env-conf-test] | x == arg -> (True, xs)
  3108. 1542.73 s [opt-env-conf-test] | otherwise ->
  3109. 1542.73 s [opt-env-conf-test] let (found, rest) = go xs
  3110. 1542.73 s [opt-env-conf-test] - in (found, x : rest)
  3111. 1542.73 s [opt-env-conf-test] + in (True, x : rest)
  3112. 1542.73 s [opt-env-conf-test]
  3113. 1542.73 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  3114. 1542.73 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  3115. 1542.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:172:11-19
  3116. 1542.73 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  3117. 1542.73 s [opt-env-conf-test] go = \case
  3118. 1542.73 s [opt-env-conf-test] [] -> (False, [])
  3119. 1542.73 s [opt-env-conf-test] (x : xs)
  3120. 1542.73 s [opt-env-conf-test] - | x == arg -> (True, xs)
  3121. 1542.73 s [opt-env-conf-test] + | True -> (True, xs)
  3122. 1542.73 s [opt-env-conf-test] | otherwise ->
  3123. 1542.73 s [opt-env-conf-test] let (found, rest) = go xs
  3124. 1542.73 s [opt-env-conf-test] in (found, x : rest)
  3125. 1542.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  3126. 1542.73 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3127. 1542.73 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3128. 1542.73 s [opt-env-conf-test]
  3129. 1542.73 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3130. 1542.73 s [opt-env-conf-test] - if checkMode
  3131. 1542.73 s [opt-env-conf-test] + if False
  3132. 1542.73 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3133. 1542.73 s [opt-env-conf-test] else do
  3134. 1542.73 s [opt-env-conf-test] let p' = internalParser p
  3135. 1542.73 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:111:14-23
  3136. 1542.73 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3137. 1542.73 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3138. 1542.73 s [opt-env-conf-test]
  3139. 1542.73 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3140. 1542.73 s [opt-env-conf-test] - if checkMode
  3141. 1542.73 s [opt-env-conf-test] + if not (checkMode)
  3142. 1542.73 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3143. 1542.73 s [opt-env-conf-test] else do
  3144. 1542.73 s [opt-env-conf-test] let p' = internalParser p
  3145. 1542.73 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:126:19-69
  3146. 1542.73 s [opt-env-conf-test] @@ -123,7 +123,6 @@
  3147. 1542.73 s [opt-env-conf-test] case errOrResult of
  3148. 1542.73 s [opt-env-conf-test] Left errs -> do
  3149. 1542.73 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3150. 1542.73 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
  3151. 1542.73 s [opt-env-conf-test] exitFailure
  3152. 1542.73 s [opt-env-conf-test] Right i -> case i of
  3153. 1542.73 s [opt-env-conf-test] ShowVersion -> do
  3154. 1542.73 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:132:21-88
  3155. 1542.73 s [opt-env-conf-test] @@ -129,7 +129,6 @@
  3156. 1542.73 s [opt-env-conf-test] ShowVersion -> do
  3157. 1542.73 s [opt-env-conf-test] progname <- getProgName
  3158. 1542.73 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3159. 1542.73 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3160. 1542.73 s [opt-env-conf-test] exitSuccess
  3161. 1542.73 s [opt-env-conf-test] RenderMan -> do
  3162. 1542.73 s [opt-env-conf-test] progname <- getProgName
  3163. 1542.73 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:137:21-98
  3164. 1542.74 s [opt-env-conf-test] @@ -134,7 +134,6 @@
  3165. 1542.74 s [opt-env-conf-test] RenderMan -> do
  3166. 1542.74 s [opt-env-conf-test] progname <- getProgName
  3167. 1542.74 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3168. 1542.74 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3169. 1542.74 s [opt-env-conf-test] exitSuccess
  3170. 1542.74 s [opt-env-conf-test] RenderDocumentation -> do
  3171. 1542.74 s [opt-env-conf-test] progname <- getProgName
  3172. 1542.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:111:14-23
  3173. 1542.74 s [opt-env-conf-test] @@ -108,7 +108,7 @@
  3174. 1542.74 s [opt-env-conf-test] let readyArgs = Args.parseArgs args'''
  3175. 1542.74 s [opt-env-conf-test]
  3176. 1542.74 s [opt-env-conf-test] let mConfig = Nothing -- We start with no config loaded.
  3177. 1542.74 s [opt-env-conf-test] - if checkMode
  3178. 1542.74 s [opt-env-conf-test] + if True
  3179. 1542.74 s [opt-env-conf-test] then runSettingsCheck capabilities p readyArgs envVars mConfig
  3180. 1542.74 s [opt-env-conf-test] else do
  3181. 1542.74 s [opt-env-conf-test] let p' = internalParser p
  3182. 1542.74 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:100:15-78
  3183. 1542.74 s [opt-env-conf-test] @@ -97,9 +97,6 @@
  3184. 1542.74 s [opt-env-conf-test] exitFailure
  3185. 1542.74 s [opt-env-conf-test] Right mCommandDoc -> do
  3186. 1542.74 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3187. 1543.76 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  3188. 1543.77 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  3189. 1543.77 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  3190. 1543.77 s [opt-env-conf-test] exitSuccess
  3191. 1543.77 s [opt-env-conf-test] else do
  3192. 1543.77 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  3193. 1543.77 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:146:21-97
  3194. 1543.77 s [opt-env-conf-test] @@ -143,7 +143,6 @@
  3195. 1543.77 s [opt-env-conf-test] exitSuccess
  3196. 1543.77 s [opt-env-conf-test] RenderNixosOptions -> do
  3197. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3198. 1543.77 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3199. 1543.77 s [opt-env-conf-test] exitSuccess
  3200. 1543.77 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3201. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3202. 1543.77 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:150:21-67
  3203. 1543.77 s [opt-env-conf-test] @@ -147,7 +147,6 @@
  3204. 1543.77 s [opt-env-conf-test] exitSuccess
  3205. 1543.77 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3206. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3207. 1543.77 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  3208. 1543.77 s [opt-env-conf-test] exitSuccess
  3209. 1543.77 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3210. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3211. 1543.77 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:142:21-96
  3212. 1543.77 s [opt-env-conf-test] @@ -139,7 +139,6 @@
  3213. 1543.77 s [opt-env-conf-test] RenderDocumentation -> do
  3214. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3215. 1543.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3216. 1543.77 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3217. 1543.77 s [opt-env-conf-test] exitSuccess
  3218. 1543.77 s [opt-env-conf-test] RenderNixosOptions -> do
  3219. 1543.77 s [opt-env-conf-test] progname <- getProgName
  3220. 1543.77 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:160:56-32
  3221. 1543.77 s [opt-env-conf-test] @@ -157,9 +157,8 @@
  3222. 1543.78 s [opt-env-conf-test] progname <- getProgName
  3223. 1543.78 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3224. 1543.78 s [opt-env-conf-test] exitSuccess
  3225. 1543.78 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3226. 1543.78 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3227. 1543.78 s [opt-env-conf-test] exitSuccess
  3228. 1543.78 s [opt-env-conf-test] ParsedNormally a -> pure a
  3229. 1543.78 s [opt-env-conf-test]
  3230. 1543.78 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.
  3231. 1543.78 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:161:43-51
  3232. 1543.78 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  3233. 1543.78 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3234. 1543.78 s [opt-env-conf-test] exitSuccess
  3235. 1543.78 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3236. 1543.78 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3237. 1543.78 s [opt-env-conf-test] + runCompletionQuery p' not (enriched) index ws
  3238. 1543.78 s [opt-env-conf-test] exitSuccess
  3239. 1543.78 s [opt-env-conf-test] ParsedNormally a -> pure a
  3240. 1543.78 s [opt-env-conf-test]
  3241. 1543.78 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  3242. 1543.78 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  3243. 1543.78 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3244. 1543.78 s [opt-env-conf-test] exitSuccess
  3245. 1543.78 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3246. 1543.78 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3247. 1543.78 s [opt-env-conf-test] + runCompletionQuery p' True index ws
  3248. 1543.78 s [opt-env-conf-test] exitSuccess
  3249. 1543.78 s [opt-env-conf-test] ParsedNormally a -> pure a
  3250. 1543.78 s [opt-env-conf-test]
  3251. 1543.78 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3252. 1543.78 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3253. 1543.78 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3254. 1543.78 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3255. 1543.78 s [opt-env-conf-test] exitFailure
  3256. 1543.78 s [opt-env-conf-test] Right i -> case i of
  3257. 1543.78 s [opt-env-conf-test] ShowVersion -> do
  3258. 1543.78 s [opt-env-conf-test] progname <- getProgName
  3259. 1543.78 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3260. 1543.78 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3261. 1543.78 s [opt-env-conf-test] exitSuccess
  3262. 1543.78 s [opt-env-conf-test] - RenderMan -> do
  3263. 1543.78 s [opt-env-conf-test] - progname <- getProgName
  3264. 1543.78 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3265. 1543.78 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3266. 1543.78 s [opt-env-conf-test] - exitSuccess
  3267. 1543.78 s [opt-env-conf-test] RenderDocumentation -> do
  3268. 1543.78 s [opt-env-conf-test] progname <- getProgName
  3269. 1543.78 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3270. 1543.78 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3271. 1543.79 s [opt-env-conf-test] exitSuccess
  3272. 1543.79 s [opt-env-conf-test] RenderNixosOptions -> do
  3273. 1543.79 s [opt-env-conf-test] progname <- getProgName
  3274. 1543.79 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3275. 1543.79 s [opt-env-conf-test] exitSuccess
  3276. 1543.79 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3277. 1543.79 s [opt-env-conf-test] progname <- getProgName
  3278. 1543.79 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3279. 1543.79 s [opt-env-conf-test] exitSuccess
  3280. 1543.79 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3281. 1543.79 s [opt-env-conf-test] progname <- getProgName
  3282. 1543.79 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3283. 1543.79 s [opt-env-conf-test] exitSuccess
  3284. 1543.79 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3285. 1543.79 s [opt-env-conf-test] progname <- getProgName
  3286. 1543.79 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3287. 1543.79 s [opt-env-conf-test] exitSuccess
  3288. 1543.93 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3289. 1543.93 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3290. 1543.93 s [opt-env-conf-test] exitSuccess
  3291. 1543.93 s [opt-env-conf-test] ParsedNormally a -> pure a
  3292. 1543.93 s [opt-env-conf-test]
  3293. 1543.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.
  3294. 1543.93 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3295. 1543.94 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:158:21-67
  3296. 1543.94 s [opt-env-conf-test] @@ -155,7 +155,6 @@
  3297. 1543.94 s [opt-env-conf-test] exitSuccess
  3298. 1543.94 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3299. 1543.94 s [opt-env-conf-test] progname <- getProgName
  3300. 1543.94 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  3301. 1543.94 s [opt-env-conf-test] exitSuccess
  3302. 1543.94 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3303. 1543.94 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3304. 1543.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3305. 1543.94 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3306. 1543.94 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3307. 1543.94 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3308. 1543.94 s [opt-env-conf-test] exitFailure
  3309. 1543.94 s [opt-env-conf-test] Right i -> case i of
  3310. 1543.94 s [opt-env-conf-test] ShowVersion -> do
  3311. 1543.94 s [opt-env-conf-test] progname <- getProgName
  3312. 1543.94 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3313. 1543.94 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3314. 1543.94 s [opt-env-conf-test] exitSuccess
  3315. 1543.94 s [opt-env-conf-test] RenderMan -> do
  3316. 1543.94 s [opt-env-conf-test] progname <- getProgName
  3317. 1543.94 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3318. 1543.94 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3319. 1543.94 s [opt-env-conf-test] exitSuccess
  3320. 1543.94 s [opt-env-conf-test] - RenderDocumentation -> do
  3321. 1543.94 s [opt-env-conf-test] - progname <- getProgName
  3322. 1543.94 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3323. 1543.94 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3324. 1543.94 s [opt-env-conf-test] - exitSuccess
  3325. 1543.94 s [opt-env-conf-test] RenderNixosOptions -> do
  3326. 1543.94 s [opt-env-conf-test] progname <- getProgName
  3327. 1543.94 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3328. 1543.94 s [opt-env-conf-test] exitSuccess
  3329. 1543.94 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3330. 1543.94 s [opt-env-conf-test] progname <- getProgName
  3331. 1543.95 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3332. 1543.95 s [opt-env-conf-test] exitSuccess
  3333. 1543.95 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3334. 1543.95 s [opt-env-conf-test] progname <- getProgName
  3335. 1543.95 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3336. 1543.95 s [opt-env-conf-test] exitSuccess
  3337. 1543.95 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3338. 1543.95 s [opt-env-conf-test] progname <- getProgName
  3339. 1543.95 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3340. 1543.95 s [opt-env-conf-test] exitSuccess
  3341. 1544.11 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3342. 1544.11 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3343. 1544.11 s [opt-env-conf-test] exitSuccess
  3344. 1544.11 s [opt-env-conf-test] ParsedNormally a -> pure a
  3345. 1544.11 s [opt-env-conf-test]
  3346. 1544.12 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  3347. 1544.12 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3348. 1544.12 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:83:12-21
  3349. 1544.12 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  3350. 1544.12 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  3351. 1544.12 s [opt-env-conf-test]
  3352. 1544.12 s [opt-env-conf-test] mDebugMode <-
  3353. 1544.12 s [opt-env-conf-test] - if debugMode
  3354. 1544.12 s [opt-env-conf-test] + if not (debugMode)
  3355. 1544.12 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  3356. 1544.12 s [opt-env-conf-test] else pure Nothing
  3357. 1544.12 s [opt-env-conf-test]
  3358. 1544.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3359. 1544.12 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3360. 1544.12 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3361. 1544.12 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3362. 1544.12 s [opt-env-conf-test] exitFailure
  3363. 1544.12 s [opt-env-conf-test] Right i -> case i of
  3364. 1544.12 s [opt-env-conf-test] ShowVersion -> do
  3365. 1544.12 s [opt-env-conf-test] progname <- getProgName
  3366. 1544.12 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3367. 1544.12 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3368. 1544.12 s [opt-env-conf-test] exitSuccess
  3369. 1544.12 s [opt-env-conf-test] RenderMan -> do
  3370. 1544.12 s [opt-env-conf-test] progname <- getProgName
  3371. 1544.12 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3372. 1544.12 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3373. 1544.12 s [opt-env-conf-test] exitSuccess
  3374. 1544.12 s [opt-env-conf-test] RenderDocumentation -> do
  3375. 1544.12 s [opt-env-conf-test] progname <- getProgName
  3376. 1544.12 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3377. 1544.12 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3378. 1544.12 s [opt-env-conf-test] - exitSuccess
  3379. 1544.12 s [opt-env-conf-test] - RenderNixosOptions -> do
  3380. 1544.12 s [opt-env-conf-test] - progname <- getProgName
  3381. 1544.13 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3382. 1544.13 s [opt-env-conf-test] exitSuccess
  3383. 1544.13 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3384. 1544.13 s [opt-env-conf-test] progname <- getProgName
  3385. 1544.13 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3386. 1544.13 s [opt-env-conf-test] exitSuccess
  3387. 1544.13 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3388. 1544.13 s [opt-env-conf-test] progname <- getProgName
  3389. 1544.13 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3390. 1544.13 s [opt-env-conf-test] exitSuccess
  3391. 1544.13 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3392. 1544.13 s [opt-env-conf-test] progname <- getProgName
  3393. 1544.13 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3394. 1544.13 s [opt-env-conf-test] exitSuccess
  3395. 1545.30 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3396. 1545.30 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3397. 1545.30 s [opt-env-conf-test] exitSuccess
  3398. 1545.31 s [opt-env-conf-test] ParsedNormally a -> pure a
  3399. 1545.31 s [opt-env-conf-test]
  3400. 1545.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.
  3401. 1545.31 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3402. 1545.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3403. 1545.31 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3404. 1545.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3405. 1545.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3406. 1545.31 s [opt-env-conf-test] exitFailure
  3407. 1545.31 s [opt-env-conf-test] Right i -> case i of
  3408. 1545.31 s [opt-env-conf-test] ShowVersion -> do
  3409. 1545.31 s [opt-env-conf-test] progname <- getProgName
  3410. 1545.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3411. 1545.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3412. 1545.31 s [opt-env-conf-test] exitSuccess
  3413. 1545.31 s [opt-env-conf-test] RenderMan -> do
  3414. 1545.31 s [opt-env-conf-test] progname <- getProgName
  3415. 1545.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3416. 1545.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3417. 1545.31 s [opt-env-conf-test] exitSuccess
  3418. 1545.31 s [opt-env-conf-test] RenderDocumentation -> do
  3419. 1545.31 s [opt-env-conf-test] progname <- getProgName
  3420. 1545.31 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3421. 1545.31 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3422. 1545.31 s [opt-env-conf-test] exitSuccess
  3423. 1545.31 s [opt-env-conf-test] RenderNixosOptions -> do
  3424. 1545.31 s [opt-env-conf-test] progname <- getProgName
  3425. 1545.31 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3426. 1545.31 s [opt-env-conf-test] - exitSuccess
  3427. 1545.31 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  3428. 1545.31 s [opt-env-conf-test] - progname <- getProgName
  3429. 1545.31 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  3430. 1545.31 s [opt-env-conf-test] exitSuccess
  3431. 1545.32 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3432. 1545.32 s [opt-env-conf-test] progname <- getProgName
  3433. 1545.32 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3434. 1545.32 s [opt-env-conf-test] exitSuccess
  3435. 1545.32 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3436. 1545.32 s [opt-env-conf-test] progname <- getProgName
  3437. 1545.32 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3438. 1545.32 s [opt-env-conf-test] exitSuccess
  3439. 1545.35 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3440. 1545.35 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3441. 1545.35 s [opt-env-conf-test] exitSuccess
  3442. 1545.35 s [opt-env-conf-test] ParsedNormally a -> pure a
  3443. 1545.35 s [opt-env-conf-test]
  3444. 1545.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.
  3445. 1545.35 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3446. 1545.35 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Main.hs:170:14-19
  3447. 1545.35 s [opt-env-conf-test] @@ -167,7 +167,7 @@
  3448. 1545.35 s [opt-env-conf-test] consumeExactArg arg = go
  3449. 1545.35 s [opt-env-conf-test] where
  3450. 1545.35 s [opt-env-conf-test] go = \case
  3451. 1545.35 s [opt-env-conf-test] - [] -> (False, [])
  3452. 1545.35 s [opt-env-conf-test] + [] -> (True, [])
  3453. 1545.35 s [opt-env-conf-test] (x : xs)
  3454. 1545.35 s [opt-env-conf-test] | x == arg -> (True, xs)
  3455. 1545.35 s [opt-env-conf-test] | otherwise ->
  3456. 1545.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3457. 1545.35 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  3458. 1545.35 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3459. 1545.35 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3460. 1545.35 s [opt-env-conf-test] exitFailure
  3461. 1545.35 s [opt-env-conf-test] Right i -> case i of
  3462. 1545.35 s [opt-env-conf-test] - ShowVersion -> do
  3463. 1545.35 s [opt-env-conf-test] - progname <- getProgName
  3464. 1545.35 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  3465. 1545.35 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3466. 1545.35 s [opt-env-conf-test] - exitSuccess
  3467. 1545.36 s [opt-env-conf-test] RenderMan -> do
  3468. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3469. 1545.36 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3470. 1545.36 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3471. 1545.36 s [opt-env-conf-test] exitSuccess
  3472. 1545.36 s [opt-env-conf-test] RenderDocumentation -> do
  3473. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3474. 1545.36 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3475. 1545.36 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3476. 1545.36 s [opt-env-conf-test] exitSuccess
  3477. 1545.36 s [opt-env-conf-test] RenderNixosOptions -> do
  3478. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3479. 1545.36 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3480. 1545.36 s [opt-env-conf-test] exitSuccess
  3481. 1545.36 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3482. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3483. 1545.36 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3484. 1545.36 s [opt-env-conf-test] exitSuccess
  3485. 1545.36 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3486. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3487. 1545.36 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3488. 1545.36 s [opt-env-conf-test] exitSuccess
  3489. 1545.36 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3490. 1545.36 s [opt-env-conf-test] progname <- getProgName
  3491. 1545.36 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3492. 1545.36 s [opt-env-conf-test] exitSuccess
  3493. 1546.45 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3494. 1546.45 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3495. 1546.45 s [opt-env-conf-test] exitSuccess
  3496. 1546.45 s [opt-env-conf-test] ParsedNormally a -> pure a
  3497. 1546.45 s [opt-env-conf-test]
  3498. 1546.45 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.
  3499. 1546.45 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3500. 1546.45 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3501. 1546.45 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3502. 1546.45 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3503. 1546.45 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3504. 1546.45 s [opt-env-conf-test] exitFailure
  3505. 1546.45 s [opt-env-conf-test] Right i -> case i of
  3506. 1546.45 s [opt-env-conf-test] ShowVersion -> do
  3507. 1546.45 s [opt-env-conf-test] progname <- getProgName
  3508. 1546.45 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3509. 1546.45 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3510. 1546.45 s [opt-env-conf-test] exitSuccess
  3511. 1546.45 s [opt-env-conf-test] RenderMan -> do
  3512. 1546.45 s [opt-env-conf-test] progname <- getProgName
  3513. 1546.45 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3514. 1546.45 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3515. 1546.45 s [opt-env-conf-test] exitSuccess
  3516. 1546.45 s [opt-env-conf-test] RenderDocumentation -> do
  3517. 1546.45 s [opt-env-conf-test] progname <- getProgName
  3518. 1546.45 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3519. 1546.45 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3520. 1546.45 s [opt-env-conf-test] exitSuccess
  3521. 1546.45 s [opt-env-conf-test] RenderNixosOptions -> do
  3522. 1546.45 s [opt-env-conf-test] progname <- getProgName
  3523. 1546.45 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3524. 1546.45 s [opt-env-conf-test] exitSuccess
  3525. 1546.45 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3526. 1546.45 s [opt-env-conf-test] progname <- getProgName
  3527. 1546.46 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3528. 1546.46 s [opt-env-conf-test] - exitSuccess
  3529. 1546.46 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  3530. 1546.46 s [opt-env-conf-test] - progname <- getProgName
  3531. 1546.46 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  3532. 1546.46 s [opt-env-conf-test] exitSuccess
  3533. 1546.46 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3534. 1546.46 s [opt-env-conf-test] progname <- getProgName
  3535. 1546.46 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3536. 1546.46 s [opt-env-conf-test] exitSuccess
  3537. 1546.70 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3538. 1546.70 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3539. 1546.70 s [opt-env-conf-test] exitSuccess
  3540. 1546.70 s [opt-env-conf-test] ParsedNormally a -> pure a
  3541. 1546.70 s [opt-env-conf-test]
  3542. 1546.70 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.
  3543. 1546.70 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3544. 1546.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Main.hs:172:11-19
  3545. 1546.70 s [opt-env-conf-test] @@ -169,7 +169,7 @@
  3546. 1546.70 s [opt-env-conf-test] go = \case
  3547. 1546.70 s [opt-env-conf-test] [] -> (False, [])
  3548. 1546.71 s [opt-env-conf-test] (x : xs)
  3549. 1546.71 s [opt-env-conf-test] - | x == arg -> (True, xs)
  3550. 1546.71 s [opt-env-conf-test] + | not (x == arg) -> (True, xs)
  3551. 1546.71 s [opt-env-conf-test] | otherwise ->
  3552. 1546.71 s [opt-env-conf-test] let (found, rest) = go xs
  3553. 1546.71 s [opt-env-conf-test] in (found, x : rest)
  3554. 1546.71 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3555. 1546.71 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  3556. 1546.71 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3557. 1546.71 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3558. 1546.71 s [opt-env-conf-test] exitFailure
  3559. 1546.71 s [opt-env-conf-test] Right i -> case i of
  3560. 1546.71 s [opt-env-conf-test] ShowVersion -> do
  3561. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3562. 1546.71 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3563. 1546.71 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3564. 1546.71 s [opt-env-conf-test] exitSuccess
  3565. 1546.71 s [opt-env-conf-test] RenderMan -> do
  3566. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3567. 1546.71 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3568. 1546.71 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3569. 1546.71 s [opt-env-conf-test] exitSuccess
  3570. 1546.71 s [opt-env-conf-test] RenderDocumentation -> do
  3571. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3572. 1546.71 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3573. 1546.71 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3574. 1546.71 s [opt-env-conf-test] exitSuccess
  3575. 1546.71 s [opt-env-conf-test] RenderNixosOptions -> do
  3576. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3577. 1546.71 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3578. 1546.71 s [opt-env-conf-test] exitSuccess
  3579. 1546.71 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3580. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3581. 1546.71 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3582. 1546.71 s [opt-env-conf-test] exitSuccess
  3583. 1546.71 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3584. 1546.71 s [opt-env-conf-test] progname <- getProgName
  3585. 1546.71 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3586. 1546.71 s [opt-env-conf-test] - exitSuccess
  3587. 1546.71 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  3588. 1546.71 s [opt-env-conf-test] - progname <- getProgName
  3589. 1546.72 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  3590. 1546.72 s [opt-env-conf-test] exitSuccess
  3591. 1546.72 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3592. 1546.72 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3593. 1546.72 s [opt-env-conf-test] exitSuccess
  3594. 1546.72 s [opt-env-conf-test] ParsedNormally a -> pure a
  3595. 1546.72 s [opt-env-conf-test]
  3596. 1546.72 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.
  3597. 1546.72 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3598. 1546.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3599. 1546.72 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  3600. 1546.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3601. 1546.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3602. 1546.72 s [opt-env-conf-test] exitFailure
  3603. 1546.72 s [opt-env-conf-test] Right i -> case i of
  3604. 1546.72 s [opt-env-conf-test] ShowVersion -> do
  3605. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3606. 1546.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3607. 1546.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3608. 1546.72 s [opt-env-conf-test] exitSuccess
  3609. 1546.72 s [opt-env-conf-test] RenderMan -> do
  3610. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3611. 1546.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3612. 1546.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3613. 1546.72 s [opt-env-conf-test] exitSuccess
  3614. 1546.72 s [opt-env-conf-test] RenderDocumentation -> do
  3615. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3616. 1546.72 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3617. 1546.72 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3618. 1546.72 s [opt-env-conf-test] exitSuccess
  3619. 1546.72 s [opt-env-conf-test] RenderNixosOptions -> do
  3620. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3621. 1546.72 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3622. 1546.72 s [opt-env-conf-test] exitSuccess
  3623. 1546.72 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3624. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3625. 1546.72 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3626. 1546.72 s [opt-env-conf-test] exitSuccess
  3627. 1546.72 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3628. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3629. 1546.72 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3630. 1546.72 s [opt-env-conf-test] exitSuccess
  3631. 1546.72 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3632. 1546.72 s [opt-env-conf-test] progname <- getProgName
  3633. 1546.72 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3634. 1546.72 s [opt-env-conf-test] exitSuccess
  3635. 1546.72 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  3636. 1548.08 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  3637. 1548.19 s [opt-env-conf-test] - exitSuccess
  3638. 1548.19 s [opt-env-conf-test] ParsedNormally a -> pure a
  3639. 1548.19 s [opt-env-conf-test]
  3640. 1548.19 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.
  3641. 1548.19 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3642. 1548.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  3643. 1548.19 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  3644. 1548.19 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  3645. 1548.19 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  3646. 1548.19 s [opt-env-conf-test] exitFailure
  3647. 1548.19 s [opt-env-conf-test] Right i -> case i of
  3648. 1548.19 s [opt-env-conf-test] ShowVersion -> do
  3649. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3650. 1548.19 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3651. 1548.19 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  3652. 1548.19 s [opt-env-conf-test] exitSuccess
  3653. 1548.19 s [opt-env-conf-test] RenderMan -> do
  3654. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3655. 1548.19 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3656. 1548.19 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  3657. 1548.19 s [opt-env-conf-test] exitSuccess
  3658. 1548.19 s [opt-env-conf-test] RenderDocumentation -> do
  3659. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3660. 1548.19 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  3661. 1548.19 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  3662. 1548.19 s [opt-env-conf-test] exitSuccess
  3663. 1548.19 s [opt-env-conf-test] RenderNixosOptions -> do
  3664. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3665. 1548.19 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  3666. 1548.19 s [opt-env-conf-test] exitSuccess
  3667. 1548.19 s [opt-env-conf-test] BashCompletionScript progPath -> do
  3668. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3669. 1548.19 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  3670. 1548.19 s [opt-env-conf-test] exitSuccess
  3671. 1548.19 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  3672. 1548.19 s [opt-env-conf-test] progname <- getProgName
  3673. 1548.19 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  3674. 1548.19 s [opt-env-conf-test] exitSuccess
  3675. 1548.20 s [opt-env-conf-test] FishCompletionScript progPath -> do
  3676. 1548.20 s [opt-env-conf-test] progname <- getProgName
  3677. 1548.20 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  3678. 1548.20 s [opt-env-conf-test] exitSuccess
  3679. 1548.20 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  3680. 1555.52 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  3681. 1555.55 s [opt-env-conf-test] exitSuccess
  3682. 1555.55 s [opt-env-conf-test] - ParsedNormally a -> pure a
  3683. 1555.55 s [opt-env-conf-test]
  3684. 1555.55 s [opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
  3685. 1555.55 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  3686. 1555.55 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:175:18-23
  3687. 1555.55 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  3688. 1555.55 s [opt-env-conf-test] | x == arg -> (True, xs)
  3689. 1555.55 s [opt-env-conf-test] | otherwise ->
  3690. 1555.55 s [opt-env-conf-test] let (found, rest) = go xs
  3691. 1555.55 s [opt-env-conf-test] - in (found, x : rest)
  3692. 1555.55 s [opt-env-conf-test] + in (False, x : rest)
  3693. 1555.55 s [opt-env-conf-test]
  3694. 1555.55 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  3695. 1555.55 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  3696. 1555.55 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
  3697. 1555.55 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  3698. 1555.55 s [opt-env-conf-test] Nothing -> do
  3699. 1555.55 s [opt-env-conf-test] put before
  3700. 1555.55 s [opt-env-conf-test] pure Nothing
  3701. 1555.55 s [opt-env-conf-test] - Just a -> pure (Just a)
  3702. 1555.55 s [opt-env-conf-test] + Just a -> pure (Nothing)
  3703. 1555.55 s [opt-env-conf-test]
  3704. 1555.55 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  3705. 1555.55 s [opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
  3706. 1555.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  3707. 1555.56 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  3708. 1555.56 s [opt-env-conf-test] Nothing -> pure Nothing
  3709. 1555.56 s [opt-env-conf-test] Just cs1 -> do
  3710. 1555.56 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3711. 1555.56 s [opt-env-conf-test] pure $ case p2s of
  3712. 1555.56 s [opt-env-conf-test] - Nothing -> Nothing
  3713. 1555.56 s [opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
  3714. 1555.56 s [opt-env-conf-test]
  3715. 1555.56 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  3716. 1555.56 s [opt-env-conf-test] -- Just [] means "no completions"
  3717. 1555.56 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
  3718. 1555.56 s [opt-env-conf-test] @@ -251,9 +251,8 @@
  3719. 1555.56 s [opt-env-conf-test] before <- get
  3720. 1555.56 s [opt-env-conf-test] mA <- func
  3721. 1555.56 s [opt-env-conf-test] case mA of
  3722. 1555.56 s [opt-env-conf-test] Nothing -> do
  3723. 1555.56 s [opt-env-conf-test] - put before
  3724. 1555.56 s [opt-env-conf-test] pure Nothing
  3725. 1555.56 s [opt-env-conf-test] Just a -> pure (Just a)
  3726. 1555.56 s [opt-env-conf-test]
  3727. 1555.56 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  3728. 1555.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3729. 1555.56 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3730. 1555.56 s [opt-env-conf-test] orCompletions p1 p2 = do
  3731. 1555.56 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3732. 1555.56 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3733. 1555.56 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3734. 1555.56 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3735. 1555.56 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3736. 1555.56 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3737. 1555.56 s [opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3738. 1555.56 s [opt-env-conf-test]
  3739. 1555.56 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3740. 1555.56 s [opt-env-conf-test] andCompletions p1 p2 = do
  3741. 1555.56 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
  3742. 1555.56 s [opt-env-conf-test] @@ -271,7 +271,7 @@
  3743. 1555.56 s [opt-env-conf-test] after <- get
  3744. 1555.56 s [opt-env-conf-test] if after == before
  3745. 1555.57 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3746. 1555.57 s [opt-env-conf-test] - pure $ Just os
  3747. 1555.57 s [opt-env-conf-test] + pure $ Nothing
  3748. 1555.57 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3749. 1555.57 s [opt-env-conf-test] -- next iteration. Its completions supersede ours
  3750. 1555.57 s [opt-env-conf-test] -- only if it also has a valid result.
  3751. 1555.57 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
  3752. 1555.57 s [opt-env-conf-test] @@ -278,7 +278,7 @@
  3753. 1555.57 s [opt-env-conf-test] do
  3754. 1555.57 s [opt-env-conf-test] mMore <- manyCompletions p
  3755. 1555.57 s [opt-env-conf-test] case mMore of
  3756. 1555.57 s [opt-env-conf-test] - Nothing -> pure $ Just os
  3757. 1555.57 s [opt-env-conf-test] + Nothing -> pure $ Nothing
  3758. 1555.57 s [opt-env-conf-test] Just more
  3759. 1555.57 s [opt-env-conf-test] -- If the next iteration only produced stale
  3760. 1555.57 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3761. 1555.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3762. 1555.57 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3763. 1555.57 s [opt-env-conf-test] orCompletions p1 p2 = do
  3764. 1555.57 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3765. 1555.57 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3766. 1555.57 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3767. 1555.57 s [opt-env-conf-test] - (Nothing, Nothing) -> Nothing
  3768. 1555.57 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3769. 1555.57 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3770. 1555.57 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3771. 1555.57 s [opt-env-conf-test]
  3772. 1555.57 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3773. 1555.57 s [opt-env-conf-test] andCompletions p1 p2 = do
  3774. 1555.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3775. 1555.57 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3776. 1555.57 s [opt-env-conf-test] orCompletions p1 p2 = do
  3777. 1555.57 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3778. 1555.57 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3779. 1555.57 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3780. 1555.57 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3781. 1555.57 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3782. 1555.57 s [opt-env-conf-test] - (Nothing, Just cs) -> Just cs
  3783. 1555.57 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3784. 1555.57 s [opt-env-conf-test]
  3785. 1555.57 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3786. 1555.57 s [opt-env-conf-test] andCompletions p1 p2 = do
  3787. 1555.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
  3788. 1555.57 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3789. 1555.57 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3790. 1555.57 s [opt-env-conf-test] -- further), prefer our completions which came
  3791. 1555.57 s [opt-env-conf-test] -- from the advancing iteration.
  3792. 1555.57 s [opt-env-conf-test] - | null os -> pure $ Just more
  3793. 1555.58 s [opt-env-conf-test] + | True -> pure $ Just more
  3794. 1555.58 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3795. 1555.58 s [opt-env-conf-test]
  3796. 1555.58 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3797. 1555.58 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
  3798. 1555.58 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  3799. 1555.58 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3800. 1555.58 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3801. 1555.58 s [opt-env-conf-test] (Just cs, Nothing) -> Just cs
  3802. 1555.58 s [opt-env-conf-test] - (Nothing, Just cs) -> Just cs
  3803. 1555.58 s [opt-env-conf-test] + (Nothing, Just cs) -> Nothing
  3804. 1555.58 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3805. 1555.58 s [opt-env-conf-test]
  3806. 1555.58 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3807. 1555.58 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
  3808. 1555.58 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3809. 1555.58 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3810. 1555.58 s [opt-env-conf-test] -- further), prefer our completions which came
  3811. 1555.58 s [opt-env-conf-test] -- from the advancing iteration.
  3812. 1555.58 s [opt-env-conf-test] - | null os -> pure $ Just more
  3813. 1555.58 s [opt-env-conf-test] + | not (null os) -> pure $ Just more
  3814. 1555.58 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3815. 1555.58 s [opt-env-conf-test]
  3816. 1555.58 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3817. 1555.58 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
  3818. 1555.58 s [opt-env-conf-test] @@ -284,7 +284,7 @@
  3819. 1555.58 s [opt-env-conf-test] -- dashed suggestions (state didn't advance
  3820. 1555.58 s [opt-env-conf-test] -- further), prefer our completions which came
  3821. 1555.58 s [opt-env-conf-test] -- from the advancing iteration.
  3822. 1555.58 s [opt-env-conf-test] - | null os -> pure $ Just more
  3823. 1555.58 s [opt-env-conf-test] + | null os -> pure $ Nothing
  3824. 1555.58 s [opt-env-conf-test] | otherwise -> pure $ Just os
  3825. 1555.58 s [opt-env-conf-test]
  3826. 1555.58 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3827. 1555.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  3828. 1555.58 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  3829. 1555.58 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  3830. 1555.58 s [opt-env-conf-test] case mArg of
  3831. 1555.58 s [opt-env-conf-test] Nothing -> do
  3832. 1555.59 s [opt-env-conf-test] - if argsAtEnd rest
  3833. 1555.59 s [opt-env-conf-test] + if True
  3834. 1555.59 s [opt-env-conf-test] then do
  3835. 1555.59 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  3836. 1555.59 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  3837. 1555.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
  3838. 1555.59 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3839. 1555.59 s [opt-env-conf-test] Nothing -> pure Nothing
  3840. 1555.59 s [opt-env-conf-test] Just os -> do
  3841. 1555.59 s [opt-env-conf-test] after <- get
  3842. 1555.59 s [opt-env-conf-test] - if after == before
  3843. 1561.76 s [opt-env-conf-test] + if not (after == before)
  3844. 1561.79 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3845. 1561.79 s [opt-env-conf-test] pure $ Just os
  3846. 1561.79 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3847. 1561.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  3848. 1561.79 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3849. 1561.79 s [opt-env-conf-test] Nothing -> pure Nothing
  3850. 1561.79 s [opt-env-conf-test] Just os -> do
  3851. 1561.79 s [opt-env-conf-test] after <- get
  3852. 1561.79 s [opt-env-conf-test] - if after == before
  3853. 1561.79 s [opt-env-conf-test] + if False
  3854. 1561.79 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3855. 1561.79 s [opt-env-conf-test] pure $ Just os
  3856. 1561.79 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3857. 1561.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
  3858. 1561.80 s [opt-env-conf-test] @@ -291,11 +291,10 @@
  3859. 1561.80 s [opt-env-conf-test] orCompletions p1 p2 = do
  3860. 1561.80 s [opt-env-conf-test] p1s <- tryOrRestore $ go p1
  3861. 1561.80 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  3862. 1561.80 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  3863. 1561.80 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  3864. 1561.80 s [opt-env-conf-test] - (Just cs, Nothing) -> Just cs
  3865. 1561.80 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  3866. 1561.80 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  3867. 1561.80 s [opt-env-conf-test]
  3868. 1561.80 s [opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3869. 1561.80 s [opt-env-conf-test] andCompletions p1 p2 = do
  3870. 1561.80 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
  3871. 1561.80 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  3872. 1561.80 s [opt-env-conf-test] -- further), prefer our completions which came
  3873. 1561.80 s [opt-env-conf-test] -- from the advancing iteration.
  3874. 1561.80 s [opt-env-conf-test] | null os -> pure $ Just more
  3875. 1561.80 s [opt-env-conf-test] - | otherwise -> pure $ Just os
  3876. 1561.80 s [opt-env-conf-test] + | otherwise -> pure $ Nothing
  3877. 1561.80 s [opt-env-conf-test]
  3878. 1561.80 s [opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
  3879. 1561.80 s [opt-env-conf-test] orCompletions p1 p2 = do
  3880. 1561.80 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
  3881. 1561.80 s [opt-env-conf-test] @@ -312,7 +312,7 @@
  3882. 1561.80 s [opt-env-conf-test] -- Just [] means "no completions"
  3883. 1561.80 s [opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
  3884. 1561.80 s [opt-env-conf-test] go = \case
  3885. 1561.80 s [opt-env-conf-test] - ParserPure _ -> pure $ Just []
  3886. 1561.80 s [opt-env-conf-test] + ParserPure _ -> pure $ Nothing
  3887. 1561.80 s [opt-env-conf-test] -- Parse both and combine the result
  3888. 1561.80 s [opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
  3889. 1561.80 s [opt-env-conf-test] -- Parse either: either completions are valid
  3890. 1561.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  3891. 1561.80 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  3892. 1561.80 s [opt-env-conf-test] Nothing -> pure Nothing
  3893. 1561.80 s [opt-env-conf-test] Just os -> do
  3894. 1561.80 s [opt-env-conf-test] after <- get
  3895. 1561.81 s [opt-env-conf-test] - if after == before
  3896. 1561.81 s [opt-env-conf-test] + if True
  3897. 1561.81 s [opt-env-conf-test] then -- State did not advance; return these completions.
  3898. 1561.81 s [opt-env-conf-test] pure $ Just os
  3899. 1561.81 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  3900. 1561.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
  3901. 1561.81 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  3902. 1561.81 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  3903. 1561.81 s [opt-env-conf-test] case mArg of
  3904. 1561.81 s [opt-env-conf-test] Nothing -> do
  3905. 1561.81 s [opt-env-conf-test] - if argsAtEnd rest
  3906. 1561.81 s [opt-env-conf-test] + if not (argsAtEnd rest)
  3907. 1561.81 s [opt-env-conf-test] then do
  3908. 1561.81 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  3909. 1561.81 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  3910. 1561.81 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
  3911. 1561.81 s [opt-env-conf-test] @@ -358,9 +358,8 @@
  3912. 1561.81 s [opt-env-conf-test] pure Nothing
  3913. 1561.81 s [opt-env-conf-test] Just arg ->
  3914. 1561.81 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3915. 1561.81 s [opt-env-conf-test] Just c -> do
  3916. 1561.81 s [opt-env-conf-test] - put rest
  3917. 1561.81 s [opt-env-conf-test] goCommand c
  3918. 1561.81 s [opt-env-conf-test] Nothing -> pure Nothing
  3919. 1561.81 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3920. 1561.81 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3921. 1561.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
  3922. 1561.81 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  3923. 1561.81 s [opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
  3924. 1561.81 s [opt-env-conf-test] case mArg of
  3925. 1561.81 s [opt-env-conf-test] Nothing -> do
  3926. 1561.81 s [opt-env-conf-test] - if argsAtEnd rest
  3927. 1561.81 s [opt-env-conf-test] + if False
  3928. 1561.81 s [opt-env-conf-test] then do
  3929. 1561.81 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  3930. 1561.81 s [opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
  3931. 1561.82 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
  3932. 1561.82 s [opt-env-conf-test] @@ -347,7 +347,7 @@
  3933. 1561.82 s [opt-env-conf-test] ( \Command {..} ->
  3934. 1561.82 s [opt-env-conf-test] Completion
  3935. 1561.82 s [opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
  3936. 1561.82 s [opt-env-conf-test] - completionDescription = Just commandHelp
  3937. 1561.82 s [opt-env-conf-test] + completionDescription = Nothing
  3938. 1561.82 s [opt-env-conf-test] }
  3939. 1561.82 s [opt-env-conf-test] )
  3940. 1561.82 s [opt-env-conf-test] matchingCommands
  3941. 1561.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  3942. 1561.82 s [opt-env-conf-test] @@ -357,11 +357,8 @@
  3943. 1561.82 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  3944. 1561.82 s [opt-env-conf-test] pure Nothing
  3945. 1561.82 s [opt-env-conf-test] Just arg ->
  3946. 1561.82 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3947. 1561.82 s [opt-env-conf-test] - Just c -> do
  3948. 1561.82 s [opt-env-conf-test] - put rest
  3949. 1561.82 s [opt-env-conf-test] - goCommand c
  3950. 1561.82 s [opt-env-conf-test] Nothing -> pure Nothing
  3951. 1561.82 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3952. 1561.82 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3953. 1561.82 s [opt-env-conf-test] -- if the user provides no command.
  3954. 1561.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
  3955. 1561.82 s [opt-env-conf-test] @@ -357,11 +357,10 @@
  3956. 1561.82 s [opt-env-conf-test] -- name then the remaining args have nowhere to go.
  3957. 1561.82 s [opt-env-conf-test] pure Nothing
  3958. 1561.82 s [opt-env-conf-test] Just arg ->
  3959. 1561.82 s [opt-env-conf-test] case find ((== arg) . commandArg) cs of
  3960. 1561.82 s [opt-env-conf-test] Just c -> do
  3961. 1561.82 s [opt-env-conf-test] put rest
  3962. 1561.82 s [opt-env-conf-test] goCommand c
  3963. 1561.82 s [opt-env-conf-test] - Nothing -> pure Nothing
  3964. 1561.82 s [opt-env-conf-test] -- If there is a default command, also try completing within
  3965. 1561.82 s [opt-env-conf-test] -- the default command's parser, since that is what would run
  3966. 1561.82 s [opt-env-conf-test] -- if the user provides no command.
  3967. 1561.82 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
  3968. 1561.82 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  3969. 1561.82 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3970. 1561.82 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3971. 1561.82 s [opt-env-conf-test] -- command's completions.
  3972. 1561.82 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3973. 1561.82 s [opt-env-conf-test] + | True -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3974. 1561.82 s [opt-env-conf-test] | otherwise -> do
  3975. 1561.82 s [opt-env-conf-test] -- The default command consumed args, so its
  3976. 1561.82 s [opt-env-conf-test] -- completions are valid. But we must restore
  3977. 1561.82 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
  3978. 1561.82 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  3979. 1561.82 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3980. 1561.82 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3981. 1561.82 s [opt-env-conf-test] -- command's completions.
  3982. 1561.82 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3983. 1561.82 s [opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Nothing]
  3984. 1561.83 s [opt-env-conf-test] | otherwise -> do
  3985. 1561.83 s [opt-env-conf-test] -- The default command consumed args, so its
  3986. 1561.83 s [opt-env-conf-test] -- completions are valid. But we must restore
  3987. 1569.16 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  3988. 1569.19 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  3989. 1569.19 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3990. 1569.19 s [opt-env-conf-test] -- combine the explicit command listing with the default
  3991. 1569.19 s [opt-env-conf-test] -- command's completions.
  3992. 1569.19 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  3993. 1569.19 s [opt-env-conf-test] | otherwise -> do
  3994. 1569.20 s [opt-env-conf-test] -- The default command consumed args, so its
  3995. 1569.20 s [opt-env-conf-test] -- completions are valid. But we must restore
  3996. 1569.20 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
  3997. 1569.20 s [opt-env-conf-test] @@ -375,7 +375,6 @@
  3998. 1569.20 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  3999. 1569.20 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4000. 1569.20 s [opt-env-conf-test] -- command's completions.
  4001. 1569.20 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4002. 1569.20 s [opt-env-conf-test] | otherwise -> do
  4003. 1569.20 s [opt-env-conf-test] -- The default command consumed args, so its
  4004. 1569.20 s [opt-env-conf-test] -- completions are valid. But we must restore
  4005. 1569.20 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
  4006. 1569.20 s [opt-env-conf-test] @@ -385,7 +385,7 @@
  4007. 1569.20 s [opt-env-conf-test] -- --archive-dir that the default command
  4008. 1569.20 s [opt-env-conf-test] -- swallowed as a positional argument.
  4009. 1569.20 s [opt-env-conf-test] put as
  4010. 1569.20 s [opt-env-conf-test] - pure $ Just dcs
  4011. 1569.20 s [opt-env-conf-test] + pure $ Nothing
  4012. 1569.20 s [opt-env-conf-test] ParserSetting _ Setting {..} -> do
  4013. 1569.20 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4014. 1569.20 s [opt-env-conf-test] let completionDescription = settingHelp
  4015. 1569.20 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  4016. 1569.20 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4017. 1569.20 s [opt-env-conf-test] pure Completion {..}
  4018. 1569.20 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4019. 1569.20 s [opt-env-conf-test] as <- get
  4020. 1569.20 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4021. 1569.20 s [opt-env-conf-test] + if True then completeWithCompleter else pure $ Just []
  4022. 1569.20 s [opt-env-conf-test] let completeWithDasheds = do
  4023. 1569.20 s [opt-env-conf-test] let isLong = \case
  4024. 1569.21 s [opt-env-conf-test] DashedLong _ -> True
  4025. 1569.21 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
  4026. 1569.21 s [opt-env-conf-test] @@ -376,16 +376,15 @@
  4027. 1569.21 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4028. 1569.21 s [opt-env-conf-test] -- command's completions.
  4029. 1569.21 s [opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4030. 1569.21 s [opt-env-conf-test] | otherwise -> do
  4031. 1569.21 s [opt-env-conf-test] -- The default command consumed args, so its
  4032. 1569.21 s [opt-env-conf-test] -- completions are valid. But we must restore
  4033. 1569.21 s [opt-env-conf-test] -- the state: the consumed args may also be
  4034. 1569.21 s [opt-env-conf-test] -- intended for sibling parsers in an
  4035. 1569.21 s [opt-env-conf-test] -- applicative (<*>), e.g. an option like
  4036. 1569.21 s [opt-env-conf-test] -- --archive-dir that the default command
  4037. 1569.21 s [opt-env-conf-test] -- swallowed as a positional argument.
  4038. 1569.21 s [opt-env-conf-test] - put as
  4039. 1569.21 s [opt-env-conf-test] pure $ Just dcs
  4040. 1569.21 s [opt-env-conf-test] ParserSetting _ Setting {..} -> do
  4041. 1569.21 s [opt-env-conf-test] let arg = fromMaybe "" mCursorArg
  4042. 1569.21 s [opt-env-conf-test] let completionDescription = settingHelp
  4043. 1569.21 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
  4044. 1569.21 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4045. 1569.21 s [opt-env-conf-test] pure Completion {..}
  4046. 1569.21 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4047. 1569.21 s [opt-env-conf-test] as <- get
  4048. 1569.21 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4049. 1569.21 s [opt-env-conf-test] + if not (argsAtEnd as) then completeWithCompleter else pure $ Just []
  4050. 1569.21 s [opt-env-conf-test] let completeWithDasheds = do
  4051. 1569.21 s [opt-env-conf-test] let isLong = \case
  4052. 1569.21 s [opt-env-conf-test] DashedLong _ -> True
  4053. 1569.21 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
  4054. 1569.21 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4055. 1569.21 s [opt-env-conf-test] pure Completion {..}
  4056. 1569.21 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4057. 1569.21 s [opt-env-conf-test] as <- get
  4058. 1569.21 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4059. 1569.21 s [opt-env-conf-test] + if False then completeWithCompleter else pure $ Just []
  4060. 1569.21 s [opt-env-conf-test] let completeWithDasheds = do
  4061. 1569.21 s [opt-env-conf-test] let isLong = \case
  4062. 1569.21 s [opt-env-conf-test] DashedLong _ -> True
  4063. 1569.21 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  4064. 1569.21 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4065. 1569.21 s [opt-env-conf-test] let isLong = \case
  4066. 1569.21 s [opt-env-conf-test] DashedLong _ -> True
  4067. 1569.22 s [opt-env-conf-test] DashedShort _ -> False
  4068. 1569.22 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4069. 1569.22 s [opt-env-conf-test] + let favorableDasheds = if True then filter isLong settingDasheds else settingDasheds
  4070. 1569.22 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4071. 1569.22 s [opt-env-conf-test] let completions =
  4072. 1569.22 s [opt-env-conf-test] map
  4073. 1569.22 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
  4074. 1569.22 s [opt-env-conf-test] @@ -399,7 +399,7 @@
  4075. 1569.22 s [opt-env-conf-test] let completeWithDasheds = do
  4076. 1569.22 s [opt-env-conf-test] let isLong = \case
  4077. 1569.22 s [opt-env-conf-test] DashedLong _ -> True
  4078. 1569.22 s [opt-env-conf-test] - DashedShort _ -> False
  4079. 1569.22 s [opt-env-conf-test] + DashedShort _ -> True
  4080. 1569.22 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4081. 1569.22 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4082. 1569.22 s [opt-env-conf-test] let completions =
  4083. 1569.22 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
  4084. 1569.22 s [opt-env-conf-test] @@ -398,7 +398,7 @@
  4085. 1569.22 s [opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
  4086. 1569.22 s [opt-env-conf-test] let completeWithDasheds = do
  4087. 1569.22 s [opt-env-conf-test] let isLong = \case
  4088. 1569.22 s [opt-env-conf-test] - DashedLong _ -> True
  4089. 1569.22 s [opt-env-conf-test] + DashedLong _ -> False
  4090. 1569.22 s [opt-env-conf-test] DashedShort _ -> False
  4091. 1569.22 s [opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4092. 1569.22 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4093. 1569.22 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
  4094. 1569.22 s [opt-env-conf-test] @@ -293,7 +293,7 @@
  4095. 1569.22 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4096. 1569.22 s [opt-env-conf-test] pure $ case (p1s, p2s) of
  4097. 1569.22 s [opt-env-conf-test] (Nothing, Nothing) -> Nothing
  4098. 1569.22 s [opt-env-conf-test] - (Just cs, Nothing) -> Just cs
  4099. 1569.22 s [opt-env-conf-test] + (Just cs, Nothing) -> Nothing
  4100. 1569.22 s [opt-env-conf-test] (Nothing, Just cs) -> Just cs
  4101. 1569.22 s [opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
  4102. 1569.22 s [opt-env-conf-test]
  4103. 1569.22 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
  4104. 1569.22 s [opt-env-conf-test] @@ -375,7 +375,7 @@
  4105. 1569.22 s [opt-env-conf-test] -- If no args were consumed (we were already at end),
  4106. 1569.22 s [opt-env-conf-test] -- combine the explicit command listing with the default
  4107. 1569.22 s [opt-env-conf-test] -- command's completions.
  4108. 1569.22 s [opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4109. 1569.22 s [opt-env-conf-test] + | not (argsAtEnd as) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
  4110. 1569.22 s [opt-env-conf-test] | otherwise -> do
  4111. 1569.22 s [opt-env-conf-test] -- The default command consumed args, so its
  4112. 1569.22 s [opt-env-conf-test] -- completions are valid. But we must restore
  4113. 1569.22 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
  4114. 1569.22 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  4115. 1569.22 s [opt-env-conf-test] pure Completion {..}
  4116. 1569.22 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  4117. 1569.22 s [opt-env-conf-test] as <- get
  4118. 1575.65 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  4119. 1575.67 s [opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ Nothing
  4120. 1575.67 s [opt-env-conf-test] let completeWithDasheds = do
  4121. 1575.67 s [opt-env-conf-test] let isLong = \case
  4122. 1575.67 s [opt-env-conf-test] DashedLong _ -> True
  4123. 1575.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  4124. 1575.67 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4125. 1575.68 s [opt-env-conf-test] )
  4126. 1575.68 s [opt-env-conf-test] suggestions
  4127. 1575.68 s [opt-env-conf-test] pure $ Just completions
  4128. 1575.68 s [opt-env-conf-test] - if settingHidden
  4129. 1575.68 s [opt-env-conf-test] + if True
  4130. 1575.68 s [opt-env-conf-test] then pure $ Just []
  4131. 1575.68 s [opt-env-conf-test] else do
  4132. 1575.68 s [opt-env-conf-test] as <- get
  4133. 1575.68 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
  4134. 1575.68 s [opt-env-conf-test] @@ -410,7 +410,7 @@
  4135. 1575.68 s [opt-env-conf-test] . SuggestionBare
  4136. 1575.68 s [opt-env-conf-test] )
  4137. 1575.68 s [opt-env-conf-test] suggestions
  4138. 1575.68 s [opt-env-conf-test] - pure $ Just completions
  4139. 1575.68 s [opt-env-conf-test] + pure $ Nothing
  4140. 1575.68 s [opt-env-conf-test] if settingHidden
  4141. 1575.68 s [opt-env-conf-test] then pure $ Just []
  4142. 1575.68 s [opt-env-conf-test] else do
  4143. 1575.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
  4144. 1575.68 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4145. 1575.68 s [opt-env-conf-test] let isLong = \case
  4146. 1575.68 s [opt-env-conf-test] DashedLong _ -> True
  4147. 1575.68 s [opt-env-conf-test] DashedShort _ -> False
  4148. 1575.68 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4149. 1575.68 s [opt-env-conf-test] + let favorableDasheds = if not (any isLong settingDasheds) then filter isLong settingDasheds else settingDasheds
  4150. 1575.68 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4151. 1575.68 s [opt-env-conf-test] let completions =
  4152. 1575.68 s [opt-env-conf-test] map
  4153. 1575.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  4154. 1575.68 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4155. 1575.68 s [opt-env-conf-test] then pure $ Just []
  4156. 1575.68 s [opt-env-conf-test] else do
  4157. 1575.68 s [opt-env-conf-test] as <- get
  4158. 1575.68 s [opt-env-conf-test] - if settingTryArgument
  4159. 1575.68 s [opt-env-conf-test] + if False
  4160. 1575.68 s [opt-env-conf-test] then do
  4161. 1575.68 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4162. 1575.68 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4163. 1575.68 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
  4164. 1575.68 s [opt-env-conf-test] @@ -425,7 +425,7 @@
  4165. 1575.68 s [opt-env-conf-test] case filter (isJust . fst) possibilities of
  4166. 1575.68 s [opt-env-conf-test] (_, as') : _ -> do
  4167. 1575.68 s [opt-env-conf-test] put as'
  4168. 1575.68 s [opt-env-conf-test] - pure $ Just []
  4169. 1575.69 s [opt-env-conf-test] + pure $ Nothing
  4170. 1575.69 s [opt-env-conf-test] [] ->
  4171. 1575.69 s [opt-env-conf-test] -- No possibility consumed a value. This is either
  4172. 1575.69 s [opt-env-conf-test] -- because there are no args at all (the [] case from
  4173. 1575.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
  4174. 1575.69 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4175. 1575.69 s [opt-env-conf-test] then pure $ Just []
  4176. 1575.69 s [opt-env-conf-test] else do
  4177. 1575.69 s [opt-env-conf-test] as <- get
  4178. 1575.69 s [opt-env-conf-test] - if settingTryArgument
  4179. 1575.69 s [opt-env-conf-test] + if True
  4180. 1575.69 s [opt-env-conf-test] then do
  4181. 1575.69 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4182. 1575.69 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4183. 1575.69 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
  4184. 1575.69 s [opt-env-conf-test] @@ -434,9 +434,8 @@
  4185. 1575.69 s [opt-env-conf-test] -- completer if we are at the end.
  4186. 1575.69 s [opt-env-conf-test] case possibilities of
  4187. 1575.69 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  4188. 1575.69 s [opt-env-conf-test] (_, as') : _ -> do
  4189. 1575.69 s [opt-env-conf-test] - put as'
  4190. 1575.69 s [opt-env-conf-test] completeWithCompleterAtEnd
  4191. 1575.69 s [opt-env-conf-test] else
  4192. 1575.69 s [opt-env-conf-test] if isJust settingSwitchValue
  4193. 1575.69 s [opt-env-conf-test] then do
  4194. 1575.69 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  4195. 1575.69 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  4196. 1575.69 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  4197. 1575.69 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  4198. 1575.69 s [opt-env-conf-test] -- completer if we are at the end.
  4199. 1575.69 s [opt-env-conf-test] case possibilities of
  4200. 1575.69 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  4201. 1575.69 s [opt-env-conf-test] (_, as') : _ -> do
  4202. 1575.69 s [opt-env-conf-test] put as'
  4203. 1575.69 s [opt-env-conf-test] completeWithCompleterAtEnd
  4204. 1575.69 s [opt-env-conf-test] else
  4205. 1575.69 s [opt-env-conf-test] if isJust settingSwitchValue
  4206. 1575.69 s [opt-env-conf-test] then do
  4207. 1575.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  4208. 1575.69 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4209. 1575.69 s [opt-env-conf-test] put as'
  4210. 1575.69 s [opt-env-conf-test] completeWithCompleterAtEnd
  4211. 1575.69 s [opt-env-conf-test] else
  4212. 1575.69 s [opt-env-conf-test] - if isJust settingSwitchValue
  4213. 1575.69 s [opt-env-conf-test] + if True
  4214. 1575.69 s [opt-env-conf-test] then do
  4215. 1575.69 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4216. 1575.69 s [opt-env-conf-test] -- it's already been parsed.
  4217. 1575.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
  4218. 1575.69 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4219. 1575.69 s [opt-env-conf-test] put as'
  4220. 1575.69 s [opt-env-conf-test] completeWithCompleterAtEnd
  4221. 1575.69 s [opt-env-conf-test] else
  4222. 1575.69 s [opt-env-conf-test] - if isJust settingSwitchValue
  4223. 1575.69 s [opt-env-conf-test] + if False
  4224. 1575.69 s [opt-env-conf-test] then do
  4225. 1575.69 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4226. 1575.69 s [opt-env-conf-test] -- it's already been parsed.
  4227. 1575.69 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
  4228. 1575.69 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  4229. 1575.69 s [opt-env-conf-test] then pure $ Just []
  4230. 1575.69 s [opt-env-conf-test] else do
  4231. 1575.69 s [opt-env-conf-test] as <- get
  4232. 1575.69 s [opt-env-conf-test] - if settingTryArgument
  4233. 1575.70 s [opt-env-conf-test] + if not (settingTryArgument)
  4234. 1575.70 s [opt-env-conf-test] then do
  4235. 1575.70 s [opt-env-conf-test] let possibilities = Args.consumeArgument as
  4236. 1575.70 s [opt-env-conf-test] -- Try all possible consumptions of the argument.
  4237. 1575.70 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
  4238. 1575.70 s [opt-env-conf-test] @@ -423,9 +423,8 @@
  4239. 1575.70 s [opt-env-conf-test] -- that over the "don't consume" fallback, because a
  4240. 1575.70 s [opt-env-conf-test] -- consumed value means the user already provided input.
  4241. 1575.70 s [opt-env-conf-test] case filter (isJust . fst) possibilities of
  4242. 1575.70 s [opt-env-conf-test] (_, as') : _ -> do
  4243. 1575.70 s [opt-env-conf-test] - put as'
  4244. 1575.70 s [opt-env-conf-test] pure $ Just []
  4245. 1575.70 s [opt-env-conf-test] [] ->
  4246. 1575.70 s [opt-env-conf-test] -- No possibility consumed a value. This is either
  4247. 1575.70 s [opt-env-conf-test] -- because there are no args at all (the [] case from
  4248. 1575.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
  4249. 1575.70 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4250. 1575.70 s [opt-env-conf-test] )
  4251. 1575.70 s [opt-env-conf-test] suggestions
  4252. 1575.70 s [opt-env-conf-test] pure $ Just completions
  4253. 1575.70 s [opt-env-conf-test] - if settingHidden
  4254. 1575.70 s [opt-env-conf-test] + if False
  4255. 1575.70 s [opt-env-conf-test] then pure $ Just []
  4256. 1575.70 s [opt-env-conf-test] else do
  4257. 1575.70 s [opt-env-conf-test] as <- get
  4258. 1575.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
  4259. 1575.70 s [opt-env-conf-test] @@ -400,7 +400,7 @@
  4260. 1575.70 s [opt-env-conf-test] let isLong = \case
  4261. 1575.70 s [opt-env-conf-test] DashedLong _ -> True
  4262. 1575.71 s [opt-env-conf-test] DashedShort _ -> False
  4263. 1575.71 s [opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
  4264. 1575.71 s [opt-env-conf-test] + let favorableDasheds = if False then filter isLong settingDasheds else settingDasheds
  4265. 1582.75 s [opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
  4266. 1582.75 s [opt-env-conf-test] let completions =
  4267. 1582.78 s [opt-env-conf-test] map
  4268. 1582.78 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  4269. 1582.78 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4270. 1582.78 s [opt-env-conf-test] put as'
  4271. 1582.78 s [opt-env-conf-test] pure $ Just []
  4272. 1582.78 s [opt-env-conf-test] else do
  4273. 1582.78 s [opt-env-conf-test] - if settingTryOption
  4274. 1582.78 s [opt-env-conf-test] + if False
  4275. 1582.78 s [opt-env-conf-test] then do
  4276. 1582.78 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4277. 1582.78 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4278. 1582.78 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
  4279. 1582.78 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4280. 1582.78 s [opt-env-conf-test] put as'
  4281. 1582.78 s [opt-env-conf-test] pure $ Just []
  4282. 1582.78 s [opt-env-conf-test] else do
  4283. 1582.78 s [opt-env-conf-test] - if settingTryOption
  4284. 1582.78 s [opt-env-conf-test] + if not (settingTryOption)
  4285. 1582.78 s [opt-env-conf-test] then do
  4286. 1582.78 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4287. 1582.78 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4288. 1582.78 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
  4289. 1582.78 s [opt-env-conf-test] @@ -456,7 +456,7 @@
  4290. 1582.78 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4291. 1582.78 s [opt-env-conf-test] Just (_, as') -> do
  4292. 1582.78 s [opt-env-conf-test] put as'
  4293. 1582.78 s [opt-env-conf-test] - pure $ Just []
  4294. 1582.78 s [opt-env-conf-test] + pure $ Nothing
  4295. 1582.78 s [opt-env-conf-test] Nothing -> do
  4296. 1582.78 s [opt-env-conf-test] if argsAtEnd as
  4297. 1582.79 s [opt-env-conf-test] then completeWithDasheds
  4298. 1582.79 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
  4299. 1582.79 s [opt-env-conf-test] @@ -454,9 +454,8 @@
  4300. 1582.79 s [opt-env-conf-test] then do
  4301. 1582.79 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4302. 1582.79 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4303. 1582.79 s [opt-env-conf-test] Just (_, as') -> do
  4304. 1582.79 s [opt-env-conf-test] - put as'
  4305. 1582.79 s [opt-env-conf-test] pure $ Just []
  4306. 1582.79 s [opt-env-conf-test] Nothing -> do
  4307. 1582.79 s [opt-env-conf-test] if argsAtEnd as
  4308. 1582.79 s [opt-env-conf-test] then completeWithDasheds
  4309. 1582.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  4310. 1582.79 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4311. 1582.79 s [opt-env-conf-test] put as'
  4312. 1582.79 s [opt-env-conf-test] pure $ Just []
  4313. 1582.79 s [opt-env-conf-test] Nothing -> do
  4314. 1582.79 s [opt-env-conf-test] - if argsAtEnd as
  4315. 1582.79 s [opt-env-conf-test] + if False
  4316. 1582.79 s [opt-env-conf-test] then completeWithDasheds
  4317. 1582.79 s [opt-env-conf-test] else do
  4318. 1582.79 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4319. 1582.79 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
  4320. 1582.79 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4321. 1582.79 s [opt-env-conf-test] put as'
  4322. 1582.79 s [opt-env-conf-test] pure $ Just []
  4323. 1582.79 s [opt-env-conf-test] Nothing -> do
  4324. 1582.79 s [opt-env-conf-test] - if argsAtEnd as
  4325. 1582.79 s [opt-env-conf-test] + if not (argsAtEnd as)
  4326. 1582.79 s [opt-env-conf-test] then completeWithDasheds
  4327. 1582.79 s [opt-env-conf-test] else do
  4328. 1582.79 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4329. 1582.79 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
  4330. 1582.79 s [opt-env-conf-test] @@ -470,7 +470,7 @@
  4331. 1582.79 s [opt-env-conf-test] -- the option because consumeOption would try to
  4332. 1582.79 s [opt-env-conf-test] -- consume the option argument too.
  4333. 1582.80 s [opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
  4334. 1582.80 s [opt-env-conf-test] - Nothing -> pure $ Just []
  4335. 1582.80 s [opt-env-conf-test] + Nothing -> pure $ Nothing
  4336. 1582.80 s [opt-env-conf-test] Just as' -> do
  4337. 1582.80 s [opt-env-conf-test] put as'
  4338. 1582.80 s [opt-env-conf-test] completeWithCompleterAtEnd
  4339. 1582.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
  4340. 1582.80 s [opt-env-conf-test] @@ -458,7 +458,7 @@
  4341. 1582.80 s [opt-env-conf-test] put as'
  4342. 1582.80 s [opt-env-conf-test] pure $ Just []
  4343. 1582.80 s [opt-env-conf-test] Nothing -> do
  4344. 1582.80 s [opt-env-conf-test] - if argsAtEnd as
  4345. 1582.80 s [opt-env-conf-test] + if True
  4346. 1582.80 s [opt-env-conf-test] then completeWithDasheds
  4347. 1582.80 s [opt-env-conf-test] else do
  4348. 1582.80 s [opt-env-conf-test] -- If we're not at the end, we may be between an option's
  4349. 1582.80 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
  4350. 1582.80 s [opt-env-conf-test] @@ -484,4 +484,4 @@
  4351. 1582.80 s [opt-env-conf-test] -- this branch, improving completions when one branch
  4352. 1582.80 s [opt-env-conf-test] -- is env/conf-only and the other has args/options.
  4353. 1582.80 s [opt-env-conf-test] -- This would require IO or an environment parameter.
  4354. 1582.80 s [opt-env-conf-test] - pure $ Just []
  4355. 1582.80 s [opt-env-conf-test] + pure $ Nothing
  4356. 1582.80 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
  4357. 1582.80 s [opt-env-conf-test] @@ -471,9 +471,8 @@
  4358. 1582.80 s [opt-env-conf-test] -- consume the option argument too.
  4359. 1582.80 s [opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
  4360. 1582.80 s [opt-env-conf-test] Nothing -> pure $ Just []
  4361. 1582.80 s [opt-env-conf-test] Just as' -> do
  4362. 1582.80 s [opt-env-conf-test] - put as'
  4363. 1582.80 s [opt-env-conf-test] completeWithCompleterAtEnd
  4364. 1582.80 s [opt-env-conf-test] else do
  4365. 1582.80 s [opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
  4366. 1582.80 s [opt-env-conf-test] -- or config values, but this path is still valid.
  4367. 1582.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  4368. 1582.80 s [opt-env-conf-test] @@ -432,11 +432,8 @@
  4369. 1582.80 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  4370. 1582.80 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  4371. 1582.80 s [opt-env-conf-test] -- completer if we are at the end.
  4372. 1582.80 s [opt-env-conf-test] case possibilities of
  4373. 1582.80 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  4374. 1582.80 s [opt-env-conf-test] - (_, as') : _ -> do
  4375. 1582.80 s [opt-env-conf-test] - put as'
  4376. 1582.80 s [opt-env-conf-test] - completeWithCompleterAtEnd
  4377. 1582.80 s [opt-env-conf-test] else
  4378. 1582.80 s [opt-env-conf-test] if isJust settingSwitchValue
  4379. 1582.80 s [opt-env-conf-test] then do
  4380. 1582.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  4381. 1582.81 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4382. 1582.81 s [opt-env-conf-test] -- import System.IO
  4383. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4384. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4385. 1582.81 s [opt-env-conf-test] - if enriched
  4386. 1582.81 s [opt-env-conf-test] + if True
  4387. 1582.81 s [opt-env-conf-test] then
  4388. 1582.81 s [opt-env-conf-test] putStr $
  4389. 1582.81 s [opt-env-conf-test] unlines $
  4390. 1582.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
  4391. 1582.81 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4392. 1582.81 s [opt-env-conf-test] -- import System.IO
  4393. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4394. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4395. 1582.81 s [opt-env-conf-test] - if enriched
  4396. 1582.81 s [opt-env-conf-test] + if False
  4397. 1582.81 s [opt-env-conf-test] then
  4398. 1582.81 s [opt-env-conf-test] putStr $
  4399. 1582.81 s [opt-env-conf-test] unlines $
  4400. 1582.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
  4401. 1582.81 s [opt-env-conf-test] @@ -168,7 +168,7 @@
  4402. 1582.81 s [opt-env-conf-test] -- import System.IO
  4403. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4404. 1582.81 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4405. 1582.81 s [opt-env-conf-test] - if enriched
  4406. 1582.81 s [opt-env-conf-test] + if not (enriched)
  4407. 1582.81 s [opt-env-conf-test] then
  4408. 1582.81 s [opt-env-conf-test] putStr $
  4409. 1582.81 s [opt-env-conf-test] unlines $
  4410. 1582.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  4411. 1582.81 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4412. 1584.49 s [opt-env-conf-test] map
  4413. 1584.49 s [opt-env-conf-test] ( \Completion {..} ->
  4414. 1584.49 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4415. 1584.49 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4416. 1584.49 s [opt-env-conf-test] + notFinal = True
  4417. 1584.49 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4418. 1584.49 s [opt-env-conf-test] (False, Nothing) -> val
  4419. 1584.49 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4420. 1584.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
  4421. 1584.49 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4422. 1584.49 s [opt-env-conf-test] map
  4423. 1584.49 s [opt-env-conf-test] ( \Completion {..} ->
  4424. 1584.49 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4425. 1584.49 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4426. 1584.49 s [opt-env-conf-test] + notFinal = False
  4427. 1584.49 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4428. 1584.49 s [opt-env-conf-test] (False, Nothing) -> val
  4429. 1584.50 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4430. 1584.50 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
  4431. 1584.50 s [opt-env-conf-test] @@ -175,7 +175,7 @@
  4432. 1584.50 s [opt-env-conf-test] map
  4433. 1584.50 s [opt-env-conf-test] ( \Completion {..} ->
  4434. 1584.50 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4435. 1584.50 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4436. 1584.50 s [opt-env-conf-test] + notFinal = not (completionResultFinality completionSuggestion == CompletionNotFinal)
  4437. 1584.50 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4438. 1584.50 s [opt-env-conf-test] (False, Nothing) -> val
  4439. 1584.50 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4440. 1584.50 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  4441. 1584.50 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4442. 1584.50 s [opt-env-conf-test] ( \Completion {..} ->
  4443. 1584.50 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4444. 1584.50 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4445. 1584.50 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4446. 1584.50 s [opt-env-conf-test] + in case (True, completionDescription) of
  4447. 1584.50 s [opt-env-conf-test] (False, Nothing) -> val
  4448. 1584.50 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4449. 1584.50 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4450. 1584.50 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Main.hs:161:43-51
  4451. 1584.50 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  4452. 1584.50 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  4453. 1584.50 s [opt-env-conf-test] exitSuccess
  4454. 1584.50 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  4455. 1584.50 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  4456. 1584.50 s [opt-env-conf-test] + runCompletionQuery p' False index ws
  4457. 1584.50 s [opt-env-conf-test] exitSuccess
  4458. 1584.50 s [opt-env-conf-test] ParsedNormally a -> pure a
  4459. 1584.50 s [opt-env-conf-test]
  4460. 1584.50 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
  4461. 1584.50 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4462. 1584.50 s [opt-env-conf-test] ( \Completion {..} ->
  4463. 1584.50 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4464. 1584.50 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4465. 1584.50 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4466. 1584.50 s [opt-env-conf-test] + in case (False, completionDescription) of
  4467. 1584.50 s [opt-env-conf-test] (False, Nothing) -> val
  4468. 1584.51 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4469. 1584.51 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4470. 1584.51 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  4471. 1584.51 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  4472. 1584.51 s [opt-env-conf-test] put as'
  4473. 1584.51 s [opt-env-conf-test] pure $ Just []
  4474. 1584.51 s [opt-env-conf-test] else do
  4475. 1584.51 s [opt-env-conf-test] - if settingTryOption
  4476. 1584.51 s [opt-env-conf-test] + if True
  4477. 1584.51 s [opt-env-conf-test] then do
  4478. 1584.51 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  4479. 1584.51 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  4480. 1584.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4481. 1584.51 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4482. 1584.51 s [opt-env-conf-test] ( \Completion {..} ->
  4483. 1584.51 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4484. 1584.51 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4485. 1584.51 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4486. 1584.51 s [opt-env-conf-test] - (False, Nothing) -> val
  4487. 1584.51 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4488. 1584.51 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4489. 1584.51 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4490. 1584.51 s [opt-env-conf-test] )
  4491. 1584.51 s [opt-env-conf-test] evaluatedCompletions
  4492. 1584.51 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4493. 1584.51 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
  4494. 1584.51 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  4495. 1584.51 s [opt-env-conf-test] ( \Completion {..} ->
  4496. 1584.51 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4497. 1584.51 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4498. 1584.51 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4499. 1584.51 s [opt-env-conf-test] + in case (not (notFinal), completionDescription) of
  4500. 1584.51 s [opt-env-conf-test] (False, Nothing) -> val
  4501. 1584.51 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4502. 1584.51 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4503. 1584.51 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  4504. 1584.52 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  4505. 1584.52 s [opt-env-conf-test] --
  4506. 1584.52 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  4507. 1584.52 s [opt-env-conf-test] let index = pred index'
  4508. 1584.52 s [opt-env-conf-test] - let ws = drop 1 ws'
  4509. 1584.52 s [opt-env-conf-test] + let ws = drop -1 ws'
  4510. 1584.52 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  4511. 1584.52 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  4512. 1584.52 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  4513. 1584.52 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
  4514. 1584.52 s [opt-env-conf-test] @@ -304,9 +304,8 @@
  4515. 1584.52 s [opt-env-conf-test] Nothing -> pure Nothing
  4516. 1584.52 s [opt-env-conf-test] Just cs1 -> do
  4517. 1584.52 s [opt-env-conf-test] p2s <- tryOrRestore $ go p2
  4518. 1584.52 s [opt-env-conf-test] pure $ case p2s of
  4519. 1584.52 s [opt-env-conf-test] Nothing -> Nothing
  4520. 1584.52 s [opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
  4521. 1584.52 s [opt-env-conf-test]
  4522. 1584.52 s [opt-env-conf-test] -- Nothing means "this branch was not valid"
  4523. 1584.52 s [opt-env-conf-test] -- Just [] means "no completions"
  4524. 1584.52 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
  4525. 1584.52 s [opt-env-conf-test] @@ -411,7 +411,7 @@
  4526. 1584.52 s [opt-env-conf-test] )
  4527. 1584.52 s [opt-env-conf-test] suggestions
  4528. 1584.52 s [opt-env-conf-test] pure $ Just completions
  4529. 1584.52 s [opt-env-conf-test] - if settingHidden
  4530. 1584.52 s [opt-env-conf-test] + if not (settingHidden)
  4531. 1584.52 s [opt-env-conf-test] then pure $ Just []
  4532. 1584.52 s [opt-env-conf-test] else do
  4533. 1584.52 s [opt-env-conf-test] as <- get
  4534. 1584.52 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
  4535. 1584.52 s [opt-env-conf-test] @@ -160,7 +160,7 @@
  4536. 1584.52 s [opt-env-conf-test] --
  4537. 1584.52 s [opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
  4538. 1584.52 s [opt-env-conf-test] let index = pred index'
  4539. 1584.52 s [opt-env-conf-test] - let ws = drop 1 ws'
  4540. 1584.52 s [opt-env-conf-test] + let ws = drop 0 ws'
  4541. 1584.52 s [opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
  4542. 1584.52 s [opt-env-conf-test] let completions = pureCompletionQuery parser index ws
  4543. 1584.52 s [opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
  4544. 1584.52 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
  4545. 1584.52 s [opt-env-conf-test] @@ -446,9 +446,8 @@
  4546. 1584.52 s [opt-env-conf-test] Nothing ->
  4547. 1584.52 s [opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
  4548. 1588.51 s [opt-env-conf-test] completeWithDasheds
  4549. 1588.51 s [opt-env-conf-test] Just as' -> do
  4550. 1588.51 s [opt-env-conf-test] - put as'
  4551. 1588.59 s [opt-env-conf-test] pure $ Just []
  4552. 1588.59 s [opt-env-conf-test] else do
  4553. 1588.59 s [opt-env-conf-test] if settingTryOption
  4554. 1588.59 s [opt-env-conf-test] then do
  4555. 1588.59 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
  4556. 1588.59 s [opt-env-conf-test] @@ -448,7 +448,7 @@
  4557. 1588.59 s [opt-env-conf-test] completeWithDasheds
  4558. 1588.59 s [opt-env-conf-test] Just as' -> do
  4559. 1588.59 s [opt-env-conf-test] put as'
  4560. 1588.59 s [opt-env-conf-test] - pure $ Just []
  4561. 1588.59 s [opt-env-conf-test] + pure $ Nothing
  4562. 1588.59 s [opt-env-conf-test] else do
  4563. 1588.59 s [opt-env-conf-test] if settingTryOption
  4564. 1588.59 s [opt-env-conf-test] then do
  4565. 1588.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
  4566. 1588.59 s [opt-env-conf-test] @@ -438,7 +438,7 @@
  4567. 1588.59 s [opt-env-conf-test] put as'
  4568. 1588.59 s [opt-env-conf-test] completeWithCompleterAtEnd
  4569. 1588.60 s [opt-env-conf-test] else
  4570. 1588.60 s [opt-env-conf-test] - if isJust settingSwitchValue
  4571. 1588.60 s [opt-env-conf-test] + if not (isJust settingSwitchValue)
  4572. 1588.60 s [opt-env-conf-test] then do
  4573. 1588.60 s [opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
  4574. 1588.60 s [opt-env-conf-test] -- it's already been parsed.
  4575. 1588.60 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Main.hs:154:21-66
  4576. 1588.60 s [opt-env-conf-test] @@ -151,7 +151,6 @@
  4577. 1588.60 s [opt-env-conf-test] exitSuccess
  4578. 1588.60 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  4579. 1588.60 s [opt-env-conf-test] progname <- getProgName
  4580. 1588.60 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  4581. 1588.60 s [opt-env-conf-test] exitSuccess
  4582. 1588.60 s [opt-env-conf-test] FishCompletionScript progPath -> do
  4583. 1588.60 s [opt-env-conf-test] progname <- getProgName
  4584. 1588.60 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
  4585. 1588.60 s [opt-env-conf-test] @@ -412,7 +412,7 @@
  4586. 1588.60 s [opt-env-conf-test] suggestions
  4587. 1588.60 s [opt-env-conf-test] pure $ Just completions
  4588. 1588.60 s [opt-env-conf-test] if settingHidden
  4589. 1588.60 s [opt-env-conf-test] - then pure $ Just []
  4590. 1588.60 s [opt-env-conf-test] + then pure $ Nothing
  4591. 1588.60 s [opt-env-conf-test] else do
  4592. 1588.60 s [opt-env-conf-test] as <- get
  4593. 1588.60 s [opt-env-conf-test] if settingTryArgument
  4594. 1588.60 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4595. 1588.60 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4596. 1588.60 s [opt-env-conf-test] ( \Completion {..} ->
  4597. 1588.60 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4598. 1588.60 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4599. 1588.60 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4600. 1588.60 s [opt-env-conf-test] (False, Nothing) -> val
  4601. 1588.60 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4602. 1588.60 s [opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
  4603. 1588.60 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4604. 1588.60 s [opt-env-conf-test] )
  4605. 1588.60 s [opt-env-conf-test] evaluatedCompletions
  4606. 1588.61 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4607. 1588.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4608. 1588.61 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4609. 1588.61 s [opt-env-conf-test] ( \Completion {..} ->
  4610. 1588.61 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4611. 1588.61 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4612. 1588.61 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4613. 1588.61 s [opt-env-conf-test] (False, Nothing) -> val
  4614. 1588.61 s [opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
  4615. 1588.61 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4616. 1588.61 s [opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
  4617. 1588.61 s [opt-env-conf-test] )
  4618. 1588.61 s [opt-env-conf-test] evaluatedCompletions
  4619. 1588.61 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4620. 1588.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  4621. 1588.61 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  4622. 1588.61 s [opt-env-conf-test] bashCompletionScript progPath progname =
  4623. 1588.61 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4624. 1588.61 s [opt-env-conf-test] in unlines
  4625. 1588.61 s [opt-env-conf-test] [ functionName ++ "()",
  4626. 1588.61 s [opt-env-conf-test] "{",
  4627. 1588.61 s [opt-env-conf-test] " local CMDLINE",
  4628. 1588.61 s [opt-env-conf-test] " local IFS=$'\\n'",
  4629. 1588.61 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  4630. 1588.61 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  4631. 1588.61 s [opt-env-conf-test] "",
  4632. 1588.61 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  4633. 1588.61 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  4634. 1588.61 s [opt-env-conf-test] " done",
  4635. 1588.61 s [opt-env-conf-test] "",
  4636. 1588.61 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  4637. 1588.61 s [opt-env-conf-test] "}",
  4638. 1588.61 s [opt-env-conf-test] "",
  4639. 1588.61 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  4640. 1588.61 s [opt-env-conf-test] ]
  4641. 1588.61 s [opt-env-conf-test]
  4642. 1588.61 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  4643. 1588.61 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  4644. 1588.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  4645. 1588.61 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4646. 1588.61 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4647. 1588.61 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4648. 1588.61 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4649. 1588.61 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4650. 1588.61 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc False caps f <$> go p
  4651. 1588.61 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4652. 1588.61 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4653. 1588.61 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4654. 1588.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4655. 1588.61 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  4656. 1588.62 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4657. 1588.62 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4658. 1588.62 s [opt-env-conf-test] in unlines
  4659. 1588.62 s [opt-env-conf-test] [ " function " ++ functionName,
  4660. 1588.62 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  4661. 1588.62 s [opt-env-conf-test] " # Hack around fish issue #3934",
  4662. 1588.62 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4663. 1588.62 s [opt-env-conf-test] " set -l cn (count $cn)",
  4664. 1588.62 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4665. 1588.62 s [opt-env-conf-test] " for arg in $cl",
  4666. 1588.62 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  4667. 1588.62 s [opt-env-conf-test] " end",
  4668. 1588.62 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4669. 1588.62 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  4670. 1588.62 s [opt-env-conf-test] " if test -d $val",
  4671. 1588.62 s [opt-env-conf-test] " echo -E \"$val/\"",
  4672. 1588.62 s [opt-env-conf-test] " else",
  4673. 1588.62 s [opt-env-conf-test] " echo -E \"$val\"",
  4674. 1588.62 s [opt-env-conf-test] " end",
  4675. 1588.62 s [opt-env-conf-test] " end",
  4676. 1588.62 s [opt-env-conf-test] "end",
  4677. 1588.62 s [opt-env-conf-test] "",
  4678. 1588.62 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4679. 1588.62 s [opt-env-conf-test] ]
  4680. 1588.62 s [opt-env-conf-test]
  4681. 1588.62 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4682. 1588.62 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4683. 1588.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
  4684. 1588.62 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4685. 1588.62 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4686. 1588.62 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4687. 1588.62 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4688. 1588.62 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4689. 1588.62 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc True caps f <$> go p
  4690. 1588.62 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4691. 1588.62 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4692. 1588.62 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4693. 1588.62 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4694. 1588.62 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  4695. 1588.62 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4696. 1588.62 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4697. 1588.62 s [opt-env-conf-test] unlines
  4698. 1588.62 s [opt-env-conf-test] [ "#compdef " ++ progname,
  4699. 1588.62 s [opt-env-conf-test] "",
  4700. 1588.62 s [opt-env-conf-test] "local request",
  4701. 1588.62 s [opt-env-conf-test] "local completions",
  4702. 1588.62 s [opt-env-conf-test] "local word",
  4703. 1588.62 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  4704. 1588.62 s [opt-env-conf-test] "",
  4705. 1588.62 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4706. 1589.95 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  4707. 1589.95 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  4708. 1589.95 s [opt-env-conf-test] "done",
  4709. 1589.95 s [opt-env-conf-test] "",
  4710. 1589.95 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4711. 1589.95 s [opt-env-conf-test] "",
  4712. 1589.95 s [opt-env-conf-test] "for word in $completions; do",
  4713. 1589.95 s [opt-env-conf-test] " local -a parts",
  4714. 1589.95 s [opt-env-conf-test] "",
  4715. 1589.95 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  4716. 1589.95 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  4717. 1589.95 s [opt-env-conf-test] "",
  4718. 1589.95 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  4719. 1589.96 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  4720. 1589.96 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  4721. 1589.96 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  4722. 1589.96 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  4723. 1589.96 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4724. 1589.96 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  4725. 1589.96 s [opt-env-conf-test] " else",
  4726. 1589.96 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4727. 1589.96 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  4728. 1589.96 s [opt-env-conf-test] " fi",
  4729. 1589.96 s [opt-env-conf-test] " else",
  4730. 1589.96 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  4731. 1589.96 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  4732. 1589.96 s [opt-env-conf-test] " else",
  4733. 1589.96 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  4734. 1589.96 s [opt-env-conf-test] " fi",
  4735. 1589.96 s [opt-env-conf-test] " fi",
  4736. 1589.96 s [opt-env-conf-test] - "done"
  4737. 1589.96 s [opt-env-conf-test] ]
  4738. 1589.96 s [opt-env-conf-test]
  4739. 1589.96 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4740. 1589.96 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4741. 1589.96 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4742. 1589.96 s [opt-env-conf-test] @@ -113,27 +113,7 @@
  4743. 1589.96 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4744. 1589.96 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4745. 1589.96 s [opt-env-conf-test] in unlines
  4746. 1589.96 s [opt-env-conf-test] - [ " function " ++ functionName,
  4747. 1589.96 s [opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
  4748. 1589.96 s [opt-env-conf-test] - " # Hack around fish issue #3934",
  4749. 1589.96 s [opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4750. 1589.96 s [opt-env-conf-test] - " set -l cn (count $cn)",
  4751. 1589.96 s [opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4752. 1589.97 s [opt-env-conf-test] - " for arg in $cl",
  4753. 1589.97 s [opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
  4754. 1589.97 s [opt-env-conf-test] - " end",
  4755. 1589.97 s [opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4756. 1589.97 s [opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
  4757. 1589.97 s [opt-env-conf-test] - " if test -d $val",
  4758. 1589.97 s [opt-env-conf-test] - " echo -E \"$val/\"",
  4759. 1589.97 s [opt-env-conf-test] - " else",
  4760. 1589.97 s [opt-env-conf-test] - " echo -E \"$val\"",
  4761. 1589.97 s [opt-env-conf-test] - " end",
  4762. 1589.97 s [opt-env-conf-test] - " end",
  4763. 1589.97 s [opt-env-conf-test] - "end",
  4764. 1589.97 s [opt-env-conf-test] - "",
  4765. 1589.97 s [opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4766. 1589.97 s [opt-env-conf-test] ]
  4767. 1589.97 s [opt-env-conf-test]
  4768. 1589.97 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4769. 1589.97 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4770. 1589.97 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
  4771. 1589.97 s [opt-env-conf-test] @@ -168,22 +168,6 @@
  4772. 1589.97 s [opt-env-conf-test] -- import System.IO
  4773. 1589.97 s [opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
  4774. 1589.97 s [opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
  4775. 1589.97 s [opt-env-conf-test] - if enriched
  4776. 1589.97 s [opt-env-conf-test] - then
  4777. 1589.97 s [opt-env-conf-test] - putStr $
  4778. 1589.97 s [opt-env-conf-test] - unlines $
  4779. 1589.97 s [opt-env-conf-test] - map
  4780. 1589.97 s [opt-env-conf-test] - ( \Completion {..} ->
  4781. 1589.97 s [opt-env-conf-test] - let val = completionResultValue completionSuggestion
  4782. 1589.97 s [opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4783. 1589.97 s [opt-env-conf-test] - in case (notFinal, completionDescription) of
  4784. 1589.97 s [opt-env-conf-test] - (False, Nothing) -> val
  4785. 1589.97 s [opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
  4786. 1589.97 s [opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
  4787. 1589.97 s [opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
  4788. 1589.97 s [opt-env-conf-test] - )
  4789. 1589.97 s [opt-env-conf-test] - evaluatedCompletions
  4790. 1589.97 s [opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4791. 1589.97 s [opt-env-conf-test] pure ()
  4792. 1589.97 s [opt-env-conf-test]
  4793. 1589.97 s [opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
  4794. 1589.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
  4795. 1589.97 s [opt-env-conf-test] @@ -113,27 +113,26 @@
  4796. 1589.97 s [opt-env-conf-test] fishCompletionScript progPath progname =
  4797. 1589.97 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4798. 1589.97 s [opt-env-conf-test] in unlines
  4799. 1589.97 s [opt-env-conf-test] - [ " function " ++ functionName,
  4800. 1589.97 s [opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
  4801. 1589.97 s [opt-env-conf-test] " # Hack around fish issue #3934",
  4802. 1589.97 s [opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
  4803. 1589.97 s [opt-env-conf-test] " set -l cn (count $cn)",
  4804. 1589.97 s [opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
  4805. 1589.97 s [opt-env-conf-test] " for arg in $cl",
  4806. 1589.97 s [opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
  4807. 1589.97 s [opt-env-conf-test] " end",
  4808. 1589.97 s [opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
  4809. 1589.97 s [opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
  4810. 1589.97 s [opt-env-conf-test] " if test -d $val",
  4811. 1589.97 s [opt-env-conf-test] " echo -E \"$val/\"",
  4812. 1589.97 s [opt-env-conf-test] " else",
  4813. 1589.97 s [opt-env-conf-test] " echo -E \"$val\"",
  4814. 1589.97 s [opt-env-conf-test] " end",
  4815. 1589.97 s [opt-env-conf-test] " end",
  4816. 1589.97 s [opt-env-conf-test] "end",
  4817. 1589.97 s [opt-env-conf-test] "",
  4818. 1589.97 s [opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
  4819. 1589.97 s [opt-env-conf-test] ]
  4820. 1589.97 s [opt-env-conf-test]
  4821. 1589.97 s [opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
  4822. 1589.97 s [opt-env-conf-test] progNameToFunctionName :: String -> String
  4823. 1589.97 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  4824. 1589.97 s [opt-env-conf-test] @@ -40,22 +40,7 @@
  4825. 1589.97 s [opt-env-conf-test] bashCompletionScript progPath progname =
  4826. 1589.97 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  4827. 1589.97 s [opt-env-conf-test] in unlines
  4828. 1589.97 s [opt-env-conf-test] - [ functionName ++ "()",
  4829. 1589.97 s [opt-env-conf-test] - "{",
  4830. 1589.97 s [opt-env-conf-test] - " local CMDLINE",
  4831. 1589.97 s [opt-env-conf-test] - " local IFS=$'\\n'",
  4832. 1589.97 s [opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
  4833. 1589.98 s [opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
  4834. 1589.98 s [opt-env-conf-test] - "",
  4835. 1589.98 s [opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
  4836. 1589.98 s [opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  4837. 1589.98 s [opt-env-conf-test] - " done",
  4838. 1589.98 s [opt-env-conf-test] - "",
  4839. 1589.98 s [opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  4840. 1589.98 s [opt-env-conf-test] - "}",
  4841. 1589.98 s [opt-env-conf-test] - "",
  4842. 1589.98 s [opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
  4843. 1589.98 s [opt-env-conf-test] ]
  4844. 1589.98 s [opt-env-conf-test]
  4845. 1589.98 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  4846. 1589.98 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  4847. 1589.98 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4848. 1589.98 s [opt-env-conf-test] @@ -64,46 +64,45 @@
  4849. 1589.98 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4850. 1589.98 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4851. 1589.98 s [opt-env-conf-test] unlines
  4852. 1589.98 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  4853. 1589.98 s [opt-env-conf-test] "",
  4854. 1589.98 s [opt-env-conf-test] "local request",
  4855. 1589.98 s [opt-env-conf-test] "local completions",
  4856. 1589.98 s [opt-env-conf-test] "local word",
  4857. 1589.98 s [opt-env-conf-test] "local index=$((CURRENT - 1))",
  4858. 1589.98 s [opt-env-conf-test] "",
  4859. 1589.98 s [opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4860. 1589.98 s [opt-env-conf-test] "for arg in ${words[@]}; do",
  4861. 1589.98 s [opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
  4862. 1589.98 s [opt-env-conf-test] "done",
  4863. 1589.98 s [opt-env-conf-test] "",
  4864. 1589.98 s [opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4865. 1589.98 s [opt-env-conf-test] "",
  4866. 1589.98 s [opt-env-conf-test] "for word in $completions; do",
  4867. 1589.98 s [opt-env-conf-test] " local -a parts",
  4868. 1589.98 s [opt-env-conf-test] "",
  4869. 1589.98 s [opt-env-conf-test] " # Split the line at a tab if there is one.",
  4870. 1589.98 s [opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
  4871. 1589.98 s [opt-env-conf-test] "",
  4872. 1589.98 s [opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
  4873. 1589.98 s [opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
  4874. 1589.98 s [opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
  4875. 1589.98 s [opt-env-conf-test] " compadd -d desc -- $parts[1]",
  4876. 1589.98 s [opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
  4877. 1589.98 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4878. 1589.98 s [opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
  4879. 1589.98 s [opt-env-conf-test] " else",
  4880. 1589.98 s [opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4881. 1589.98 s [opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
  4882. 1589.98 s [opt-env-conf-test] " fi",
  4883. 1589.98 s [opt-env-conf-test] " else",
  4884. 1589.98 s [opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
  4885. 1589.98 s [opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
  4886. 1589.98 s [opt-env-conf-test] " else",
  4887. 1589.98 s [opt-env-conf-test] " compadd -f -- $parts[1]",
  4888. 1589.98 s [opt-env-conf-test] " fi",
  4889. 1589.98 s [opt-env-conf-test] " fi",
  4890. 1589.98 s [opt-env-conf-test] "done"
  4891. 1589.98 s [opt-env-conf-test] ]
  4892. 1589.98 s [opt-env-conf-test]
  4893. 1589.98 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4894. 1590.52 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4895. 1590.52 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
  4896. 1590.52 s [opt-env-conf-test] @@ -64,46 +64,7 @@
  4897. 1590.52 s [opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
  4898. 1590.52 s [opt-env-conf-test] zshCompletionScript progPath progname =
  4899. 1590.52 s [opt-env-conf-test] unlines
  4900. 1590.52 s [opt-env-conf-test] - [ "#compdef " ++ progname,
  4901. 1590.52 s [opt-env-conf-test] - "",
  4902. 1590.52 s [opt-env-conf-test] - "local request",
  4903. 1590.52 s [opt-env-conf-test] - "local completions",
  4904. 1590.52 s [opt-env-conf-test] - "local word",
  4905. 1590.52 s [opt-env-conf-test] - "local index=$((CURRENT - 1))",
  4906. 1590.52 s [opt-env-conf-test] - "",
  4907. 1590.52 s [opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
  4908. 1590.52 s [opt-env-conf-test] - "for arg in ${words[@]}; do",
  4909. 1590.53 s [opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
  4910. 1590.53 s [opt-env-conf-test] - "done",
  4911. 1590.53 s [opt-env-conf-test] - "",
  4912. 1590.53 s [opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
  4913. 1590.53 s [opt-env-conf-test] - "",
  4914. 1590.53 s [opt-env-conf-test] - "for word in $completions; do",
  4915. 1590.53 s [opt-env-conf-test] - " local -a parts",
  4916. 1590.53 s [opt-env-conf-test] - "",
  4917. 1590.53 s [opt-env-conf-test] - " # Split the line at a tab if there is one.",
  4918. 1590.53 s [opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
  4919. 1590.53 s [opt-env-conf-test] - "",
  4920. 1590.53 s [opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
  4921. 1590.53 s [opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
  4922. 1590.53 s [opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
  4923. 1590.53 s [opt-env-conf-test] - " compadd -d desc -- $parts[1]",
  4924. 1590.53 s [opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
  4925. 1590.53 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4926. 1590.53 s [opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
  4927. 1590.53 s [opt-env-conf-test] - " else",
  4928. 1590.53 s [opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
  4929. 1590.53 s [opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
  4930. 1590.53 s [opt-env-conf-test] - " fi",
  4931. 1590.53 s [opt-env-conf-test] - " else",
  4932. 1590.53 s [opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
  4933. 1590.53 s [opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
  4934. 1590.53 s [opt-env-conf-test] - " else",
  4935. 1590.53 s [opt-env-conf-test] - " compadd -f -- $parts[1]",
  4936. 1590.53 s [opt-env-conf-test] - " fi",
  4937. 1590.53 s [opt-env-conf-test] - " fi",
  4938. 1590.53 s [opt-env-conf-test] - "done"
  4939. 1590.53 s [opt-env-conf-test] ]
  4940. 1590.53 s [opt-env-conf-test]
  4941. 1590.53 s [opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
  4942. 1597.51 s [opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
  4943. 1597.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
  4944. 1597.53 s [opt-env-conf-test] @@ -176,11 +176,10 @@
  4945. 1597.53 s [opt-env-conf-test] ( \Completion {..} ->
  4946. 1597.53 s [opt-env-conf-test] let val = completionResultValue completionSuggestion
  4947. 1597.53 s [opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
  4948. 1597.53 s [opt-env-conf-test] in case (notFinal, completionDescription) of
  4949. 1597.53 s [opt-env-conf-test] (False, Nothing) -> val
  4950. 1597.54 s [opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
  4951. 1597.54 s [opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
  4952. 1597.54 s [opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
  4953. 1597.54 s [opt-env-conf-test] )
  4954. 1597.54 s [opt-env-conf-test] evaluatedCompletions
  4955. 1597.54 s [opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
  4956. 1597.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
  4957. 1597.54 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  4958. 1597.54 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  4959. 1597.54 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  4960. 1597.54 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  4961. 1597.54 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  4962. 1597.54 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing not (forgivable) caps f (go p)
  4963. 1597.54 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  4964. 1597.54 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  4965. 1597.54 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  4966. 1597.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  4967. 1597.54 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  4968. 1597.54 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  4969. 1597.54 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  4970. 1597.54 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  4971. 1597.54 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  4972. 1597.54 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing False caps f (go p)
  4973. 1597.54 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  4974. 1597.54 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  4975. 1597.54 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  4976. 1597.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
  4977. 1597.54 s [opt-env-conf-test] @@ -1207,7 +1207,7 @@
  4978. 1597.54 s [opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
  4979. 1597.55 s [opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
  4980. 1597.55 s [opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
  4981. 1597.55 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
  4982. 1597.55 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc not (forgivable) caps f <$> go p
  4983. 1597.55 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
  4984. 1597.55 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
  4985. 1597.55 s [opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
  4986. 1597.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  4987. 1597.55 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  4988. 1597.55 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  4989. 1597.55 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  4990. 1597.55 s [opt-env-conf-test] bareSetting p f = do
  4991. 1597.55 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  4992. 1597.55 s [opt-env-conf-test] guard $ p s
  4993. 1597.55 s [opt-env-conf-test] pure $
  4994. 1597.55 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  4995. 1597.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  4996. 1597.55 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  4997. 1597.55 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  4998. 1597.55 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  4999. 1597.55 s [opt-env-conf-test] bareSetting p f = do
  5000. 1597.55 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  5001. 1597.55 s [opt-env-conf-test] guard $ p s
  5002. 1597.55 s [opt-env-conf-test] pure $
  5003. 1597.55 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  5004. 1597.55 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
  5005. 1597.55 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5006. 1597.55 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5007. 1597.55 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5008. 1597.55 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5009. 1597.55 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5010. 1597.55 s [opt-env-conf-test] + ParserCheck mLoc' not (forgivable) (Set.insert cap caps) f p
  5011. 1597.55 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5012. 1597.55 s [opt-env-conf-test] where
  5013. 1597.56 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5014. 1597.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5015. 1597.56 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  5016. 1597.56 s [opt-env-conf-test] withFrozenCallStack $
  5017. 1597.56 s [opt-env-conf-test] choice $
  5018. 1597.56 s [opt-env-conf-test] catMaybes
  5019. 1597.56 s [opt-env-conf-test] [ bareOption,
  5020. 1597.56 s [opt-env-conf-test] fileOption,
  5021. 1597.56 s [opt-env-conf-test] bareEnv,
  5022. 1597.56 s [opt-env-conf-test] fileEnv,
  5023. 1597.56 s [opt-env-conf-test] bareConf,
  5024. 1597.56 s [opt-env-conf-test] - fileConf
  5025. 1597.56 s [opt-env-conf-test] ]
  5026. 1597.56 s [opt-env-conf-test] where
  5027. 1597.56 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5028. 1597.56 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5029. 1597.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  5030. 1597.56 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5031. 1597.56 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5032. 1597.56 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5033. 1597.56 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5034. 1597.56 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5035. 1597.56 s [opt-env-conf-test] + ParserCheck mLoc' True (Set.insert cap caps) f p
  5036. 1597.56 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5037. 1597.56 s [opt-env-conf-test] where
  5038. 1597.56 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5039. 1597.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5040. 1597.56 s [opt-env-conf-test] @@ -1016,13 +1016,7 @@
  5041. 1597.56 s [opt-env-conf-test] withFrozenCallStack $
  5042. 1597.56 s [opt-env-conf-test] choice $
  5043. 1597.56 s [opt-env-conf-test] catMaybes
  5044. 1597.56 s [opt-env-conf-test] - [ bareOption,
  5045. 1597.56 s [opt-env-conf-test] - fileOption,
  5046. 1597.56 s [opt-env-conf-test] - bareEnv,
  5047. 1597.56 s [opt-env-conf-test] - fileEnv,
  5048. 1597.56 s [opt-env-conf-test] - bareConf,
  5049. 1597.56 s [opt-env-conf-test] - fileConf
  5050. 1597.56 s [opt-env-conf-test] ]
  5051. 1597.56 s [opt-env-conf-test] where
  5052. 1597.56 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5053. 1597.56 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5054. 1597.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
  5055. 1597.56 s [opt-env-conf-test] @@ -1016,13 +1016,12 @@
  5056. 1597.56 s [opt-env-conf-test] withFrozenCallStack $
  5057. 1597.56 s [opt-env-conf-test] choice $
  5058. 1597.56 s [opt-env-conf-test] catMaybes
  5059. 1597.56 s [opt-env-conf-test] - [ bareOption,
  5060. 1597.56 s [opt-env-conf-test] fileOption,
  5061. 1597.57 s [opt-env-conf-test] bareEnv,
  5062. 1597.57 s [opt-env-conf-test] fileEnv,
  5063. 1597.57 s [opt-env-conf-test] bareConf,
  5064. 1597.57 s [opt-env-conf-test] fileConf
  5065. 1597.57 s [opt-env-conf-test] ]
  5066. 1597.57 s [opt-env-conf-test] where
  5067. 1597.57 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5068. 1597.57 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5069. 1597.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  5070. 1597.57 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  5071. 1597.57 s [opt-env-conf-test] checkMapMaybe func p =
  5072. 1597.57 s [opt-env-conf-test] withFrozenCallStack $
  5073. 1597.57 s [opt-env-conf-test] checkMapEither
  5074. 1597.57 s [opt-env-conf-test] ( \a -> case func a of
  5075. 1597.57 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  5076. 1597.57 s [opt-env-conf-test] - Just b -> Right b
  5077. 1597.57 s [opt-env-conf-test] )
  5078. 1597.57 s [opt-env-conf-test] p
  5079. 1597.57 s [opt-env-conf-test]
  5080. 1597.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
  5081. 1597.57 s [opt-env-conf-test] @@ -1027,7 +1027,6 @@
  5082. 1597.57 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5083. 1597.57 s [opt-env-conf-test] b = mconcat $ bs ++ [reader str]
  5084. 1597.57 s [opt-env-conf-test] bareSetting p f = do
  5085. 1597.57 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
  5086. 1597.57 s [opt-env-conf-test] guard $ p s
  5087. 1597.57 s [opt-env-conf-test] pure $
  5088. 1597.57 s [opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
  5089. 1597.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
  5090. 1597.57 s [opt-env-conf-test] @@ -40,22 +40,21 @@
  5091. 1597.57 s [opt-env-conf-test] bashCompletionScript progPath progname =
  5092. 1597.57 s [opt-env-conf-test] let functionName = progNameToFunctionName progname
  5093. 1597.57 s [opt-env-conf-test] in unlines
  5094. 1597.57 s [opt-env-conf-test] - [ functionName ++ "()",
  5095. 1597.57 s [opt-env-conf-test] "{",
  5096. 1597.57 s [opt-env-conf-test] " local CMDLINE",
  5097. 1597.57 s [opt-env-conf-test] " local IFS=$'\\n'",
  5098. 1597.57 s [opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
  5099. 1597.57 s [opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
  5100. 1597.57 s [opt-env-conf-test] "",
  5101. 1597.57 s [opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
  5102. 1597.57 s [opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
  5103. 1597.57 s [opt-env-conf-test] " done",
  5104. 1597.57 s [opt-env-conf-test] "",
  5105. 1597.57 s [opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
  5106. 1597.57 s [opt-env-conf-test] "}",
  5107. 1597.57 s [opt-env-conf-test] "",
  5108. 1603.29 s [opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
  5109. 1603.31 s [opt-env-conf-test] ]
  5110. 1603.31 s [opt-env-conf-test]
  5111. 1603.31 s [opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
  5112. 1603.31 s [opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
  5113. 1603.31 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
  5114. 1603.32 s [opt-env-conf-test] @@ -660,7 +660,7 @@
  5115. 1603.32 s [opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
  5116. 1603.32 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5117. 1603.32 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5118. 1603.32 s [opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5119. 1603.32 s [opt-env-conf-test] + ParserCheck mLoc' False (Set.insert cap caps) f p
  5120. 1603.32 s [opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5121. 1603.32 s [opt-env-conf-test] where
  5122. 1603.32 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5123. 1603.32 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
  5124. 1603.32 s [opt-env-conf-test] @@ -661,7 +661,7 @@
  5125. 1603.32 s [opt-env-conf-test] checkWithRequiredCapability capName = \case
  5126. 1603.32 s [opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
  5127. 1603.32 s [opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
  5128. 1603.32 s [opt-env-conf-test] - p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
  5129. 1603.32 s [opt-env-conf-test] + p -> ParserCheck mLoc True (Set.singleton cap) (pure . Right) p
  5130. 1603.32 s [opt-env-conf-test] where
  5131. 1603.32 s [opt-env-conf-test] cap = Capability (T.pack capName)
  5132. 1603.32 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5133. 1603.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  5134. 1603.32 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  5135. 1603.32 s [opt-env-conf-test] [] -> (Nothing, [])
  5136. 1603.32 s [opt-env-conf-test] (b : bs) ->
  5137. 1603.32 s [opt-env-conf-test] let (mDefault, cs) = go bs
  5138. 1603.32 s [opt-env-conf-test] in case b of
  5139. 1603.32 s [opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
  5140. 1603.32 s [opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  5141. 1603.32 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5142. 1603.32 s [opt-env-conf-test]
  5143. 1603.32 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  5144. 1603.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  5145. 1603.32 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  5146. 1603.32 s [opt-env-conf-test] checkMapMaybe func p =
  5147. 1603.32 s [opt-env-conf-test] withFrozenCallStack $
  5148. 1603.32 s [opt-env-conf-test] checkMapEither
  5149. 1603.32 s [opt-env-conf-test] ( \a -> case func a of
  5150. 1603.32 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
  5151. 1603.32 s [opt-env-conf-test] Just b -> Right b
  5152. 1603.32 s [opt-env-conf-test] )
  5153. 1603.32 s [opt-env-conf-test] p
  5154. 1603.32 s [opt-env-conf-test]
  5155. 1603.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  5156. 1603.32 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  5157. 1603.32 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  5158. 1603.32 s [opt-env-conf-test] withFrozenCallStack $
  5159. 1603.32 s [opt-env-conf-test] checkMapEitherForgivable
  5160. 1603.32 s [opt-env-conf-test] ( \a -> case func a of
  5161. 1603.32 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  5162. 1603.32 s [opt-env-conf-test] Just b -> Right b
  5163. 1603.32 s [opt-env-conf-test] )
  5164. 1603.32 s [opt-env-conf-test] p
  5165. 1603.32 s [opt-env-conf-test]
  5166. 1603.32 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
  5167. 1603.32 s [opt-env-conf-test] @@ -1052,7 +1052,7 @@
  5168. 1603.32 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  5169. 1603.32 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  5170. 1603.33 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  5171. 1603.33 s [opt-env-conf-test] - i -> Just i
  5172. 1603.33 s [opt-env-conf-test] + i -> Nothing
  5173. 1603.33 s [opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
  5174. 1603.33 s [opt-env-conf-test] BuildTryArgument -> Nothing
  5175. 1603.33 s [opt-env-conf-test] BuildAddShort _ -> Nothing
  5176. 1603.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5177. 1603.33 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5178. 1603.33 s [opt-env-conf-test] where
  5179. 1603.33 s [opt-env-conf-test] go p =
  5180. 1603.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5181. 1603.33 s [opt-env-conf-test] in case p of
  5182. 1603.33 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5183. 1603.33 s [opt-env-conf-test] ParserAp {} -> p'
  5184. 1603.33 s [opt-env-conf-test] ParserSelect {} -> p'
  5185. 1603.33 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5186. 1603.33 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5187. 1603.33 s [opt-env-conf-test] ParserMany {} -> p'
  5188. 1603.33 s [opt-env-conf-test] ParserSome {} -> p'
  5189. 1603.33 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5190. 1603.33 s [opt-env-conf-test] ParserCheck {} -> p'
  5191. 1603.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  5192. 1603.33 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5193. 1603.33 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5194. 1603.33 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5195. 1603.33 s [opt-env-conf-test] Just _ -> p
  5196. 1603.33 s [opt-env-conf-test]
  5197. 1603.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  5198. 1603.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5199. 1603.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5200. 1603.33 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  5201. 1603.33 s [opt-env-conf-test] where
  5202. 1603.33 s [opt-env-conf-test] go p =
  5203. 1603.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5204. 1603.33 s [opt-env-conf-test] in case p of
  5205. 1603.33 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5206. 1603.33 s [opt-env-conf-test] ParserAp {} -> p'
  5207. 1603.33 s [opt-env-conf-test] ParserSelect {} -> p'
  5208. 1603.33 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5209. 1603.33 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5210. 1603.33 s [opt-env-conf-test] ParserMany {} -> p'
  5211. 1603.33 s [opt-env-conf-test] ParserSome {} -> p'
  5212. 1603.33 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5213. 1603.33 s [opt-env-conf-test] ParserCheck {} -> p'
  5214. 1603.33 s [opt-env-conf-test] ParserCommands {} -> p'
  5215. 1603.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  5216. 1603.33 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  5217. 1603.33 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5218. 1603.33 s [opt-env-conf-test] Just _ -> p
  5219. 1603.33 s [opt-env-conf-test]
  5220. 1603.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  5221. 1603.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5222. 1603.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  5223. 1603.33 s [opt-env-conf-test] @@ -547,21 +547,18 @@
  5224. 1603.33 s [opt-env-conf-test] where
  5225. 1603.33 s [opt-env-conf-test] go p =
  5226. 1603.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  5227. 1603.33 s [opt-env-conf-test] in case p of
  5228. 1603.33 s [opt-env-conf-test] ParserPure a -> ParserPure a
  5229. 1603.33 s [opt-env-conf-test] ParserAp {} -> p'
  5230. 1603.33 s [opt-env-conf-test] ParserSelect {} -> p'
  5231. 1603.33 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  5232. 1603.33 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  5233. 1603.33 s [opt-env-conf-test] ParserMany {} -> p'
  5234. 1603.33 s [opt-env-conf-test] ParserSome {} -> p'
  5235. 1603.33 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  5236. 1603.33 s [opt-env-conf-test] ParserCheck {} -> p'
  5237. 1603.33 s [opt-env-conf-test] ParserCommands {} -> p'
  5238. 1603.33 s [opt-env-conf-test] ParserWithConfig {} -> p'
  5239. 1603.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  5240. 1603.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  5241. 1603.33 s [opt-env-conf-test] - Just _ -> p
  5242. 1603.33 s [opt-env-conf-test]
  5243. 1603.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  5244. 1603.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  5245. 1603.33 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
  5246. 1603.33 s [opt-env-conf-test] @@ -874,7 +874,7 @@
  5247. 1603.33 s [opt-env-conf-test] withFrozenCallStack $
  5248. 1603.33 s [opt-env-conf-test] choice $
  5249. 1603.33 s [opt-env-conf-test] catMaybes
  5250. 1603.33 s [opt-env-conf-test] - [ Just parseDummy,
  5251. 1603.33 s [opt-env-conf-test] + [ Nothing,
  5252. 1603.33 s [opt-env-conf-test] Just parseDisableSwitch,
  5253. 1603.33 s [opt-env-conf-test] Just parseEnableSwitch,
  5254. 1603.33 s [opt-env-conf-test] parseEnv,
  5255. 1603.33 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
  5256. 1603.33 s [opt-env-conf-test] @@ -875,7 +875,7 @@
  5257. 1603.33 s [opt-env-conf-test] choice $
  5258. 1603.33 s [opt-env-conf-test] catMaybes
  5259. 1603.33 s [opt-env-conf-test] [ Just parseDummy,
  5260. 1603.33 s [opt-env-conf-test] - Just parseDisableSwitch,
  5261. 1603.33 s [opt-env-conf-test] + Nothing,
  5262. 1603.33 s [opt-env-conf-test] Just parseEnableSwitch,
  5263. 1603.33 s [opt-env-conf-test] parseEnv,
  5264. 1603.33 s [opt-env-conf-test] parseConfigVal,
  5265. 1603.33 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
  5266. 1603.33 s [opt-env-conf-test] @@ -876,7 +876,7 @@
  5267. 1603.33 s [opt-env-conf-test] catMaybes
  5268. 1603.33 s [opt-env-conf-test] [ Just parseDummy,
  5269. 1603.33 s [opt-env-conf-test] Just parseDisableSwitch,
  5270. 1603.33 s [opt-env-conf-test] - Just parseEnableSwitch,
  5271. 1603.33 s [opt-env-conf-test] + Nothing,
  5272. 1603.33 s [opt-env-conf-test] parseEnv,
  5273. 1603.33 s [opt-env-conf-test] parseConfigVal,
  5274. 1603.33 s [opt-env-conf-test] parseDefaultVal
  5275. 1603.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5276. 1603.33 s [opt-env-conf-test] @@ -874,13 +874,7 @@
  5277. 1603.33 s [opt-env-conf-test] withFrozenCallStack $
  5278. 1603.33 s [opt-env-conf-test] choice $
  5279. 1603.33 s [opt-env-conf-test] catMaybes
  5280. 1603.33 s [opt-env-conf-test] - [ Just parseDummy,
  5281. 1603.33 s [opt-env-conf-test] - Just parseDisableSwitch,
  5282. 1603.33 s [opt-env-conf-test] - Just parseEnableSwitch,
  5283. 1603.33 s [opt-env-conf-test] - parseEnv,
  5284. 1603.33 s [opt-env-conf-test] - parseConfigVal,
  5285. 1603.33 s [opt-env-conf-test] - parseDefaultVal
  5286. 1603.33 s [opt-env-conf-test] ]
  5287. 1603.33 s [opt-env-conf-test] where
  5288. 1603.33 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5289. 1603.33 s [opt-env-conf-test] s = buildSetting builders
  5290. 1603.33 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5291. 1603.33 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  5292. 1603.33 s [opt-env-conf-test] withFrozenCallStack $
  5293. 1603.33 s [opt-env-conf-test] choice $
  5294. 1603.33 s [opt-env-conf-test] catMaybes
  5295. 1603.33 s [opt-env-conf-test] - [ Just parseDummy,
  5296. 1603.33 s [opt-env-conf-test] Just parseDisableSwitch,
  5297. 1603.33 s [opt-env-conf-test] Just parseEnableSwitch,
  5298. 1603.33 s [opt-env-conf-test] parseEnv,
  5299. 1603.33 s [opt-env-conf-test] parseConfigVal,
  5300. 1603.33 s [opt-env-conf-test] parseDefaultVal
  5301. 1603.33 s [opt-env-conf-test] ]
  5302. 1603.33 s [opt-env-conf-test] where
  5303. 1603.33 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5304. 1603.33 s [opt-env-conf-test] s = buildSetting builders
  5305. 1607.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
  5306. 1607.58 s [opt-env-conf-test] @@ -874,13 +874,12 @@
  5307. 1607.58 s [opt-env-conf-test] withFrozenCallStack $
  5308. 1607.58 s [opt-env-conf-test] choice $
  5309. 1607.58 s [opt-env-conf-test] catMaybes
  5310. 1607.58 s [opt-env-conf-test] [ Just parseDummy,
  5311. 1607.58 s [opt-env-conf-test] Just parseDisableSwitch,
  5312. 1607.58 s [opt-env-conf-test] Just parseEnableSwitch,
  5313. 1607.58 s [opt-env-conf-test] parseEnv,
  5314. 1607.58 s [opt-env-conf-test] parseConfigVal,
  5315. 1607.58 s [opt-env-conf-test] - parseDefaultVal
  5316. 1607.58 s [opt-env-conf-test] ]
  5317. 1607.58 s [opt-env-conf-test] where
  5318. 1607.58 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  5319. 1607.58 s [opt-env-conf-test] s = buildSetting builders
  5320. 1607.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  5321. 1607.58 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5322. 1607.58 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5323. 1607.58 s [opt-env-conf-test] parseDefaultVal = do
  5324. 1607.58 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5325. 1607.58 s [opt-env-conf-test] - pure $ pure dv
  5326. 1607.58 s [opt-env-conf-test] + pure $ pure True
  5327. 1607.58 s [opt-env-conf-test]
  5328. 1607.58 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5329. 1607.58 s [opt-env-conf-test] parseEnableSwitch =
  5330. 1607.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
  5331. 1607.58 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5332. 1607.58 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5333. 1607.58 s [opt-env-conf-test] parseDefaultVal = do
  5334. 1607.58 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5335. 1607.58 s [opt-env-conf-test] - pure $ pure dv
  5336. 1607.58 s [opt-env-conf-test] + pure $ pure False
  5337. 1607.58 s [opt-env-conf-test]
  5338. 1607.58 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5339. 1607.58 s [opt-env-conf-test] parseEnableSwitch =
  5340. 1607.58 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
  5341. 1607.58 s [opt-env-conf-test] @@ -887,7 +887,7 @@
  5342. 1607.58 s [opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
  5343. 1607.58 s [opt-env-conf-test] parseDefaultVal = do
  5344. 1607.58 s [opt-env-conf-test] (dv, _) <- settingDefaultValue s
  5345. 1607.58 s [opt-env-conf-test] - pure $ pure dv
  5346. 1607.59 s [opt-env-conf-test] + pure $ pure not (dv)
  5347. 1607.59 s [opt-env-conf-test]
  5348. 1607.59 s [opt-env-conf-test] parseEnableSwitch :: Parser Bool
  5349. 1607.59 s [opt-env-conf-test] parseEnableSwitch =
  5350. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
  5351. 1607.59 s [opt-env-conf-test] @@ -895,7 +895,7 @@
  5352. 1607.59 s [opt-env-conf-test] Setting
  5353. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5354. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5355. 1607.59 s [opt-env-conf-test] - settingTryArgument = False,
  5356. 1607.59 s [opt-env-conf-test] + settingTryArgument = True,
  5357. 1607.59 s [opt-env-conf-test] settingSwitchValue = Just True,
  5358. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5359. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5360. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
  5361. 1607.59 s [opt-env-conf-test] @@ -896,7 +896,7 @@
  5362. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5363. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5364. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5365. 1607.59 s [opt-env-conf-test] - settingSwitchValue = Just True,
  5366. 1607.59 s [opt-env-conf-test] + settingSwitchValue = Just False,
  5367. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5368. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5369. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5370. 1607.59 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
  5371. 1607.59 s [opt-env-conf-test] @@ -896,7 +896,7 @@
  5372. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
  5373. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5374. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5375. 1607.59 s [opt-env-conf-test] - settingSwitchValue = Just True,
  5376. 1607.59 s [opt-env-conf-test] + settingSwitchValue = Nothing,
  5377. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5378. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5379. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5380. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
  5381. 1607.59 s [opt-env-conf-test] @@ -897,7 +897,7 @@
  5382. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5383. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5384. 1607.59 s [opt-env-conf-test] settingSwitchValue = Just True,
  5385. 1607.59 s [opt-env-conf-test] - settingTryOption = False,
  5386. 1607.59 s [opt-env-conf-test] + settingTryOption = True,
  5387. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5388. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5389. 1607.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5390. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
  5391. 1607.59 s [opt-env-conf-test] @@ -902,7 +902,7 @@
  5392. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5393. 1607.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5394. 1607.59 s [opt-env-conf-test] settingExamples = [],
  5395. 1607.59 s [opt-env-conf-test] - settingHidden = True,
  5396. 1607.59 s [opt-env-conf-test] + settingHidden = False,
  5397. 1607.59 s [opt-env-conf-test] settingMetavar = Nothing,
  5398. 1607.59 s [opt-env-conf-test] settingHelp = Nothing,
  5399. 1607.59 s [opt-env-conf-test] settingCompleter = Nothing,
  5400. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
  5401. 1607.59 s [opt-env-conf-test] @@ -914,7 +914,7 @@
  5402. 1607.59 s [opt-env-conf-test] Setting
  5403. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5404. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5405. 1607.59 s [opt-env-conf-test] - settingTryArgument = False,
  5406. 1607.59 s [opt-env-conf-test] + settingTryArgument = True,
  5407. 1607.59 s [opt-env-conf-test] settingSwitchValue = Just False,
  5408. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5409. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5410. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
  5411. 1607.59 s [opt-env-conf-test] @@ -915,7 +915,7 @@
  5412. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5413. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5414. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5415. 1607.59 s [opt-env-conf-test] - settingSwitchValue = Just False,
  5416. 1607.59 s [opt-env-conf-test] + settingSwitchValue = Just True,
  5417. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5418. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5419. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5420. 1607.59 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
  5421. 1607.59 s [opt-env-conf-test] @@ -915,7 +915,7 @@
  5422. 1607.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
  5423. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5424. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5425. 1607.59 s [opt-env-conf-test] - settingSwitchValue = Just False,
  5426. 1607.59 s [opt-env-conf-test] + settingSwitchValue = Nothing,
  5427. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5428. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5429. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5430. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
  5431. 1607.59 s [opt-env-conf-test] @@ -916,7 +916,7 @@
  5432. 1607.59 s [opt-env-conf-test] settingReaders = [],
  5433. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5434. 1607.59 s [opt-env-conf-test] settingSwitchValue = Just False,
  5435. 1607.59 s [opt-env-conf-test] - settingTryOption = False,
  5436. 1607.59 s [opt-env-conf-test] + settingTryOption = True,
  5437. 1607.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5438. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5439. 1607.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5440. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
  5441. 1607.59 s [opt-env-conf-test] @@ -921,7 +921,7 @@
  5442. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5443. 1607.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5444. 1607.59 s [opt-env-conf-test] settingExamples = [],
  5445. 1607.59 s [opt-env-conf-test] - settingHidden = True,
  5446. 1607.59 s [opt-env-conf-test] + settingHidden = False,
  5447. 1607.59 s [opt-env-conf-test] settingMetavar = Nothing,
  5448. 1607.59 s [opt-env-conf-test] settingHelp = Nothing,
  5449. 1607.59 s [opt-env-conf-test] settingCompleter = Nothing,
  5450. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
  5451. 1607.59 s [opt-env-conf-test] @@ -936,7 +936,7 @@
  5452. 1607.59 s [opt-env-conf-test] Setting
  5453. 1607.59 s [opt-env-conf-test] { settingDasheds = [],
  5454. 1607.59 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  5455. 1607.59 s [opt-env-conf-test] - settingTryArgument = False,
  5456. 1607.59 s [opt-env-conf-test] + settingTryArgument = True,
  5457. 1607.59 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5458. 1607.59 s [opt-env-conf-test] settingTryOption = False,
  5459. 1607.59 s [opt-env-conf-test] settingEnvVars = Just ne,
  5460. 1607.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
  5461. 1607.59 s [opt-env-conf-test] @@ -938,7 +938,7 @@
  5462. 1607.59 s [opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
  5463. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5464. 1607.59 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5465. 1607.59 s [opt-env-conf-test] - settingTryOption = False,
  5466. 1607.59 s [opt-env-conf-test] + settingTryOption = True,
  5467. 1607.59 s [opt-env-conf-test] settingEnvVars = Just ne,
  5468. 1607.59 s [opt-env-conf-test] settingConfigVals = Nothing,
  5469. 1607.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5470. 1607.59 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
  5471. 1607.59 s [opt-env-conf-test] @@ -939,7 +939,7 @@
  5472. 1607.59 s [opt-env-conf-test] settingTryArgument = False,
  5473. 1607.59 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5474. 1609.50 s [opt-env-conf-test] settingTryOption = False,
  5475. 1609.50 s [opt-env-conf-test] - settingEnvVars = Just ne,
  5476. 1609.58 s [opt-env-conf-test] + settingEnvVars = Nothing,
  5477. 1609.58 s [opt-env-conf-test] settingConfigVals = Nothing,
  5478. 1609.58 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5479. 1609.58 s [opt-env-conf-test] settingExamples = [],
  5480. 1609.58 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
  5481. 1609.58 s [opt-env-conf-test] @@ -943,7 +943,7 @@
  5482. 1609.58 s [opt-env-conf-test] settingConfigVals = Nothing,
  5483. 1609.58 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5484. 1609.58 s [opt-env-conf-test] settingExamples = [],
  5485. 1609.58 s [opt-env-conf-test] - settingHidden = False,
  5486. 1609.58 s [opt-env-conf-test] + settingHidden = True,
  5487. 1609.58 s [opt-env-conf-test] settingMetavar = Just "BOOL",
  5488. 1609.58 s [opt-env-conf-test] settingHelp = settingHelp s,
  5489. 1609.58 s [opt-env-conf-test] settingCompleter = Nothing,
  5490. 1609.58 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
  5491. 1609.58 s [opt-env-conf-test] @@ -944,7 +944,7 @@
  5492. 1609.58 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5493. 1609.58 s [opt-env-conf-test] settingExamples = [],
  5494. 1609.58 s [opt-env-conf-test] settingHidden = False,
  5495. 1609.58 s [opt-env-conf-test] - settingMetavar = Just "BOOL",
  5496. 1609.58 s [opt-env-conf-test] + settingMetavar = Nothing,
  5497. 1609.58 s [opt-env-conf-test] settingHelp = settingHelp s,
  5498. 1609.58 s [opt-env-conf-test] settingCompleter = Nothing,
  5499. 1609.58 s [opt-env-conf-test] settingRequiredCapabilities = Set.empty
  5500. 1609.58 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
  5501. 1609.58 s [opt-env-conf-test] @@ -957,7 +957,7 @@
  5502. 1609.58 s [opt-env-conf-test] Setting
  5503. 1609.58 s [opt-env-conf-test] { settingDasheds = [],
  5504. 1609.58 s [opt-env-conf-test] settingReaders = [],
  5505. 1609.58 s [opt-env-conf-test] - settingTryArgument = False,
  5506. 1609.58 s [opt-env-conf-test] + settingTryArgument = True,
  5507. 1609.58 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5508. 1609.58 s [opt-env-conf-test] settingTryOption = False,
  5509. 1609.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5510. 1609.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
  5511. 1609.59 s [opt-env-conf-test] @@ -959,7 +959,7 @@
  5512. 1609.59 s [opt-env-conf-test] settingReaders = [],
  5513. 1609.59 s [opt-env-conf-test] settingTryArgument = False,
  5514. 1609.59 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5515. 1609.59 s [opt-env-conf-test] - settingTryOption = False,
  5516. 1609.59 s [opt-env-conf-test] + settingTryOption = True,
  5517. 1609.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5518. 1609.59 s [opt-env-conf-test] settingConfigVals = Just ne,
  5519. 1609.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5520. 1609.59 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
  5521. 1609.59 s [opt-env-conf-test] @@ -961,7 +961,7 @@
  5522. 1609.59 s [opt-env-conf-test] settingSwitchValue = Nothing,
  5523. 1609.59 s [opt-env-conf-test] settingTryOption = False,
  5524. 1609.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5525. 1609.59 s [opt-env-conf-test] - settingConfigVals = Just ne,
  5526. 1609.59 s [opt-env-conf-test] + settingConfigVals = Nothing,
  5527. 1609.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5528. 1609.59 s [opt-env-conf-test] settingExamples = [],
  5529. 1609.59 s [opt-env-conf-test] settingHidden = False,
  5530. 1609.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
  5531. 1609.59 s [opt-env-conf-test] @@ -964,7 +964,7 @@
  5532. 1609.59 s [opt-env-conf-test] settingConfigVals = Just ne,
  5533. 1609.59 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5534. 1609.59 s [opt-env-conf-test] settingExamples = [],
  5535. 1609.59 s [opt-env-conf-test] - settingHidden = False,
  5536. 1609.59 s [opt-env-conf-test] + settingHidden = True,
  5537. 1609.59 s [opt-env-conf-test] settingMetavar = Nothing,
  5538. 1609.59 s [opt-env-conf-test] settingHelp = settingHelp s,
  5539. 1609.59 s [opt-env-conf-test] settingCompleter = Nothing,
  5540. 1609.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
  5541. 1609.59 s [opt-env-conf-test] @@ -976,7 +976,7 @@
  5542. 1609.59 s [opt-env-conf-test] Setting
  5543. 1609.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  5544. 1609.59 s [opt-env-conf-test] settingReaders = [],
  5545. 1609.59 s [opt-env-conf-test] - settingTryArgument = False,
  5546. 1609.59 s [opt-env-conf-test] + settingTryArgument = True,
  5547. 1609.59 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  5548. 1609.59 s [opt-env-conf-test] settingTryOption = False,
  5549. 1609.59 s [opt-env-conf-test] settingEnvVars = Nothing,
  5550. 1609.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
  5551. 1609.59 s [opt-env-conf-test] @@ -977,7 +977,7 @@
  5552. 1609.59 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  5553. 1609.60 s [opt-env-conf-test] settingReaders = [],
  5554. 1609.60 s [opt-env-conf-test] settingTryArgument = False,
  5555. 1609.60 s [opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
  5556. 1609.60 s [opt-env-conf-test] + settingSwitchValue = Just False, -- Unused
  5557. 1609.60 s [opt-env-conf-test] settingTryOption = False,
  5558. 1609.60 s [opt-env-conf-test] settingEnvVars = Nothing,
  5559. 1609.60 s [opt-env-conf-test] settingConfigVals = Nothing,
  5560. 1609.60 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
  5561. 1609.60 s [opt-env-conf-test] @@ -977,7 +977,7 @@
  5562. 1609.60 s [opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
  5563. 1609.60 s [opt-env-conf-test] settingReaders = [],
  5564. 1609.60 s [opt-env-conf-test] settingTryArgument = False,
  5565. 1609.60 s [opt-env-conf-test] - settingSwitchValue = Just True, -- Unused
  5566. 1609.60 s [opt-env-conf-test] + settingSwitchValue = Nothing, -- Unused
  5567. 1609.60 s [opt-env-conf-test] settingTryOption = False,
  5568. 1609.60 s [opt-env-conf-test] settingEnvVars = Nothing,
  5569. 1609.60 s [opt-env-conf-test] settingConfigVals = Nothing,
  5570. 1609.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
  5571. 1609.60 s [opt-env-conf-test] @@ -978,7 +978,7 @@
  5572. 1609.60 s [opt-env-conf-test] settingReaders = [],
  5573. 1609.60 s [opt-env-conf-test] settingTryArgument = False,
  5574. 1609.60 s [opt-env-conf-test] settingSwitchValue = Just True, -- Unused
  5575. 1609.60 s [opt-env-conf-test] - settingTryOption = False,
  5576. 1609.60 s [opt-env-conf-test] + settingTryOption = True,
  5577. 1609.60 s [opt-env-conf-test] settingEnvVars = Nothing,
  5578. 1609.60 s [opt-env-conf-test] settingConfigVals = Nothing,
  5579. 1609.60 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5580. 1609.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
  5581. 1609.60 s [opt-env-conf-test] @@ -983,7 +983,7 @@
  5582. 1609.60 s [opt-env-conf-test] settingConfigVals = Nothing,
  5583. 1609.60 s [opt-env-conf-test] settingDefaultValue = Nothing,
  5584. 1609.60 s [opt-env-conf-test] settingExamples = [],
  5585. 1609.60 s [opt-env-conf-test] - settingHidden = False,
  5586. 1609.60 s [opt-env-conf-test] + settingHidden = True,
  5587. 1609.60 s [opt-env-conf-test] settingMetavar = Nothing,
  5588. 1609.60 s [opt-env-conf-test] settingHelp = settingHelp s,
  5589. 1609.60 s [opt-env-conf-test] settingCompleter = Nothing,
  5590. 1609.60 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  5591. 1609.60 s [opt-env-conf-test] @@ -480,10 +480,7 @@
  5592. 1609.60 s [opt-env-conf-test] withFrozenCallStack $
  5593. 1609.60 s [opt-env-conf-test] setting $
  5594. 1609.60 s [opt-env-conf-test] builders
  5595. 1609.60 s [opt-env-conf-test] - ++ [ reader str,
  5596. 1609.60 s [opt-env-conf-test] - metavar "FILE_PATH",
  5597. 1609.60 s [opt-env-conf-test] - completer filePath
  5598. 1609.60 s [opt-env-conf-test] ]
  5599. 1609.60 s [opt-env-conf-test]
  5600. 1609.60 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  5601. 1609.61 s [opt-env-conf-test] --
  5602. 1609.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  5603. 1609.61 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  5604. 1609.61 s [opt-env-conf-test] withFrozenCallStack $
  5605. 1609.61 s [opt-env-conf-test] setting $
  5606. 1609.61 s [opt-env-conf-test] builders
  5607. 1609.61 s [opt-env-conf-test] - ++ [ reader str,
  5608. 1609.61 s [opt-env-conf-test] metavar "FILE_PATH",
  5609. 1609.61 s [opt-env-conf-test] completer filePath
  5610. 1609.61 s [opt-env-conf-test] ]
  5611. 1609.61 s [opt-env-conf-test]
  5612. 1609.61 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  5613. 1609.61 s [opt-env-conf-test] --
  5614. 1609.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
  5615. 1609.61 s [opt-env-conf-test] @@ -480,10 +480,9 @@
  5616. 1609.61 s [opt-env-conf-test] withFrozenCallStack $
  5617. 1609.61 s [opt-env-conf-test] setting $
  5618. 1609.61 s [opt-env-conf-test] builders
  5619. 1609.61 s [opt-env-conf-test] ++ [ reader str,
  5620. 1609.61 s [opt-env-conf-test] metavar "FILE_PATH",
  5621. 1609.61 s [opt-env-conf-test] - completer filePath
  5622. 1609.61 s [opt-env-conf-test] ]
  5623. 1609.61 s [opt-env-conf-test]
  5624. 1609.61 s [opt-env-conf-test] -- | A setting for @Path Abs dir@.
  5625. 1609.61 s [opt-env-conf-test] --
  5626. 1609.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  5627. 1609.61 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  5628. 1609.61 s [opt-env-conf-test] long "config-file",
  5629. 1609.61 s [opt-env-conf-test] env "CONFIG_FILE",
  5630. 1609.61 s [opt-env-conf-test] help "Path to the configuration file",
  5631. 1609.61 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5632. 1609.61 s [opt-env-conf-test] ]
  5633. 1609.61 s [opt-env-conf-test]
  5634. 1609.61 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5635. 1609.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
  5636. 1609.61 s [opt-env-conf-test] @@ -826,7 +826,6 @@
  5637. 1609.61 s [opt-env-conf-test] long "config-file",
  5638. 1609.61 s [opt-env-conf-test] env "CONFIG_FILE",
  5639. 1609.61 s [opt-env-conf-test] help "Path to the configuration file",
  5640. 1609.61 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5641. 1609.61 s [opt-env-conf-test] ]
  5642. 1609.61 s [opt-env-conf-test]
  5643. 1609.61 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5644. 1609.61 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  5645. 1609.61 s [opt-env-conf-test] @@ -822,12 +822,7 @@
  5646. 1609.61 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  5647. 1609.61 s [opt-env-conf-test] configuredConfigFile =
  5648. 1609.61 s [opt-env-conf-test] filePathSetting
  5649. 1609.61 s [opt-env-conf-test] - [ option,
  5650. 1612.10 s [opt-env-conf-test] - long "config-file",
  5651. 1612.10 s [opt-env-conf-test] - env "CONFIG_FILE",
  5652. 1612.10 s [opt-env-conf-test] - help "Path to the configuration file",
  5653. 1612.10 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5654. 1612.10 s [opt-env-conf-test] ]
  5655. 1612.10 s [opt-env-conf-test]
  5656. 1612.10 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5657. 1612.10 s [opt-env-conf-test] --
  5658. 1612.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  5659. 1612.10 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  5660. 1612.10 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  5661. 1612.10 s [opt-env-conf-test] configuredConfigFile =
  5662. 1612.10 s [opt-env-conf-test] filePathSetting
  5663. 1612.10 s [opt-env-conf-test] - [ option,
  5664. 1612.10 s [opt-env-conf-test] long "config-file",
  5665. 1612.10 s [opt-env-conf-test] env "CONFIG_FILE",
  5666. 1612.10 s [opt-env-conf-test] help "Path to the configuration file",
  5667. 1612.10 s [opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
  5668. 1612.10 s [opt-env-conf-test] ]
  5669. 1612.10 s [opt-env-conf-test]
  5670. 1612.10 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5671. 1612.10 s [opt-env-conf-test] --
  5672. 1612.10 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
  5673. 1612.10 s [opt-env-conf-test] @@ -822,12 +822,11 @@
  5674. 1612.10 s [opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
  5675. 1612.10 s [opt-env-conf-test] configuredConfigFile =
  5676. 1612.10 s [opt-env-conf-test] filePathSetting
  5677. 1612.11 s [opt-env-conf-test] [ option,
  5678. 1612.11 s [opt-env-conf-test] long "config-file",
  5679. 1612.11 s [opt-env-conf-test] env "CONFIG_FILE",
  5680. 1612.11 s [opt-env-conf-test] help "Path to the configuration file",
  5681. 1612.11 s [opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
  5682. 1612.11 s [opt-env-conf-test] ]
  5683. 1612.11 s [opt-env-conf-test]
  5684. 1612.11 s [opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
  5685. 1612.11 s [opt-env-conf-test] --
  5686. 1612.11 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
  5687. 1612.11 s [opt-env-conf-test] @@ -771,7 +771,7 @@
  5688. 1612.11 s [opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
  5689. 1612.11 s [opt-env-conf-test] combineMaybeObjects Nothing mo = mo
  5690. 1612.11 s [opt-env-conf-test] combineMaybeObjects mo Nothing = mo
  5691. 1612.11 s [opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = Just (combiner o1 o2)
  5692. 1612.11 s [opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = Nothing
  5693. 1612.11 s [opt-env-conf-test]
  5694. 1612.11 s [opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
  5695. 1612.11 s [opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
  5696. 1612.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  5697. 1612.11 s [opt-env-conf-test] @@ -497,10 +497,7 @@
  5698. 1612.11 s [opt-env-conf-test] withFrozenCallStack $
  5699. 1612.11 s [opt-env-conf-test] setting $
  5700. 1612.11 s [opt-env-conf-test] builders
  5701. 1612.11 s [opt-env-conf-test] - ++ [ reader str,
  5702. 1612.11 s [opt-env-conf-test] - metavar "DIRECTORY_PATH",
  5703. 1612.11 s [opt-env-conf-test] - completer directoryPath
  5704. 1612.11 s [opt-env-conf-test] ]
  5705. 1612.11 s [opt-env-conf-test]
  5706. 1612.11 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  5707. 1612.11 s [opt-env-conf-test] --
  5708. 1612.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  5709. 1612.11 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  5710. 1612.11 s [opt-env-conf-test] withFrozenCallStack $
  5711. 1612.11 s [opt-env-conf-test] setting $
  5712. 1612.11 s [opt-env-conf-test] builders
  5713. 1612.11 s [opt-env-conf-test] - ++ [ reader str,
  5714. 1612.11 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  5715. 1612.12 s [opt-env-conf-test] completer directoryPath
  5716. 1612.12 s [opt-env-conf-test] ]
  5717. 1612.12 s [opt-env-conf-test]
  5718. 1612.12 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  5719. 1612.12 s [opt-env-conf-test] --
  5720. 1612.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
  5721. 1612.12 s [opt-env-conf-test] @@ -497,10 +497,9 @@
  5722. 1612.12 s [opt-env-conf-test] withFrozenCallStack $
  5723. 1612.12 s [opt-env-conf-test] setting $
  5724. 1612.12 s [opt-env-conf-test] builders
  5725. 1612.12 s [opt-env-conf-test] ++ [ reader str,
  5726. 1612.12 s [opt-env-conf-test] metavar "DIRECTORY_PATH",
  5727. 1612.12 s [opt-env-conf-test] - completer directoryPath
  5728. 1612.12 s [opt-env-conf-test] ]
  5729. 1612.12 s [opt-env-conf-test]
  5730. 1612.12 s [opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
  5731. 1612.12 s [opt-env-conf-test] --
  5732. 1612.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  5733. 1612.12 s [opt-env-conf-test] @@ -785,11 +785,10 @@
  5734. 1612.12 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  5735. 1612.12 s [opt-env-conf-test] mapIO
  5736. 1612.12 s [opt-env-conf-test] ( \mXdgDir -> do
  5737. 1612.12 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  5738. 1612.12 s [opt-env-conf-test] - Just d -> resolveDir' d
  5739. 1612.12 s [opt-env-conf-test] Nothing -> do
  5740. 1612.12 s [opt-env-conf-test] home <- getHomeDir
  5741. 1612.12 s [opt-env-conf-test] resolveDir home ".config"
  5742. 1612.12 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  5743. 1612.12 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  5744. 1612.12 s [opt-env-conf-test] )
  5745. 1612.12 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
  5746. 1612.12 s [opt-env-conf-test] @@ -785,11 +785,8 @@
  5747. 1612.12 s [opt-env-conf-test] xdgYamlConfigFile subdir =
  5748. 1612.12 s [opt-env-conf-test] mapIO
  5749. 1612.12 s [opt-env-conf-test] ( \mXdgDir -> do
  5750. 1612.12 s [opt-env-conf-test] xdgDir <- case mXdgDir of
  5751. 1612.12 s [opt-env-conf-test] Just d -> resolveDir' d
  5752. 1612.12 s [opt-env-conf-test] - Nothing -> do
  5753. 1612.12 s [opt-env-conf-test] - home <- getHomeDir
  5754. 1612.12 s [opt-env-conf-test] - resolveDir home ".config"
  5755. 1612.12 s [opt-env-conf-test] configDir <- resolveDir xdgDir subdir
  5756. 1612.12 s [opt-env-conf-test] resolveFile configDir "config.yaml"
  5757. 1612.12 s [opt-env-conf-test] )
  5758. 1612.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  5759. 1612.12 s [opt-env-conf-test] @@ -796,12 +796,7 @@
  5760. 1612.12 s [opt-env-conf-test] $ optional
  5761. 1612.12 s [opt-env-conf-test] $ withFrozenCallStack
  5762. 1612.12 s [opt-env-conf-test] $ setting
  5763. 1612.12 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  5764. 1612.12 s [opt-env-conf-test] - reader str,
  5765. 1612.12 s [opt-env-conf-test] - env "XDG_CONFIG_HOME",
  5766. 1612.12 s [opt-env-conf-test] - metavar "DIRECTORY",
  5767. 1612.12 s [opt-env-conf-test] - hidden
  5768. 1612.12 s [opt-env-conf-test] ]
  5769. 1612.12 s [opt-env-conf-test]
  5770. 1612.12 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  5771. 1612.12 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  5772. 1612.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  5773. 1612.12 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  5774. 1612.12 s [opt-env-conf-test] $ optional
  5775. 1612.12 s [opt-env-conf-test] $ withFrozenCallStack
  5776. 1612.12 s [opt-env-conf-test] $ setting
  5777. 1612.12 s [opt-env-conf-test] - [ help "Path to the XDG configuration directory",
  5778. 1612.12 s [opt-env-conf-test] reader str,
  5779. 1612.12 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  5780. 1612.12 s [opt-env-conf-test] metavar "DIRECTORY",
  5781. 1612.12 s [opt-env-conf-test] hidden
  5782. 1612.12 s [opt-env-conf-test] ]
  5783. 1612.12 s [opt-env-conf-test]
  5784. 1612.12 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  5785. 1612.12 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  5786. 1612.12 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
  5787. 1612.12 s [opt-env-conf-test] @@ -796,12 +796,11 @@
  5788. 1612.12 s [opt-env-conf-test] $ optional
  5789. 1612.12 s [opt-env-conf-test] $ withFrozenCallStack
  5790. 1612.13 s [opt-env-conf-test] $ setting
  5791. 1612.13 s [opt-env-conf-test] [ help "Path to the XDG configuration directory",
  5792. 1612.13 s [opt-env-conf-test] reader str,
  5793. 1612.13 s [opt-env-conf-test] env "XDG_CONFIG_HOME",
  5794. 1612.13 s [opt-env-conf-test] metavar "DIRECTORY",
  5795. 1612.13 s [opt-env-conf-test] - hidden
  5796. 1612.13 s [opt-env-conf-test] ]
  5797. 1612.13 s [opt-env-conf-test]
  5798. 1612.13 s [opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
  5799. 1612.13 s [opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
  5800. 1612.13 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  5801. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5802. 1612.13 s [opt-env-conf-test] where
  5803. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5804. 1612.13 s [opt-env-conf-test] go d = \case
  5805. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5806. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  5807. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5808. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5809. 1612.13 s [opt-env-conf-test] showString "Ap "
  5810. 1612.13 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  5811. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5812. 1612.13 s [opt-env-conf-test] where
  5813. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5814. 1612.13 s [opt-env-conf-test] go d = \case
  5815. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5816. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  5817. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5818. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5819. 1612.13 s [opt-env-conf-test] showString "Ap "
  5820. 1612.13 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
  5821. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5822. 1612.13 s [opt-env-conf-test] where
  5823. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5824. 1612.13 s [opt-env-conf-test] go d = \case
  5825. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5826. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  5827. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5828. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5829. 1612.13 s [opt-env-conf-test] showString "Ap "
  5830. 1612.13 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  5831. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5832. 1612.13 s [opt-env-conf-test] where
  5833. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5834. 1612.13 s [opt-env-conf-test] go d = \case
  5835. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5836. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
  5837. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5838. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5839. 1612.13 s [opt-env-conf-test] showString "Ap "
  5840. 1612.13 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  5841. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5842. 1612.13 s [opt-env-conf-test] where
  5843. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5844. 1612.13 s [opt-env-conf-test] go d = \case
  5845. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5846. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d <= 10) $ showString "Pure _"
  5847. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5848. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5849. 1612.13 s [opt-env-conf-test] showString "Ap "
  5850. 1612.13 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
  5851. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5852. 1612.13 s [opt-env-conf-test] where
  5853. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5854. 1612.13 s [opt-env-conf-test] go d = \case
  5855. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5856. 1612.13 s [opt-env-conf-test] + ParserPure _ -> showParen (d >= 10) $ showString "Pure _"
  5857. 1612.13 s [opt-env-conf-test] ParserAp pf pa ->
  5858. 1612.13 s [opt-env-conf-test] showParen (d > 10) $
  5859. 1612.13 s [opt-env-conf-test] showString "Ap "
  5860. 1612.13 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  5861. 1612.13 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5862. 1612.13 s [opt-env-conf-test] where
  5863. 1612.13 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5864. 1612.13 s [opt-env-conf-test] go d = \case
  5865. 1612.13 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5866. 1619.55 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  5867. 1619.55 s [opt-env-conf-test] ParserAp pf pa ->
  5868. 1619.58 s [opt-env-conf-test] showParen (d > 10) $
  5869. 1619.58 s [opt-env-conf-test] showString "Ap "
  5870. 1619.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  5871. 1619.58 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5872. 1619.58 s [opt-env-conf-test] where
  5873. 1619.58 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5874. 1619.58 s [opt-env-conf-test] go d = \case
  5875. 1619.58 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5876. 1619.58 s [opt-env-conf-test] + ParserPure _ -> showParen (False) $ showString "Pure _"
  5877. 1619.58 s [opt-env-conf-test] ParserAp pf pa ->
  5878. 1619.59 s [opt-env-conf-test] showParen (d > 10) $
  5879. 1619.59 s [opt-env-conf-test] showString "Ap "
  5880. 1619.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
  5881. 1619.59 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5882. 1619.59 s [opt-env-conf-test] where
  5883. 1619.59 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5884. 1619.59 s [opt-env-conf-test] go d = \case
  5885. 1619.59 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5886. 1619.59 s [opt-env-conf-test] + ParserPure _ -> showParen (not (d > 10)) $ showString "Pure _"
  5887. 1619.59 s [opt-env-conf-test] ParserAp pf pa ->
  5888. 1619.59 s [opt-env-conf-test] showParen (d > 10) $
  5889. 1619.59 s [opt-env-conf-test] showString "Ap "
  5890. 1619.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  5891. 1619.59 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5892. 1619.59 s [opt-env-conf-test] where
  5893. 1619.59 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5894. 1619.59 s [opt-env-conf-test] go d = \case
  5895. 1619.59 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5896. 1619.59 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  5897. 1619.59 s [opt-env-conf-test] ParserAp pf pa ->
  5898. 1619.59 s [opt-env-conf-test] showParen (d > 10) $
  5899. 1619.59 s [opt-env-conf-test] showString "Ap "
  5900. 1619.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  5901. 1619.59 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5902. 1619.59 s [opt-env-conf-test] where
  5903. 1619.59 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5904. 1619.59 s [opt-env-conf-test] go d = \case
  5905. 1619.59 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5906. 1619.59 s [opt-env-conf-test] + ParserPure _ -> showParen False $ showString "Pure _"
  5907. 1619.59 s [opt-env-conf-test] ParserAp pf pa ->
  5908. 1619.59 s [opt-env-conf-test] showParen (d > 10) $
  5909. 1619.59 s [opt-env-conf-test] showString "Ap "
  5910. 1619.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
  5911. 1619.59 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  5912. 1619.59 s [opt-env-conf-test] where
  5913. 1619.59 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  5914. 1619.59 s [opt-env-conf-test] go d = \case
  5915. 1619.59 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5916. 1619.59 s [opt-env-conf-test] + ParserPure _ -> showParen not ((d > 10)) $ showString "Pure _"
  5917. 1619.59 s [opt-env-conf-test] ParserAp pf pa ->
  5918. 1619.60 s [opt-env-conf-test] showParen (d > 10) $
  5919. 1619.60 s [opt-env-conf-test] showString "Ap "
  5920. 1619.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  5921. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5922. 1619.60 s [opt-env-conf-test] go d = \case
  5923. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5924. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5925. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5926. 1619.60 s [opt-env-conf-test] + showParen (d > 0) $
  5927. 1619.60 s [opt-env-conf-test] showString "Ap "
  5928. 1619.60 s [opt-env-conf-test] . go 11 pf
  5929. 1619.60 s [opt-env-conf-test] . showString " "
  5930. 1619.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  5931. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5932. 1619.60 s [opt-env-conf-test] go d = \case
  5933. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5934. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5935. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5936. 1619.60 s [opt-env-conf-test] + showParen (d > 1) $
  5937. 1619.60 s [opt-env-conf-test] showString "Ap "
  5938. 1619.60 s [opt-env-conf-test] . go 11 pf
  5939. 1619.60 s [opt-env-conf-test] . showString " "
  5940. 1619.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
  5941. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5942. 1619.60 s [opt-env-conf-test] go d = \case
  5943. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5944. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5945. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5946. 1619.60 s [opt-env-conf-test] + showParen (d > -10) $
  5947. 1619.60 s [opt-env-conf-test] showString "Ap "
  5948. 1619.60 s [opt-env-conf-test] . go 11 pf
  5949. 1619.60 s [opt-env-conf-test] . showString " "
  5950. 1619.60 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  5951. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5952. 1619.60 s [opt-env-conf-test] go d = \case
  5953. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5954. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5955. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5956. 1619.60 s [opt-env-conf-test] + showParen (d < 10) $
  5957. 1619.60 s [opt-env-conf-test] showString "Ap "
  5958. 1619.60 s [opt-env-conf-test] . go 11 pf
  5959. 1619.60 s [opt-env-conf-test] . showString " "
  5960. 1619.60 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  5961. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5962. 1619.60 s [opt-env-conf-test] go d = \case
  5963. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5964. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5965. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5966. 1619.60 s [opt-env-conf-test] + showParen (d <= 10) $
  5967. 1619.60 s [opt-env-conf-test] showString "Ap "
  5968. 1619.60 s [opt-env-conf-test] . go 11 pf
  5969. 1619.60 s [opt-env-conf-test] . showString " "
  5970. 1619.60 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
  5971. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5972. 1619.60 s [opt-env-conf-test] go d = \case
  5973. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5974. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5975. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5976. 1619.60 s [opt-env-conf-test] + showParen (d >= 10) $
  5977. 1619.60 s [opt-env-conf-test] showString "Ap "
  5978. 1619.60 s [opt-env-conf-test] . go 11 pf
  5979. 1619.60 s [opt-env-conf-test] . showString " "
  5980. 1619.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  5981. 1619.60 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5982. 1619.60 s [opt-env-conf-test] go d = \case
  5983. 1619.60 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5984. 1619.60 s [opt-env-conf-test] ParserAp pf pa ->
  5985. 1619.60 s [opt-env-conf-test] - showParen (d > 10) $
  5986. 1619.60 s [opt-env-conf-test] + showParen (True) $
  5987. 1619.60 s [opt-env-conf-test] showString "Ap "
  5988. 1619.60 s [opt-env-conf-test] . go 11 pf
  5989. 1619.60 s [opt-env-conf-test] . showString " "
  5990. 1619.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  5991. 1619.61 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  5992. 1619.61 s [opt-env-conf-test] go d = \case
  5993. 1619.61 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  5994. 1619.61 s [opt-env-conf-test] ParserAp pf pa ->
  5995. 1619.61 s [opt-env-conf-test] - showParen (d > 10) $
  5996. 1619.61 s [opt-env-conf-test] + showParen (False) $
  5997. 1619.61 s [opt-env-conf-test] showString "Ap "
  5998. 1619.61 s [opt-env-conf-test] . go 11 pf
  5999. 1619.61 s [opt-env-conf-test] . showString " "
  6000. 1619.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
  6001. 1619.61 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6002. 1619.61 s [opt-env-conf-test] go d = \case
  6003. 1619.61 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6004. 1619.61 s [opt-env-conf-test] ParserAp pf pa ->
  6005. 1619.61 s [opt-env-conf-test] - showParen (d > 10) $
  6006. 1619.61 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6007. 1619.61 s [opt-env-conf-test] showString "Ap "
  6008. 1619.61 s [opt-env-conf-test] . go 11 pf
  6009. 1619.61 s [opt-env-conf-test] . showString " "
  6010. 1619.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  6011. 1619.61 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6012. 1619.61 s [opt-env-conf-test] go d = \case
  6013. 1619.61 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6014. 1619.61 s [opt-env-conf-test] ParserAp pf pa ->
  6015. 1619.61 s [opt-env-conf-test] - showParen (d > 10) $
  6016. 1619.61 s [opt-env-conf-test] + showParen True $
  6017. 1619.61 s [opt-env-conf-test] showString "Ap "
  6018. 1619.61 s [opt-env-conf-test] . go 11 pf
  6019. 1619.61 s [opt-env-conf-test] . showString " "
  6020. 1619.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  6021. 1619.61 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6022. 1619.61 s [opt-env-conf-test] go d = \case
  6023. 1619.61 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6024. 1619.61 s [opt-env-conf-test] ParserAp pf pa ->
  6025. 1619.61 s [opt-env-conf-test] - showParen (d > 10) $
  6026. 1619.61 s [opt-env-conf-test] + showParen False $
  6027. 1619.61 s [opt-env-conf-test] showString "Ap "
  6028. 1619.61 s [opt-env-conf-test] . go 11 pf
  6029. 1619.61 s [opt-env-conf-test] . showString " "
  6030. 1619.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
  6031. 1619.61 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  6032. 1619.61 s [opt-env-conf-test] go d = \case
  6033. 1619.61 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  6034. 1619.61 s [opt-env-conf-test] ParserAp pf pa ->
  6035. 1619.61 s [opt-env-conf-test] - showParen (d > 10) $
  6036. 1619.61 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6037. 1619.61 s [opt-env-conf-test] showString "Ap "
  6038. 1619.61 s [opt-env-conf-test] . go 11 pf
  6039. 1619.62 s [opt-env-conf-test] . showString " "
  6040. 1619.62 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6041. 1619.62 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6042. 1619.62 s [opt-env-conf-test] where
  6043. 1619.62 s [opt-env-conf-test] go p =
  6044. 1619.62 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6045. 1619.62 s [opt-env-conf-test] in case p of
  6046. 1619.62 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6047. 1619.62 s [opt-env-conf-test] ParserAp {} -> p'
  6048. 1619.62 s [opt-env-conf-test] ParserSelect {} -> p'
  6049. 1619.62 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6050. 1625.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6051. 1626.01 s [opt-env-conf-test] - ParserMany {} -> p'
  6052. 1626.01 s [opt-env-conf-test] ParserSome {} -> p'
  6053. 1626.01 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6054. 1626.01 s [opt-env-conf-test] ParserCheck {} -> p'
  6055. 1626.01 s [opt-env-conf-test] ParserCommands {} -> p'
  6056. 1626.01 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6057. 1626.01 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6058. 1626.01 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6059. 1626.01 s [opt-env-conf-test] Just _ -> p
  6060. 1626.01 s [opt-env-conf-test]
  6061. 1626.01 s [opt-env-conf-test] -- | Try a list of parsers in order
  6062. 1626.01 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6063. 1626.01 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6064. 1626.01 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6065. 1626.01 s [opt-env-conf-test] ParserAp pf pa ->
  6066. 1626.01 s [opt-env-conf-test] showParen (d > 10) $
  6067. 1626.01 s [opt-env-conf-test] showString "Ap "
  6068. 1626.01 s [opt-env-conf-test] - . go 11 pf
  6069. 1626.01 s [opt-env-conf-test] + . go 1 pf
  6070. 1626.01 s [opt-env-conf-test] . showString " "
  6071. 1626.01 s [opt-env-conf-test] . go 11 pa
  6072. 1626.01 s [opt-env-conf-test] ParserSelect pe pf ->
  6073. 1626.01 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6074. 1626.02 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6075. 1626.02 s [opt-env-conf-test] ParserAp pf pa ->
  6076. 1626.02 s [opt-env-conf-test] showParen (d > 10) $
  6077. 1626.02 s [opt-env-conf-test] showString "Ap "
  6078. 1626.02 s [opt-env-conf-test] - . go 11 pf
  6079. 1626.02 s [opt-env-conf-test] + . go -11 pf
  6080. 1626.02 s [opt-env-conf-test] . showString " "
  6081. 1626.02 s [opt-env-conf-test] . go 11 pa
  6082. 1626.02 s [opt-env-conf-test] ParserSelect pe pf ->
  6083. 1626.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6084. 1626.02 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6085. 1626.02 s [opt-env-conf-test] showString "Ap "
  6086. 1626.02 s [opt-env-conf-test] . go 11 pf
  6087. 1626.02 s [opt-env-conf-test] . showString " "
  6088. 1626.02 s [opt-env-conf-test] - . go 11 pa
  6089. 1626.02 s [opt-env-conf-test] + . go 0 pa
  6090. 1626.02 s [opt-env-conf-test] ParserSelect pe pf ->
  6091. 1626.02 s [opt-env-conf-test] showParen (d > 10) $
  6092. 1626.02 s [opt-env-conf-test] showString "Select "
  6093. 1626.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6094. 1626.02 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6095. 1626.02 s [opt-env-conf-test] showString "Ap "
  6096. 1626.02 s [opt-env-conf-test] . go 11 pf
  6097. 1626.02 s [opt-env-conf-test] . showString " "
  6098. 1626.02 s [opt-env-conf-test] - . go 11 pa
  6099. 1626.02 s [opt-env-conf-test] + . go 1 pa
  6100. 1626.02 s [opt-env-conf-test] ParserSelect pe pf ->
  6101. 1626.02 s [opt-env-conf-test] showParen (d > 10) $
  6102. 1626.02 s [opt-env-conf-test] showString "Select "
  6103. 1626.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
  6104. 1626.02 s [opt-env-conf-test] @@ -307,7 +307,7 @@
  6105. 1626.02 s [opt-env-conf-test] showString "Ap "
  6106. 1626.02 s [opt-env-conf-test] . go 11 pf
  6107. 1626.02 s [opt-env-conf-test] . showString " "
  6108. 1626.02 s [opt-env-conf-test] - . go 11 pa
  6109. 1626.02 s [opt-env-conf-test] + . go -11 pa
  6110. 1626.02 s [opt-env-conf-test] ParserSelect pe pf ->
  6111. 1626.02 s [opt-env-conf-test] showParen (d > 10) $
  6112. 1626.02 s [opt-env-conf-test] showString "Select "
  6113. 1626.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6114. 1626.02 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6115. 1626.02 s [opt-env-conf-test] . showString " "
  6116. 1626.02 s [opt-env-conf-test] . go 11 pa
  6117. 1626.02 s [opt-env-conf-test] ParserSelect pe pf ->
  6118. 1626.02 s [opt-env-conf-test] - showParen (d > 10) $
  6119. 1626.02 s [opt-env-conf-test] + showParen (d > 0) $
  6120. 1626.02 s [opt-env-conf-test] showString "Select "
  6121. 1626.02 s [opt-env-conf-test] . go 11 pe
  6122. 1626.02 s [opt-env-conf-test] . showString " "
  6123. 1626.02 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6124. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6125. 1626.03 s [opt-env-conf-test] . showString " "
  6126. 1626.03 s [opt-env-conf-test] . go 11 pa
  6127. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6128. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6129. 1626.03 s [opt-env-conf-test] + showParen (d > 1) $
  6130. 1626.03 s [opt-env-conf-test] showString "Select "
  6131. 1626.03 s [opt-env-conf-test] . go 11 pe
  6132. 1626.03 s [opt-env-conf-test] . showString " "
  6133. 1626.03 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
  6134. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6135. 1626.03 s [opt-env-conf-test] . showString " "
  6136. 1626.03 s [opt-env-conf-test] . go 11 pa
  6137. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6138. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6139. 1626.03 s [opt-env-conf-test] + showParen (d > -10) $
  6140. 1626.03 s [opt-env-conf-test] showString "Select "
  6141. 1626.03 s [opt-env-conf-test] . go 11 pe
  6142. 1626.03 s [opt-env-conf-test] . showString " "
  6143. 1626.03 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6144. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6145. 1626.03 s [opt-env-conf-test] . showString " "
  6146. 1626.03 s [opt-env-conf-test] . go 11 pa
  6147. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6148. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6149. 1626.03 s [opt-env-conf-test] + showParen (d < 10) $
  6150. 1626.03 s [opt-env-conf-test] showString "Select "
  6151. 1626.03 s [opt-env-conf-test] . go 11 pe
  6152. 1626.03 s [opt-env-conf-test] . showString " "
  6153. 1626.03 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6154. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6155. 1626.03 s [opt-env-conf-test] . showString " "
  6156. 1626.03 s [opt-env-conf-test] . go 11 pa
  6157. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6158. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6159. 1626.03 s [opt-env-conf-test] + showParen (d <= 10) $
  6160. 1626.03 s [opt-env-conf-test] showString "Select "
  6161. 1626.03 s [opt-env-conf-test] . go 11 pe
  6162. 1626.03 s [opt-env-conf-test] . showString " "
  6163. 1626.03 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
  6164. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6165. 1626.03 s [opt-env-conf-test] . showString " "
  6166. 1626.03 s [opt-env-conf-test] . go 11 pa
  6167. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6168. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6169. 1626.03 s [opt-env-conf-test] + showParen (d >= 10) $
  6170. 1626.03 s [opt-env-conf-test] showString "Select "
  6171. 1626.03 s [opt-env-conf-test] . go 11 pe
  6172. 1626.03 s [opt-env-conf-test] . showString " "
  6173. 1626.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  6174. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6175. 1626.03 s [opt-env-conf-test] . showString " "
  6176. 1626.03 s [opt-env-conf-test] . go 11 pa
  6177. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6178. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6179. 1626.03 s [opt-env-conf-test] + showParen (True) $
  6180. 1626.03 s [opt-env-conf-test] showString "Select "
  6181. 1626.03 s [opt-env-conf-test] . go 11 pe
  6182. 1626.03 s [opt-env-conf-test] . showString " "
  6183. 1626.03 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
  6184. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6185. 1626.03 s [opt-env-conf-test] . showString " "
  6186. 1626.03 s [opt-env-conf-test] . go 11 pa
  6187. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6188. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6189. 1626.03 s [opt-env-conf-test] + showParen (False) $
  6190. 1626.03 s [opt-env-conf-test] showString "Select "
  6191. 1626.03 s [opt-env-conf-test] . go 11 pe
  6192. 1626.03 s [opt-env-conf-test] . showString " "
  6193. 1626.03 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
  6194. 1626.03 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6195. 1626.03 s [opt-env-conf-test] . showString " "
  6196. 1626.03 s [opt-env-conf-test] . go 11 pa
  6197. 1626.03 s [opt-env-conf-test] ParserSelect pe pf ->
  6198. 1626.03 s [opt-env-conf-test] - showParen (d > 10) $
  6199. 1626.03 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6200. 1626.03 s [opt-env-conf-test] showString "Select "
  6201. 1626.03 s [opt-env-conf-test] . go 11 pe
  6202. 1626.04 s [opt-env-conf-test] . showString " "
  6203. 1626.04 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
  6204. 1626.04 s [opt-env-conf-test] @@ -305,7 +305,7 @@
  6205. 1626.04 s [opt-env-conf-test] ParserAp pf pa ->
  6206. 1626.04 s [opt-env-conf-test] showParen (d > 10) $
  6207. 1626.04 s [opt-env-conf-test] showString "Ap "
  6208. 1626.04 s [opt-env-conf-test] - . go 11 pf
  6209. 1626.04 s [opt-env-conf-test] + . go 0 pf
  6210. 1626.04 s [opt-env-conf-test] . showString " "
  6211. 1626.04 s [opt-env-conf-test] . go 11 pa
  6212. 1626.04 s [opt-env-conf-test] ParserSelect pe pf ->
  6213. 1626.04 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  6214. 1626.04 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  6215. 1626.04 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  6216. 1626.04 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  6217. 1626.04 s [opt-env-conf-test] fileSetting p f = do
  6218. 1626.04 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  6219. 1626.04 s [opt-env-conf-test] guard $ p s
  6220. 1626.04 s [opt-env-conf-test] pure $
  6221. 1626.04 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  6222. 1626.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6223. 1626.04 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6224. 1626.04 s [opt-env-conf-test] where
  6225. 1626.04 s [opt-env-conf-test] go p =
  6226. 1626.04 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6227. 1626.04 s [opt-env-conf-test] in case p of
  6228. 1626.04 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6229. 1626.04 s [opt-env-conf-test] ParserAp {} -> p'
  6230. 1626.04 s [opt-env-conf-test] ParserSelect {} -> p'
  6231. 1626.04 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6232. 1626.04 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6233. 1626.04 s [opt-env-conf-test] ParserMany {} -> p'
  6234. 1626.04 s [opt-env-conf-test] - ParserSome {} -> p'
  6235. 1626.04 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6236. 1626.04 s [opt-env-conf-test] ParserCheck {} -> p'
  6237. 1626.04 s [opt-env-conf-test] ParserCommands {} -> p'
  6238. 1626.04 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6239. 1626.04 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6240. 1626.04 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6241. 1626.04 s [opt-env-conf-test] Just _ -> p
  6242. 1626.04 s [opt-env-conf-test]
  6243. 1626.04 s [opt-env-conf-test] -- | Try a list of parsers in order
  6244. 1626.04 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6245. 1626.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6246. 1626.04 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6247. 1626.04 s [opt-env-conf-test] where
  6248. 1626.04 s [opt-env-conf-test] go p =
  6249. 1626.04 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6250. 1626.04 s [opt-env-conf-test] in case p of
  6251. 1626.04 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  6252. 1626.04 s [opt-env-conf-test] ParserAp {} -> p'
  6253. 1626.04 s [opt-env-conf-test] ParserSelect {} -> p'
  6254. 1626.04 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6255. 1626.04 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6256. 1626.04 s [opt-env-conf-test] ParserMany {} -> p'
  6257. 1626.04 s [opt-env-conf-test] ParserSome {} -> p'
  6258. 1626.04 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6259. 1629.89 s [opt-env-conf-test] ParserCheck {} -> p'
  6260. 1629.89 s [opt-env-conf-test] ParserCommands {} -> p'
  6261. 1629.89 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6262. 1629.89 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6263. 1629.89 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6264. 1629.90 s [opt-env-conf-test] Just _ -> p
  6265. 1629.90 s [opt-env-conf-test]
  6266. 1629.90 s [opt-env-conf-test] -- | Try a list of parsers in order
  6267. 1629.90 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6268. 1629.90 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
  6269. 1629.90 s [opt-env-conf-test] @@ -1060,7 +1060,7 @@
  6270. 1629.90 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  6271. 1629.90 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  6272. 1629.90 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  6273. 1629.90 s [opt-env-conf-test] - i -> Just i
  6274. 1629.90 s [opt-env-conf-test] + i -> Nothing
  6275. 1629.90 s [opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
  6276. 1629.90 s [opt-env-conf-test] BuildTryArgument -> Nothing
  6277. 1629.90 s [opt-env-conf-test] BuildTryOption -> Nothing
  6278. 1629.90 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
  6279. 1629.90 s [opt-env-conf-test] @@ -1081,7 +1081,7 @@
  6280. 1629.90 s [opt-env-conf-test] suffixEnvVarSetting "_FILE" e
  6281. 1629.90 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  6282. 1629.90 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  6283. 1629.90 s [opt-env-conf-test] - i -> Just i
  6284. 1629.90 s [opt-env-conf-test] + i -> Nothing
  6285. 1629.90 s [opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
  6286. 1629.90 s [opt-env-conf-test] BuildTryArgument -> Nothing
  6287. 1629.90 s [opt-env-conf-test] BuildTryOption -> Nothing
  6288. 1629.90 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6289. 1629.90 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6290. 1629.90 s [opt-env-conf-test] where
  6291. 1629.90 s [opt-env-conf-test] go p =
  6292. 1629.90 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6293. 1629.90 s [opt-env-conf-test] in case p of
  6294. 1629.90 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6295. 1629.90 s [opt-env-conf-test] ParserAp {} -> p'
  6296. 1629.90 s [opt-env-conf-test] ParserSelect {} -> p'
  6297. 1629.90 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6298. 1629.90 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6299. 1629.90 s [opt-env-conf-test] ParserMany {} -> p'
  6300. 1629.90 s [opt-env-conf-test] ParserSome {} -> p'
  6301. 1629.90 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  6302. 1629.90 s [opt-env-conf-test] ParserCheck {} -> p'
  6303. 1629.90 s [opt-env-conf-test] ParserCommands {} -> p'
  6304. 1629.90 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6305. 1629.90 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6306. 1629.90 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6307. 1629.91 s [opt-env-conf-test] Just _ -> p
  6308. 1629.91 s [opt-env-conf-test]
  6309. 1629.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  6310. 1629.91 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6311. 1629.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  6312. 1629.91 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6313. 1629.91 s [opt-env-conf-test] . showString " "
  6314. 1629.91 s [opt-env-conf-test] . go 11 pa
  6315. 1629.91 s [opt-env-conf-test] ParserSelect pe pf ->
  6316. 1629.91 s [opt-env-conf-test] - showParen (d > 10) $
  6317. 1629.91 s [opt-env-conf-test] + showParen True $
  6318. 1629.91 s [opt-env-conf-test] showString "Select "
  6319. 1629.91 s [opt-env-conf-test] . go 11 pe
  6320. 1629.91 s [opt-env-conf-test] . showString " "
  6321. 1629.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
  6322. 1629.91 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6323. 1629.91 s [opt-env-conf-test] . showString " "
  6324. 1629.91 s [opt-env-conf-test] . go 11 pa
  6325. 1629.91 s [opt-env-conf-test] ParserSelect pe pf ->
  6326. 1629.91 s [opt-env-conf-test] - showParen (d > 10) $
  6327. 1629.91 s [opt-env-conf-test] + showParen False $
  6328. 1629.91 s [opt-env-conf-test] showString "Select "
  6329. 1629.91 s [opt-env-conf-test] . go 11 pe
  6330. 1629.91 s [opt-env-conf-test] . showString " "
  6331. 1629.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6332. 1629.91 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6333. 1629.91 s [opt-env-conf-test] where
  6334. 1629.91 s [opt-env-conf-test] go p =
  6335. 1629.91 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6336. 1629.91 s [opt-env-conf-test] in case p of
  6337. 1629.91 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6338. 1629.91 s [opt-env-conf-test] - ParserAp {} -> p'
  6339. 1629.91 s [opt-env-conf-test] ParserSelect {} -> p'
  6340. 1629.91 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6341. 1629.91 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6342. 1629.91 s [opt-env-conf-test] ParserMany {} -> p'
  6343. 1629.91 s [opt-env-conf-test] ParserSome {} -> p'
  6344. 1629.91 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6345. 1629.91 s [opt-env-conf-test] ParserCheck {} -> p'
  6346. 1629.91 s [opt-env-conf-test] ParserCommands {} -> p'
  6347. 1629.91 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6348. 1629.91 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6349. 1629.91 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6350. 1629.91 s [opt-env-conf-test] Just _ -> p
  6351. 1629.91 s [opt-env-conf-test]
  6352. 1629.91 s [opt-env-conf-test] -- | Try a list of parsers in order
  6353. 1629.91 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6354. 1629.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6355. 1629.91 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6356. 1629.91 s [opt-env-conf-test] where
  6357. 1629.91 s [opt-env-conf-test] go p =
  6358. 1629.91 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6359. 1629.92 s [opt-env-conf-test] in case p of
  6360. 1629.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6361. 1629.92 s [opt-env-conf-test] ParserAp {} -> p'
  6362. 1629.92 s [opt-env-conf-test] ParserSelect {} -> p'
  6363. 1629.92 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  6364. 1629.92 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6365. 1629.92 s [opt-env-conf-test] ParserMany {} -> p'
  6366. 1629.92 s [opt-env-conf-test] ParserSome {} -> p'
  6367. 1629.92 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6368. 1629.92 s [opt-env-conf-test] ParserCheck {} -> p'
  6369. 1629.92 s [opt-env-conf-test] ParserCommands {} -> p'
  6370. 1629.92 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6371. 1629.92 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6372. 1629.92 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6373. 1629.92 s [opt-env-conf-test] Just _ -> p
  6374. 1629.92 s [opt-env-conf-test]
  6375. 1629.92 s [opt-env-conf-test] -- | Try a list of parsers in order
  6376. 1629.92 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6377. 1629.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6378. 1629.92 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6379. 1629.92 s [opt-env-conf-test] where
  6380. 1629.92 s [opt-env-conf-test] go p =
  6381. 1629.92 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6382. 1629.92 s [opt-env-conf-test] in case p of
  6383. 1629.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6384. 1629.92 s [opt-env-conf-test] ParserAp {} -> p'
  6385. 1629.92 s [opt-env-conf-test] - ParserSelect {} -> p'
  6386. 1629.92 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6387. 1629.92 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6388. 1629.92 s [opt-env-conf-test] ParserMany {} -> p'
  6389. 1629.92 s [opt-env-conf-test] ParserSome {} -> p'
  6390. 1629.92 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6391. 1629.92 s [opt-env-conf-test] ParserCheck {} -> p'
  6392. 1629.92 s [opt-env-conf-test] ParserCommands {} -> p'
  6393. 1629.92 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6394. 1629.92 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6395. 1629.92 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6396. 1629.92 s [opt-env-conf-test] Just _ -> p
  6397. 1629.92 s [opt-env-conf-test]
  6398. 1629.92 s [opt-env-conf-test] -- | Try a list of parsers in order
  6399. 1629.92 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6400. 1629.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6401. 1629.92 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6402. 1629.92 s [opt-env-conf-test] where
  6403. 1629.92 s [opt-env-conf-test] go p =
  6404. 1629.92 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6405. 1629.92 s [opt-env-conf-test] in case p of
  6406. 1629.92 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6407. 1629.92 s [opt-env-conf-test] ParserAp {} -> p'
  6408. 1629.92 s [opt-env-conf-test] ParserSelect {} -> p'
  6409. 1629.93 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6410. 1629.93 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6411. 1629.93 s [opt-env-conf-test] ParserMany {} -> p'
  6412. 1629.93 s [opt-env-conf-test] ParserSome {} -> p'
  6413. 1629.93 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6414. 1629.93 s [opt-env-conf-test] ParserCheck {} -> p'
  6415. 1629.93 s [opt-env-conf-test] ParserCommands {} -> p'
  6416. 1629.93 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6417. 1629.93 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6418. 1629.93 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6419. 1629.93 s [opt-env-conf-test] Just _ -> p
  6420. 1629.93 s [opt-env-conf-test]
  6421. 1629.93 s [opt-env-conf-test] -- | Try a list of parsers in order
  6422. 1629.93 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6423. 1629.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  6424. 1629.93 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  6425. 1629.93 s [opt-env-conf-test] ParserCheck {} -> p'
  6426. 1629.93 s [opt-env-conf-test] ParserCommands {} -> p'
  6427. 1629.93 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6428. 1629.93 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6429. 1629.93 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6430. 1629.93 s [opt-env-conf-test] Just _ -> p
  6431. 1629.93 s [opt-env-conf-test]
  6432. 1629.93 s [opt-env-conf-test] -- | Try a list of parsers in order
  6433. 1629.93 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6434. 1629.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
  6435. 1629.93 s [opt-env-conf-test] @@ -671,9 +671,8 @@
  6436. 1629.93 s [opt-env-conf-test] checkMapMaybeForgivable func p =
  6437. 1629.93 s [opt-env-conf-test] withFrozenCallStack $
  6438. 1629.93 s [opt-env-conf-test] checkMapEitherForgivable
  6439. 1629.93 s [opt-env-conf-test] ( \a -> case func a of
  6440. 1629.93 s [opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
  6441. 1629.93 s [opt-env-conf-test] - Just b -> Right b
  6442. 1629.93 s [opt-env-conf-test] )
  6443. 1629.93 s [opt-env-conf-test] p
  6444. 1629.93 s [opt-env-conf-test]
  6445. 1629.93 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
  6446. 1629.93 s [opt-env-conf-test] @@ -702,7 +702,7 @@
  6447. 1629.93 s [opt-env-conf-test] let (mDefault, cs) = go bs
  6448. 1629.93 s [opt-env-conf-test] in case b of
  6449. 1629.93 s [opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
  6450. 1629.93 s [opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  6451. 1640.76 s [opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> Nothing, cs)
  6452. 1640.79 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  6453. 1640.79 s [opt-env-conf-test]
  6454. 1640.79 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  6455. 1640.79 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  6456. 1640.79 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  6457. 1640.79 s [opt-env-conf-test] ParserCheck {} -> p'
  6458. 1640.79 s [opt-env-conf-test] ParserCommands {} -> p'
  6459. 1640.79 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6460. 1640.79 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6461. 1640.79 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6462. 1640.79 s [opt-env-conf-test] - Just _ -> p
  6463. 1640.79 s [opt-env-conf-test]
  6464. 1640.79 s [opt-env-conf-test] -- | Try a list of parsers in order
  6465. 1640.79 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6466. 1640.79 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
  6467. 1640.79 s [opt-env-conf-test] @@ -1099,7 +1099,7 @@
  6468. 1640.79 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  6469. 1640.79 s [opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
  6470. 1640.79 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  6471. 1640.79 s [opt-env-conf-test] - i -> Just i
  6472. 1640.79 s [opt-env-conf-test] + i -> Nothing
  6473. 1640.79 s [opt-env-conf-test]
  6474. 1640.79 s [opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
  6475. 1640.79 s [opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
  6476. 1640.79 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
  6477. 1640.79 s [opt-env-conf-test] @@ -560,7 +560,7 @@
  6478. 1640.79 s [opt-env-conf-test] ParserCommands {} -> p'
  6479. 1640.79 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6480. 1640.79 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6481. 1640.80 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6482. 1640.80 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Nothing}
  6483. 1640.80 s [opt-env-conf-test] Just _ -> p
  6484. 1640.80 s [opt-env-conf-test]
  6485. 1640.80 s [opt-env-conf-test] -- | Try a list of parsers in order
  6486. 1640.80 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  6487. 1640.80 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  6488. 1640.80 s [opt-env-conf-test] ParserSelect pe pf ->
  6489. 1640.80 s [opt-env-conf-test] showParen (d > 10) $
  6490. 1640.80 s [opt-env-conf-test] showString "Select "
  6491. 1640.80 s [opt-env-conf-test] - . go 11 pe
  6492. 1640.80 s [opt-env-conf-test] + . go 0 pe
  6493. 1640.80 s [opt-env-conf-test] . showString " "
  6494. 1640.80 s [opt-env-conf-test] . go 11 pf
  6495. 1640.80 s [opt-env-conf-test] ParserEmpty mLoc ->
  6496. 1640.80 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  6497. 1640.80 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  6498. 1640.80 s [opt-env-conf-test] ParserSelect pe pf ->
  6499. 1640.80 s [opt-env-conf-test] showParen (d > 10) $
  6500. 1640.80 s [opt-env-conf-test] showString "Select "
  6501. 1640.80 s [opt-env-conf-test] - . go 11 pe
  6502. 1640.80 s [opt-env-conf-test] + . go 1 pe
  6503. 1640.80 s [opt-env-conf-test] . showString " "
  6504. 1640.80 s [opt-env-conf-test] . go 11 pf
  6505. 1640.80 s [opt-env-conf-test] ParserEmpty mLoc ->
  6506. 1640.80 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
  6507. 1640.80 s [opt-env-conf-test] @@ -309,7 +309,7 @@
  6508. 1640.80 s [opt-env-conf-test] . showString " "
  6509. 1640.80 s [opt-env-conf-test] . go 11 pa
  6510. 1640.80 s [opt-env-conf-test] ParserSelect pe pf ->
  6511. 1640.80 s [opt-env-conf-test] - showParen (d > 10) $
  6512. 1640.80 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6513. 1640.80 s [opt-env-conf-test] showString "Select "
  6514. 1640.80 s [opt-env-conf-test] . go 11 pe
  6515. 1640.81 s [opt-env-conf-test] . showString " "
  6516. 1640.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  6517. 1640.81 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  6518. 1640.81 s [opt-env-conf-test] where
  6519. 1640.81 s [opt-env-conf-test] go p =
  6520. 1640.81 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  6521. 1640.81 s [opt-env-conf-test] in case p of
  6522. 1640.81 s [opt-env-conf-test] ParserPure a -> ParserPure a
  6523. 1640.81 s [opt-env-conf-test] ParserAp {} -> p'
  6524. 1640.81 s [opt-env-conf-test] ParserSelect {} -> p'
  6525. 1640.81 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  6526. 1640.81 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  6527. 1640.81 s [opt-env-conf-test] ParserMany {} -> p'
  6528. 1640.81 s [opt-env-conf-test] ParserSome {} -> p'
  6529. 1640.81 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  6530. 1640.81 s [opt-env-conf-test] - ParserCheck {} -> p'
  6531. 1640.81 s [opt-env-conf-test] ParserCommands {} -> p'
  6532. 1640.81 s [opt-env-conf-test] ParserWithConfig {} -> p'
  6533. 1640.81 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  6534. 1640.81 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  6535. 1640.81 s [opt-env-conf-test] Just _ -> p
  6536. 1640.81 s [opt-env-conf-test]
  6537. 1640.81 s [opt-env-conf-test] -- | Try a list of parsers in order
  6538. 1640.81 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  6539. 1640.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  6540. 1640.81 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6541. 1640.81 s [opt-env-conf-test] showString "Empty "
  6542. 1640.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  6543. 1640.81 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6544. 1640.81 s [opt-env-conf-test] - showParen (d > 10) $
  6545. 1640.81 s [opt-env-conf-test] + showParen False $
  6546. 1640.81 s [opt-env-conf-test] showString "Alt "
  6547. 1640.81 s [opt-env-conf-test] . go 11 p1
  6548. 1640.81 s [opt-env-conf-test] . showString " "
  6549. 1640.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
  6550. 1640.81 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6551. 1640.81 s [opt-env-conf-test] showString "Empty "
  6552. 1640.81 s [opt-env-conf-test] . showsPrec 11 mLoc
  6553. 1640.81 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6554. 1640.81 s [opt-env-conf-test] - showParen (d > 10) $
  6555. 1640.82 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6556. 1640.82 s [opt-env-conf-test] showString "Alt "
  6557. 1640.82 s [opt-env-conf-test] . go 11 p1
  6558. 1640.82 s [opt-env-conf-test] . showString " "
  6559. 1640.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6560. 1640.82 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6561. 1640.82 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6562. 1640.82 s [opt-env-conf-test] showParen (d > 10) $
  6563. 1640.82 s [opt-env-conf-test] showString "Alt "
  6564. 1640.82 s [opt-env-conf-test] - . go 11 p1
  6565. 1640.82 s [opt-env-conf-test] + . go 0 p1
  6566. 1640.82 s [opt-env-conf-test] . showString " "
  6567. 1640.82 s [opt-env-conf-test] . go 11 p2
  6568. 1640.82 s [opt-env-conf-test] ParserMany mLoc p ->
  6569. 1640.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6570. 1640.82 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6571. 1640.82 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6572. 1640.82 s [opt-env-conf-test] showParen (d > 10) $
  6573. 1640.82 s [opt-env-conf-test] showString "Alt "
  6574. 1640.82 s [opt-env-conf-test] - . go 11 p1
  6575. 1640.82 s [opt-env-conf-test] + . go -11 p1
  6576. 1640.82 s [opt-env-conf-test] . showString " "
  6577. 1640.82 s [opt-env-conf-test] . go 11 p2
  6578. 1640.82 s [opt-env-conf-test] ParserMany mLoc p ->
  6579. 1640.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
  6580. 1640.82 s [opt-env-conf-test] @@ -320,7 +320,7 @@
  6581. 1640.82 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6582. 1640.82 s [opt-env-conf-test] showParen (d > 10) $
  6583. 1640.82 s [opt-env-conf-test] showString "Alt "
  6584. 1640.82 s [opt-env-conf-test] - . go 11 p1
  6585. 1640.82 s [opt-env-conf-test] + . go 1 p1
  6586. 1640.82 s [opt-env-conf-test] . showString " "
  6587. 1640.82 s [opt-env-conf-test] . go 11 p2
  6588. 1640.82 s [opt-env-conf-test] ParserMany mLoc p ->
  6589. 1640.82 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6590. 1640.82 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6591. 1640.82 s [opt-env-conf-test] showString "Alt "
  6592. 1640.83 s [opt-env-conf-test] . go 11 p1
  6593. 1640.83 s [opt-env-conf-test] . showString " "
  6594. 1640.83 s [opt-env-conf-test] - . go 11 p2
  6595. 1640.83 s [opt-env-conf-test] + . go 0 p2
  6596. 1640.83 s [opt-env-conf-test] ParserMany mLoc p ->
  6597. 1640.83 s [opt-env-conf-test] showParen (d > 10) $
  6598. 1640.83 s [opt-env-conf-test] showString "Many "
  6599. 1640.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6600. 1640.83 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6601. 1640.83 s [opt-env-conf-test] showString "Alt "
  6602. 1640.83 s [opt-env-conf-test] . go 11 p1
  6603. 1640.83 s [opt-env-conf-test] . showString " "
  6604. 1640.83 s [opt-env-conf-test] - . go 11 p2
  6605. 1640.83 s [opt-env-conf-test] + . go 1 p2
  6606. 1640.83 s [opt-env-conf-test] ParserMany mLoc p ->
  6607. 1640.83 s [opt-env-conf-test] showParen (d > 10) $
  6608. 1640.83 s [opt-env-conf-test] showString "Many "
  6609. 1640.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
  6610. 1640.83 s [opt-env-conf-test] @@ -322,7 +322,7 @@
  6611. 1640.83 s [opt-env-conf-test] showString "Alt "
  6612. 1640.83 s [opt-env-conf-test] . go 11 p1
  6613. 1640.83 s [opt-env-conf-test] . showString " "
  6614. 1640.83 s [opt-env-conf-test] - . go 11 p2
  6615. 1640.83 s [opt-env-conf-test] + . go -11 p2
  6616. 1640.83 s [opt-env-conf-test] ParserMany mLoc p ->
  6617. 1640.83 s [opt-env-conf-test] showParen (d > 10) $
  6618. 1640.83 s [opt-env-conf-test] showString "Many "
  6619. 1640.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6620. 1640.83 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6621. 1640.83 s [opt-env-conf-test] . showString " "
  6622. 1640.83 s [opt-env-conf-test] . go 11 p2
  6623. 1640.83 s [opt-env-conf-test] ParserMany mLoc p ->
  6624. 1640.83 s [opt-env-conf-test] - showParen (d > 10) $
  6625. 1640.83 s [opt-env-conf-test] + showParen (d > 0) $
  6626. 1640.83 s [opt-env-conf-test] showString "Many "
  6627. 1640.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  6628. 1640.83 s [opt-env-conf-test] . showString " "
  6629. 1640.83 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6630. 1640.83 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6631. 1640.83 s [opt-env-conf-test] . showString " "
  6632. 1640.83 s [opt-env-conf-test] . go 11 p2
  6633. 1640.83 s [opt-env-conf-test] ParserMany mLoc p ->
  6634. 1640.83 s [opt-env-conf-test] - showParen (d > 10) $
  6635. 1640.83 s [opt-env-conf-test] + showParen (d > 1) $
  6636. 1640.83 s [opt-env-conf-test] showString "Many "
  6637. 1640.83 s [opt-env-conf-test] . showsPrec 11 mLoc
  6638. 1640.83 s [opt-env-conf-test] . showString " "
  6639. 1640.84 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
  6640. 1640.84 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6641. 1640.84 s [opt-env-conf-test] . showString " "
  6642. 1640.84 s [opt-env-conf-test] . go 11 p2
  6643. 1647.65 s [opt-env-conf-test] ParserMany mLoc p ->
  6644. 1647.65 s [opt-env-conf-test] - showParen (d > 10) $
  6645. 1647.68 s [opt-env-conf-test] + showParen (d > -10) $
  6646. 1647.68 s [opt-env-conf-test] showString "Many "
  6647. 1647.68 s [opt-env-conf-test] . showsPrec 11 mLoc
  6648. 1647.68 s [opt-env-conf-test] . showString " "
  6649. 1647.68 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6650. 1647.68 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6651. 1647.68 s [opt-env-conf-test] . showString " "
  6652. 1647.69 s [opt-env-conf-test] . go 11 p2
  6653. 1647.69 s [opt-env-conf-test] ParserMany mLoc p ->
  6654. 1647.69 s [opt-env-conf-test] - showParen (d > 10) $
  6655. 1647.69 s [opt-env-conf-test] + showParen (d < 10) $
  6656. 1647.69 s [opt-env-conf-test] showString "Many "
  6657. 1647.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6658. 1647.69 s [opt-env-conf-test] . showString " "
  6659. 1647.69 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6660. 1647.69 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6661. 1647.69 s [opt-env-conf-test] . showString " "
  6662. 1647.69 s [opt-env-conf-test] . go 11 p2
  6663. 1647.69 s [opt-env-conf-test] ParserMany mLoc p ->
  6664. 1647.69 s [opt-env-conf-test] - showParen (d > 10) $
  6665. 1647.69 s [opt-env-conf-test] + showParen (d <= 10) $
  6666. 1647.69 s [opt-env-conf-test] showString "Many "
  6667. 1647.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6668. 1647.69 s [opt-env-conf-test] . showString " "
  6669. 1647.69 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
  6670. 1647.69 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6671. 1647.69 s [opt-env-conf-test] . showString " "
  6672. 1647.69 s [opt-env-conf-test] . go 11 p2
  6673. 1647.69 s [opt-env-conf-test] ParserMany mLoc p ->
  6674. 1647.69 s [opt-env-conf-test] - showParen (d > 10) $
  6675. 1647.69 s [opt-env-conf-test] + showParen (d >= 10) $
  6676. 1647.69 s [opt-env-conf-test] showString "Many "
  6677. 1647.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6678. 1647.69 s [opt-env-conf-test] . showString " "
  6679. 1647.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  6680. 1647.69 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6681. 1647.69 s [opt-env-conf-test] . showString " "
  6682. 1647.69 s [opt-env-conf-test] . go 11 p2
  6683. 1647.69 s [opt-env-conf-test] ParserMany mLoc p ->
  6684. 1647.69 s [opt-env-conf-test] - showParen (d > 10) $
  6685. 1647.69 s [opt-env-conf-test] + showParen (True) $
  6686. 1647.69 s [opt-env-conf-test] showString "Many "
  6687. 1647.69 s [opt-env-conf-test] . showsPrec 11 mLoc
  6688. 1647.69 s [opt-env-conf-test] . showString " "
  6689. 1647.69 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  6690. 1647.69 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6691. 1647.69 s [opt-env-conf-test] . showString " "
  6692. 1647.69 s [opt-env-conf-test] . go 11 p2
  6693. 1647.69 s [opt-env-conf-test] ParserMany mLoc p ->
  6694. 1647.70 s [opt-env-conf-test] - showParen (d > 10) $
  6695. 1647.70 s [opt-env-conf-test] + showParen (False) $
  6696. 1647.70 s [opt-env-conf-test] showString "Many "
  6697. 1647.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  6698. 1647.70 s [opt-env-conf-test] . showString " "
  6699. 1647.70 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
  6700. 1647.70 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6701. 1647.70 s [opt-env-conf-test] . showString " "
  6702. 1647.70 s [opt-env-conf-test] . go 11 p2
  6703. 1647.70 s [opt-env-conf-test] ParserMany mLoc p ->
  6704. 1647.70 s [opt-env-conf-test] - showParen (d > 10) $
  6705. 1647.70 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6706. 1647.70 s [opt-env-conf-test] showString "Many "
  6707. 1647.70 s [opt-env-conf-test] . showsPrec 11 mLoc
  6708. 1647.70 s [opt-env-conf-test] . showString " "
  6709. 1647.70 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  6710. 1647.70 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6711. 1647.70 s [opt-env-conf-test] . showString " "
  6712. 1647.70 s [opt-env-conf-test] . go 11 p2
  6713. 1647.70 s [opt-env-conf-test] ParserMany mLoc p ->
  6714. 1647.71 s [opt-env-conf-test] - showParen (d > 10) $
  6715. 1647.71 s [opt-env-conf-test] + showParen True $
  6716. 1647.71 s [opt-env-conf-test] showString "Many "
  6717. 1647.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  6718. 1647.71 s [opt-env-conf-test] . showString " "
  6719. 1647.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  6720. 1647.71 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6721. 1647.71 s [opt-env-conf-test] . showString " "
  6722. 1647.71 s [opt-env-conf-test] . go 11 p2
  6723. 1647.71 s [opt-env-conf-test] ParserMany mLoc p ->
  6724. 1647.71 s [opt-env-conf-test] - showParen (d > 10) $
  6725. 1647.71 s [opt-env-conf-test] + showParen False $
  6726. 1647.71 s [opt-env-conf-test] showString "Many "
  6727. 1647.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  6728. 1647.71 s [opt-env-conf-test] . showString " "
  6729. 1647.71 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
  6730. 1647.71 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  6731. 1647.71 s [opt-env-conf-test] . showString " "
  6732. 1647.71 s [opt-env-conf-test] . go 11 p2
  6733. 1647.71 s [opt-env-conf-test] ParserMany mLoc p ->
  6734. 1647.71 s [opt-env-conf-test] - showParen (d > 10) $
  6735. 1647.71 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6736. 1647.71 s [opt-env-conf-test] showString "Many "
  6737. 1647.71 s [opt-env-conf-test] . showsPrec 11 mLoc
  6738. 1647.71 s [opt-env-conf-test] . showString " "
  6739. 1647.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  6740. 1647.71 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  6741. 1647.71 s [opt-env-conf-test] ParserMany mLoc p ->
  6742. 1647.71 s [opt-env-conf-test] showParen (d > 10) $
  6743. 1647.71 s [opt-env-conf-test] showString "Many "
  6744. 1647.71 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6745. 1647.71 s [opt-env-conf-test] + . showsPrec 0 mLoc
  6746. 1647.71 s [opt-env-conf-test] . showString " "
  6747. 1647.71 s [opt-env-conf-test] . go 11 p
  6748. 1647.71 s [opt-env-conf-test] ParserSome mLoc p ->
  6749. 1647.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  6750. 1647.71 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  6751. 1647.71 s [opt-env-conf-test] ParserMany mLoc p ->
  6752. 1647.71 s [opt-env-conf-test] showParen (d > 10) $
  6753. 1647.71 s [opt-env-conf-test] showString "Many "
  6754. 1647.71 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6755. 1647.71 s [opt-env-conf-test] + . showsPrec 1 mLoc
  6756. 1647.71 s [opt-env-conf-test] . showString " "
  6757. 1647.71 s [opt-env-conf-test] . go 11 p
  6758. 1647.71 s [opt-env-conf-test] ParserSome mLoc p ->
  6759. 1647.71 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
  6760. 1647.71 s [opt-env-conf-test] @@ -326,7 +326,7 @@
  6761. 1647.71 s [opt-env-conf-test] ParserMany mLoc p ->
  6762. 1647.71 s [opt-env-conf-test] showParen (d > 10) $
  6763. 1647.71 s [opt-env-conf-test] showString "Many "
  6764. 1647.71 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6765. 1647.71 s [opt-env-conf-test] + . showsPrec -11 mLoc
  6766. 1647.71 s [opt-env-conf-test] . showString " "
  6767. 1647.71 s [opt-env-conf-test] . go 11 p
  6768. 1647.72 s [opt-env-conf-test] ParserSome mLoc p ->
  6769. 1647.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  6770. 1647.72 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  6771. 1647.72 s [opt-env-conf-test] showString "Many "
  6772. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6773. 1647.72 s [opt-env-conf-test] . showString " "
  6774. 1647.72 s [opt-env-conf-test] - . go 11 p
  6775. 1647.72 s [opt-env-conf-test] + . go 0 p
  6776. 1647.72 s [opt-env-conf-test] ParserSome mLoc p ->
  6777. 1647.72 s [opt-env-conf-test] showParen (d > 10) $
  6778. 1647.72 s [opt-env-conf-test] showString "Some "
  6779. 1647.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  6780. 1647.72 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  6781. 1647.72 s [opt-env-conf-test] showString "Many "
  6782. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6783. 1647.72 s [opt-env-conf-test] . showString " "
  6784. 1647.72 s [opt-env-conf-test] - . go 11 p
  6785. 1647.72 s [opt-env-conf-test] + . go 1 p
  6786. 1647.72 s [opt-env-conf-test] ParserSome mLoc p ->
  6787. 1647.72 s [opt-env-conf-test] showParen (d > 10) $
  6788. 1647.72 s [opt-env-conf-test] showString "Some "
  6789. 1647.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
  6790. 1647.72 s [opt-env-conf-test] @@ -328,7 +328,7 @@
  6791. 1647.72 s [opt-env-conf-test] showString "Many "
  6792. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6793. 1647.72 s [opt-env-conf-test] . showString " "
  6794. 1647.72 s [opt-env-conf-test] - . go 11 p
  6795. 1647.72 s [opt-env-conf-test] + . go -11 p
  6796. 1647.72 s [opt-env-conf-test] ParserSome mLoc p ->
  6797. 1647.72 s [opt-env-conf-test] showParen (d > 10) $
  6798. 1647.72 s [opt-env-conf-test] showString "Some "
  6799. 1647.72 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  6800. 1647.72 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6801. 1647.72 s [opt-env-conf-test] showString "Empty "
  6802. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6803. 1647.72 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6804. 1647.72 s [opt-env-conf-test] - showParen (d > 10) $
  6805. 1647.72 s [opt-env-conf-test] + showParen (d < 10) $
  6806. 1647.72 s [opt-env-conf-test] showString "Alt "
  6807. 1647.72 s [opt-env-conf-test] . go 11 p1
  6808. 1647.72 s [opt-env-conf-test] . showString " "
  6809. 1647.72 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  6810. 1647.72 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6811. 1647.72 s [opt-env-conf-test] showString "Empty "
  6812. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6813. 1647.72 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6814. 1647.72 s [opt-env-conf-test] - showParen (d > 10) $
  6815. 1647.72 s [opt-env-conf-test] + showParen (d <= 10) $
  6816. 1647.72 s [opt-env-conf-test] showString "Alt "
  6817. 1647.72 s [opt-env-conf-test] . go 11 p1
  6818. 1647.72 s [opt-env-conf-test] . showString " "
  6819. 1647.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6820. 1647.72 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6821. 1647.72 s [opt-env-conf-test] showString "Empty "
  6822. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6823. 1647.72 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6824. 1647.72 s [opt-env-conf-test] - showParen (d > 10) $
  6825. 1647.72 s [opt-env-conf-test] + showParen (d > 1) $
  6826. 1647.72 s [opt-env-conf-test] showString "Alt "
  6827. 1647.72 s [opt-env-conf-test] . go 11 p1
  6828. 1647.72 s [opt-env-conf-test] . showString " "
  6829. 1647.72 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6830. 1647.72 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6831. 1647.72 s [opt-env-conf-test] showString "Empty "
  6832. 1647.72 s [opt-env-conf-test] . showsPrec 11 mLoc
  6833. 1647.72 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6834. 1647.72 s [opt-env-conf-test] - showParen (d > 10) $
  6835. 1647.72 s [opt-env-conf-test] + showParen (d > -10) $
  6836. 1647.73 s [opt-env-conf-test] showString "Alt "
  6837. 1647.73 s [opt-env-conf-test] . go 11 p1
  6838. 1647.73 s [opt-env-conf-test] . showString " "
  6839. 1647.73 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
  6840. 1647.73 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6841. 1647.73 s [opt-env-conf-test] showString "Empty "
  6842. 1647.73 s [opt-env-conf-test] . showsPrec 11 mLoc
  6843. 1647.73 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6844. 1647.73 s [opt-env-conf-test] - showParen (d > 10) $
  6845. 1656.42 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6846. 1656.42 s [opt-env-conf-test] showString "Alt "
  6847. 1656.47 s [opt-env-conf-test] . go 11 p1
  6848. 1656.47 s [opt-env-conf-test] . showString " "
  6849. 1656.47 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  6850. 1656.47 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  6851. 1656.47 s [opt-env-conf-test] . go 11 pf
  6852. 1656.47 s [opt-env-conf-test] ParserEmpty mLoc ->
  6853. 1656.47 s [opt-env-conf-test] showString "Empty "
  6854. 1656.47 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6855. 1656.47 s [opt-env-conf-test] + . showsPrec -11 mLoc
  6856. 1656.47 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6857. 1656.47 s [opt-env-conf-test] showParen (d > 10) $
  6858. 1656.47 s [opt-env-conf-test] showString "Alt "
  6859. 1656.47 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
  6860. 1656.48 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  6861. 1656.48 s [opt-env-conf-test] showString "Empty "
  6862. 1656.48 s [opt-env-conf-test] . showsPrec 11 mLoc
  6863. 1656.48 s [opt-env-conf-test] ParserAlt p1 p2 ->
  6864. 1656.48 s [opt-env-conf-test] - showParen (d > 10) $
  6865. 1656.48 s [opt-env-conf-test] + showParen (d > 0) $
  6866. 1656.48 s [opt-env-conf-test] showString "Alt "
  6867. 1656.48 s [opt-env-conf-test] . go 11 p1
  6868. 1656.48 s [opt-env-conf-test] . showString " "
  6869. 1656.48 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  6870. 1656.48 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  6871. 1656.48 s [opt-env-conf-test] . showString " "
  6872. 1656.48 s [opt-env-conf-test] . go 11 p
  6873. 1656.48 s [opt-env-conf-test] ParserSome mLoc p ->
  6874. 1656.48 s [opt-env-conf-test] - showParen (d > 10) $
  6875. 1656.48 s [opt-env-conf-test] + showParen (False) $
  6876. 1656.48 s [opt-env-conf-test] showString "Some "
  6877. 1656.48 s [opt-env-conf-test] . showsPrec 11 mLoc
  6878. 1656.48 s [opt-env-conf-test] . showString " "
  6879. 1656.48 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
  6880. 1656.48 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  6881. 1656.48 s [opt-env-conf-test] . showString " "
  6882. 1656.48 s [opt-env-conf-test] . go 11 p
  6883. 1656.48 s [opt-env-conf-test] ParserSome mLoc p ->
  6884. 1656.48 s [opt-env-conf-test] - showParen (d > 10) $
  6885. 1656.49 s [opt-env-conf-test] + showParen (not (d > 10)) $
  6886. 1656.49 s [opt-env-conf-test] showString "Some "
  6887. 1656.49 s [opt-env-conf-test] . showsPrec 11 mLoc
  6888. 1656.49 s [opt-env-conf-test] . showString " "
  6889. 1656.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  6890. 1656.49 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  6891. 1656.49 s [opt-env-conf-test] . showString " "
  6892. 1656.49 s [opt-env-conf-test] . go 11 p
  6893. 1656.49 s [opt-env-conf-test] ParserSome mLoc p ->
  6894. 1656.49 s [opt-env-conf-test] - showParen (d > 10) $
  6895. 1656.49 s [opt-env-conf-test] + showParen True $
  6896. 1656.49 s [opt-env-conf-test] showString "Some "
  6897. 1656.49 s [opt-env-conf-test] . showsPrec 11 mLoc
  6898. 1656.49 s [opt-env-conf-test] . showString " "
  6899. 1656.49 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  6900. 1656.49 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  6901. 1656.49 s [opt-env-conf-test] . showString " "
  6902. 1656.49 s [opt-env-conf-test] . go 11 p
  6903. 1656.49 s [opt-env-conf-test] ParserSome mLoc p ->
  6904. 1656.49 s [opt-env-conf-test] - showParen (d > 10) $
  6905. 1656.49 s [opt-env-conf-test] + showParen False $
  6906. 1656.49 s [opt-env-conf-test] showString "Some "
  6907. 1656.49 s [opt-env-conf-test] . showsPrec 11 mLoc
  6908. 1656.49 s [opt-env-conf-test] . showString " "
  6909. 1656.49 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
  6910. 1656.49 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  6911. 1656.49 s [opt-env-conf-test] . showString " "
  6912. 1656.49 s [opt-env-conf-test] . go 11 p
  6913. 1656.49 s [opt-env-conf-test] ParserSome mLoc p ->
  6914. 1656.49 s [opt-env-conf-test] - showParen (d > 10) $
  6915. 1656.50 s [opt-env-conf-test] + showParen not ((d > 10)) $
  6916. 1656.50 s [opt-env-conf-test] showString "Some "
  6917. 1656.50 s [opt-env-conf-test] . showsPrec 11 mLoc
  6918. 1656.50 s [opt-env-conf-test] . showString " "
  6919. 1656.50 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  6920. 1656.50 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  6921. 1656.50 s [opt-env-conf-test] ParserSome mLoc p ->
  6922. 1656.50 s [opt-env-conf-test] showParen (d > 10) $
  6923. 1656.50 s [opt-env-conf-test] showString "Some "
  6924. 1656.50 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6925. 1656.50 s [opt-env-conf-test] + . showsPrec 0 mLoc
  6926. 1656.50 s [opt-env-conf-test] . showString " "
  6927. 1656.50 s [opt-env-conf-test] . go 11 p
  6928. 1656.50 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6929. 1656.50 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  6930. 1656.50 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  6931. 1656.50 s [opt-env-conf-test] ParserSome mLoc p ->
  6932. 1656.50 s [opt-env-conf-test] showParen (d > 10) $
  6933. 1656.50 s [opt-env-conf-test] showString "Some "
  6934. 1656.50 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6935. 1656.50 s [opt-env-conf-test] + . showsPrec 1 mLoc
  6936. 1656.50 s [opt-env-conf-test] . showString " "
  6937. 1656.50 s [opt-env-conf-test] . go 11 p
  6938. 1656.50 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6939. 1656.50 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
  6940. 1656.50 s [opt-env-conf-test] @@ -332,7 +332,7 @@
  6941. 1656.50 s [opt-env-conf-test] ParserSome mLoc p ->
  6942. 1656.50 s [opt-env-conf-test] showParen (d > 10) $
  6943. 1656.51 s [opt-env-conf-test] showString "Some "
  6944. 1656.51 s [opt-env-conf-test] - . showsPrec 11 mLoc
  6945. 1656.51 s [opt-env-conf-test] + . showsPrec -11 mLoc
  6946. 1656.51 s [opt-env-conf-test] . showString " "
  6947. 1656.51 s [opt-env-conf-test] . go 11 p
  6948. 1656.51 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6949. 1656.51 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  6950. 1656.51 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  6951. 1656.51 s [opt-env-conf-test] showString "Some "
  6952. 1656.51 s [opt-env-conf-test] . showsPrec 11 mLoc
  6953. 1656.51 s [opt-env-conf-test] . showString " "
  6954. 1656.51 s [opt-env-conf-test] - . go 11 p
  6955. 1656.51 s [opt-env-conf-test] + . go 0 p
  6956. 1656.51 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6957. 1656.51 s [opt-env-conf-test] showParen (d > 10) $
  6958. 1656.51 s [opt-env-conf-test] showString "AllOrNothing "
  6959. 1656.51 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  6960. 1656.51 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  6961. 1656.51 s [opt-env-conf-test] showString "Some "
  6962. 1656.52 s [opt-env-conf-test] . showsPrec 11 mLoc
  6963. 1656.52 s [opt-env-conf-test] . showString " "
  6964. 1656.52 s [opt-env-conf-test] - . go 11 p
  6965. 1656.52 s [opt-env-conf-test] + . go 1 p
  6966. 1656.52 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6967. 1656.52 s [opt-env-conf-test] showParen (d > 10) $
  6968. 1656.52 s [opt-env-conf-test] showString "AllOrNothing "
  6969. 1656.52 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
  6970. 1656.52 s [opt-env-conf-test] @@ -334,7 +334,7 @@
  6971. 1656.52 s [opt-env-conf-test] showString "Some "
  6972. 1656.52 s [opt-env-conf-test] . showsPrec 11 mLoc
  6973. 1656.52 s [opt-env-conf-test] . showString " "
  6974. 1656.52 s [opt-env-conf-test] - . go 11 p
  6975. 1656.52 s [opt-env-conf-test] + . go -11 p
  6976. 1656.52 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6977. 1656.52 s [opt-env-conf-test] showParen (d > 10) $
  6978. 1656.52 s [opt-env-conf-test] showString "AllOrNothing "
  6979. 1656.52 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  6980. 1656.52 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  6981. 1656.52 s [opt-env-conf-test] . showString " "
  6982. 1656.52 s [opt-env-conf-test] . go 11 p
  6983. 1656.53 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6984. 1656.53 s [opt-env-conf-test] - showParen (d > 10) $
  6985. 1656.53 s [opt-env-conf-test] + showParen (d > 0) $
  6986. 1656.53 s [opt-env-conf-test] showString "AllOrNothing "
  6987. 1656.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  6988. 1656.53 s [opt-env-conf-test] . showString " "
  6989. 1656.53 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  6990. 1656.53 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  6991. 1656.53 s [opt-env-conf-test] . showString " "
  6992. 1656.53 s [opt-env-conf-test] . go 11 p
  6993. 1656.53 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  6994. 1656.53 s [opt-env-conf-test] - showParen (d > 10) $
  6995. 1656.53 s [opt-env-conf-test] + showParen (d > 1) $
  6996. 1656.53 s [opt-env-conf-test] showString "AllOrNothing "
  6997. 1656.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  6998. 1656.53 s [opt-env-conf-test] . showString " "
  6999. 1656.53 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
  7000. 1656.53 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7001. 1656.53 s [opt-env-conf-test] . showString " "
  7002. 1656.53 s [opt-env-conf-test] . go 11 p
  7003. 1656.53 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7004. 1656.53 s [opt-env-conf-test] - showParen (d > 10) $
  7005. 1656.53 s [opt-env-conf-test] + showParen (d > -10) $
  7006. 1656.53 s [opt-env-conf-test] showString "AllOrNothing "
  7007. 1656.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7008. 1656.53 s [opt-env-conf-test] . showString " "
  7009. 1656.53 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7010. 1656.53 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7011. 1656.53 s [opt-env-conf-test] . showString " "
  7012. 1656.53 s [opt-env-conf-test] . go 11 p
  7013. 1656.53 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7014. 1656.53 s [opt-env-conf-test] - showParen (d > 10) $
  7015. 1656.53 s [opt-env-conf-test] + showParen (d < 10) $
  7016. 1656.53 s [opt-env-conf-test] showString "AllOrNothing "
  7017. 1656.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7018. 1656.53 s [opt-env-conf-test] . showString " "
  7019. 1656.53 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7020. 1656.53 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7021. 1656.53 s [opt-env-conf-test] . showString " "
  7022. 1656.53 s [opt-env-conf-test] . go 11 p
  7023. 1656.54 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7024. 1656.54 s [opt-env-conf-test] - showParen (d > 10) $
  7025. 1656.54 s [opt-env-conf-test] + showParen (d <= 10) $
  7026. 1656.54 s [opt-env-conf-test] showString "AllOrNothing "
  7027. 1656.54 s [opt-env-conf-test] . showsPrec 11 mLoc
  7028. 1656.54 s [opt-env-conf-test] . showString " "
  7029. 1656.54 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
  7030. 1656.54 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7031. 1656.54 s [opt-env-conf-test] . showString " "
  7032. 1656.54 s [opt-env-conf-test] . go 11 p
  7033. 1656.54 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7034. 1656.54 s [opt-env-conf-test] - showParen (d > 10) $
  7035. 1656.54 s [opt-env-conf-test] + showParen (d >= 10) $
  7036. 1656.54 s [opt-env-conf-test] showString "AllOrNothing "
  7037. 1656.54 s [opt-env-conf-test] . showsPrec 11 mLoc
  7038. 1656.54 s [opt-env-conf-test] . showString " "
  7039. 1656.54 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7040. 1656.54 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7041. 1656.54 s [opt-env-conf-test] . showString " "
  7042. 1656.54 s [opt-env-conf-test] . go 11 p
  7043. 1656.54 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7044. 1657.85 s [opt-env-conf-test] - showParen (d > 10) $
  7045. 1657.85 s [opt-env-conf-test] + showParen (True) $
  7046. 1657.85 s [opt-env-conf-test] showString "AllOrNothing "
  7047. 1657.85 s [opt-env-conf-test] . showsPrec 11 mLoc
  7048. 1657.85 s [opt-env-conf-test] . showString " "
  7049. 1657.85 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
  7050. 1657.85 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7051. 1657.86 s [opt-env-conf-test] . showString " "
  7052. 1657.86 s [opt-env-conf-test] . go 11 p
  7053. 1657.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7054. 1657.86 s [opt-env-conf-test] - showParen (d > 10) $
  7055. 1657.86 s [opt-env-conf-test] + showParen (False) $
  7056. 1657.86 s [opt-env-conf-test] showString "AllOrNothing "
  7057. 1657.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  7058. 1657.86 s [opt-env-conf-test] . showString " "
  7059. 1657.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
  7060. 1657.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7061. 1657.86 s [opt-env-conf-test] . showString " "
  7062. 1657.86 s [opt-env-conf-test] . go 11 p
  7063. 1657.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7064. 1657.86 s [opt-env-conf-test] - showParen (d > 10) $
  7065. 1657.86 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7066. 1657.86 s [opt-env-conf-test] showString "AllOrNothing "
  7067. 1657.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  7068. 1657.86 s [opt-env-conf-test] . showString " "
  7069. 1657.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7070. 1657.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7071. 1657.86 s [opt-env-conf-test] . showString " "
  7072. 1657.86 s [opt-env-conf-test] . go 11 p
  7073. 1657.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7074. 1657.86 s [opt-env-conf-test] - showParen (d > 10) $
  7075. 1657.86 s [opt-env-conf-test] + showParen True $
  7076. 1657.86 s [opt-env-conf-test] showString "AllOrNothing "
  7077. 1657.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  7078. 1657.86 s [opt-env-conf-test] . showString " "
  7079. 1657.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
  7080. 1657.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7081. 1657.86 s [opt-env-conf-test] . showString " "
  7082. 1657.86 s [opt-env-conf-test] . go 11 p
  7083. 1657.86 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7084. 1657.86 s [opt-env-conf-test] - showParen (d > 10) $
  7085. 1657.86 s [opt-env-conf-test] + showParen False $
  7086. 1657.86 s [opt-env-conf-test] showString "AllOrNothing "
  7087. 1657.86 s [opt-env-conf-test] . showsPrec 11 mLoc
  7088. 1657.86 s [opt-env-conf-test] . showString " "
  7089. 1657.86 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
  7090. 1657.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  7091. 1657.87 s [opt-env-conf-test] . showString " "
  7092. 1657.87 s [opt-env-conf-test] . go 11 p
  7093. 1657.87 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7094. 1657.87 s [opt-env-conf-test] - showParen (d > 10) $
  7095. 1657.87 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7096. 1657.87 s [opt-env-conf-test] showString "AllOrNothing "
  7097. 1657.87 s [opt-env-conf-test] . showsPrec 11 mLoc
  7098. 1657.87 s [opt-env-conf-test] . showString " "
  7099. 1657.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7100. 1657.87 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7101. 1657.87 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7102. 1657.87 s [opt-env-conf-test] showParen (d > 10) $
  7103. 1657.87 s [opt-env-conf-test] showString "AllOrNothing "
  7104. 1657.87 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7105. 1657.87 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7106. 1657.87 s [opt-env-conf-test] . showString " "
  7107. 1657.87 s [opt-env-conf-test] . go 11 p
  7108. 1657.87 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7109. 1657.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7110. 1657.87 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7111. 1657.87 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7112. 1657.87 s [opt-env-conf-test] showParen (d > 10) $
  7113. 1657.87 s [opt-env-conf-test] showString "AllOrNothing "
  7114. 1657.87 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7115. 1657.87 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7116. 1657.87 s [opt-env-conf-test] . showString " "
  7117. 1657.87 s [opt-env-conf-test] . go 11 p
  7118. 1657.87 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7119. 1657.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
  7120. 1657.87 s [opt-env-conf-test] @@ -338,7 +338,7 @@
  7121. 1657.87 s [opt-env-conf-test] ParserAllOrNothing mLoc p ->
  7122. 1657.87 s [opt-env-conf-test] showParen (d > 10) $
  7123. 1657.87 s [opt-env-conf-test] showString "AllOrNothing "
  7124. 1657.87 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7125. 1657.87 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7126. 1657.87 s [opt-env-conf-test] . showString " "
  7127. 1657.87 s [opt-env-conf-test] . go 11 p
  7128. 1657.87 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7129. 1657.87 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7130. 1657.87 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7131. 1657.87 s [opt-env-conf-test] showString "AllOrNothing "
  7132. 1657.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  7133. 1657.88 s [opt-env-conf-test] . showString " "
  7134. 1657.88 s [opt-env-conf-test] - . go 11 p
  7135. 1657.88 s [opt-env-conf-test] + . go 0 p
  7136. 1657.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7137. 1657.88 s [opt-env-conf-test] showParen (d > 10) $
  7138. 1657.88 s [opt-env-conf-test] showString "Check "
  7139. 1657.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7140. 1657.88 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7141. 1657.88 s [opt-env-conf-test] showString "AllOrNothing "
  7142. 1657.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  7143. 1657.88 s [opt-env-conf-test] . showString " "
  7144. 1657.88 s [opt-env-conf-test] - . go 11 p
  7145. 1657.88 s [opt-env-conf-test] + . go 1 p
  7146. 1657.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7147. 1657.88 s [opt-env-conf-test] showParen (d > 10) $
  7148. 1657.88 s [opt-env-conf-test] showString "Check "
  7149. 1657.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
  7150. 1657.88 s [opt-env-conf-test] @@ -340,7 +340,7 @@
  7151. 1657.88 s [opt-env-conf-test] showString "AllOrNothing "
  7152. 1657.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  7153. 1657.88 s [opt-env-conf-test] . showString " "
  7154. 1657.88 s [opt-env-conf-test] - . go 11 p
  7155. 1657.88 s [opt-env-conf-test] + . go -11 p
  7156. 1657.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7157. 1657.88 s [opt-env-conf-test] showParen (d > 10) $
  7158. 1657.88 s [opt-env-conf-test] showString "Check "
  7159. 1657.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7160. 1657.88 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7161. 1657.88 s [opt-env-conf-test] . showString " "
  7162. 1657.88 s [opt-env-conf-test] . go 11 p
  7163. 1657.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7164. 1657.88 s [opt-env-conf-test] - showParen (d > 10) $
  7165. 1657.88 s [opt-env-conf-test] + showParen (d > 0) $
  7166. 1657.88 s [opt-env-conf-test] showString "Check "
  7167. 1657.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  7168. 1657.88 s [opt-env-conf-test] . showString " "
  7169. 1657.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7170. 1657.88 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7171. 1657.88 s [opt-env-conf-test] . showString " "
  7172. 1657.88 s [opt-env-conf-test] . go 11 p
  7173. 1657.88 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7174. 1657.88 s [opt-env-conf-test] - showParen (d > 10) $
  7175. 1657.88 s [opt-env-conf-test] + showParen (d > 1) $
  7176. 1657.88 s [opt-env-conf-test] showString "Check "
  7177. 1657.88 s [opt-env-conf-test] . showsPrec 11 mLoc
  7178. 1657.88 s [opt-env-conf-test] . showString " "
  7179. 1657.88 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
  7180. 1657.88 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7181. 1657.88 s [opt-env-conf-test] . showString " "
  7182. 1657.89 s [opt-env-conf-test] . go 11 p
  7183. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7184. 1657.89 s [opt-env-conf-test] - showParen (d > 10) $
  7185. 1657.89 s [opt-env-conf-test] + showParen (d > -10) $
  7186. 1657.89 s [opt-env-conf-test] showString "Check "
  7187. 1657.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  7188. 1657.89 s [opt-env-conf-test] . showString " "
  7189. 1657.89 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7190. 1657.89 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7191. 1657.89 s [opt-env-conf-test] . showString " "
  7192. 1657.89 s [opt-env-conf-test] . go 11 p
  7193. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7194. 1657.89 s [opt-env-conf-test] - showParen (d > 10) $
  7195. 1657.89 s [opt-env-conf-test] + showParen (d < 10) $
  7196. 1657.89 s [opt-env-conf-test] showString "Check "
  7197. 1657.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  7198. 1657.89 s [opt-env-conf-test] . showString " "
  7199. 1657.89 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7200. 1657.89 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7201. 1657.89 s [opt-env-conf-test] . showString " "
  7202. 1657.89 s [opt-env-conf-test] . go 11 p
  7203. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7204. 1657.89 s [opt-env-conf-test] - showParen (d > 10) $
  7205. 1657.89 s [opt-env-conf-test] + showParen (d <= 10) $
  7206. 1657.89 s [opt-env-conf-test] showString "Check "
  7207. 1657.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  7208. 1657.89 s [opt-env-conf-test] . showString " "
  7209. 1657.89 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
  7210. 1657.89 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7211. 1657.89 s [opt-env-conf-test] . showString " "
  7212. 1657.89 s [opt-env-conf-test] . go 11 p
  7213. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7214. 1657.89 s [opt-env-conf-test] - showParen (d > 10) $
  7215. 1657.89 s [opt-env-conf-test] + showParen (d >= 10) $
  7216. 1657.89 s [opt-env-conf-test] showString "Check "
  7217. 1657.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  7218. 1657.89 s [opt-env-conf-test] . showString " "
  7219. 1657.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  7220. 1657.89 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7221. 1657.89 s [opt-env-conf-test] . showString " "
  7222. 1657.89 s [opt-env-conf-test] . go 11 p
  7223. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7224. 1657.89 s [opt-env-conf-test] - showParen (d > 10) $
  7225. 1657.89 s [opt-env-conf-test] + showParen (True) $
  7226. 1657.89 s [opt-env-conf-test] showString "Check "
  7227. 1657.89 s [opt-env-conf-test] . showsPrec 11 mLoc
  7228. 1657.89 s [opt-env-conf-test] . showString " "
  7229. 1657.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  7230. 1657.89 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7231. 1657.89 s [opt-env-conf-test] . showString " "
  7232. 1657.89 s [opt-env-conf-test] . go 11 p
  7233. 1657.89 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7234. 1669.06 s [opt-env-conf-test] - showParen (d > 10) $
  7235. 1669.08 s [opt-env-conf-test] + showParen (False) $
  7236. 1669.08 s [opt-env-conf-test] showString "Check "
  7237. 1669.08 s [opt-env-conf-test] . showsPrec 11 mLoc
  7238. 1669.08 s [opt-env-conf-test] . showString " "
  7239. 1669.08 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
  7240. 1669.08 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7241. 1669.09 s [opt-env-conf-test] . showString " "
  7242. 1669.09 s [opt-env-conf-test] . go 11 p
  7243. 1669.09 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7244. 1669.09 s [opt-env-conf-test] - showParen (d > 10) $
  7245. 1669.09 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7246. 1669.09 s [opt-env-conf-test] showString "Check "
  7247. 1669.09 s [opt-env-conf-test] . showsPrec 11 mLoc
  7248. 1669.09 s [opt-env-conf-test] . showString " "
  7249. 1669.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  7250. 1669.09 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7251. 1669.09 s [opt-env-conf-test] . showString " "
  7252. 1669.09 s [opt-env-conf-test] . go 11 p
  7253. 1669.09 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7254. 1669.09 s [opt-env-conf-test] - showParen (d > 10) $
  7255. 1669.09 s [opt-env-conf-test] + showParen True $
  7256. 1669.09 s [opt-env-conf-test] showString "Check "
  7257. 1669.09 s [opt-env-conf-test] . showsPrec 11 mLoc
  7258. 1669.09 s [opt-env-conf-test] . showString " "
  7259. 1669.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  7260. 1669.09 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7261. 1669.09 s [opt-env-conf-test] . showString " "
  7262. 1669.09 s [opt-env-conf-test] . go 11 p
  7263. 1669.09 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7264. 1669.09 s [opt-env-conf-test] - showParen (d > 10) $
  7265. 1669.09 s [opt-env-conf-test] + showParen False $
  7266. 1669.10 s [opt-env-conf-test] showString "Check "
  7267. 1669.10 s [opt-env-conf-test] . showsPrec 11 mLoc
  7268. 1669.10 s [opt-env-conf-test] . showString " "
  7269. 1669.10 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
  7270. 1669.10 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  7271. 1669.10 s [opt-env-conf-test] . showString " "
  7272. 1669.10 s [opt-env-conf-test] . go 11 p
  7273. 1669.10 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7274. 1669.10 s [opt-env-conf-test] - showParen (d > 10) $
  7275. 1669.10 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7276. 1669.10 s [opt-env-conf-test] showString "Check "
  7277. 1669.10 s [opt-env-conf-test] . showsPrec 11 mLoc
  7278. 1669.10 s [opt-env-conf-test] . showString " "
  7279. 1669.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7280. 1669.10 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7281. 1669.10 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7282. 1669.10 s [opt-env-conf-test] showParen (d > 10) $
  7283. 1669.10 s [opt-env-conf-test] showString "Check "
  7284. 1669.10 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7285. 1669.10 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7286. 1669.10 s [opt-env-conf-test] . showString " "
  7287. 1669.10 s [opt-env-conf-test] . showsPrec 11 forgivable
  7288. 1669.10 s [opt-env-conf-test] . showString " "
  7289. 1669.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7290. 1669.10 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7291. 1669.10 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7292. 1669.10 s [opt-env-conf-test] showParen (d > 10) $
  7293. 1669.10 s [opt-env-conf-test] showString "Check "
  7294. 1669.10 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7295. 1669.10 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7296. 1669.10 s [opt-env-conf-test] . showString " "
  7297. 1669.10 s [opt-env-conf-test] . showsPrec 11 forgivable
  7298. 1669.11 s [opt-env-conf-test] . showString " "
  7299. 1669.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
  7300. 1669.11 s [opt-env-conf-test] @@ -344,7 +344,7 @@
  7301. 1669.11 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  7302. 1669.11 s [opt-env-conf-test] showParen (d > 10) $
  7303. 1669.11 s [opt-env-conf-test] showString "Check "
  7304. 1669.11 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7305. 1669.11 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7306. 1669.11 s [opt-env-conf-test] . showString " "
  7307. 1669.11 s [opt-env-conf-test] . showsPrec 11 forgivable
  7308. 1669.11 s [opt-env-conf-test] . showString " "
  7309. 1669.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7310. 1669.11 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7311. 1669.11 s [opt-env-conf-test] showString "Check "
  7312. 1669.11 s [opt-env-conf-test] . showsPrec 11 mLoc
  7313. 1669.11 s [opt-env-conf-test] . showString " "
  7314. 1669.11 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7315. 1669.11 s [opt-env-conf-test] + . showsPrec 0 forgivable
  7316. 1669.11 s [opt-env-conf-test] . showString " "
  7317. 1669.11 s [opt-env-conf-test] . showsPrec 11 caps
  7318. 1669.11 s [opt-env-conf-test] . showString " _ "
  7319. 1669.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7320. 1669.11 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7321. 1669.11 s [opt-env-conf-test] showString "Check "
  7322. 1669.11 s [opt-env-conf-test] . showsPrec 11 mLoc
  7323. 1669.11 s [opt-env-conf-test] . showString " "
  7324. 1669.11 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7325. 1669.11 s [opt-env-conf-test] + . showsPrec 1 forgivable
  7326. 1669.11 s [opt-env-conf-test] . showString " "
  7327. 1669.11 s [opt-env-conf-test] . showsPrec 11 caps
  7328. 1669.11 s [opt-env-conf-test] . showString " _ "
  7329. 1669.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
  7330. 1669.11 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7331. 1669.11 s [opt-env-conf-test] showString "Check "
  7332. 1669.11 s [opt-env-conf-test] . showsPrec 11 mLoc
  7333. 1669.11 s [opt-env-conf-test] . showString " "
  7334. 1669.11 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7335. 1669.11 s [opt-env-conf-test] + . showsPrec -11 forgivable
  7336. 1669.11 s [opt-env-conf-test] . showString " "
  7337. 1669.11 s [opt-env-conf-test] . showsPrec 11 caps
  7338. 1669.11 s [opt-env-conf-test] . showString " _ "
  7339. 1669.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  7340. 1669.11 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7341. 1669.11 s [opt-env-conf-test] showString "Check "
  7342. 1669.12 s [opt-env-conf-test] . showsPrec 11 mLoc
  7343. 1669.12 s [opt-env-conf-test] . showString " "
  7344. 1669.12 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7345. 1669.12 s [opt-env-conf-test] + . showsPrec 11 True
  7346. 1669.12 s [opt-env-conf-test] . showString " "
  7347. 1669.12 s [opt-env-conf-test] . showsPrec 11 caps
  7348. 1669.12 s [opt-env-conf-test] . showString " _ "
  7349. 1669.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
  7350. 1669.12 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7351. 1669.12 s [opt-env-conf-test] showString "Check "
  7352. 1669.12 s [opt-env-conf-test] . showsPrec 11 mLoc
  7353. 1669.12 s [opt-env-conf-test] . showString " "
  7354. 1669.12 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7355. 1669.12 s [opt-env-conf-test] + . showsPrec 11 False
  7356. 1669.12 s [opt-env-conf-test] . showString " "
  7357. 1669.12 s [opt-env-conf-test] . showsPrec 11 caps
  7358. 1669.12 s [opt-env-conf-test] . showString " _ "
  7359. 1669.12 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
  7360. 1669.12 s [opt-env-conf-test] @@ -346,7 +346,7 @@
  7361. 1669.12 s [opt-env-conf-test] showString "Check "
  7362. 1669.12 s [opt-env-conf-test] . showsPrec 11 mLoc
  7363. 1669.12 s [opt-env-conf-test] . showString " "
  7364. 1669.12 s [opt-env-conf-test] - . showsPrec 11 forgivable
  7365. 1669.12 s [opt-env-conf-test] + . showsPrec 11 not (forgivable)
  7366. 1669.12 s [opt-env-conf-test] . showString " "
  7367. 1669.12 s [opt-env-conf-test] . showsPrec 11 caps
  7368. 1669.12 s [opt-env-conf-test] . showString " _ "
  7369. 1669.12 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7370. 1669.12 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7371. 1669.12 s [opt-env-conf-test] . showString " "
  7372. 1669.12 s [opt-env-conf-test] . showsPrec 11 forgivable
  7373. 1669.12 s [opt-env-conf-test] . showString " "
  7374. 1669.12 s [opt-env-conf-test] - . showsPrec 11 caps
  7375. 1669.12 s [opt-env-conf-test] + . showsPrec 0 caps
  7376. 1669.12 s [opt-env-conf-test] . showString " _ "
  7377. 1669.12 s [opt-env-conf-test] . go 11 p
  7378. 1669.12 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7379. 1669.12 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7380. 1669.12 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7381. 1669.12 s [opt-env-conf-test] . showString " "
  7382. 1669.12 s [opt-env-conf-test] . showsPrec 11 forgivable
  7383. 1669.12 s [opt-env-conf-test] . showString " "
  7384. 1669.12 s [opt-env-conf-test] - . showsPrec 11 caps
  7385. 1669.12 s [opt-env-conf-test] + . showsPrec 1 caps
  7386. 1669.12 s [opt-env-conf-test] . showString " _ "
  7387. 1669.12 s [opt-env-conf-test] . go 11 p
  7388. 1669.12 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7389. 1669.12 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
  7390. 1669.13 s [opt-env-conf-test] @@ -348,7 +348,7 @@
  7391. 1669.13 s [opt-env-conf-test] . showString " "
  7392. 1669.13 s [opt-env-conf-test] . showsPrec 11 forgivable
  7393. 1669.13 s [opt-env-conf-test] . showString " "
  7394. 1669.13 s [opt-env-conf-test] - . showsPrec 11 caps
  7395. 1669.13 s [opt-env-conf-test] + . showsPrec -11 caps
  7396. 1669.13 s [opt-env-conf-test] . showString " _ "
  7397. 1669.13 s [opt-env-conf-test] . go 11 p
  7398. 1669.13 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7399. 1669.13 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7400. 1669.13 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7401. 1669.13 s [opt-env-conf-test] . showString " "
  7402. 1669.13 s [opt-env-conf-test] . showsPrec 11 caps
  7403. 1669.13 s [opt-env-conf-test] . showString " _ "
  7404. 1669.13 s [opt-env-conf-test] - . go 11 p
  7405. 1669.13 s [opt-env-conf-test] + . go 0 p
  7406. 1669.13 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7407. 1669.13 s [opt-env-conf-test] showParen (d > 10) $
  7408. 1669.13 s [opt-env-conf-test] showString "Commands "
  7409. 1669.13 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
  7410. 1669.13 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7411. 1669.13 s [opt-env-conf-test] showString "Empty "
  7412. 1669.13 s [opt-env-conf-test] . showsPrec 11 mLoc
  7413. 1669.13 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7414. 1669.13 s [opt-env-conf-test] - showParen (d > 10) $
  7415. 1669.13 s [opt-env-conf-test] + showParen (d >= 10) $
  7416. 1669.13 s [opt-env-conf-test] showString "Alt "
  7417. 1669.13 s [opt-env-conf-test] . go 11 p1
  7418. 1669.13 s [opt-env-conf-test] . showString " "
  7419. 1669.13 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7420. 1676.55 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7421. 1676.55 s [opt-env-conf-test] . showString " "
  7422. 1676.57 s [opt-env-conf-test] . showsPrec 11 caps
  7423. 1676.57 s [opt-env-conf-test] . showString " _ "
  7424. 1676.58 s [opt-env-conf-test] - . go 11 p
  7425. 1676.58 s [opt-env-conf-test] + . go -11 p
  7426. 1676.58 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7427. 1676.58 s [opt-env-conf-test] showParen (d > 10) $
  7428. 1676.58 s [opt-env-conf-test] showString "Commands "
  7429. 1676.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
  7430. 1676.58 s [opt-env-conf-test] @@ -350,7 +350,7 @@
  7431. 1676.58 s [opt-env-conf-test] . showString " "
  7432. 1676.58 s [opt-env-conf-test] . showsPrec 11 caps
  7433. 1676.58 s [opt-env-conf-test] . showString " _ "
  7434. 1676.58 s [opt-env-conf-test] - . go 11 p
  7435. 1676.58 s [opt-env-conf-test] + . go 1 p
  7436. 1676.58 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7437. 1676.58 s [opt-env-conf-test] showParen (d > 10) $
  7438. 1676.58 s [opt-env-conf-test] showString "Commands "
  7439. 1676.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  7440. 1676.58 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  7441. 1676.58 s [opt-env-conf-test] showString "Select "
  7442. 1676.58 s [opt-env-conf-test] . go 11 pe
  7443. 1676.58 s [opt-env-conf-test] . showString " "
  7444. 1676.58 s [opt-env-conf-test] - . go 11 pf
  7445. 1676.58 s [opt-env-conf-test] + . go 0 pf
  7446. 1676.58 s [opt-env-conf-test] ParserEmpty mLoc ->
  7447. 1676.58 s [opt-env-conf-test] showString "Empty "
  7448. 1676.58 s [opt-env-conf-test] . showsPrec 11 mLoc
  7449. 1676.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  7450. 1676.58 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  7451. 1676.58 s [opt-env-conf-test] . go 11 pf
  7452. 1676.58 s [opt-env-conf-test] ParserEmpty mLoc ->
  7453. 1676.58 s [opt-env-conf-test] showString "Empty "
  7454. 1676.58 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7455. 1676.58 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7456. 1676.58 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7457. 1676.58 s [opt-env-conf-test] showParen (d > 10) $
  7458. 1676.58 s [opt-env-conf-test] showString "Alt "
  7459. 1676.58 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  7460. 1676.58 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7461. 1676.58 s [opt-env-conf-test] . showString " _ "
  7462. 1676.58 s [opt-env-conf-test] . go 11 p
  7463. 1676.58 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7464. 1676.58 s [opt-env-conf-test] - showParen (d > 10) $
  7465. 1676.58 s [opt-env-conf-test] + showParen (d > -10) $
  7466. 1676.58 s [opt-env-conf-test] showString "Commands "
  7467. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7468. 1676.59 s [opt-env-conf-test] . showString " "
  7469. 1676.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  7470. 1676.59 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7471. 1676.59 s [opt-env-conf-test] showString "Empty "
  7472. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7473. 1676.59 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7474. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7475. 1676.59 s [opt-env-conf-test] + showParen (True) $
  7476. 1676.59 s [opt-env-conf-test] showString "Alt "
  7477. 1676.59 s [opt-env-conf-test] . go 11 p1
  7478. 1676.59 s [opt-env-conf-test] . showString " "
  7479. 1676.59 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7480. 1676.59 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7481. 1676.59 s [opt-env-conf-test] . showString " _ "
  7482. 1676.59 s [opt-env-conf-test] . go 11 p
  7483. 1676.59 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7484. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7485. 1676.59 s [opt-env-conf-test] + showParen (d <= 10) $
  7486. 1676.59 s [opt-env-conf-test] showString "Commands "
  7487. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7488. 1676.59 s [opt-env-conf-test] . showString " "
  7489. 1676.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  7490. 1676.59 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7491. 1676.59 s [opt-env-conf-test] . showString " "
  7492. 1676.59 s [opt-env-conf-test] . go 11 p
  7493. 1676.59 s [opt-env-conf-test] ParserSome mLoc p ->
  7494. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7495. 1676.59 s [opt-env-conf-test] + showParen (True) $
  7496. 1676.59 s [opt-env-conf-test] showString "Some "
  7497. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7498. 1676.59 s [opt-env-conf-test] . showString " "
  7499. 1676.59 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  7500. 1676.59 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7501. 1676.59 s [opt-env-conf-test] . showString " "
  7502. 1676.59 s [opt-env-conf-test] . go 11 p
  7503. 1676.59 s [opt-env-conf-test] ParserSome mLoc p ->
  7504. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7505. 1676.59 s [opt-env-conf-test] + showParen (d >= 10) $
  7506. 1676.59 s [opt-env-conf-test] showString "Some "
  7507. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7508. 1676.59 s [opt-env-conf-test] . showString " "
  7509. 1676.59 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  7510. 1676.59 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7511. 1676.59 s [opt-env-conf-test] . showString " "
  7512. 1676.59 s [opt-env-conf-test] . go 11 p
  7513. 1676.59 s [opt-env-conf-test] ParserSome mLoc p ->
  7514. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7515. 1676.59 s [opt-env-conf-test] + showParen (d <= 10) $
  7516. 1676.59 s [opt-env-conf-test] showString "Some "
  7517. 1676.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  7518. 1676.59 s [opt-env-conf-test] . showString " "
  7519. 1676.59 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
  7520. 1676.59 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7521. 1676.59 s [opt-env-conf-test] . showString " "
  7522. 1676.59 s [opt-env-conf-test] . go 11 p
  7523. 1676.59 s [opt-env-conf-test] ParserSome mLoc p ->
  7524. 1676.59 s [opt-env-conf-test] - showParen (d > 10) $
  7525. 1676.59 s [opt-env-conf-test] + showParen (d < 10) $
  7526. 1676.60 s [opt-env-conf-test] showString "Some "
  7527. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7528. 1676.60 s [opt-env-conf-test] . showString " "
  7529. 1676.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  7530. 1676.60 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  7531. 1676.60 s [opt-env-conf-test] showString "Empty "
  7532. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7533. 1676.60 s [opt-env-conf-test] ParserAlt p1 p2 ->
  7534. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7535. 1676.60 s [opt-env-conf-test] + showParen (False) $
  7536. 1676.60 s [opt-env-conf-test] showString "Alt "
  7537. 1676.60 s [opt-env-conf-test] . go 11 p1
  7538. 1676.60 s [opt-env-conf-test] . showString " "
  7539. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7540. 1676.60 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7541. 1676.60 s [opt-env-conf-test] . showString " "
  7542. 1676.60 s [opt-env-conf-test] . go 11 p
  7543. 1676.60 s [opt-env-conf-test] ParserSome mLoc p ->
  7544. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7545. 1676.60 s [opt-env-conf-test] + showParen (d > 1) $
  7546. 1676.60 s [opt-env-conf-test] showString "Some "
  7547. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7548. 1676.60 s [opt-env-conf-test] . showString " "
  7549. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  7550. 1676.60 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  7551. 1676.60 s [opt-env-conf-test] showString "Select "
  7552. 1676.60 s [opt-env-conf-test] . go 11 pe
  7553. 1676.60 s [opt-env-conf-test] . showString " "
  7554. 1676.60 s [opt-env-conf-test] - . go 11 pf
  7555. 1676.60 s [opt-env-conf-test] + . go 1 pf
  7556. 1676.60 s [opt-env-conf-test] ParserEmpty mLoc ->
  7557. 1676.60 s [opt-env-conf-test] showString "Empty "
  7558. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7559. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7560. 1676.60 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7561. 1676.60 s [opt-env-conf-test] . showString " "
  7562. 1676.60 s [opt-env-conf-test] . go 11 p
  7563. 1676.60 s [opt-env-conf-test] ParserSome mLoc p ->
  7564. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7565. 1676.60 s [opt-env-conf-test] + showParen (d > 0) $
  7566. 1676.60 s [opt-env-conf-test] showString "Some "
  7567. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7568. 1676.60 s [opt-env-conf-test] . showString " "
  7569. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
  7570. 1676.60 s [opt-env-conf-test] @@ -313,7 +313,7 @@
  7571. 1676.60 s [opt-env-conf-test] showString "Select "
  7572. 1676.60 s [opt-env-conf-test] . go 11 pe
  7573. 1676.60 s [opt-env-conf-test] . showString " "
  7574. 1676.60 s [opt-env-conf-test] - . go 11 pf
  7575. 1676.60 s [opt-env-conf-test] + . go -11 pf
  7576. 1676.60 s [opt-env-conf-test] ParserEmpty mLoc ->
  7577. 1676.60 s [opt-env-conf-test] showString "Empty "
  7578. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7579. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
  7580. 1676.60 s [opt-env-conf-test] @@ -311,7 +311,7 @@
  7581. 1676.60 s [opt-env-conf-test] ParserSelect pe pf ->
  7582. 1676.60 s [opt-env-conf-test] showParen (d > 10) $
  7583. 1676.60 s [opt-env-conf-test] showString "Select "
  7584. 1676.60 s [opt-env-conf-test] - . go 11 pe
  7585. 1676.60 s [opt-env-conf-test] + . go -11 pe
  7586. 1676.60 s [opt-env-conf-test] . showString " "
  7587. 1676.60 s [opt-env-conf-test] . go 11 pf
  7588. 1676.60 s [opt-env-conf-test] ParserEmpty mLoc ->
  7589. 1676.60 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
  7590. 1676.60 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  7591. 1676.60 s [opt-env-conf-test] . showString " "
  7592. 1676.60 s [opt-env-conf-test] . go 11 p
  7593. 1676.60 s [opt-env-conf-test] ParserSome mLoc p ->
  7594. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7595. 1676.60 s [opt-env-conf-test] + showParen (d > -10) $
  7596. 1676.60 s [opt-env-conf-test] showString "Some "
  7597. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7598. 1676.60 s [opt-env-conf-test] . showString " "
  7599. 1676.60 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7600. 1676.60 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7601. 1676.60 s [opt-env-conf-test] . showString " _ "
  7602. 1676.60 s [opt-env-conf-test] . go 11 p
  7603. 1676.60 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7604. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7605. 1676.60 s [opt-env-conf-test] + showParen (d < 10) $
  7606. 1676.60 s [opt-env-conf-test] showString "Commands "
  7607. 1676.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  7608. 1676.60 s [opt-env-conf-test] . showString " "
  7609. 1676.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
  7610. 1676.60 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7611. 1676.60 s [opt-env-conf-test] . showString " _ "
  7612. 1676.60 s [opt-env-conf-test] . go 11 p
  7613. 1676.60 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7614. 1676.60 s [opt-env-conf-test] - showParen (d > 10) $
  7615. 1676.61 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7616. 1676.61 s [opt-env-conf-test] showString "Commands "
  7617. 1676.61 s [opt-env-conf-test] . showsPrec 11 mLoc
  7618. 1676.61 s [opt-env-conf-test] . showString " "
  7619. 1676.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  7620. 1676.61 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7621. 1676.61 s [opt-env-conf-test] . showString " _ "
  7622. 1676.61 s [opt-env-conf-test] . go 11 p
  7623. 1676.61 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7624. 1676.61 s [opt-env-conf-test] - showParen (d > 10) $
  7625. 1676.61 s [opt-env-conf-test] + showParen (d > 1) $
  7626. 1676.61 s [opt-env-conf-test] showString "Commands "
  7627. 1685.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  7628. 1685.32 s [opt-env-conf-test] . showString " "
  7629. 1685.32 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  7630. 1685.32 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  7631. 1685.32 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7632. 1685.32 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  7633. 1685.32 s [opt-env-conf-test] fileSetting p f = do
  7634. 1685.32 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  7635. 1685.32 s [opt-env-conf-test] guard $ p s
  7636. 1685.32 s [opt-env-conf-test] pure $
  7637. 1685.32 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  7638. 1685.32 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
  7639. 1685.32 s [opt-env-conf-test] @@ -1090,7 +1090,7 @@
  7640. 1685.32 s [opt-env-conf-test] BuildAddEnv _ -> Nothing
  7641. 1685.32 s [opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
  7642. 1685.32 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  7643. 1685.32 s [opt-env-conf-test] - i -> Just i
  7644. 1685.32 s [opt-env-conf-test] + i -> Nothing
  7645. 1685.32 s [opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
  7646. 1685.32 s [opt-env-conf-test] BuildTryArgument -> Nothing
  7647. 1685.32 s [opt-env-conf-test] BuildTryOption -> Nothing
  7648. 1685.32 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
  7649. 1685.32 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7650. 1685.32 s [opt-env-conf-test] . showString " _ "
  7651. 1685.32 s [opt-env-conf-test] . go 11 p
  7652. 1685.32 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7653. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7654. 1685.33 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7655. 1685.33 s [opt-env-conf-test] showString "Commands "
  7656. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7657. 1685.33 s [opt-env-conf-test] . showString " "
  7658. 1685.33 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  7659. 1685.33 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  7660. 1685.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7661. 1685.33 s [opt-env-conf-test] showParen (d > 10) $
  7662. 1685.33 s [opt-env-conf-test] showString "Commands "
  7663. 1685.33 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7664. 1685.33 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7665. 1685.33 s [opt-env-conf-test] . showString " "
  7666. 1685.33 s [opt-env-conf-test] . showsPrec 11 mDefault
  7667. 1685.33 s [opt-env-conf-test] . showString " "
  7668. 1685.33 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  7669. 1685.33 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  7670. 1685.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7671. 1685.33 s [opt-env-conf-test] showParen (d > 10) $
  7672. 1685.33 s [opt-env-conf-test] showString "Commands "
  7673. 1685.33 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7674. 1685.33 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7675. 1685.33 s [opt-env-conf-test] . showString " "
  7676. 1685.33 s [opt-env-conf-test] . showsPrec 11 mDefault
  7677. 1685.33 s [opt-env-conf-test] . showString " "
  7678. 1685.33 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  7679. 1685.33 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  7680. 1685.33 s [opt-env-conf-test] showString "Commands "
  7681. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7682. 1685.33 s [opt-env-conf-test] . showString " "
  7683. 1685.33 s [opt-env-conf-test] - . showsPrec 11 mDefault
  7684. 1685.33 s [opt-env-conf-test] + . showsPrec 0 mDefault
  7685. 1685.33 s [opt-env-conf-test] . showString " "
  7686. 1685.33 s [opt-env-conf-test] . showListWith
  7687. 1685.33 s [opt-env-conf-test] showCommandABit
  7688. 1685.33 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  7689. 1685.33 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  7690. 1685.33 s [opt-env-conf-test] showString "Commands "
  7691. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7692. 1685.33 s [opt-env-conf-test] . showString " "
  7693. 1685.33 s [opt-env-conf-test] - . showsPrec 11 mDefault
  7694. 1685.33 s [opt-env-conf-test] + . showsPrec -11 mDefault
  7695. 1685.33 s [opt-env-conf-test] . showString " "
  7696. 1685.33 s [opt-env-conf-test] . showListWith
  7697. 1685.33 s [opt-env-conf-test] showCommandABit
  7698. 1685.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  7699. 1685.33 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7700. 1685.33 s [opt-env-conf-test] . showString " _ "
  7701. 1685.33 s [opt-env-conf-test] . go 11 p
  7702. 1685.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7703. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7704. 1685.33 s [opt-env-conf-test] + showParen True $
  7705. 1685.33 s [opt-env-conf-test] showString "Commands "
  7706. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7707. 1685.33 s [opt-env-conf-test] . showString " "
  7708. 1685.33 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  7709. 1685.33 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7710. 1685.33 s [opt-env-conf-test] showCommandABit
  7711. 1685.33 s [opt-env-conf-test] cs
  7712. 1685.33 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7713. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7714. 1685.33 s [opt-env-conf-test] + showParen (d > 1) $
  7715. 1685.33 s [opt-env-conf-test] showString "WithConfig _ "
  7716. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7717. 1685.33 s [opt-env-conf-test] . showString " "
  7718. 1685.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  7719. 1685.33 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7720. 1685.33 s [opt-env-conf-test] . showString " _ "
  7721. 1685.33 s [opt-env-conf-test] . go 11 p
  7722. 1685.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7723. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7724. 1685.33 s [opt-env-conf-test] + showParen (True) $
  7725. 1685.33 s [opt-env-conf-test] showString "Commands "
  7726. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7727. 1685.33 s [opt-env-conf-test] . showString " "
  7728. 1685.33 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
  7729. 1685.33 s [opt-env-conf-test] @@ -1069,7 +1069,7 @@
  7730. 1685.33 s [opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
  7731. 1685.33 s [opt-env-conf-test] BuildAddConf _ -> Nothing
  7732. 1685.33 s [opt-env-conf-test] BuildSetDefault _ _ -> Nothing
  7733. 1685.33 s [opt-env-conf-test] - i -> Just i
  7734. 1685.33 s [opt-env-conf-test] + i -> Nothing
  7735. 1685.33 s [opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
  7736. 1685.33 s [opt-env-conf-test] BuildTryArgument -> Nothing
  7737. 1685.33 s [opt-env-conf-test] BuildTryOption -> Nothing
  7738. 1685.33 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
  7739. 1685.33 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  7740. 1685.33 s [opt-env-conf-test] . showString " _ "
  7741. 1685.33 s [opt-env-conf-test] . go 11 p
  7742. 1685.33 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  7743. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7744. 1685.33 s [opt-env-conf-test] + showParen (d >= 10) $
  7745. 1685.33 s [opt-env-conf-test] showString "Commands "
  7746. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7747. 1685.33 s [opt-env-conf-test] . showString " "
  7748. 1685.33 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  7749. 1685.33 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7750. 1685.33 s [opt-env-conf-test] showCommandABit
  7751. 1685.33 s [opt-env-conf-test] cs
  7752. 1685.33 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7753. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7754. 1685.33 s [opt-env-conf-test] + showParen (False) $
  7755. 1685.33 s [opt-env-conf-test] showString "WithConfig _ "
  7756. 1685.33 s [opt-env-conf-test] . showsPrec 11 mLoc
  7757. 1685.33 s [opt-env-conf-test] . showString " "
  7758. 1685.33 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
  7759. 1685.33 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7760. 1685.33 s [opt-env-conf-test] showCommandABit
  7761. 1685.33 s [opt-env-conf-test] cs
  7762. 1685.33 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7763. 1685.33 s [opt-env-conf-test] - showParen (d > 10) $
  7764. 1685.34 s [opt-env-conf-test] + showParen (not (d > 10)) $
  7765. 1685.34 s [opt-env-conf-test] showString "WithConfig _ "
  7766. 1685.34 s [opt-env-conf-test] . showsPrec 11 mLoc
  7767. 1685.34 s [opt-env-conf-test] . showString " "
  7768. 1685.34 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  7769. 1685.34 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  7770. 1685.34 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7771. 1685.34 s [opt-env-conf-test] showParen (d > 10) $
  7772. 1685.34 s [opt-env-conf-test] showString "WithConfig _ "
  7773. 1685.34 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7774. 1685.34 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7775. 1685.34 s [opt-env-conf-test] . showString " "
  7776. 1685.34 s [opt-env-conf-test] . go 11 p1
  7777. 1685.34 s [opt-env-conf-test] . showString " "
  7778. 1685.34 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  7779. 1685.34 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  7780. 1685.34 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7781. 1685.34 s [opt-env-conf-test] showParen (d > 10) $
  7782. 1685.34 s [opt-env-conf-test] showString "WithConfig _ "
  7783. 1685.34 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7784. 1685.34 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7785. 1685.34 s [opt-env-conf-test] . showString " "
  7786. 1685.34 s [opt-env-conf-test] . go 11 p1
  7787. 1685.34 s [opt-env-conf-test] . showString " "
  7788. 1685.34 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
  7789. 1685.34 s [opt-env-conf-test] @@ -364,7 +364,7 @@
  7790. 1685.34 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7791. 1685.34 s [opt-env-conf-test] showParen (d > 10) $
  7792. 1685.34 s [opt-env-conf-test] showString "WithConfig _ "
  7793. 1685.34 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7794. 1685.34 s [opt-env-conf-test] + . showsPrec -11 mLoc
  7795. 1685.34 s [opt-env-conf-test] . showString " "
  7796. 1685.34 s [opt-env-conf-test] . go 11 p1
  7797. 1685.34 s [opt-env-conf-test] . showString " "
  7798. 1685.34 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  7799. 1685.34 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  7800. 1685.34 s [opt-env-conf-test] showString "WithConfig _ "
  7801. 1685.34 s [opt-env-conf-test] . showsPrec 11 mLoc
  7802. 1685.34 s [opt-env-conf-test] . showString " "
  7803. 1685.34 s [opt-env-conf-test] - . go 11 p1
  7804. 1685.34 s [opt-env-conf-test] + . go 0 p1
  7805. 1685.34 s [opt-env-conf-test] . showString " "
  7806. 1685.34 s [opt-env-conf-test] . go 11 p2
  7807. 1685.34 s [opt-env-conf-test] ParserSetting mLoc p ->
  7808. 1685.34 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  7809. 1685.34 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7810. 1685.34 s [opt-env-conf-test] showCommandABit
  7811. 1685.34 s [opt-env-conf-test] cs
  7812. 1685.34 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7813. 1685.34 s [opt-env-conf-test] - showParen (d > 10) $
  7814. 1693.49 s [opt-env-conf-test] + showParen False $
  7815. 1693.49 s [opt-env-conf-test] showString "WithConfig _ "
  7816. 1693.51 s [opt-env-conf-test] . showsPrec 11 mLoc
  7817. 1693.51 s [opt-env-conf-test] . showString " "
  7818. 1693.51 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  7819. 1693.51 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  7820. 1693.51 s [opt-env-conf-test] showString "WithConfig _ "
  7821. 1693.51 s [opt-env-conf-test] . showsPrec 11 mLoc
  7822. 1693.52 s [opt-env-conf-test] . showString " "
  7823. 1693.52 s [opt-env-conf-test] - . go 11 p1
  7824. 1693.52 s [opt-env-conf-test] + . go 1 p1
  7825. 1693.52 s [opt-env-conf-test] . showString " "
  7826. 1693.52 s [opt-env-conf-test] . go 11 p2
  7827. 1693.52 s [opt-env-conf-test] ParserSetting mLoc p ->
  7828. 1693.52 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7829. 1693.52 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7830. 1693.52 s [opt-env-conf-test] showCommandABit
  7831. 1693.52 s [opt-env-conf-test] cs
  7832. 1693.52 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7833. 1693.52 s [opt-env-conf-test] - showParen (d > 10) $
  7834. 1693.52 s [opt-env-conf-test] + showParen (d <= 10) $
  7835. 1693.52 s [opt-env-conf-test] showString "WithConfig _ "
  7836. 1693.52 s [opt-env-conf-test] . showsPrec 11 mLoc
  7837. 1693.52 s [opt-env-conf-test] . showString " "
  7838. 1693.52 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  7839. 1693.52 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7840. 1693.52 s [opt-env-conf-test] showCommandABit
  7841. 1693.52 s [opt-env-conf-test] cs
  7842. 1693.52 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7843. 1693.52 s [opt-env-conf-test] - showParen (d > 10) $
  7844. 1693.52 s [opt-env-conf-test] + showParen True $
  7845. 1693.52 s [opt-env-conf-test] showString "WithConfig _ "
  7846. 1693.52 s [opt-env-conf-test] . showsPrec 11 mLoc
  7847. 1693.52 s [opt-env-conf-test] . showString " "
  7848. 1693.52 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7849. 1693.52 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7850. 1693.52 s [opt-env-conf-test] showCommandABit
  7851. 1693.52 s [opt-env-conf-test] cs
  7852. 1693.52 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7853. 1693.52 s [opt-env-conf-test] - showParen (d > 10) $
  7854. 1693.52 s [opt-env-conf-test] + showParen (d < 10) $
  7855. 1693.52 s [opt-env-conf-test] showString "WithConfig _ "
  7856. 1693.52 s [opt-env-conf-test] . showsPrec 11 mLoc
  7857. 1693.52 s [opt-env-conf-test] . showString " "
  7858. 1693.53 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
  7859. 1693.53 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7860. 1693.53 s [opt-env-conf-test] showCommandABit
  7861. 1693.53 s [opt-env-conf-test] cs
  7862. 1693.53 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7863. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7864. 1693.53 s [opt-env-conf-test] + showParen not ((d > 10)) $
  7865. 1693.53 s [opt-env-conf-test] showString "WithConfig _ "
  7866. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7867. 1693.53 s [opt-env-conf-test] . showString " "
  7868. 1693.53 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
  7869. 1693.53 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7870. 1693.53 s [opt-env-conf-test] showCommandABit
  7871. 1693.53 s [opt-env-conf-test] cs
  7872. 1693.53 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7873. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7874. 1693.53 s [opt-env-conf-test] + showParen (d >= 10) $
  7875. 1693.53 s [opt-env-conf-test] showString "WithConfig _ "
  7876. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7877. 1693.53 s [opt-env-conf-test] . showString " "
  7878. 1693.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  7879. 1693.53 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  7880. 1693.53 s [opt-env-conf-test] showCommandABit
  7881. 1693.53 s [opt-env-conf-test] cs
  7882. 1693.53 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  7883. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7884. 1693.53 s [opt-env-conf-test] + showParen (True) $
  7885. 1693.53 s [opt-env-conf-test] showString "WithConfig _ "
  7886. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7887. 1693.53 s [opt-env-conf-test] . showString " "
  7888. 1693.53 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  7889. 1693.53 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  7890. 1693.53 s [opt-env-conf-test] . showString " "
  7891. 1693.53 s [opt-env-conf-test] . go 11 p1
  7892. 1693.53 s [opt-env-conf-test] . showString " "
  7893. 1693.53 s [opt-env-conf-test] - . go 11 p2
  7894. 1693.53 s [opt-env-conf-test] + . go -11 p2
  7895. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7896. 1693.53 s [opt-env-conf-test] showParen (d > 10) $
  7897. 1693.53 s [opt-env-conf-test] showString "Setting "
  7898. 1693.53 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  7899. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7900. 1693.53 s [opt-env-conf-test] . showString " "
  7901. 1693.53 s [opt-env-conf-test] . go 11 p2
  7902. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7903. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7904. 1693.53 s [opt-env-conf-test] + showParen (d > 0) $
  7905. 1693.53 s [opt-env-conf-test] showString "Setting "
  7906. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7907. 1693.53 s [opt-env-conf-test] . showString " "
  7908. 1693.53 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  7909. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7910. 1693.53 s [opt-env-conf-test] . showString " "
  7911. 1693.53 s [opt-env-conf-test] . go 11 p2
  7912. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7913. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7914. 1693.53 s [opt-env-conf-test] + showParen (d < 10) $
  7915. 1693.53 s [opt-env-conf-test] showString "Setting "
  7916. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7917. 1693.53 s [opt-env-conf-test] . showString " "
  7918. 1693.53 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  7919. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7920. 1693.53 s [opt-env-conf-test] . showString " "
  7921. 1693.53 s [opt-env-conf-test] . go 11 p2
  7922. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7923. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7924. 1693.53 s [opt-env-conf-test] + showParen (d <= 10) $
  7925. 1693.53 s [opt-env-conf-test] showString "Setting "
  7926. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7927. 1693.53 s [opt-env-conf-test] . showString " "
  7928. 1693.53 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  7929. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7930. 1693.53 s [opt-env-conf-test] . showString " "
  7931. 1693.53 s [opt-env-conf-test] . go 11 p2
  7932. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7933. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7934. 1693.53 s [opt-env-conf-test] + showParen (d > 1) $
  7935. 1693.53 s [opt-env-conf-test] showString "Setting "
  7936. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7937. 1693.53 s [opt-env-conf-test] . showString " "
  7938. 1693.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  7939. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7940. 1693.53 s [opt-env-conf-test] . showString " "
  7941. 1693.53 s [opt-env-conf-test] . go 11 p2
  7942. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7943. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7944. 1693.53 s [opt-env-conf-test] + showParen (False) $
  7945. 1693.53 s [opt-env-conf-test] showString "Setting "
  7946. 1693.53 s [opt-env-conf-test] . showsPrec 11 mLoc
  7947. 1693.53 s [opt-env-conf-test] . showString " "
  7948. 1693.53 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  7949. 1693.53 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  7950. 1693.53 s [opt-env-conf-test] . showString " "
  7951. 1693.53 s [opt-env-conf-test] . go 11 p2
  7952. 1693.53 s [opt-env-conf-test] ParserSetting mLoc p ->
  7953. 1693.53 s [opt-env-conf-test] - showParen (d > 10) $
  7954. 1693.53 s [opt-env-conf-test] + showParen False $
  7955. 1693.53 s [opt-env-conf-test] showString "Setting "
  7956. 1693.54 s [opt-env-conf-test] . showsPrec 11 mLoc
  7957. 1693.54 s [opt-env-conf-test] . showString " "
  7958. 1693.54 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  7959. 1693.54 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  7960. 1693.54 s [opt-env-conf-test] ParserSetting mLoc p ->
  7961. 1693.54 s [opt-env-conf-test] showParen (d > 10) $
  7962. 1693.54 s [opt-env-conf-test] showString "Setting "
  7963. 1693.54 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7964. 1693.54 s [opt-env-conf-test] + . showsPrec 0 mLoc
  7965. 1693.54 s [opt-env-conf-test] . showString " "
  7966. 1693.54 s [opt-env-conf-test] . showSettingABit p
  7967. 1693.54 s [opt-env-conf-test]
  7968. 1693.54 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  7969. 1693.54 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  7970. 1693.54 s [opt-env-conf-test] ParserSetting mLoc p ->
  7971. 1693.54 s [opt-env-conf-test] showParen (d > 10) $
  7972. 1693.54 s [opt-env-conf-test] showString "Setting "
  7973. 1693.54 s [opt-env-conf-test] - . showsPrec 11 mLoc
  7974. 1693.54 s [opt-env-conf-test] + . showsPrec 1 mLoc
  7975. 1693.54 s [opt-env-conf-test] . showString " "
  7976. 1693.54 s [opt-env-conf-test] . showSettingABit p
  7977. 1693.54 s [opt-env-conf-test]
  7978. 1693.54 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  7979. 1693.54 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  7980. 1693.54 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  7981. 1693.54 s [opt-env-conf-test] showCommandABit Command {..} =
  7982. 1693.54 s [opt-env-conf-test] showString "Command "
  7983. 1693.54 s [opt-env-conf-test] - . showsPrec 11 commandArg
  7984. 1693.54 s [opt-env-conf-test] + . showsPrec 0 commandArg
  7985. 1693.54 s [opt-env-conf-test] . showString " "
  7986. 1693.54 s [opt-env-conf-test] . showsPrec 11 commandHelp
  7987. 1693.54 s [opt-env-conf-test] . showString " "
  7988. 1693.54 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  7989. 1693.54 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  7990. 1693.54 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  7991. 1693.54 s [opt-env-conf-test] showCommandABit Command {..} =
  7992. 1693.54 s [opt-env-conf-test] showString "Command "
  7993. 1693.54 s [opt-env-conf-test] - . showsPrec 11 commandArg
  7994. 1693.54 s [opt-env-conf-test] + . showsPrec 1 commandArg
  7995. 1693.54 s [opt-env-conf-test] . showString " "
  7996. 1693.54 s [opt-env-conf-test] . showsPrec 11 commandHelp
  7997. 1693.54 s [opt-env-conf-test] . showString " "
  7998. 1693.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
  7999. 1693.54 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8000. 1693.54 s [opt-env-conf-test] . showString " "
  8001. 1693.54 s [opt-env-conf-test] . go 11 p2
  8002. 1693.54 s [opt-env-conf-test] ParserSetting mLoc p ->
  8003. 1693.54 s [opt-env-conf-test] - showParen (d > 10) $
  8004. 1693.54 s [opt-env-conf-test] + showParen not ((d > 10)) $
  8005. 1693.54 s [opt-env-conf-test] showString "Setting "
  8006. 1693.54 s [opt-env-conf-test] . showsPrec 11 mLoc
  8007. 1693.54 s [opt-env-conf-test] . showString " "
  8008. 1693.54 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
  8009. 1693.54 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8010. 1693.54 s [opt-env-conf-test] . showString " "
  8011. 1693.54 s [opt-env-conf-test] . go 11 p2
  8012. 1701.07 s [opt-env-conf-test] ParserSetting mLoc p ->
  8013. 1701.07 s [opt-env-conf-test] - showParen (d > 10) $
  8014. 1701.09 s [opt-env-conf-test] + showParen (not (d > 10)) $
  8015. 1701.09 s [opt-env-conf-test] showString "Setting "
  8016. 1701.09 s [opt-env-conf-test] . showsPrec 11 mLoc
  8017. 1701.09 s [opt-env-conf-test] . showString " "
  8018. 1701.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  8019. 1701.09 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8020. 1701.09 s [opt-env-conf-test] . showString " "
  8021. 1701.09 s [opt-env-conf-test] . go 11 p2
  8022. 1701.09 s [opt-env-conf-test] ParserSetting mLoc p ->
  8023. 1701.09 s [opt-env-conf-test] - showParen (d > 10) $
  8024. 1701.09 s [opt-env-conf-test] + showParen (True) $
  8025. 1701.09 s [opt-env-conf-test] showString "Setting "
  8026. 1701.09 s [opt-env-conf-test] . showsPrec 11 mLoc
  8027. 1701.09 s [opt-env-conf-test] . showString " "
  8028. 1701.09 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
  8029. 1701.10 s [opt-env-conf-test] @@ -366,7 +366,7 @@
  8030. 1701.10 s [opt-env-conf-test] showString "WithConfig _ "
  8031. 1701.10 s [opt-env-conf-test] . showsPrec 11 mLoc
  8032. 1701.10 s [opt-env-conf-test] . showString " "
  8033. 1701.10 s [opt-env-conf-test] - . go 11 p1
  8034. 1701.10 s [opt-env-conf-test] + . go -11 p1
  8035. 1701.10 s [opt-env-conf-test] . showString " "
  8036. 1701.10 s [opt-env-conf-test] . go 11 p2
  8037. 1701.10 s [opt-env-conf-test] ParserSetting mLoc p ->
  8038. 1701.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8039. 1701.10 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8040. 1701.10 s [opt-env-conf-test] . showString " "
  8041. 1701.10 s [opt-env-conf-test] . go 11 p1
  8042. 1701.10 s [opt-env-conf-test] . showString " "
  8043. 1701.10 s [opt-env-conf-test] - . go 11 p2
  8044. 1701.10 s [opt-env-conf-test] + . go 0 p2
  8045. 1701.10 s [opt-env-conf-test] ParserSetting mLoc p ->
  8046. 1701.10 s [opt-env-conf-test] showParen (d > 10) $
  8047. 1701.10 s [opt-env-conf-test] showString "Setting "
  8048. 1701.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
  8049. 1701.10 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8050. 1701.10 s [opt-env-conf-test] . showString " "
  8051. 1701.10 s [opt-env-conf-test] . go 11 p2
  8052. 1701.10 s [opt-env-conf-test] ParserSetting mLoc p ->
  8053. 1701.10 s [opt-env-conf-test] - showParen (d > 10) $
  8054. 1701.10 s [opt-env-conf-test] + showParen (d > -10) $
  8055. 1701.10 s [opt-env-conf-test] showString "Setting "
  8056. 1701.10 s [opt-env-conf-test] . showsPrec 11 mLoc
  8057. 1701.10 s [opt-env-conf-test] . showString " "
  8058. 1701.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
  8059. 1701.10 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  8060. 1701.10 s [opt-env-conf-test] . showString " _ "
  8061. 1701.10 s [opt-env-conf-test] . go 11 p
  8062. 1701.10 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  8063. 1701.10 s [opt-env-conf-test] - showParen (d > 10) $
  8064. 1701.10 s [opt-env-conf-test] + showParen (d > 0) $
  8065. 1701.10 s [opt-env-conf-test] showString "Commands "
  8066. 1701.10 s [opt-env-conf-test] . showsPrec 11 mLoc
  8067. 1701.10 s [opt-env-conf-test] . showString " "
  8068. 1701.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8069. 1701.10 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8070. 1701.10 s [opt-env-conf-test] showString "Command "
  8071. 1701.10 s [opt-env-conf-test] . showsPrec 11 commandArg
  8072. 1701.10 s [opt-env-conf-test] . showString " "
  8073. 1701.10 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8074. 1701.10 s [opt-env-conf-test] + . showsPrec 1 commandHelp
  8075. 1701.10 s [opt-env-conf-test] . showString " "
  8076. 1701.10 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8077. 1701.10 s [opt-env-conf-test]
  8078. 1701.10 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8079. 1701.10 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8080. 1701.10 s [opt-env-conf-test] . showString " "
  8081. 1701.10 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8082. 1701.11 s [opt-env-conf-test] . showString " "
  8083. 1701.11 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8084. 1701.11 s [opt-env-conf-test] + . showParserPrec 1 commandParser
  8085. 1701.11 s [opt-env-conf-test]
  8086. 1701.11 s [opt-env-conf-test] -- | A 'Parser' structure
  8087. 1701.11 s [opt-env-conf-test] --
  8088. 1701.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
  8089. 1701.11 s [opt-env-conf-test] @@ -372,7 +372,7 @@
  8090. 1701.11 s [opt-env-conf-test] ParserSetting mLoc p ->
  8091. 1701.11 s [opt-env-conf-test] showParen (d > 10) $
  8092. 1701.11 s [opt-env-conf-test] showString "Setting "
  8093. 1701.11 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8094. 1701.11 s [opt-env-conf-test] + . showsPrec -11 mLoc
  8095. 1701.11 s [opt-env-conf-test] . showString " "
  8096. 1701.11 s [opt-env-conf-test] . showSettingABit p
  8097. 1701.11 s [opt-env-conf-test]
  8098. 1701.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8099. 1701.11 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8100. 1701.11 s [opt-env-conf-test] showString "Command "
  8101. 1701.11 s [opt-env-conf-test] . showsPrec 11 commandArg
  8102. 1701.11 s [opt-env-conf-test] . showString " "
  8103. 1701.11 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8104. 1701.11 s [opt-env-conf-test] + . showsPrec 0 commandHelp
  8105. 1701.11 s [opt-env-conf-test] . showString " "
  8106. 1701.11 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8107. 1701.11 s [opt-env-conf-test]
  8108. 1701.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  8109. 1701.11 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8110. 1701.11 s [opt-env-conf-test] . showString " "
  8111. 1701.11 s [opt-env-conf-test] . go 11 p2
  8112. 1701.11 s [opt-env-conf-test] ParserSetting mLoc p ->
  8113. 1701.11 s [opt-env-conf-test] - showParen (d > 10) $
  8114. 1701.11 s [opt-env-conf-test] + showParen True $
  8115. 1701.11 s [opt-env-conf-test] showString "Setting "
  8116. 1701.11 s [opt-env-conf-test] . showsPrec 11 mLoc
  8117. 1701.11 s [opt-env-conf-test] . showString " "
  8118. 1701.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
  8119. 1701.11 s [opt-env-conf-test] @@ -368,7 +368,7 @@
  8120. 1701.11 s [opt-env-conf-test] . showString " "
  8121. 1701.11 s [opt-env-conf-test] . go 11 p1
  8122. 1701.11 s [opt-env-conf-test] . showString " "
  8123. 1701.11 s [opt-env-conf-test] - . go 11 p2
  8124. 1701.11 s [opt-env-conf-test] + . go 1 p2
  8125. 1701.11 s [opt-env-conf-test] ParserSetting mLoc p ->
  8126. 1701.11 s [opt-env-conf-test] showParen (d > 10) $
  8127. 1701.11 s [opt-env-conf-test] showString "Setting "
  8128. 1701.11 s [opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
  8129. 1701.11 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  8130. 1701.11 s [opt-env-conf-test] . showString " "
  8131. 1701.11 s [opt-env-conf-test] . go 11 p2
  8132. 1701.11 s [opt-env-conf-test] ParserSetting mLoc p ->
  8133. 1701.11 s [opt-env-conf-test] - showParen (d > 10) $
  8134. 1701.11 s [opt-env-conf-test] + showParen (d >= 10) $
  8135. 1701.11 s [opt-env-conf-test] showString "Setting "
  8136. 1701.11 s [opt-env-conf-test] . showsPrec 11 mLoc
  8137. 1701.11 s [opt-env-conf-test] . showString " "
  8138. 1701.11 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
  8139. 1701.11 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  8140. 1701.11 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8141. 1701.11 s [opt-env-conf-test]
  8142. 1701.11 s [opt-env-conf-test] showParserABit :: Parser a -> String
  8143. 1701.11 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  8144. 1701.11 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  8145. 1701.11 s [opt-env-conf-test]
  8146. 1701.11 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  8147. 1701.11 s [opt-env-conf-test] showParserPrec = go
  8148. 1701.11 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
  8149. 1701.11 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  8150. 1701.11 s [opt-env-conf-test] (<|>) p1 p2 =
  8151. 1701.11 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8152. 1701.11 s [opt-env-conf-test] isEmpty = \case
  8153. 1701.11 s [opt-env-conf-test] - ParserPure _ -> False
  8154. 1701.11 s [opt-env-conf-test] + ParserPure _ -> True
  8155. 1701.11 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8156. 1701.11 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8157. 1701.11 s [opt-env-conf-test] ParserEmpty _ -> True
  8158. 1701.11 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8159. 1701.11 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8160. 1701.11 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8161. 1701.11 s [opt-env-conf-test] isEmpty = \case
  8162. 1701.12 s [opt-env-conf-test] ParserPure _ -> False
  8163. 1701.12 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8164. 1701.12 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  8165. 1701.12 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8166. 1701.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8167. 1701.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8168. 1701.12 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
  8169. 1701.12 s [opt-env-conf-test] @@ -316,7 +316,7 @@
  8170. 1701.12 s [opt-env-conf-test] . go 11 pf
  8171. 1701.12 s [opt-env-conf-test] ParserEmpty mLoc ->
  8172. 1701.12 s [opt-env-conf-test] showString "Empty "
  8173. 1701.12 s [opt-env-conf-test] - . showsPrec 11 mLoc
  8174. 1701.12 s [opt-env-conf-test] + . showsPrec 0 mLoc
  8175. 1701.12 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8176. 1701.12 s [opt-env-conf-test] showParen (d > 10) $
  8177. 1701.12 s [opt-env-conf-test] showString "Alt "
  8178. 1701.12 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
  8179. 1701.12 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8180. 1701.12 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8181. 1701.12 s [opt-env-conf-test] isEmpty = \case
  8182. 1701.12 s [opt-env-conf-test] ParserPure _ -> False
  8183. 1701.12 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8184. 1701.12 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not (isEmpty pa)
  8185. 1701.12 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8186. 1701.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8187. 1701.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8188. 1701.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8189. 1701.12 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8190. 1701.12 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8191. 1701.12 s [opt-env-conf-test] isEmpty = \case
  8192. 1701.12 s [opt-env-conf-test] ParserPure _ -> False
  8193. 1701.12 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8194. 1701.12 s [opt-env-conf-test] + ParserAp pf pa -> False
  8195. 1701.12 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8196. 1701.12 s [opt-env-conf-test] ParserEmpty _ -> True
  8197. 1701.12 s [opt-env-conf-test] ParserAlt _ _ -> False
  8198. 1701.12 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8199. 1701.12 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8200. 1701.12 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8201. 1701.12 s [opt-env-conf-test] isEmpty = \case
  8202. 1701.12 s [opt-env-conf-test] ParserPure _ -> False
  8203. 1701.12 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8204. 1708.71 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  8205. 1708.71 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8206. 1708.73 s [opt-env-conf-test] ParserEmpty _ -> True
  8207. 1708.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  8208. 1708.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  8209. 1708.73 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8210. 1708.73 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8211. 1708.73 s [opt-env-conf-test] isEmpty = \case
  8212. 1708.73 s [opt-env-conf-test] ParserPure _ -> False
  8213. 1708.73 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8214. 1708.73 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  8215. 1708.73 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8216. 1708.73 s [opt-env-conf-test] ParserEmpty _ -> True
  8217. 1708.73 s [opt-env-conf-test] ParserAlt _ _ -> False
  8218. 1708.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8219. 1708.73 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8220. 1708.73 s [opt-env-conf-test] isEmpty = \case
  8221. 1708.73 s [opt-env-conf-test] ParserPure _ -> False
  8222. 1708.73 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8223. 1708.73 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8224. 1708.73 s [opt-env-conf-test] + ParserSelect pe pf -> True && isEmpty pf
  8225. 1708.73 s [opt-env-conf-test] ParserEmpty _ -> True
  8226. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8227. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8228. 1708.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
  8229. 1708.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8230. 1708.74 s [opt-env-conf-test] isEmpty = \case
  8231. 1708.74 s [opt-env-conf-test] ParserPure _ -> False
  8232. 1708.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8233. 1708.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8234. 1708.74 s [opt-env-conf-test] + ParserSelect pe pf -> False && isEmpty pf
  8235. 1708.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8236. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8237. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8238. 1708.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
  8239. 1708.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8240. 1708.74 s [opt-env-conf-test] isEmpty = \case
  8241. 1708.74 s [opt-env-conf-test] ParserPure _ -> False
  8242. 1708.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8243. 1708.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8244. 1708.74 s [opt-env-conf-test] + ParserSelect pe pf -> not (isEmpty pe) && isEmpty pf
  8245. 1708.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8246. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8247. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8248. 1708.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8249. 1708.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8250. 1708.74 s [opt-env-conf-test] isEmpty = \case
  8251. 1708.74 s [opt-env-conf-test] ParserPure _ -> False
  8252. 1708.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8253. 1708.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8254. 1708.74 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && False
  8255. 1708.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8256. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8257. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8258. 1708.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
  8259. 1708.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8260. 1708.74 s [opt-env-conf-test] isEmpty = \case
  8261. 1708.74 s [opt-env-conf-test] ParserPure _ -> False
  8262. 1708.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8263. 1708.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8264. 1708.74 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && not (isEmpty pf)
  8265. 1708.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8266. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8267. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8268. 1708.74 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8269. 1708.74 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8270. 1708.74 s [opt-env-conf-test] . showString " "
  8271. 1708.74 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8272. 1708.74 s [opt-env-conf-test] . showString " "
  8273. 1708.74 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8274. 1708.74 s [opt-env-conf-test] + . showParserPrec -11 commandParser
  8275. 1708.74 s [opt-env-conf-test]
  8276. 1708.74 s [opt-env-conf-test] -- | A 'Parser' structure
  8277. 1708.74 s [opt-env-conf-test] --
  8278. 1708.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
  8279. 1708.74 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8280. 1708.74 s [opt-env-conf-test] isEmpty = \case
  8281. 1708.74 s [opt-env-conf-test] ParserPure _ -> False
  8282. 1708.74 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8283. 1708.74 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8284. 1708.74 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && True
  8285. 1708.74 s [opt-env-conf-test] ParserEmpty _ -> True
  8286. 1708.74 s [opt-env-conf-test] ParserAlt _ _ -> False
  8287. 1708.74 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8288. 1708.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  8289. 1708.75 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8290. 1708.75 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8291. 1708.75 s [opt-env-conf-test] isEmpty = \case
  8292. 1708.75 s [opt-env-conf-test] ParserPure _ -> False
  8293. 1708.75 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8294. 1708.75 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  8295. 1708.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8296. 1708.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8297. 1708.75 s [opt-env-conf-test] ParserAlt _ _ -> False
  8298. 1708.75 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
  8299. 1708.75 s [opt-env-conf-test] @@ -135,7 +135,7 @@
  8300. 1708.75 s [opt-env-conf-test] . showString " "
  8301. 1708.75 s [opt-env-conf-test] . showsPrec 11 commandHelp
  8302. 1708.75 s [opt-env-conf-test] . showString " "
  8303. 1708.75 s [opt-env-conf-test] - . showParserPrec 11 commandParser
  8304. 1708.75 s [opt-env-conf-test] + . showParserPrec 0 commandParser
  8305. 1708.75 s [opt-env-conf-test]
  8306. 1708.75 s [opt-env-conf-test] -- | A 'Parser' structure
  8307. 1708.75 s [opt-env-conf-test] --
  8308. 1708.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  8309. 1708.75 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8310. 1708.75 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8311. 1708.75 s [opt-env-conf-test] isEmpty = \case
  8312. 1708.75 s [opt-env-conf-test] ParserPure _ -> False
  8313. 1708.75 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8314. 1708.75 s [opt-env-conf-test] + ParserAp pf pa -> True
  8315. 1708.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8316. 1708.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8317. 1708.75 s [opt-env-conf-test] ParserAlt _ _ -> False
  8318. 1708.75 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  8319. 1708.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8320. 1708.75 s [opt-env-conf-test] showCommandABit
  8321. 1708.75 s [opt-env-conf-test] cs
  8322. 1708.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8323. 1708.75 s [opt-env-conf-test] - showParen (d > 10) $
  8324. 1708.75 s [opt-env-conf-test] + showParen (d > -10) $
  8325. 1708.75 s [opt-env-conf-test] showString "WithConfig _ "
  8326. 1708.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  8327. 1708.75 s [opt-env-conf-test] . showString " "
  8328. 1708.75 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
  8329. 1708.75 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  8330. 1708.75 s [opt-env-conf-test] showString "Command "
  8331. 1708.75 s [opt-env-conf-test] . showsPrec 11 commandArg
  8332. 1708.75 s [opt-env-conf-test] . showString " "
  8333. 1708.75 s [opt-env-conf-test] - . showsPrec 11 commandHelp
  8334. 1708.75 s [opt-env-conf-test] + . showsPrec -11 commandHelp
  8335. 1708.75 s [opt-env-conf-test] . showString " "
  8336. 1708.75 s [opt-env-conf-test] . showParserPrec 11 commandParser
  8337. 1708.75 s [opt-env-conf-test]
  8338. 1708.75 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
  8339. 1708.75 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  8340. 1708.75 s [opt-env-conf-test] showCommandABit
  8341. 1708.75 s [opt-env-conf-test] cs
  8342. 1708.75 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  8343. 1708.75 s [opt-env-conf-test] - showParen (d > 10) $
  8344. 1708.75 s [opt-env-conf-test] + showParen (d > 0) $
  8345. 1708.75 s [opt-env-conf-test] showString "WithConfig _ "
  8346. 1708.75 s [opt-env-conf-test] . showsPrec 11 mLoc
  8347. 1708.75 s [opt-env-conf-test] . showString " "
  8348. 1708.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
  8349. 1708.75 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8350. 1708.75 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8351. 1708.75 s [opt-env-conf-test] isEmpty = \case
  8352. 1708.75 s [opt-env-conf-test] ParserPure _ -> False
  8353. 1708.75 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8354. 1708.75 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf) && isEmpty pa
  8355. 1708.75 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8356. 1708.75 s [opt-env-conf-test] ParserEmpty _ -> True
  8357. 1708.76 s [opt-env-conf-test] ParserAlt _ _ -> False
  8358. 1708.76 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
  8359. 1708.76 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8360. 1708.76 s [opt-env-conf-test] isEmpty = \case
  8361. 1708.76 s [opt-env-conf-test] ParserPure _ -> False
  8362. 1708.76 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8363. 1708.76 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8364. 1708.76 s [opt-env-conf-test] + ParserSelect pe pf -> not (isEmpty pe && isEmpty pf)
  8365. 1708.76 s [opt-env-conf-test] ParserEmpty _ -> True
  8366. 1708.76 s [opt-env-conf-test] ParserAlt _ _ -> False
  8367. 1708.76 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8368. 1708.76 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
  8369. 1708.76 s [opt-env-conf-test] @@ -356,7 +356,7 @@
  8370. 1708.76 s [opt-env-conf-test] showString "Commands "
  8371. 1708.76 s [opt-env-conf-test] . showsPrec 11 mLoc
  8372. 1708.76 s [opt-env-conf-test] . showString " "
  8373. 1711.21 s [opt-env-conf-test] - . showsPrec 11 mDefault
  8374. 1711.22 s [opt-env-conf-test] + . showsPrec 1 mDefault
  8375. 1711.22 s [opt-env-conf-test] . showString " "
  8376. 1711.22 s [opt-env-conf-test] . showListWith
  8377. 1711.22 s [opt-env-conf-test] showCommandABit
  8378. 1711.22 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
  8379. 1711.22 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8380. 1711.22 s [opt-env-conf-test] isEmpty = \case
  8381. 1711.22 s [opt-env-conf-test] ParserPure _ -> False
  8382. 1711.22 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8383. 1711.22 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8384. 1711.22 s [opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe || isEmpty pf
  8385. 1711.22 s [opt-env-conf-test] ParserEmpty _ -> True
  8386. 1711.22 s [opt-env-conf-test] ParserAlt _ _ -> False
  8387. 1711.22 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8388. 1711.22 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8389. 1711.22 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8390. 1711.22 s [opt-env-conf-test] isEmpty = \case
  8391. 1711.22 s [opt-env-conf-test] ParserPure _ -> False
  8392. 1711.22 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8393. 1711.22 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8394. 1711.22 s [opt-env-conf-test] + ParserSelect pe pf -> True
  8395. 1711.22 s [opt-env-conf-test] ParserEmpty _ -> True
  8396. 1711.22 s [opt-env-conf-test] ParserAlt _ _ -> False
  8397. 1711.22 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8398. 1711.22 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
  8399. 1711.22 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8400. 1711.22 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8401. 1711.22 s [opt-env-conf-test] isEmpty = \case
  8402. 1711.22 s [opt-env-conf-test] ParserPure _ -> False
  8403. 1711.22 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8404. 1711.22 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf || isEmpty pa
  8405. 1711.22 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8406. 1711.22 s [opt-env-conf-test] ParserEmpty _ -> True
  8407. 1711.22 s [opt-env-conf-test] ParserAlt _ _ -> False
  8408. 1711.22 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
  8409. 1711.22 s [opt-env-conf-test] @@ -254,7 +254,7 @@
  8410. 1711.23 s [opt-env-conf-test] isEmpty = \case
  8411. 1711.23 s [opt-env-conf-test] ParserPure _ -> False
  8412. 1711.23 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8413. 1711.23 s [opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8414. 1711.23 s [opt-env-conf-test] + ParserSelect pe pf -> False
  8415. 1711.23 s [opt-env-conf-test] ParserEmpty _ -> True
  8416. 1711.23 s [opt-env-conf-test] ParserAlt _ _ -> False
  8417. 1711.23 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8418. 1711.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  8419. 1711.23 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  8420. 1711.23 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8421. 1711.23 s [opt-env-conf-test] ParserEmpty _ -> True
  8422. 1711.23 s [opt-env-conf-test] ParserAlt _ _ -> False
  8423. 1711.23 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  8424. 1711.23 s [opt-env-conf-test] + ParserMany _ p -> False
  8425. 1711.23 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8426. 1711.23 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8427. 1711.23 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8428. 1711.23 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
  8429. 1711.23 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  8430. 1711.23 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  8431. 1711.23 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8432. 1711.23 s [opt-env-conf-test] ParserEmpty _ -> True
  8433. 1711.23 s [opt-env-conf-test] - ParserAlt _ _ -> False
  8434. 1711.23 s [opt-env-conf-test] + ParserAlt _ _ -> True
  8435. 1711.23 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8436. 1711.23 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8437. 1711.23 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8438. 1711.23 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
  8439. 1711.23 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  8440. 1711.23 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  8441. 1711.23 s [opt-env-conf-test] isEmpty = \case
  8442. 1711.23 s [opt-env-conf-test] ParserPure _ -> False
  8443. 1711.23 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  8444. 1711.23 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf && isEmpty pa)
  8445. 1711.23 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8446. 1711.23 s [opt-env-conf-test] ParserEmpty _ -> True
  8447. 1711.23 s [opt-env-conf-test] ParserAlt _ _ -> False
  8448. 1711.23 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  8449. 1711.23 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  8450. 1711.23 s [opt-env-conf-test] showString "Empty "
  8451. 1711.23 s [opt-env-conf-test] . showsPrec 11 mLoc
  8452. 1711.23 s [opt-env-conf-test] ParserAlt p1 p2 ->
  8453. 1711.23 s [opt-env-conf-test] - showParen (d > 10) $
  8454. 1711.24 s [opt-env-conf-test] + showParen True $
  8455. 1711.24 s [opt-env-conf-test] showString "Alt "
  8456. 1711.24 s [opt-env-conf-test] . go 11 p1
  8457. 1711.24 s [opt-env-conf-test] . showString " "
  8458. 1711.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  8459. 1711.24 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  8460. 1711.24 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  8461. 1711.24 s [opt-env-conf-test] ParserEmpty _ -> True
  8462. 1711.24 s [opt-env-conf-test] ParserAlt _ _ -> False
  8463. 1711.24 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  8464. 1711.24 s [opt-env-conf-test] + ParserMany _ p -> True
  8465. 1711.24 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8466. 1711.24 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8467. 1711.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8468. 1711.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
  8469. 1711.24 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  8470. 1711.24 s [opt-env-conf-test] ParserAlt _ _ -> False
  8471. 1711.24 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8472. 1711.24 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8473. 1711.24 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  8474. 1711.24 s [opt-env-conf-test] + ParserAllOrNothing _ p -> not (isEmpty p)
  8475. 1711.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8476. 1711.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8477. 1711.24 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8478. 1711.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  8479. 1711.24 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8480. 1711.24 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8481. 1711.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8482. 1711.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8483. 1711.24 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8484. 1711.24 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False && isEmpty ps
  8485. 1711.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  8486. 1711.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8487. 1711.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8488. 1711.24 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
  8489. 1711.24 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8490. 1711.24 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8491. 1711.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8492. 1711.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8493. 1711.24 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8494. 1711.24 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not (isEmpty pc) && isEmpty ps
  8495. 1711.24 s [opt-env-conf-test] ParserSetting _ _ -> False
  8496. 1711.24 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8497. 1711.24 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8498. 1711.24 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  8499. 1711.24 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8500. 1711.24 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8501. 1711.24 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8502. 1711.24 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8503. 1711.24 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8504. 1711.25 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && True
  8505. 1711.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  8506. 1711.25 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8507. 1711.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8508. 1711.25 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
  8509. 1711.25 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8510. 1711.25 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8511. 1711.25 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8512. 1711.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8513. 1711.25 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8514. 1711.25 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && False
  8515. 1711.25 s [opt-env-conf-test] ParserSetting _ _ -> False
  8516. 1711.25 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8517. 1711.25 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8518. 1711.25 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
  8519. 1711.25 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8520. 1711.25 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8521. 1711.25 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8522. 1711.25 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8523. 1711.25 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8524. 1713.99 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && not (isEmpty ps)
  8525. 1714.06 s [opt-env-conf-test] ParserSetting _ _ -> False
  8526. 1714.06 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8527. 1714.06 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8528. 1714.06 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  8529. 1714.06 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8530. 1714.07 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8531. 1714.07 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8532. 1714.07 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8533. 1714.07 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8534. 1714.07 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True
  8535. 1714.07 s [opt-env-conf-test] ParserSetting _ _ -> False
  8536. 1714.07 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8537. 1714.07 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8538. 1714.07 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  8539. 1714.07 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  8540. 1714.07 s [opt-env-conf-test] ParserAlt _ _ -> False
  8541. 1714.07 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8542. 1714.07 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8543. 1714.07 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  8544. 1714.07 s [opt-env-conf-test] + ParserAllOrNothing _ p -> True
  8545. 1714.07 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8546. 1714.07 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8547. 1714.07 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8548. 1714.07 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
  8549. 1714.07 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  8550. 1714.07 s [opt-env-conf-test] ParserEmpty _ -> True
  8551. 1714.07 s [opt-env-conf-test] ParserAlt _ _ -> False
  8552. 1714.07 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8553. 1714.07 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  8554. 1714.07 s [opt-env-conf-test] + ParserSome _ p -> not (isEmpty p)
  8555. 1714.07 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8556. 1714.07 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8557. 1714.07 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8558. 1714.07 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
  8559. 1714.07 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8560. 1714.07 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8561. 1714.07 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8562. 1714.08 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8563. 1714.08 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8564. 1714.08 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc || isEmpty ps
  8565. 1714.08 s [opt-env-conf-test] ParserSetting _ _ -> False
  8566. 1714.08 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8567. 1714.08 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8568. 1714.08 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
  8569. 1714.08 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8570. 1714.08 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8571. 1714.08 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8572. 1714.08 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8573. 1714.08 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8574. 1714.08 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> not (isEmpty pc && isEmpty ps)
  8575. 1714.08 s [opt-env-conf-test] ParserSetting _ _ -> False
  8576. 1714.08 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8577. 1714.08 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8578. 1714.08 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
  8579. 1714.08 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  8580. 1714.08 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8581. 1714.08 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8582. 1714.08 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8583. 1714.08 s [opt-env-conf-test] - ParserSetting _ _ -> False
  8584. 1714.08 s [opt-env-conf-test] + ParserSetting _ _ -> True
  8585. 1714.08 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8586. 1714.08 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8587. 1714.08 s [opt-env-conf-test] (True, False) -> p2
  8588. 1714.08 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  8589. 1714.08 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8590. 1714.08 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8591. 1714.08 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8592. 1714.08 s [opt-env-conf-test] ParserSetting _ _ -> False
  8593. 1714.08 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8594. 1714.08 s [opt-env-conf-test] + in case (True, isEmpty p2) of
  8595. 1714.08 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8596. 1714.08 s [opt-env-conf-test] (True, False) -> p2
  8597. 1714.08 s [opt-env-conf-test] (False, True) -> p1
  8598. 1714.08 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  8599. 1714.08 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8600. 1714.08 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8601. 1714.08 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8602. 1714.08 s [opt-env-conf-test] ParserSetting _ _ -> False
  8603. 1714.08 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8604. 1714.08 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  8605. 1714.08 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8606. 1714.08 s [opt-env-conf-test] (True, False) -> p2
  8607. 1714.08 s [opt-env-conf-test] (False, True) -> p1
  8608. 1714.08 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
  8609. 1714.08 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8610. 1714.09 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8611. 1714.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8612. 1714.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8613. 1714.09 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8614. 1714.09 s [opt-env-conf-test] + ParserCommands _ _ cs -> not (null cs)
  8615. 1714.09 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8616. 1714.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  8617. 1714.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8618. 1714.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  8619. 1714.09 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8620. 1714.09 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8621. 1714.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8622. 1714.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8623. 1714.09 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8624. 1714.09 s [opt-env-conf-test] + ParserCommands _ _ cs -> True
  8625. 1714.09 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8626. 1714.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  8627. 1714.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8628. 1714.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
  8629. 1714.09 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  8630. 1714.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8631. 1714.09 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8632. 1714.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8633. 1714.09 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8634. 1714.09 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> True && isEmpty ps
  8635. 1714.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  8636. 1714.09 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8637. 1714.09 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8638. 1714.09 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  8639. 1714.09 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  8640. 1714.09 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8641. 1714.09 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8642. 1714.09 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8643. 1714.09 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  8644. 1714.09 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  8645. 1714.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8646. 1714.09 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8647. 1714.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  8648. 1714.09 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
  8649. 1714.09 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8650. 1714.09 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8651. 1714.09 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8652. 1714.09 s [opt-env-conf-test] ParserSetting _ _ -> False
  8653. 1714.09 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8654. 1714.09 s [opt-env-conf-test] + in case (isEmpty p1, not (isEmpty p2)) of
  8655. 1714.09 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8656. 1714.09 s [opt-env-conf-test] (True, False) -> p2
  8657. 1714.09 s [opt-env-conf-test] (False, True) -> p1
  8658. 1714.09 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  8659. 1714.09 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  8660. 1714.09 s [opt-env-conf-test] (True, False) -> p2
  8661. 1714.09 s [opt-env-conf-test] (False, True) -> p1
  8662. 1714.09 s [opt-env-conf-test] (False, False) ->
  8663. 1714.09 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8664. 1714.09 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8665. 1714.09 s [opt-env-conf-test] -- alts to always be right-leaning
  8666. 1714.09 s [opt-env-conf-test] --
  8667. 1714.09 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8668. 1714.09 s [opt-env-conf-test] -- p
  8669. 1714.10 s [opt-env-conf-test] -- / \
  8670. 1714.10 s [opt-env-conf-test] -- p1 p2
  8671. 1716.71 s [opt-env-conf-test] -- / \
  8672. 1716.71 s [opt-env-conf-test] -- p3 p4
  8673. 1716.71 s [opt-env-conf-test] --
  8674. 1716.71 s [opt-env-conf-test] -- We need to rearrange it to
  8675. 1716.71 s [opt-env-conf-test] -- p
  8676. 1716.71 s [opt-env-conf-test] -- / \
  8677. 1716.71 s [opt-env-conf-test] -- p1 ++ p3 p4
  8678. 1716.71 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8679. 1716.71 s [opt-env-conf-test] go (go p1' p3') p4'
  8680. 1716.71 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8681. 1716.71 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8682. 1716.71 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8683. 1716.71 s [opt-env-conf-test] in go p1 p2
  8684. 1716.71 s [opt-env-conf-test] many = ParserMany Nothing
  8685. 1716.71 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8686. 1716.71 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  8687. 1716.71 s [opt-env-conf-test] @@ -269,26 +269,25 @@
  8688. 1716.71 s [opt-env-conf-test] (True, False) -> p2
  8689. 1716.71 s [opt-env-conf-test] (False, True) -> p1
  8690. 1716.71 s [opt-env-conf-test] (False, False) ->
  8691. 1716.72 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8692. 1716.72 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8693. 1716.72 s [opt-env-conf-test] -- alts to always be right-leaning
  8694. 1716.72 s [opt-env-conf-test] --
  8695. 1716.72 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8696. 1716.72 s [opt-env-conf-test] -- p
  8697. 1716.72 s [opt-env-conf-test] -- / \
  8698. 1716.72 s [opt-env-conf-test] -- p1 p2
  8699. 1716.72 s [opt-env-conf-test] -- / \
  8700. 1716.72 s [opt-env-conf-test] -- p3 p4
  8701. 1716.72 s [opt-env-conf-test] --
  8702. 1716.72 s [opt-env-conf-test] -- We need to rearrange it to
  8703. 1716.72 s [opt-env-conf-test] -- p
  8704. 1716.72 s [opt-env-conf-test] -- / \
  8705. 1716.72 s [opt-env-conf-test] -- p1 ++ p3 p4
  8706. 1716.72 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8707. 1716.72 s [opt-env-conf-test] go (go p1' p3') p4'
  8708. 1716.72 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8709. 1716.72 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8710. 1716.72 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  8711. 1716.72 s [opt-env-conf-test] in go p1 p2
  8712. 1716.72 s [opt-env-conf-test] many = ParserMany Nothing
  8713. 1716.72 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8714. 1716.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8715. 1716.72 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8716. 1716.72 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8717. 1716.72 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8718. 1716.72 s [opt-env-conf-test] ParserSetting _ _ -> False
  8719. 1716.72 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8720. 1716.72 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  8721. 1716.72 s [opt-env-conf-test] (True, False) -> p2
  8722. 1716.72 s [opt-env-conf-test] (False, True) -> p1
  8723. 1716.72 s [opt-env-conf-test] (False, False) ->
  8724. 1716.72 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8725. 1716.72 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8726. 1716.72 s [opt-env-conf-test] -- alts to always be right-leaning
  8727. 1716.72 s [opt-env-conf-test] --
  8728. 1716.72 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8729. 1716.72 s [opt-env-conf-test] -- p
  8730. 1716.72 s [opt-env-conf-test] -- / \
  8731. 1716.72 s [opt-env-conf-test] -- p1 p2
  8732. 1716.72 s [opt-env-conf-test] -- / \
  8733. 1716.72 s [opt-env-conf-test] -- p3 p4
  8734. 1716.72 s [opt-env-conf-test] --
  8735. 1716.72 s [opt-env-conf-test] -- We need to rearrange it to
  8736. 1716.72 s [opt-env-conf-test] -- p
  8737. 1716.73 s [opt-env-conf-test] -- / \
  8738. 1716.73 s [opt-env-conf-test] -- p1 ++ p3 p4
  8739. 1716.73 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8740. 1716.73 s [opt-env-conf-test] go (go p1' p3') p4'
  8741. 1716.73 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8742. 1716.73 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8743. 1716.73 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8744. 1716.73 s [opt-env-conf-test] in go p1 p2
  8745. 1716.73 s [opt-env-conf-test] many = ParserMany Nothing
  8746. 1716.73 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8747. 1716.73 s [opt-env-conf-test]
  8748. 1716.73 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8749. 1716.73 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8750. 1716.73 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8751. 1716.73 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8752. 1716.73 s [opt-env-conf-test] ParserSetting _ _ -> False
  8753. 1716.73 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8754. 1716.73 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8755. 1716.73 s [opt-env-conf-test] - (True, False) -> p2
  8756. 1716.73 s [opt-env-conf-test] (False, True) -> p1
  8757. 1716.73 s [opt-env-conf-test] (False, False) ->
  8758. 1716.73 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8759. 1716.73 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8760. 1716.73 s [opt-env-conf-test] -- alts to always be right-leaning
  8761. 1716.73 s [opt-env-conf-test] --
  8762. 1716.73 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8763. 1716.73 s [opt-env-conf-test] -- p
  8764. 1716.73 s [opt-env-conf-test] -- / \
  8765. 1716.73 s [opt-env-conf-test] -- p1 p2
  8766. 1716.73 s [opt-env-conf-test] -- / \
  8767. 1716.73 s [opt-env-conf-test] -- p3 p4
  8768. 1716.73 s [opt-env-conf-test] --
  8769. 1716.73 s [opt-env-conf-test] -- We need to rearrange it to
  8770. 1716.73 s [opt-env-conf-test] -- p
  8771. 1716.73 s [opt-env-conf-test] -- / \
  8772. 1716.73 s [opt-env-conf-test] -- p1 ++ p3 p4
  8773. 1716.73 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8774. 1716.73 s [opt-env-conf-test] go (go p1' p3') p4'
  8775. 1716.73 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8776. 1716.73 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8777. 1716.73 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8778. 1716.73 s [opt-env-conf-test] in go p1 p2
  8779. 1716.73 s [opt-env-conf-test] many = ParserMany Nothing
  8780. 1716.73 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8781. 1716.73 s [opt-env-conf-test]
  8782. 1716.73 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8783. 1716.73 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  8784. 1716.73 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8785. 1716.73 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8786. 1716.73 s [opt-env-conf-test] ParserSetting _ _ -> False
  8787. 1716.73 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8788. 1716.73 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8789. 1716.73 s [opt-env-conf-test] (True, False) -> p2
  8790. 1716.73 s [opt-env-conf-test] - (False, True) -> p1
  8791. 1716.74 s [opt-env-conf-test] (False, False) ->
  8792. 1716.74 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8793. 1716.74 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8794. 1716.74 s [opt-env-conf-test] -- alts to always be right-leaning
  8795. 1716.74 s [opt-env-conf-test] --
  8796. 1716.74 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8797. 1716.74 s [opt-env-conf-test] -- p
  8798. 1716.74 s [opt-env-conf-test] -- / \
  8799. 1716.74 s [opt-env-conf-test] -- p1 p2
  8800. 1716.74 s [opt-env-conf-test] -- / \
  8801. 1716.74 s [opt-env-conf-test] -- p3 p4
  8802. 1716.74 s [opt-env-conf-test] --
  8803. 1716.74 s [opt-env-conf-test] -- We need to rearrange it to
  8804. 1716.74 s [opt-env-conf-test] -- p
  8805. 1716.74 s [opt-env-conf-test] -- / \
  8806. 1716.74 s [opt-env-conf-test] -- p1 ++ p3 p4
  8807. 1716.74 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8808. 1716.74 s [opt-env-conf-test] go (go p1' p3') p4'
  8809. 1716.74 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8810. 1716.74 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8811. 1716.74 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8812. 1716.74 s [opt-env-conf-test] in go p1 p2
  8813. 1716.74 s [opt-env-conf-test] many = ParserMany Nothing
  8814. 1716.74 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8815. 1716.74 s [opt-env-conf-test]
  8816. 1716.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  8817. 1716.74 s [opt-env-conf-test] @@ -264,32 +264,10 @@
  8818. 1716.74 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8819. 1716.74 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8820. 1716.74 s [opt-env-conf-test] ParserSetting _ _ -> False
  8821. 1716.74 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8822. 1716.74 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  8823. 1716.74 s [opt-env-conf-test] (True, False) -> p2
  8824. 1716.74 s [opt-env-conf-test] (False, True) -> p1
  8825. 1716.74 s [opt-env-conf-test] - (False, False) ->
  8826. 1716.74 s [opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
  8827. 1716.74 s [opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
  8828. 1716.74 s [opt-env-conf-test] - -- alts to always be right-leaning
  8829. 1716.74 s [opt-env-conf-test] - --
  8830. 1716.74 s [opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8831. 1716.74 s [opt-env-conf-test] - -- p
  8832. 1716.74 s [opt-env-conf-test] - -- / \
  8833. 1716.74 s [opt-env-conf-test] - -- p1 p2
  8834. 1716.74 s [opt-env-conf-test] - -- / \
  8835. 1716.74 s [opt-env-conf-test] - -- p3 p4
  8836. 1716.74 s [opt-env-conf-test] - --
  8837. 1716.74 s [opt-env-conf-test] - -- We need to rearrange it to
  8838. 1716.74 s [opt-env-conf-test] - -- p
  8839. 1716.74 s [opt-env-conf-test] - -- / \
  8840. 1716.74 s [opt-env-conf-test] - -- p1 ++ p3 p4
  8841. 1716.74 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8842. 1716.74 s [opt-env-conf-test] - go (go p1' p3') p4'
  8843. 1716.74 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8844. 1716.74 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8845. 1716.74 s [opt-env-conf-test] - _ -> ParserAlt p1' p2'
  8846. 1716.74 s [opt-env-conf-test] - in go p1 p2
  8847. 1716.74 s [opt-env-conf-test] many = ParserMany Nothing
  8848. 1716.74 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8849. 1716.75 s [opt-env-conf-test]
  8850. 1716.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  8851. 1724.52 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  8852. 1724.52 s [opt-env-conf-test]
  8853. 1724.52 s [opt-env-conf-test] instance Applicative Parser where
  8854. 1724.55 s [opt-env-conf-test] pure = ParserPure
  8855. 1724.55 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  8856. 1724.55 s [opt-env-conf-test] -- Homomorphism law for applicative
  8857. 1724.55 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  8858. 1724.55 s [opt-env-conf-test] _ -> ParserAp p1 p2
  8859. 1724.55 s [opt-env-conf-test]
  8860. 1724.55 s [opt-env-conf-test] instance Selective Parser where
  8861. 1724.55 s [opt-env-conf-test] select = ParserSelect
  8862. 1724.55 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  8863. 1724.55 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  8864. 1724.55 s [opt-env-conf-test]
  8865. 1724.55 s [opt-env-conf-test] instance Applicative Parser where
  8866. 1724.55 s [opt-env-conf-test] pure = ParserPure
  8867. 1724.55 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  8868. 1724.55 s [opt-env-conf-test] -- Homomorphism law for applicative
  8869. 1724.55 s [opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
  8870. 1724.55 s [opt-env-conf-test] - _ -> ParserAp p1 p2
  8871. 1724.56 s [opt-env-conf-test]
  8872. 1724.56 s [opt-env-conf-test] instance Selective Parser where
  8873. 1724.56 s [opt-env-conf-test] select = ParserSelect
  8874. 1724.56 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
  8875. 1724.56 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  8876. 1724.56 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  8877. 1724.56 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8878. 1724.56 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8879. 1724.56 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  8880. 1724.56 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> not (isEmpty p)
  8881. 1724.56 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8882. 1724.56 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8883. 1724.56 s [opt-env-conf-test] ParserSetting _ _ -> False
  8884. 1724.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  8885. 1724.56 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  8886. 1724.56 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  8887. 1724.56 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  8888. 1724.56 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  8889. 1724.56 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  8890. 1724.56 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc False caps (fmap (fmap f) . g) p
  8891. 1724.56 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  8892. 1724.56 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  8893. 1724.56 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  8894. 1724.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
  8895. 1724.56 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  8896. 1724.56 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  8897. 1724.56 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  8898. 1724.56 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  8899. 1724.56 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  8900. 1724.56 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc True caps (fmap (fmap f) . g) p
  8901. 1724.56 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  8902. 1724.57 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  8903. 1724.57 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  8904. 1724.57 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
  8905. 1724.57 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  8906. 1724.57 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  8907. 1724.57 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  8908. 1724.57 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  8909. 1724.57 s [opt-env-conf-test] - p -> ParserCheck Nothing True Set.empty (pure . Right . f) p
  8910. 1724.57 s [opt-env-conf-test] + p -> ParserCheck Nothing False Set.empty (pure . Right . f) p
  8911. 1724.57 s [opt-env-conf-test]
  8912. 1724.57 s [opt-env-conf-test] instance Applicative Parser where
  8913. 1724.57 s [opt-env-conf-test] pure = ParserPure
  8914. 1724.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
  8915. 1724.57 s [opt-env-conf-test] @@ -231,7 +231,7 @@
  8916. 1724.57 s [opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
  8917. 1724.57 s [opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
  8918. 1724.57 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
  8919. 1724.57 s [opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
  8920. 1724.57 s [opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc not (forgivable) caps (fmap (fmap f) . g) p
  8921. 1724.57 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
  8922. 1724.57 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
  8923. 1724.57 s [opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
  8924. 1724.57 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:246:28-33
  8925. 1724.57 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  8926. 1724.57 s [opt-env-conf-test] -- 'many' is allowed only when every parse below consumes something.
  8927. 1724.57 s [opt-env-conf-test] go :: Parser a -> ValidationT LintError (Reader Bool) Bool
  8928. 1724.57 s [opt-env-conf-test] go = \case
  8929. 1724.57 s [opt-env-conf-test] - ParserPure _ -> pure False
  8930. 1724.57 s [opt-env-conf-test] + ParserPure _ -> pure True
  8931. 1724.57 s [opt-env-conf-test] ParserAp p1 p2 -> do
  8932. 1724.57 s [opt-env-conf-test] c1 <- go p1
  8933. 1724.57 s [opt-env-conf-test] c2 <- go p2
  8934. 1724.57 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:238:20-25
  8935. 1724.57 s [opt-env-conf-test] @@ -235,7 +235,7 @@
  8936. 1724.57 s [opt-env-conf-test] lintParser =
  8937. 1724.57 s [opt-env-conf-test] either Just (const Nothing)
  8938. 1724.57 s [opt-env-conf-test] . validationToEither
  8939. 1724.57 s [opt-env-conf-test] - . (`runReader` False) -- Set to true for parsers that have a way to load conf
  8940. 1724.57 s [opt-env-conf-test] + . (`runReader` True) -- Set to true for parsers that have a way to load conf
  8941. 1724.58 s [opt-env-conf-test] . runValidationT
  8942. 1724.58 s [opt-env-conf-test] . go
  8943. 1724.58 s [opt-env-conf-test] where
  8944. 1724.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  8945. 1724.58 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  8946. 1724.58 s [opt-env-conf-test] ParserAp p1 p2 -> do
  8947. 1724.58 s [opt-env-conf-test] c1 <- go p1
  8948. 1724.58 s [opt-env-conf-test] c2 <- go p2
  8949. 1724.58 s [opt-env-conf-test] - pure (c1 || c2)
  8950. 1724.58 s [opt-env-conf-test] + pure (True || c2)
  8951. 1724.58 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  8952. 1724.58 s [opt-env-conf-test] c1 <- go p1
  8953. 1724.58 s [opt-env-conf-test] c2 <- go p2
  8954. 1724.58 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  8955. 1724.58 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  8956. 1724.58 s [opt-env-conf-test] (True, False) -> p2
  8957. 1724.58 s [opt-env-conf-test] (False, True) -> p1
  8958. 1724.58 s [opt-env-conf-test] (False, False) ->
  8959. 1724.58 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  8960. 1724.58 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  8961. 1724.58 s [opt-env-conf-test] -- alts to always be right-leaning
  8962. 1724.58 s [opt-env-conf-test] --
  8963. 1724.58 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  8964. 1724.58 s [opt-env-conf-test] -- p
  8965. 1724.58 s [opt-env-conf-test] -- / \
  8966. 1724.58 s [opt-env-conf-test] -- p1 p2
  8967. 1724.58 s [opt-env-conf-test] -- / \
  8968. 1724.58 s [opt-env-conf-test] -- p3 p4
  8969. 1724.58 s [opt-env-conf-test] --
  8970. 1724.58 s [opt-env-conf-test] -- We need to rearrange it to
  8971. 1724.58 s [opt-env-conf-test] -- p
  8972. 1724.58 s [opt-env-conf-test] -- / \
  8973. 1724.58 s [opt-env-conf-test] -- p1 ++ p3 p4
  8974. 1724.58 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  8975. 1724.58 s [opt-env-conf-test] - go (go p1' p3') p4'
  8976. 1724.58 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  8977. 1724.58 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  8978. 1724.58 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  8979. 1724.58 s [opt-env-conf-test] in go p1 p2
  8980. 1724.58 s [opt-env-conf-test] many = ParserMany Nothing
  8981. 1724.58 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  8982. 1724.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  8983. 1724.58 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  8984. 1724.58 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  8985. 1724.58 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  8986. 1724.58 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  8987. 1724.58 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  8988. 1724.58 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  8989. 1724.58 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8990. 1724.58 s [opt-env-conf-test] ParserSetting _ _ -> False
  8991. 1724.58 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  8992. 1724.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  8993. 1724.58 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  8994. 1724.58 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  8995. 1724.58 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  8996. 1724.59 s [opt-env-conf-test] ParserSetting _ _ -> False
  8997. 1724.59 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  8998. 1724.59 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  8999. 1724.59 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9000. 1724.59 s [opt-env-conf-test] (True, False) -> p2
  9001. 1724.59 s [opt-env-conf-test] (False, True) -> p1
  9002. 1724.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  9003. 1724.59 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9004. 1724.59 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9005. 1730.54 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9006. 1730.57 s [opt-env-conf-test] ParserSetting _ _ -> False
  9007. 1730.57 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9008. 1730.57 s [opt-env-conf-test] + in case (isEmpty p1, True) of
  9009. 1730.57 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9010. 1730.57 s [opt-env-conf-test] (True, False) -> p2
  9011. 1730.57 s [opt-env-conf-test] (False, True) -> p1
  9012. 1730.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  9013. 1730.57 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  9014. 1730.57 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9015. 1730.57 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9016. 1730.57 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9017. 1730.57 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  9018. 1730.57 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> True
  9019. 1730.57 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9020. 1730.57 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9021. 1730.57 s [opt-env-conf-test] ParserSetting _ _ -> False
  9022. 1730.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
  9023. 1730.58 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  9024. 1730.58 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9025. 1730.58 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9026. 1730.58 s [opt-env-conf-test] ParserSetting _ _ -> False
  9027. 1730.58 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  9028. 1730.58 s [opt-env-conf-test] + in case (not (isEmpty p1), isEmpty p2) of
  9029. 1730.58 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9030. 1730.58 s [opt-env-conf-test] (True, False) -> p2
  9031. 1730.58 s [opt-env-conf-test] (False, True) -> p1
  9032. 1730.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
  9033. 1730.58 s [opt-env-conf-test] @@ -262,7 +262,7 @@
  9034. 1730.58 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9035. 1730.58 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9036. 1730.58 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9037. 1730.58 s [opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9038. 1730.58 s [opt-env-conf-test] + ParserWithConfig _ pc ps -> False
  9039. 1730.58 s [opt-env-conf-test] ParserSetting _ _ -> False
  9040. 1730.58 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  9041. 1730.58 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  9042. 1730.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  9043. 1730.58 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  9044. 1730.58 s [opt-env-conf-test] ParserEmpty _ -> True
  9045. 1730.58 s [opt-env-conf-test] ParserAlt _ _ -> False
  9046. 1730.58 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9047. 1730.58 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  9048. 1730.58 s [opt-env-conf-test] + ParserSome _ p -> False
  9049. 1730.58 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9050. 1730.58 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9051. 1730.58 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9052. 1730.59 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
  9053. 1730.59 s [opt-env-conf-test] @@ -131,7 +131,7 @@
  9054. 1730.59 s [opt-env-conf-test] showCommandABit :: Command a -> ShowS
  9055. 1730.59 s [opt-env-conf-test] showCommandABit Command {..} =
  9056. 1730.59 s [opt-env-conf-test] showString "Command "
  9057. 1730.59 s [opt-env-conf-test] - . showsPrec 11 commandArg
  9058. 1730.59 s [opt-env-conf-test] + . showsPrec -11 commandArg
  9059. 1730.59 s [opt-env-conf-test] . showString " "
  9060. 1730.59 s [opt-env-conf-test] . showsPrec 11 commandHelp
  9061. 1730.59 s [opt-env-conf-test] . showString " "
  9062. 1730.59 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
  9063. 1730.59 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  9064. 1730.59 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9065. 1730.59 s [opt-env-conf-test] ParserEmpty _ -> True
  9066. 1730.59 s [opt-env-conf-test] ParserAlt _ _ -> False
  9067. 1730.59 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  9068. 1730.59 s [opt-env-conf-test] + ParserMany _ p -> not (isEmpty p)
  9069. 1730.59 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9070. 1730.59 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  9071. 1730.59 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9072. 1730.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  9073. 1730.59 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  9074. 1730.59 s [opt-env-conf-test] ParserAlt _ _ -> False
  9075. 1730.59 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9076. 1730.59 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9077. 1730.59 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  9078. 1730.59 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  9079. 1730.59 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  9080. 1730.59 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  9081. 1730.59 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  9082. 1730.59 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
  9083. 1730.59 s [opt-env-conf-test] @@ -615,7 +615,7 @@
  9084. 1730.59 s [opt-env-conf-test]
  9085. 1730.59 s [opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
  9086. 1730.59 s [opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  9087. 1730.59 s [opt-env-conf-test] -checkMapIO = ParserCheck mLoc False Set.empty
  9088. 1730.59 s [opt-env-conf-test] +checkMapIO = ParserCheck mLoc True Set.empty
  9089. 1730.60 s [opt-env-conf-test] where
  9090. 1730.60 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  9091. 1730.60 s [opt-env-conf-test]
  9092. 1730.60 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
  9093. 1730.60 s [opt-env-conf-test] @@ -1035,7 +1035,6 @@
  9094. 1730.60 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  9095. 1730.60 s [opt-env-conf-test] T.pack <$> ParserSetting mLoc s
  9096. 1730.60 s [opt-env-conf-test] fileSetting p f = do
  9097. 1730.60 s [opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
  9098. 1730.60 s [opt-env-conf-test] guard $ p s
  9099. 1730.60 s [opt-env-conf-test] pure $
  9100. 1730.60 s [opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
  9101. 1730.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-17
  9102. 1730.60 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9103. 1730.60 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9104. 1730.60 s [opt-env-conf-test] c1 <- go p1
  9105. 1730.60 s [opt-env-conf-test] c2 <- go p2
  9106. 1730.60 s [opt-env-conf-test] - pure (c1 || c2)
  9107. 1730.60 s [opt-env-conf-test] + pure (not (c1) || c2)
  9108. 1730.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9109. 1730.60 s [opt-env-conf-test] c1 <- go p1
  9110. 1730.60 s [opt-env-conf-test] c2 <- go p2
  9111. 1730.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:21-23
  9112. 1730.60 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9113. 1730.60 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9114. 1730.60 s [opt-env-conf-test] c1 <- go p1
  9115. 1730.60 s [opt-env-conf-test] c2 <- go p2
  9116. 1730.60 s [opt-env-conf-test] - pure (c1 || c2)
  9117. 1730.60 s [opt-env-conf-test] + pure (c1 || not (c2))
  9118. 1730.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9119. 1730.60 s [opt-env-conf-test] c1 <- go p1
  9120. 1730.60 s [opt-env-conf-test] c2 <- go p2
  9121. 1730.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  9122. 1730.60 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9123. 1730.60 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9124. 1730.60 s [opt-env-conf-test] c1 <- go p1
  9125. 1730.60 s [opt-env-conf-test] c2 <- go p2
  9126. 1730.60 s [opt-env-conf-test] - pure (c1 || c2)
  9127. 1730.60 s [opt-env-conf-test] + pure (False || c2)
  9128. 1730.61 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9129. 1730.61 s [opt-env-conf-test] c1 <- go p1
  9130. 1730.61 s [opt-env-conf-test] c2 <- go p2
  9131. 1730.61 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  9132. 1730.61 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  9133. 1730.61 s [opt-env-conf-test] ParserPure _ -> False
  9134. 1730.61 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  9135. 1730.61 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  9136. 1730.61 s [opt-env-conf-test] - ParserEmpty _ -> True
  9137. 1730.61 s [opt-env-conf-test] + ParserEmpty _ -> False
  9138. 1730.61 s [opt-env-conf-test] ParserAlt _ _ -> False
  9139. 1730.61 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  9140. 1730.61 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  9141. 1730.61 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
  9142. 1730.61 s [opt-env-conf-test] @@ -354,7 +354,7 @@
  9143. 1730.61 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  9144. 1730.61 s [opt-env-conf-test] showParen (d > 10) $
  9145. 1730.61 s [opt-env-conf-test] showString "Commands "
  9146. 1730.61 s [opt-env-conf-test] - . showsPrec 11 mLoc
  9147. 1730.61 s [opt-env-conf-test] + . showsPrec 1 mLoc
  9148. 1730.61 s [opt-env-conf-test] . showString " "
  9149. 1730.61 s [opt-env-conf-test] . showsPrec 11 mDefault
  9150. 1730.61 s [opt-env-conf-test] . showString " "
  9151. 1730.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  9152. 1730.61 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9153. 1730.61 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9154. 1730.61 s [opt-env-conf-test] c1 <- go p1
  9155. 1730.61 s [opt-env-conf-test] c2 <- go p2
  9156. 1730.61 s [opt-env-conf-test] - pure (c1 || c2)
  9157. 1730.61 s [opt-env-conf-test] + pure True
  9158. 1730.61 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9159. 1730.61 s [opt-env-conf-test] c1 <- go p1
  9160. 1730.61 s [opt-env-conf-test] c2 <- go p2
  9161. 1730.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:15-23
  9162. 1730.61 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9163. 1730.61 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9164. 1730.61 s [opt-env-conf-test] c1 <- go p1
  9165. 1730.61 s [opt-env-conf-test] c2 <- go p2
  9166. 1730.61 s [opt-env-conf-test] - pure (c1 || c2)
  9167. 1730.61 s [opt-env-conf-test] + pure (not (c1 || c2))
  9168. 1730.61 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9169. 1730.62 s [opt-env-conf-test] c1 <- go p1
  9170. 1730.62 s [opt-env-conf-test] c2 <- go p2
  9171. 1730.62 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:250:15-23
  9172. 1730.62 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9173. 1730.62 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9174. 1730.62 s [opt-env-conf-test] c1 <- go p1
  9175. 1730.62 s [opt-env-conf-test] c2 <- go p2
  9176. 1730.62 s [opt-env-conf-test] - pure (c1 || c2)
  9177. 1730.62 s [opt-env-conf-test] + pure (c1 && c2)
  9178. 1730.62 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9179. 1734.59 s [opt-env-conf-test] c1 <- go p1
  9180. 1734.59 s [opt-env-conf-test] c2 <- go p2
  9181. 1734.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  9182. 1734.59 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  9183. 1734.59 s [opt-env-conf-test] . showString " _ "
  9184. 1734.59 s [opt-env-conf-test] . go 11 p
  9185. 1734.59 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  9186. 1734.59 s [opt-env-conf-test] - showParen (d > 10) $
  9187. 1734.59 s [opt-env-conf-test] + showParen False $
  9188. 1734.59 s [opt-env-conf-test] showString "Commands "
  9189. 1734.59 s [opt-env-conf-test] . showsPrec 11 mLoc
  9190. 1734.59 s [opt-env-conf-test] . showString " "
  9191. 1734.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9192. 1734.59 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9193. 1734.59 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9194. 1734.59 s [opt-env-conf-test] c1 <- go p1
  9195. 1734.59 s [opt-env-conf-test] c2 <- go p2
  9196. 1734.59 s [opt-env-conf-test] - pure (c1 || c2)
  9197. 1734.59 s [opt-env-conf-test] + pure (True)
  9198. 1734.59 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9199. 1734.59 s [opt-env-conf-test] c1 <- go p1
  9200. 1734.59 s [opt-env-conf-test] c2 <- go p2
  9201. 1734.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  9202. 1734.59 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9203. 1734.59 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9204. 1734.59 s [opt-env-conf-test] c1 <- go p1
  9205. 1734.59 s [opt-env-conf-test] c2 <- go p2
  9206. 1734.59 s [opt-env-conf-test] - pure (c1 || c2)
  9207. 1734.59 s [opt-env-conf-test] + pure (False)
  9208. 1734.59 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9209. 1734.59 s [opt-env-conf-test] c1 <- go p1
  9210. 1734.59 s [opt-env-conf-test] c2 <- go p2
  9211. 1734.59 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  9212. 1734.59 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  9213. 1734.59 s [opt-env-conf-test] . showString " _ "
  9214. 1734.59 s [opt-env-conf-test] . go 11 p
  9215. 1734.59 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  9216. 1734.59 s [opt-env-conf-test] - showParen (d > 10) $
  9217. 1734.59 s [opt-env-conf-test] + showParen (False) $
  9218. 1734.59 s [opt-env-conf-test] showString "Commands "
  9219. 1734.60 s [opt-env-conf-test] . showsPrec 11 mLoc
  9220. 1734.60 s [opt-env-conf-test] . showString " "
  9221. 1734.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-17
  9222. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9223. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9224. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9225. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9226. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9227. 1734.60 s [opt-env-conf-test] + pure (not (c1) || c2) -- TODO: is this right?
  9228. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9229. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9230. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9231. 1734.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:250:14-24
  9232. 1734.60 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9233. 1734.60 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9234. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9235. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9236. 1734.60 s [opt-env-conf-test] - pure (c1 || c2)
  9237. 1734.60 s [opt-env-conf-test] + pure not ((c1 || c2))
  9238. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9239. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9240. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9241. 1734.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  9242. 1734.60 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  9243. 1734.60 s [opt-env-conf-test] ParserAp p1 p2 -> do
  9244. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9245. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9246. 1734.60 s [opt-env-conf-test] - pure (c1 || c2)
  9247. 1734.60 s [opt-env-conf-test] + pure False
  9248. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9249. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9250. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9251. 1734.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9252. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9253. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9254. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9255. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9256. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9257. 1734.60 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9258. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9259. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9260. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9261. 1734.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-23
  9262. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9263. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9264. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9265. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9266. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9267. 1734.60 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  9268. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9269. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9270. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9271. 1734.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:15-23
  9272. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9273. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9274. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9275. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9276. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9277. 1734.60 s [opt-env-conf-test] + pure (not (c1 || c2)) -- TODO: is this right?
  9278. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9279. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9280. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9281. 1734.60 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:254:15-23
  9282. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9283. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9284. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9285. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9286. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9287. 1734.60 s [opt-env-conf-test] + pure (c1 && c2) -- TODO: is this right?
  9288. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9289. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9290. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9291. 1734.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9292. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9293. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9294. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9295. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9296. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9297. 1734.60 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9298. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9299. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9300. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9301. 1734.60 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:14-24
  9302. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9303. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9304. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9305. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9306. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9307. 1734.60 s [opt-env-conf-test] + pure not ((c1 || c2)) -- TODO: is this right?
  9308. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9309. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9310. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9311. 1734.60 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:14-24
  9312. 1734.60 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9313. 1734.60 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9314. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9315. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9316. 1734.60 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9317. 1734.60 s [opt-env-conf-test] + pure False -- TODO: is this right?
  9318. 1734.60 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9319. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9320. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9321. 1734.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
  9322. 1734.60 s [opt-env-conf-test] @@ -252,7 +252,7 @@
  9323. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9324. 1734.60 s [opt-env-conf-test] c2 <- go p2
  9325. 1734.60 s [opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
  9326. 1734.60 s [opt-env-conf-test] - ParserEmpty _ -> pure True
  9327. 1734.60 s [opt-env-conf-test] + ParserEmpty _ -> pure False
  9328. 1734.60 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9329. 1734.60 s [opt-env-conf-test] c1 <- go p1
  9330. 1734.61 s [opt-env-conf-test] c2 <- go p2
  9331. 1734.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9332. 1734.61 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9333. 1734.61 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9334. 1734.61 s [opt-env-conf-test] c1 <- go p1
  9335. 1734.61 s [opt-env-conf-test] c2 <- go p2
  9336. 1734.61 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9337. 1734.61 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  9338. 1734.61 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9339. 1734.61 s [opt-env-conf-test] ParserMany mLoc p -> do
  9340. 1734.61 s [opt-env-conf-test] c <- go p
  9341. 1734.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  9342. 1734.61 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9343. 1734.61 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9344. 1734.61 s [opt-env-conf-test] c1 <- go p1
  9345. 1734.61 s [opt-env-conf-test] c2 <- go p2
  9346. 1734.61 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9347. 1734.61 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  9348. 1734.61 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9349. 1734.61 s [opt-env-conf-test] ParserMany mLoc p -> do
  9350. 1734.61 s [opt-env-conf-test] c <- go p
  9351. 1734.61 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-17
  9352. 1734.61 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9353. 1734.61 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9354. 1734.61 s [opt-env-conf-test] c1 <- go p1
  9355. 1734.61 s [opt-env-conf-test] c2 <- go p2
  9356. 1734.61 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9357. 1734.61 s [opt-env-conf-test] + pure (not (c1) && c2) -- TODO: is this right?
  9358. 1734.61 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9359. 1734.61 s [opt-env-conf-test] ParserMany mLoc p -> do
  9360. 1734.61 s [opt-env-conf-test] c <- go p
  9361. 1734.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9362. 1734.61 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9363. 1734.61 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9364. 1742.68 s [opt-env-conf-test] c1 <- go p1
  9365. 1742.68 s [opt-env-conf-test] c2 <- go p2
  9366. 1742.71 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9367. 1742.71 s [opt-env-conf-test] + pure (False || c2) -- TODO: is this right?
  9368. 1742.71 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9369. 1742.71 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9370. 1742.71 s [opt-env-conf-test] c1 <- go p1
  9371. 1742.71 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  9372. 1742.71 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9373. 1742.71 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9374. 1742.71 s [opt-env-conf-test] c1 <- go p1
  9375. 1742.71 s [opt-env-conf-test] c2 <- go p2
  9376. 1742.71 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9377. 1742.71 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  9378. 1742.71 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9379. 1742.71 s [opt-env-conf-test] ParserMany mLoc p -> do
  9380. 1742.71 s [opt-env-conf-test] c <- go p
  9381. 1742.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9382. 1742.72 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9383. 1742.72 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9384. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9385. 1742.72 s [opt-env-conf-test] c2 <- go p2
  9386. 1742.72 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9387. 1742.72 s [opt-env-conf-test] + pure (c1 || False) -- TODO: is this right?
  9388. 1742.72 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9389. 1742.72 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9390. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9391. 1742.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:15-17
  9392. 1742.72 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9393. 1742.72 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9394. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9395. 1742.72 s [opt-env-conf-test] c2 <- go p2
  9396. 1742.72 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9397. 1742.72 s [opt-env-conf-test] + pure (True || c2) -- TODO: is this right?
  9398. 1742.72 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9399. 1742.72 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9400. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9401. 1742.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:254:21-23
  9402. 1742.72 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  9403. 1742.72 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  9404. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9405. 1742.72 s [opt-env-conf-test] c2 <- go p2
  9406. 1742.72 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  9407. 1742.72 s [opt-env-conf-test] + pure (c1 || True) -- TODO: is this right?
  9408. 1742.72 s [opt-env-conf-test] ParserEmpty _ -> pure True
  9409. 1742.72 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9410. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9411. 1742.72 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:15-23
  9412. 1742.72 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9413. 1742.72 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9414. 1742.72 s [opt-env-conf-test] c1 <- go p1
  9415. 1742.72 s [opt-env-conf-test] c2 <- go p2
  9416. 1742.72 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9417. 1742.72 s [opt-env-conf-test] + pure (not (c1 && c2)) -- TODO: is this right?
  9418. 1742.73 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9419. 1742.73 s [opt-env-conf-test] ParserMany mLoc p -> do
  9420. 1742.73 s [opt-env-conf-test] c <- go p
  9421. 1742.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  9422. 1742.73 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9423. 1742.73 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9424. 1742.73 s [opt-env-conf-test] c1 <- go p1
  9425. 1742.73 s [opt-env-conf-test] c2 <- go p2
  9426. 1742.73 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9427. 1742.73 s [opt-env-conf-test] + pure False -- TODO: is this right?
  9428. 1742.73 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9429. 1742.73 s [opt-env-conf-test] ParserMany mLoc p -> do
  9430. 1742.73 s [opt-env-conf-test] c <- go p
  9431. 1742.73 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
  9432. 1742.73 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9433. 1742.73 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9434. 1742.73 s [opt-env-conf-test] c1 <- go p1
  9435. 1742.73 s [opt-env-conf-test] c2 <- go p2
  9436. 1742.73 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9437. 1742.73 s [opt-env-conf-test] + pure not ((c1 && c2)) -- TODO: is this right?
  9438. 1742.73 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9439. 1742.73 s [opt-env-conf-test] ParserMany mLoc p -> do
  9440. 1742.73 s [opt-env-conf-test] c <- go p
  9441. 1742.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  9442. 1742.73 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  9443. 1742.73 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9444. 1742.73 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9445. 1742.73 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9446. 1742.73 s [opt-env-conf-test] - if null cs
  9447. 1742.73 s [opt-env-conf-test] + if False
  9448. 1742.73 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  9449. 1742.73 s [opt-env-conf-test] else do
  9450. 1742.73 s [opt-env-conf-test] for_ mDefault $ \d ->
  9451. 1742.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  9452. 1742.73 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9453. 1742.73 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9454. 1742.73 s [opt-env-conf-test] c1 <- go p1
  9455. 1742.73 s [opt-env-conf-test] c2 <- go p2
  9456. 1742.73 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9457. 1742.73 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  9458. 1742.73 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9459. 1742.73 s [opt-env-conf-test] ParserMany mLoc p -> do
  9460. 1742.73 s [opt-env-conf-test] c <- go p
  9461. 1742.73 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  9462. 1742.73 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9463. 1742.73 s [opt-env-conf-test] when (not c) $
  9464. 1742.73 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9465. 1742.73 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9466. 1742.73 s [opt-env-conf-test] - pure c
  9467. 1742.74 s [opt-env-conf-test] + pure False
  9468. 1742.74 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9469. 1742.74 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9470. 1742.74 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9471. 1742.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
  9472. 1742.74 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  9473. 1742.74 s [opt-env-conf-test] when (not c) $
  9474. 1742.74 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  9475. 1742.74 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  9476. 1742.74 s [opt-env-conf-test] - pure c
  9477. 1742.74 s [opt-env-conf-test] + pure True
  9478. 1742.74 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  9479. 1742.74 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  9480. 1742.74 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  9481. 1742.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  9482. 1742.74 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  9483. 1742.74 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  9484. 1742.74 s [opt-env-conf-test] c1 <- go p1
  9485. 1742.74 s [opt-env-conf-test] c2 <- go p2
  9486. 1742.74 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  9487. 1742.74 s [opt-env-conf-test] + pure True -- TODO: is this right?
  9488. 1742.74 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  9489. 1742.74 s [opt-env-conf-test] ParserMany mLoc p -> do
  9490. 1742.74 s [opt-env-conf-test] c <- go p
  9491. 1742.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
  9492. 1742.74 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9493. 1742.74 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9494. 1742.74 s [opt-env-conf-test] c1 <- go p1
  9495. 1742.74 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9496. 1742.74 s [opt-env-conf-test] - pure $ c1 || c2
  9497. 1742.74 s [opt-env-conf-test] + pure $ c1 || not (c2)
  9498. 1742.74 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9499. 1742.74 s [opt-env-conf-test] case settingHelp of
  9500. 1742.74 s [opt-env-conf-test] Nothing ->
  9501. 1742.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  9502. 1742.74 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9503. 1742.74 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9504. 1742.74 s [opt-env-conf-test] c1 <- go p1
  9505. 1742.74 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9506. 1742.74 s [opt-env-conf-test] - pure $ c1 || c2
  9507. 1742.74 s [opt-env-conf-test] + pure $ c1 || False
  9508. 1742.74 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9509. 1742.74 s [opt-env-conf-test] case settingHelp of
  9510. 1742.74 s [opt-env-conf-test] Nothing ->
  9511. 1742.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  9512. 1742.74 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9513. 1742.74 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9514. 1742.74 s [opt-env-conf-test] c1 <- go p1
  9515. 1742.74 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9516. 1742.74 s [opt-env-conf-test] - pure $ c1 || c2
  9517. 1742.74 s [opt-env-conf-test] + pure $ True
  9518. 1742.74 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9519. 1742.74 s [opt-env-conf-test] case settingHelp of
  9520. 1742.74 s [opt-env-conf-test] Nothing ->
  9521. 1742.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  9522. 1742.75 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9523. 1742.75 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9524. 1742.75 s [opt-env-conf-test] c1 <- go p1
  9525. 1742.75 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9526. 1742.75 s [opt-env-conf-test] - pure $ c1 || c2
  9527. 1742.75 s [opt-env-conf-test] + pure $ False
  9528. 1742.75 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9529. 1742.75 s [opt-env-conf-test] case settingHelp of
  9530. 1742.75 s [opt-env-conf-test] Nothing ->
  9531. 1742.75 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
  9532. 1742.75 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9533. 1742.75 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9534. 1742.75 s [opt-env-conf-test] c1 <- go p1
  9535. 1742.75 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9536. 1746.63 s [opt-env-conf-test] - pure $ c1 || c2
  9537. 1746.63 s [opt-env-conf-test] + pure $ c1 && c2
  9538. 1746.63 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9539. 1746.63 s [opt-env-conf-test] case settingHelp of
  9540. 1746.63 s [opt-env-conf-test] Nothing ->
  9541. 1746.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
  9542. 1746.63 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  9543. 1746.63 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  9544. 1746.63 s [opt-env-conf-test] c1 <- go p1
  9545. 1746.63 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  9546. 1746.63 s [opt-env-conf-test] - pure $ c1 || c2
  9547. 1746.63 s [opt-env-conf-test] + pure $ not (c1 || c2)
  9548. 1746.63 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  9549. 1746.63 s [opt-env-conf-test] case settingHelp of
  9550. 1746.63 s [opt-env-conf-test] Nothing ->
  9551. 1746.63 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  9552. 1746.63 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9553. 1746.63 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9554. 1746.63 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9555. 1746.63 s [opt-env-conf-test] and
  9556. 1746.63 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9557. 1746.64 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  9558. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9559. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9560. 1746.64 s [opt-env-conf-test] ]
  9561. 1746.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  9562. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9563. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9564. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9565. 1746.64 s [opt-env-conf-test] and
  9566. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9567. 1746.64 s [opt-env-conf-test] + [ False || settingTryOption || isJust settingSwitchValue,
  9568. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9569. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9570. 1746.64 s [opt-env-conf-test] ]
  9571. 1746.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
  9572. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9573. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9574. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9575. 1746.64 s [opt-env-conf-test] and
  9576. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9577. 1746.64 s [opt-env-conf-test] + [ not (settingTryArgument) || settingTryOption || isJust settingSwitchValue,
  9578. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9579. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9580. 1746.64 s [opt-env-conf-test] ]
  9581. 1746.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  9582. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9583. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9584. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9585. 1746.64 s [opt-env-conf-test] and
  9586. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9587. 1746.64 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  9588. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9589. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9590. 1746.64 s [opt-env-conf-test] ]
  9591. 1746.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  9592. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9593. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9594. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9595. 1746.64 s [opt-env-conf-test] and
  9596. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9597. 1746.64 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  9598. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9599. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9600. 1746.64 s [opt-env-conf-test] ]
  9601. 1746.64 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
  9602. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9603. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9604. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9605. 1746.64 s [opt-env-conf-test] and
  9606. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9607. 1746.64 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption) || isJust settingSwitchValue,
  9608. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9609. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9610. 1746.64 s [opt-env-conf-test] ]
  9611. 1746.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  9612. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9613. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9614. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9615. 1746.64 s [opt-env-conf-test] and
  9616. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9617. 1746.64 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  9618. 1746.64 s [opt-env-conf-test] null settingEnvVars,
  9619. 1746.64 s [opt-env-conf-test] null settingConfigVals
  9620. 1746.64 s [opt-env-conf-test] ]
  9621. 1746.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  9622. 1746.64 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9623. 1746.64 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9624. 1746.64 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9625. 1746.64 s [opt-env-conf-test] and
  9626. 1746.64 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9627. 1746.64 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || False,
  9628. 1746.65 s [opt-env-conf-test] null settingEnvVars,
  9629. 1746.65 s [opt-env-conf-test] null settingConfigVals
  9630. 1746.65 s [opt-env-conf-test] ]
  9631. 1746.65 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
  9632. 1746.65 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9633. 1746.65 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9634. 1746.65 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9635. 1746.65 s [opt-env-conf-test] and
  9636. 1746.65 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9637. 1746.65 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || not (isJust settingSwitchValue),
  9638. 1746.65 s [opt-env-conf-test] null settingEnvVars,
  9639. 1746.65 s [opt-env-conf-test] null settingConfigVals
  9640. 1746.65 s [opt-env-conf-test] ]
  9641. 1746.65 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  9642. 1746.65 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9643. 1746.65 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9644. 1746.65 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9645. 1746.65 s [opt-env-conf-test] and
  9646. 1746.65 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9647. 1746.65 s [opt-env-conf-test] + [ settingTryArgument || True,
  9648. 1746.65 s [opt-env-conf-test] null settingEnvVars,
  9649. 1746.65 s [opt-env-conf-test] null settingConfigVals
  9650. 1746.65 s [opt-env-conf-test] ]
  9651. 1746.65 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  9652. 1746.65 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9653. 1746.65 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9654. 1746.65 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9655. 1746.65 s [opt-env-conf-test] and
  9656. 1746.65 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9657. 1746.65 s [opt-env-conf-test] + [ settingTryArgument || False,
  9658. 1746.65 s [opt-env-conf-test] null settingEnvVars,
  9659. 1746.65 s [opt-env-conf-test] null settingConfigVals
  9660. 1746.65 s [opt-env-conf-test] ]
  9661. 1746.65 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
  9662. 1746.65 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9663. 1746.65 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9664. 1746.65 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9665. 1746.65 s [opt-env-conf-test] and
  9666. 1746.65 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9667. 1757.40 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption && isJust settingSwitchValue,
  9668. 1757.43 s [opt-env-conf-test] null settingEnvVars,
  9669. 1757.43 s [opt-env-conf-test] null settingConfigVals
  9670. 1757.43 s [opt-env-conf-test] ]
  9671. 1757.43 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
  9672. 1757.43 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9673. 1757.43 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9674. 1757.43 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9675. 1757.43 s [opt-env-conf-test] and
  9676. 1757.43 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9677. 1757.43 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption || isJust settingSwitchValue),
  9678. 1757.43 s [opt-env-conf-test] null settingEnvVars,
  9679. 1757.43 s [opt-env-conf-test] null settingConfigVals
  9680. 1757.43 s [opt-env-conf-test] ]
  9681. 1757.43 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  9682. 1757.43 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9683. 1757.43 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9684. 1757.43 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9685. 1757.43 s [opt-env-conf-test] and
  9686. 1757.43 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9687. 1757.43 s [opt-env-conf-test] + [ True,
  9688. 1757.43 s [opt-env-conf-test] null settingEnvVars,
  9689. 1757.43 s [opt-env-conf-test] null settingConfigVals
  9690. 1757.43 s [opt-env-conf-test] ]
  9691. 1757.43 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  9692. 1757.43 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9693. 1757.43 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9694. 1757.43 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9695. 1757.43 s [opt-env-conf-test] and
  9696. 1757.43 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9697. 1757.43 s [opt-env-conf-test] + [ False,
  9698. 1757.44 s [opt-env-conf-test] null settingEnvVars,
  9699. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9700. 1757.44 s [opt-env-conf-test] ]
  9701. 1757.44 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
  9702. 1757.44 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9703. 1757.44 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9704. 1757.44 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9705. 1757.44 s [opt-env-conf-test] and
  9706. 1757.44 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9707. 1757.44 s [opt-env-conf-test] + [ settingTryArgument && settingTryOption || isJust settingSwitchValue,
  9708. 1757.44 s [opt-env-conf-test] null settingEnvVars,
  9709. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9710. 1757.44 s [opt-env-conf-test] ]
  9711. 1757.44 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
  9712. 1757.44 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  9713. 1757.44 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9714. 1757.44 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9715. 1757.44 s [opt-env-conf-test] and
  9716. 1757.44 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9717. 1757.44 s [opt-env-conf-test] + [ not (settingTryArgument || settingTryOption || isJust settingSwitchValue),
  9718. 1757.44 s [opt-env-conf-test] null settingEnvVars,
  9719. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9720. 1757.44 s [opt-env-conf-test] ]
  9721. 1757.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  9722. 1757.44 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  9723. 1757.44 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9724. 1757.44 s [opt-env-conf-test] and
  9725. 1757.44 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9726. 1757.44 s [opt-env-conf-test] - null settingEnvVars,
  9727. 1757.44 s [opt-env-conf-test] + True,
  9728. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9729. 1757.44 s [opt-env-conf-test] ]
  9730. 1757.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  9731. 1757.44 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  9732. 1757.44 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9733. 1757.44 s [opt-env-conf-test] and
  9734. 1757.44 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9735. 1757.44 s [opt-env-conf-test] - null settingEnvVars,
  9736. 1757.44 s [opt-env-conf-test] + False,
  9737. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9738. 1757.44 s [opt-env-conf-test] ]
  9739. 1757.44 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
  9740. 1757.44 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  9741. 1757.44 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9742. 1757.44 s [opt-env-conf-test] and
  9743. 1757.44 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9744. 1757.44 s [opt-env-conf-test] - null settingEnvVars,
  9745. 1757.44 s [opt-env-conf-test] + not (null settingEnvVars),
  9746. 1757.44 s [opt-env-conf-test] null settingConfigVals
  9747. 1757.44 s [opt-env-conf-test] ]
  9748. 1757.44 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  9749. 1757.44 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  9750. 1757.44 s [opt-env-conf-test] and
  9751. 1757.44 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9752. 1757.44 s [opt-env-conf-test] null settingEnvVars,
  9753. 1757.45 s [opt-env-conf-test] - null settingConfigVals
  9754. 1757.45 s [opt-env-conf-test] + True
  9755. 1757.45 s [opt-env-conf-test] ]
  9756. 1757.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  9757. 1757.45 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  9758. 1757.45 s [opt-env-conf-test] and
  9759. 1757.45 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9760. 1757.45 s [opt-env-conf-test] null settingEnvVars,
  9761. 1757.45 s [opt-env-conf-test] - null settingConfigVals
  9762. 1757.45 s [opt-env-conf-test] + False
  9763. 1757.45 s [opt-env-conf-test] ]
  9764. 1757.45 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
  9765. 1757.45 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  9766. 1757.45 s [opt-env-conf-test] and
  9767. 1757.45 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9768. 1757.45 s [opt-env-conf-test] null settingEnvVars,
  9769. 1757.45 s [opt-env-conf-test] - null settingConfigVals
  9770. 1757.45 s [opt-env-conf-test] + not (null settingConfigVals)
  9771. 1757.45 s [opt-env-conf-test] ]
  9772. 1757.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  9773. 1757.45 s [opt-env-conf-test] @@ -337,7 +337,4 @@
  9774. 1757.45 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9775. 1757.45 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9776. 1757.45 s [opt-env-conf-test] and
  9777. 1757.45 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9778. 1757.45 s [opt-env-conf-test] - null settingEnvVars,
  9779. 1757.45 s [opt-env-conf-test] - null settingConfigVals
  9780. 1757.45 s [opt-env-conf-test] ]
  9781. 1757.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  9782. 1757.45 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  9783. 1757.45 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9784. 1757.45 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9785. 1757.45 s [opt-env-conf-test] and
  9786. 1757.45 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9787. 1757.45 s [opt-env-conf-test] null settingEnvVars,
  9788. 1757.45 s [opt-env-conf-test] null settingConfigVals
  9789. 1757.45 s [opt-env-conf-test] ]
  9790. 1757.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
  9791. 1757.45 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  9792. 1757.45 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9793. 1757.45 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9794. 1757.45 s [opt-env-conf-test] and
  9795. 1757.45 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9796. 1757.45 s [opt-env-conf-test] null settingEnvVars,
  9797. 1757.45 s [opt-env-conf-test] - null settingConfigVals
  9798. 1757.45 s [opt-env-conf-test] ]
  9799. 1757.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  9800. 1757.45 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  9801. 1757.45 s [opt-env-conf-test] pure $
  9802. 1757.45 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9803. 1757.45 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9804. 1757.45 s [opt-env-conf-test] - and
  9805. 1757.45 s [opt-env-conf-test] + True
  9806. 1757.45 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9807. 1757.45 s [opt-env-conf-test] null settingEnvVars,
  9808. 1757.45 s [opt-env-conf-test] null settingConfigVals
  9809. 1757.45 s [opt-env-conf-test] ]
  9810. 1757.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
  9811. 1757.45 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  9812. 1757.45 s [opt-env-conf-test] pure $
  9813. 1757.45 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9814. 1757.45 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9815. 1764.10 s [opt-env-conf-test] - and
  9816. 1764.12 s [opt-env-conf-test] + False
  9817. 1764.13 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9818. 1764.13 s [opt-env-conf-test] null settingEnvVars,
  9819. 1764.13 s [opt-env-conf-test] null settingConfigVals
  9820. 1764.13 s [opt-env-conf-test] ]
  9821. 1764.13 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
  9822. 1764.13 s [opt-env-conf-test] @@ -336,8 +336,8 @@
  9823. 1764.13 s [opt-env-conf-test] pure $
  9824. 1764.13 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  9825. 1764.13 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  9826. 1764.13 s [opt-env-conf-test] - and
  9827. 1764.13 s [opt-env-conf-test] + not (and
  9828. 1764.13 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  9829. 1764.13 s [opt-env-conf-test] null settingEnvVars,
  9830. 1764.13 s [opt-env-conf-test] null settingConfigVals
  9831. 1764.13 s [opt-env-conf-test] - ]
  9832. 1764.13 s [opt-env-conf-test] + ])
  9833. 1764.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  9834. 1764.13 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  9835. 1764.13 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  9836. 1764.13 s [opt-env-conf-test] case lintErrorMessage of
  9837. 1764.13 s [opt-env-conf-test] LintErrorUndocumented ->
  9838. 1764.13 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  9839. 1764.13 s [opt-env-conf-test] LintErrorEmptySetting ->
  9840. 1764.13 s [opt-env-conf-test] concat
  9841. 1764.13 s [opt-env-conf-test] [ [ [ "This ",
  9842. 1764.13 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  9843. 1764.13 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  9844. 1764.14 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  9845. 1764.14 s [opt-env-conf-test] case lintErrorMessage of
  9846. 1764.14 s [opt-env-conf-test] LintErrorUndocumented ->
  9847. 1764.14 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  9848. 1764.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  9849. 1764.14 s [opt-env-conf-test] concat
  9850. 1764.14 s [opt-env-conf-test] [ [ [ "This ",
  9851. 1764.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
  9852. 1764.14 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  9853. 1764.14 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  9854. 1764.14 s [opt-env-conf-test] case lintErrorMessage of
  9855. 1764.14 s [opt-env-conf-test] LintErrorUndocumented ->
  9856. 1764.14 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  9857. 1764.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  9858. 1764.14 s [opt-env-conf-test] concat
  9859. 1764.14 s [opt-env-conf-test] [ [ [ "This ",
  9860. 1764.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  9861. 1764.14 s [opt-env-conf-test] @@ -71,10 +71,7 @@
  9862. 1764.14 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  9863. 1764.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  9864. 1764.14 s [opt-env-conf-test] concat
  9865. 1764.14 s [opt-env-conf-test] - [ [ [ "This ",
  9866. 1764.14 s [opt-env-conf-test] - functionChunk "setting",
  9867. 1764.14 s [opt-env-conf-test] - " parses nothing."
  9868. 1764.14 s [opt-env-conf-test] ]
  9869. 1764.14 s [opt-env-conf-test] ],
  9870. 1764.14 s [opt-env-conf-test] [ [ "Add an ",
  9871. 1764.14 s [opt-env-conf-test] functionChunk "argument",
  9872. 1764.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  9873. 1764.14 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  9874. 1764.14 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  9875. 1764.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  9876. 1764.14 s [opt-env-conf-test] concat
  9877. 1764.14 s [opt-env-conf-test] - [ [ [ "This ",
  9878. 1764.14 s [opt-env-conf-test] functionChunk "setting",
  9879. 1764.14 s [opt-env-conf-test] " parses nothing."
  9880. 1764.14 s [opt-env-conf-test] ]
  9881. 1764.15 s [opt-env-conf-test] ],
  9882. 1764.15 s [opt-env-conf-test] [ [ "Add an ",
  9883. 1764.15 s [opt-env-conf-test] functionChunk "argument",
  9884. 1764.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
  9885. 1764.15 s [opt-env-conf-test] @@ -71,10 +71,9 @@
  9886. 1764.15 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  9887. 1764.15 s [opt-env-conf-test] LintErrorEmptySetting ->
  9888. 1764.15 s [opt-env-conf-test] concat
  9889. 1764.15 s [opt-env-conf-test] [ [ [ "This ",
  9890. 1764.15 s [opt-env-conf-test] functionChunk "setting",
  9891. 1764.15 s [opt-env-conf-test] - " parses nothing."
  9892. 1764.15 s [opt-env-conf-test] ]
  9893. 1764.15 s [opt-env-conf-test] ],
  9894. 1764.15 s [opt-env-conf-test] [ [ "Add an ",
  9895. 1764.15 s [opt-env-conf-test] functionChunk "argument",
  9896. 1764.15 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  9897. 1764.15 s [opt-env-conf-test] @@ -76,20 +76,7 @@
  9898. 1764.15 s [opt-env-conf-test] " parses nothing."
  9899. 1764.15 s [opt-env-conf-test] ]
  9900. 1764.15 s [opt-env-conf-test] ],
  9901. 1764.15 s [opt-env-conf-test] - [ [ "Add an ",
  9902. 1764.15 s [opt-env-conf-test] - functionChunk "argument",
  9903. 1764.15 s [opt-env-conf-test] - ", ",
  9904. 1764.15 s [opt-env-conf-test] - functionChunk "switch",
  9905. 1764.15 s [opt-env-conf-test] - ", ",
  9906. 1764.15 s [opt-env-conf-test] - functionChunk "option",
  9907. 1764.15 s [opt-env-conf-test] - ", ",
  9908. 1764.15 s [opt-env-conf-test] - functionChunk "env",
  9909. 1764.15 s [opt-env-conf-test] - ", ",
  9910. 1764.15 s [opt-env-conf-test] - functionChunk "conf",
  9911. 1764.15 s [opt-env-conf-test] - ", or ",
  9912. 1764.15 s [opt-env-conf-test] - functionChunk "value",
  9913. 1764.15 s [opt-env-conf-test] - "."
  9914. 1764.15 s [opt-env-conf-test] ]
  9915. 1764.15 s [opt-env-conf-test] ]
  9916. 1764.15 s [opt-env-conf-test] ]
  9917. 1764.16 s [opt-env-conf-test] LintErrorDashInShort ->
  9918. 1764.16 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  9919. 1764.16 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  9920. 1764.16 s [opt-env-conf-test] " parses nothing."
  9921. 1764.16 s [opt-env-conf-test] ]
  9922. 1764.16 s [opt-env-conf-test] ],
  9923. 1764.16 s [opt-env-conf-test] - [ [ "Add an ",
  9924. 1764.16 s [opt-env-conf-test] functionChunk "argument",
  9925. 1764.16 s [opt-env-conf-test] ", ",
  9926. 1764.16 s [opt-env-conf-test] functionChunk "switch",
  9927. 1764.16 s [opt-env-conf-test] ", ",
  9928. 1764.16 s [opt-env-conf-test] functionChunk "option",
  9929. 1764.16 s [opt-env-conf-test] ", ",
  9930. 1764.16 s [opt-env-conf-test] functionChunk "env",
  9931. 1764.16 s [opt-env-conf-test] ", ",
  9932. 1764.16 s [opt-env-conf-test] functionChunk "conf",
  9933. 1764.16 s [opt-env-conf-test] ", or ",
  9934. 1764.16 s [opt-env-conf-test] functionChunk "value",
  9935. 1764.16 s [opt-env-conf-test] "."
  9936. 1764.16 s [opt-env-conf-test] ]
  9937. 1764.16 s [opt-env-conf-test] ]
  9938. 1764.16 s [opt-env-conf-test] ]
  9939. 1764.16 s [opt-env-conf-test] LintErrorDashInShort ->
  9940. 1764.16 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
  9941. 1764.16 s [opt-env-conf-test] @@ -76,20 +76,19 @@
  9942. 1764.16 s [opt-env-conf-test] " parses nothing."
  9943. 1764.16 s [opt-env-conf-test] ]
  9944. 1764.16 s [opt-env-conf-test] ],
  9945. 1764.16 s [opt-env-conf-test] [ [ "Add an ",
  9946. 1764.16 s [opt-env-conf-test] functionChunk "argument",
  9947. 1764.16 s [opt-env-conf-test] ", ",
  9948. 1764.16 s [opt-env-conf-test] functionChunk "switch",
  9949. 1764.16 s [opt-env-conf-test] ", ",
  9950. 1764.16 s [opt-env-conf-test] functionChunk "option",
  9951. 1764.16 s [opt-env-conf-test] ", ",
  9952. 1764.16 s [opt-env-conf-test] functionChunk "env",
  9953. 1764.16 s [opt-env-conf-test] ", ",
  9954. 1764.16 s [opt-env-conf-test] functionChunk "conf",
  9955. 1764.16 s [opt-env-conf-test] ", or ",
  9956. 1764.16 s [opt-env-conf-test] functionChunk "value",
  9957. 1764.16 s [opt-env-conf-test] - "."
  9958. 1764.16 s [opt-env-conf-test] ]
  9959. 1764.16 s [opt-env-conf-test] ]
  9960. 1764.16 s [opt-env-conf-test] ]
  9961. 1764.16 s [opt-env-conf-test] LintErrorDashInShort ->
  9962. 1764.17 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  9963. 1764.17 s [opt-env-conf-test] @@ -71,27 +71,7 @@
  9964. 1764.17 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  9965. 1764.17 s [opt-env-conf-test] LintErrorEmptySetting ->
  9966. 1764.17 s [opt-env-conf-test] concat
  9967. 1764.17 s [opt-env-conf-test] - [ [ [ "This ",
  9968. 1764.17 s [opt-env-conf-test] - functionChunk "setting",
  9969. 1764.17 s [opt-env-conf-test] - " parses nothing."
  9970. 1764.17 s [opt-env-conf-test] - ]
  9971. 1764.17 s [opt-env-conf-test] - ],
  9972. 1764.17 s [opt-env-conf-test] - [ [ "Add an ",
  9973. 1764.17 s [opt-env-conf-test] - functionChunk "argument",
  9974. 1764.17 s [opt-env-conf-test] - ", ",
  9975. 1764.17 s [opt-env-conf-test] - functionChunk "switch",
  9976. 1764.17 s [opt-env-conf-test] - ", ",
  9977. 1764.17 s [opt-env-conf-test] - functionChunk "option",
  9978. 1764.17 s [opt-env-conf-test] - ", ",
  9979. 1764.17 s [opt-env-conf-test] - functionChunk "env",
  9980. 1764.17 s [opt-env-conf-test] - ", ",
  9981. 1764.17 s [opt-env-conf-test] - functionChunk "conf",
  9982. 1764.17 s [opt-env-conf-test] - ", or ",
  9983. 1764.17 s [opt-env-conf-test] - functionChunk "value",
  9984. 1764.17 s [opt-env-conf-test] - "."
  9985. 1764.17 s [opt-env-conf-test] - ]
  9986. 1764.17 s [opt-env-conf-test] - ]
  9987. 1764.17 s [opt-env-conf-test] ]
  9988. 1764.17 s [opt-env-conf-test] LintErrorDashInShort ->
  9989. 1764.17 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  9990. 1764.17 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  9991. 1764.17 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
  9992. 1764.17 s [opt-env-conf-test] @@ -71,27 +71,22 @@
  9993. 1764.17 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  9994. 1764.17 s [opt-env-conf-test] LintErrorEmptySetting ->
  9995. 1764.17 s [opt-env-conf-test] concat
  9996. 1764.17 s [opt-env-conf-test] - [ [ [ "This ",
  9997. 1764.17 s [opt-env-conf-test] - functionChunk "setting",
  9998. 1764.17 s [opt-env-conf-test] - " parses nothing."
  9999. 1764.17 s [opt-env-conf-test] - ]
  10000. 1764.17 s [opt-env-conf-test] - ],
  10001. 1764.17 s [opt-env-conf-test] [ [ "Add an ",
  10002. 1764.17 s [opt-env-conf-test] functionChunk "argument",
  10003. 1764.17 s [opt-env-conf-test] ", ",
  10004. 1764.18 s [opt-env-conf-test] functionChunk "switch",
  10005. 1764.18 s [opt-env-conf-test] ", ",
  10006. 1764.18 s [opt-env-conf-test] functionChunk "option",
  10007. 1764.18 s [opt-env-conf-test] ", ",
  10008. 1764.18 s [opt-env-conf-test] functionChunk "env",
  10009. 1764.18 s [opt-env-conf-test] ", ",
  10010. 1764.18 s [opt-env-conf-test] functionChunk "conf",
  10011. 1764.18 s [opt-env-conf-test] ", or ",
  10012. 1764.18 s [opt-env-conf-test] functionChunk "value",
  10013. 1764.18 s [opt-env-conf-test] "."
  10014. 1764.18 s [opt-env-conf-test] ]
  10015. 1764.18 s [opt-env-conf-test] ]
  10016. 1764.18 s [opt-env-conf-test] ]
  10017. 1764.18 s [opt-env-conf-test] LintErrorDashInShort ->
  10018. 1764.18 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10019. 1764.18 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10020. 1764.18 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  10021. 1764.18 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  10022. 1764.18 s [opt-env-conf-test] ]
  10023. 1764.18 s [opt-env-conf-test] ]
  10024. 1764.18 s [opt-env-conf-test] LintErrorDashInShort ->
  10025. 1764.18 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10026. 1764.18 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10027. 1764.18 s [opt-env-conf-test] ]
  10028. 1764.18 s [opt-env-conf-test] LintErrorDashInLong s ->
  10029. 1764.18 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
  10030. 1764.18 s [opt-env-conf-test] @@ -93,7 +93,6 @@
  10031. 1764.18 s [opt-env-conf-test] ]
  10032. 1764.18 s [opt-env-conf-test] ]
  10033. 1764.18 s [opt-env-conf-test] LintErrorDashInShort ->
  10034. 1764.18 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10035. 1764.18 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10036. 1764.18 s [opt-env-conf-test] ]
  10037. 1764.18 s [opt-env-conf-test] LintErrorDashInLong s ->
  10038. 1764.19 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10039. 1772.19 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10040. 1772.19 s [opt-env-conf-test] ]
  10041. 1772.19 s [opt-env-conf-test] LintErrorDashInShort ->
  10042. 1772.22 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10043. 1772.22 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10044. 1772.22 s [opt-env-conf-test] ]
  10045. 1772.22 s [opt-env-conf-test] LintErrorDashInLong s ->
  10046. 1772.22 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10047. 1772.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10048. 1772.22 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10049. 1772.22 s [opt-env-conf-test] ]
  10050. 1772.22 s [opt-env-conf-test] LintErrorDashInShort ->
  10051. 1772.22 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10052. 1772.22 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10053. 1772.22 s [opt-env-conf-test] ]
  10054. 1772.22 s [opt-env-conf-test] LintErrorDashInLong s ->
  10055. 1772.22 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10056. 1772.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
  10057. 1772.22 s [opt-env-conf-test] @@ -94,7 +94,6 @@
  10058. 1772.22 s [opt-env-conf-test] ]
  10059. 1772.22 s [opt-env-conf-test] LintErrorDashInShort ->
  10060. 1772.22 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  10061. 1772.22 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10062. 1772.22 s [opt-env-conf-test] ]
  10063. 1772.22 s [opt-env-conf-test] LintErrorDashInLong s ->
  10064. 1772.22 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10065. 1772.22 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  10066. 1772.22 s [opt-env-conf-test] @@ -93,9 +93,7 @@
  10067. 1772.22 s [opt-env-conf-test] ]
  10068. 1772.22 s [opt-env-conf-test] ]
  10069. 1772.22 s [opt-env-conf-test] LintErrorDashInShort ->
  10070. 1772.22 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10071. 1772.22 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  10072. 1772.22 s [opt-env-conf-test] ]
  10073. 1772.22 s [opt-env-conf-test] LintErrorDashInLong s ->
  10074. 1772.23 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10075. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10076. 1772.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
  10077. 1772.23 s [opt-env-conf-test] @@ -93,9 +93,8 @@
  10078. 1772.23 s [opt-env-conf-test] ]
  10079. 1772.23 s [opt-env-conf-test] ]
  10080. 1772.23 s [opt-env-conf-test] LintErrorDashInShort ->
  10081. 1772.23 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  10082. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10083. 1772.23 s [opt-env-conf-test] ]
  10084. 1772.23 s [opt-env-conf-test] LintErrorDashInLong s ->
  10085. 1772.23 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10086. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10087. 1772.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  10088. 1772.23 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  10089. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10090. 1772.23 s [opt-env-conf-test] ]
  10091. 1772.23 s [opt-env-conf-test] LintErrorDashInLong s ->
  10092. 1772.23 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10093. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10094. 1772.23 s [opt-env-conf-test] [ "Try ",
  10095. 1772.23 s [opt-env-conf-test] functionChunk "long",
  10096. 1772.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
  10097. 1772.23 s [opt-env-conf-test] @@ -97,7 +97,6 @@
  10098. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10099. 1772.23 s [opt-env-conf-test] ]
  10100. 1772.23 s [opt-env-conf-test] LintErrorDashInLong s ->
  10101. 1772.23 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10102. 1772.23 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10103. 1772.23 s [opt-env-conf-test] [ "Try ",
  10104. 1772.23 s [opt-env-conf-test] functionChunk "long",
  10105. 1772.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10106. 1772.23 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10107. 1772.23 s [opt-env-conf-test] ]
  10108. 1772.23 s [opt-env-conf-test] LintErrorDashInLong s ->
  10109. 1772.23 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10110. 1772.23 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10111. 1772.23 s [opt-env-conf-test] [ "Try ",
  10112. 1772.23 s [opt-env-conf-test] functionChunk "long",
  10113. 1772.23 s [opt-env-conf-test] " ",
  10114. 1772.23 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10115. 1772.23 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10116. 1772.23 s [opt-env-conf-test] ]
  10117. 1772.23 s [opt-env-conf-test] LintErrorDashInLong s ->
  10118. 1772.23 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10119. 1772.23 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10120. 1772.23 s [opt-env-conf-test] [ "Try ",
  10121. 1772.24 s [opt-env-conf-test] functionChunk "long",
  10122. 1772.24 s [opt-env-conf-test] " ",
  10123. 1772.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
  10124. 1772.24 s [opt-env-conf-test] @@ -98,7 +98,6 @@
  10125. 1772.24 s [opt-env-conf-test] ]
  10126. 1772.24 s [opt-env-conf-test] LintErrorDashInLong s ->
  10127. 1772.24 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10128. 1772.24 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10129. 1772.24 s [opt-env-conf-test] [ "Try ",
  10130. 1772.24 s [opt-env-conf-test] functionChunk "long",
  10131. 1772.24 s [opt-env-conf-test] " ",
  10132. 1772.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10133. 1772.24 s [opt-env-conf-test] @@ -99,19 +99,7 @@
  10134. 1772.24 s [opt-env-conf-test] LintErrorDashInLong s ->
  10135. 1772.24 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10136. 1772.24 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10137. 1772.24 s [opt-env-conf-test] - [ "Try ",
  10138. 1772.24 s [opt-env-conf-test] - functionChunk "long",
  10139. 1772.24 s [opt-env-conf-test] - " ",
  10140. 1772.24 s [opt-env-conf-test] - chunk $
  10141. 1772.24 s [opt-env-conf-test] - T.pack $
  10142. 1772.24 s [opt-env-conf-test] - show $
  10143. 1772.24 s [opt-env-conf-test] - let go = \case
  10144. 1772.24 s [opt-env-conf-test] - [] -> []
  10145. 1772.24 s [opt-env-conf-test] - '-' : cs -> go cs
  10146. 1772.24 s [opt-env-conf-test] - c : cs -> c : cs
  10147. 1772.24 s [opt-env-conf-test] - in go $ NE.toList s,
  10148. 1772.24 s [opt-env-conf-test] - " instead."
  10149. 1772.24 s [opt-env-conf-test] ]
  10150. 1772.24 s [opt-env-conf-test] ]
  10151. 1772.24 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10152. 1772.24 s [opt-env-conf-test] [ [ functionChunk "argument",
  10153. 1772.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10154. 1772.24 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10155. 1772.24 s [opt-env-conf-test] LintErrorDashInLong s ->
  10156. 1772.24 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10157. 1772.24 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10158. 1772.24 s [opt-env-conf-test] - [ "Try ",
  10159. 1772.24 s [opt-env-conf-test] functionChunk "long",
  10160. 1772.24 s [opt-env-conf-test] " ",
  10161. 1772.24 s [opt-env-conf-test] chunk $
  10162. 1772.24 s [opt-env-conf-test] T.pack $
  10163. 1772.24 s [opt-env-conf-test] show $
  10164. 1772.24 s [opt-env-conf-test] let go = \case
  10165. 1772.24 s [opt-env-conf-test] [] -> []
  10166. 1772.24 s [opt-env-conf-test] '-' : cs -> go cs
  10167. 1772.24 s [opt-env-conf-test] c : cs -> c : cs
  10168. 1772.24 s [opt-env-conf-test] in go $ NE.toList s,
  10169. 1772.24 s [opt-env-conf-test] " instead."
  10170. 1772.24 s [opt-env-conf-test] ]
  10171. 1772.24 s [opt-env-conf-test] ]
  10172. 1772.24 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10173. 1772.24 s [opt-env-conf-test] [ [ functionChunk "argument",
  10174. 1772.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
  10175. 1772.24 s [opt-env-conf-test] @@ -99,19 +99,18 @@
  10176. 1772.24 s [opt-env-conf-test] LintErrorDashInLong s ->
  10177. 1772.24 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10178. 1772.24 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10179. 1772.24 s [opt-env-conf-test] [ "Try ",
  10180. 1772.24 s [opt-env-conf-test] functionChunk "long",
  10181. 1772.24 s [opt-env-conf-test] " ",
  10182. 1772.24 s [opt-env-conf-test] chunk $
  10183. 1772.24 s [opt-env-conf-test] T.pack $
  10184. 1772.24 s [opt-env-conf-test] show $
  10185. 1772.24 s [opt-env-conf-test] let go = \case
  10186. 1772.24 s [opt-env-conf-test] [] -> []
  10187. 1772.24 s [opt-env-conf-test] '-' : cs -> go cs
  10188. 1772.24 s [opt-env-conf-test] c : cs -> c : cs
  10189. 1772.24 s [opt-env-conf-test] in go $ NE.toList s,
  10190. 1772.24 s [opt-env-conf-test] - " instead."
  10191. 1772.24 s [opt-env-conf-test] ]
  10192. 1772.24 s [opt-env-conf-test] ]
  10193. 1772.24 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10194. 1772.24 s [opt-env-conf-test] [ [ functionChunk "argument",
  10195. 1772.24 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10196. 1772.24 s [opt-env-conf-test] @@ -97,22 +97,7 @@
  10197. 1772.24 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10198. 1772.24 s [opt-env-conf-test] ]
  10199. 1772.24 s [opt-env-conf-test] LintErrorDashInLong s ->
  10200. 1772.24 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10201. 1772.24 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10202. 1772.24 s [opt-env-conf-test] - [ "Try ",
  10203. 1772.25 s [opt-env-conf-test] - functionChunk "long",
  10204. 1772.25 s [opt-env-conf-test] - " ",
  10205. 1772.25 s [opt-env-conf-test] - chunk $
  10206. 1772.25 s [opt-env-conf-test] - T.pack $
  10207. 1772.25 s [opt-env-conf-test] - show $
  10208. 1772.25 s [opt-env-conf-test] - let go = \case
  10209. 1772.25 s [opt-env-conf-test] - [] -> []
  10210. 1772.25 s [opt-env-conf-test] - '-' : cs -> go cs
  10211. 1772.25 s [opt-env-conf-test] - c : cs -> c : cs
  10212. 1772.25 s [opt-env-conf-test] - in go $ NE.toList s,
  10213. 1772.25 s [opt-env-conf-test] - " instead."
  10214. 1772.25 s [opt-env-conf-test] - ]
  10215. 1772.25 s [opt-env-conf-test] ]
  10216. 1772.25 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10217. 1772.25 s [opt-env-conf-test] [ [ functionChunk "argument",
  10218. 1772.25 s [opt-env-conf-test] " has no ",
  10219. 1772.25 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10220. 1772.25 s [opt-env-conf-test] @@ -97,22 +97,21 @@
  10221. 1772.25 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10222. 1772.25 s [opt-env-conf-test] ]
  10223. 1772.25 s [opt-env-conf-test] LintErrorDashInLong s ->
  10224. 1772.25 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  10225. 1772.25 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10226. 1772.25 s [opt-env-conf-test] [ "Try ",
  10227. 1772.25 s [opt-env-conf-test] functionChunk "long",
  10228. 1772.25 s [opt-env-conf-test] " ",
  10229. 1772.25 s [opt-env-conf-test] chunk $
  10230. 1772.25 s [opt-env-conf-test] T.pack $
  10231. 1772.25 s [opt-env-conf-test] show $
  10232. 1772.25 s [opt-env-conf-test] let go = \case
  10233. 1772.25 s [opt-env-conf-test] [] -> []
  10234. 1772.25 s [opt-env-conf-test] '-' : cs -> go cs
  10235. 1772.25 s [opt-env-conf-test] c : cs -> c : cs
  10236. 1772.25 s [opt-env-conf-test] in go $ NE.toList s,
  10237. 1779.51 s [opt-env-conf-test] " instead."
  10238. 1779.51 s [opt-env-conf-test] ]
  10239. 1779.53 s [opt-env-conf-test] ]
  10240. 1779.53 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10241. 1779.53 s [opt-env-conf-test] [ [ functionChunk "argument",
  10242. 1779.53 s [opt-env-conf-test] " has no ",
  10243. 1779.53 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
  10244. 1779.53 s [opt-env-conf-test] @@ -97,22 +97,9 @@
  10245. 1779.53 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  10246. 1779.53 s [opt-env-conf-test] ]
  10247. 1779.53 s [opt-env-conf-test] LintErrorDashInLong s ->
  10248. 1779.53 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  10249. 1779.53 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  10250. 1779.53 s [opt-env-conf-test] - [ "Try ",
  10251. 1779.53 s [opt-env-conf-test] - functionChunk "long",
  10252. 1779.53 s [opt-env-conf-test] - " ",
  10253. 1779.53 s [opt-env-conf-test] - chunk $
  10254. 1779.53 s [opt-env-conf-test] - T.pack $
  10255. 1779.53 s [opt-env-conf-test] - show $
  10256. 1779.53 s [opt-env-conf-test] - let go = \case
  10257. 1779.53 s [opt-env-conf-test] - [] -> []
  10258. 1779.53 s [opt-env-conf-test] - '-' : cs -> go cs
  10259. 1779.53 s [opt-env-conf-test] - c : cs -> c : cs
  10260. 1779.53 s [opt-env-conf-test] - in go $ NE.toList s,
  10261. 1779.53 s [opt-env-conf-test] - " instead."
  10262. 1779.53 s [opt-env-conf-test] - ]
  10263. 1779.54 s [opt-env-conf-test] ]
  10264. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10265. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10266. 1779.54 s [opt-env-conf-test] " has no ",
  10267. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10268. 1779.54 s [opt-env-conf-test] @@ -114,11 +114,7 @@
  10269. 1779.54 s [opt-env-conf-test] ]
  10270. 1779.54 s [opt-env-conf-test] ]
  10271. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10272. 1779.54 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10273. 1779.54 s [opt-env-conf-test] - " has no ",
  10274. 1779.54 s [opt-env-conf-test] - functionChunk "reader",
  10275. 1779.54 s [opt-env-conf-test] - "."
  10276. 1779.54 s [opt-env-conf-test] ]
  10277. 1779.54 s [opt-env-conf-test] ]
  10278. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10279. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10280. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10281. 1779.54 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  10282. 1779.54 s [opt-env-conf-test] ]
  10283. 1779.54 s [opt-env-conf-test] ]
  10284. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10285. 1779.54 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10286. 1779.54 s [opt-env-conf-test] " has no ",
  10287. 1779.54 s [opt-env-conf-test] functionChunk "reader",
  10288. 1779.54 s [opt-env-conf-test] "."
  10289. 1779.54 s [opt-env-conf-test] ]
  10290. 1779.54 s [opt-env-conf-test] ]
  10291. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10292. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10293. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
  10294. 1779.54 s [opt-env-conf-test] @@ -114,11 +114,10 @@
  10295. 1779.54 s [opt-env-conf-test] ]
  10296. 1779.54 s [opt-env-conf-test] ]
  10297. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  10298. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10299. 1779.54 s [opt-env-conf-test] " has no ",
  10300. 1779.54 s [opt-env-conf-test] functionChunk "reader",
  10301. 1779.54 s [opt-env-conf-test] - "."
  10302. 1779.54 s [opt-env-conf-test] ]
  10303. 1779.54 s [opt-env-conf-test] ]
  10304. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10305. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10306. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  10307. 1779.54 s [opt-env-conf-test] @@ -121,11 +121,7 @@
  10308. 1779.54 s [opt-env-conf-test] ]
  10309. 1779.54 s [opt-env-conf-test] ]
  10310. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10311. 1779.54 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10312. 1779.54 s [opt-env-conf-test] - " has no ",
  10313. 1779.54 s [opt-env-conf-test] - functionChunk "metavar",
  10314. 1779.54 s [opt-env-conf-test] - "."
  10315. 1779.54 s [opt-env-conf-test] ]
  10316. 1779.54 s [opt-env-conf-test] ]
  10317. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10318. 1779.54 s [opt-env-conf-test] [ [ functionChunk "option",
  10319. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  10320. 1779.54 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  10321. 1779.54 s [opt-env-conf-test] ]
  10322. 1779.54 s [opt-env-conf-test] ]
  10323. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10324. 1779.54 s [opt-env-conf-test] - [ [ functionChunk "argument",
  10325. 1779.54 s [opt-env-conf-test] " has no ",
  10326. 1779.54 s [opt-env-conf-test] functionChunk "metavar",
  10327. 1779.54 s [opt-env-conf-test] "."
  10328. 1779.54 s [opt-env-conf-test] ]
  10329. 1779.54 s [opt-env-conf-test] ]
  10330. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10331. 1779.54 s [opt-env-conf-test] [ [ functionChunk "option",
  10332. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
  10333. 1779.54 s [opt-env-conf-test] @@ -121,11 +121,10 @@
  10334. 1779.54 s [opt-env-conf-test] ]
  10335. 1779.54 s [opt-env-conf-test] ]
  10336. 1779.54 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  10337. 1779.54 s [opt-env-conf-test] [ [ functionChunk "argument",
  10338. 1779.54 s [opt-env-conf-test] " has no ",
  10339. 1779.54 s [opt-env-conf-test] functionChunk "metavar",
  10340. 1779.54 s [opt-env-conf-test] - "."
  10341. 1779.54 s [opt-env-conf-test] ]
  10342. 1779.54 s [opt-env-conf-test] ]
  10343. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10344. 1779.54 s [opt-env-conf-test] [ [ functionChunk "option",
  10345. 1779.54 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  10346. 1779.54 s [opt-env-conf-test] @@ -128,13 +128,7 @@
  10347. 1779.54 s [opt-env-conf-test] ]
  10348. 1779.54 s [opt-env-conf-test] ]
  10349. 1779.54 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10350. 1779.55 s [opt-env-conf-test] - [ [ functionChunk "option",
  10351. 1779.55 s [opt-env-conf-test] - " or ",
  10352. 1779.55 s [opt-env-conf-test] - functionChunk "name",
  10353. 1779.55 s [opt-env-conf-test] - " has no ",
  10354. 1779.55 s [opt-env-conf-test] - functionChunk "reader",
  10355. 1779.55 s [opt-env-conf-test] - "."
  10356. 1779.55 s [opt-env-conf-test] ]
  10357. 1779.55 s [opt-env-conf-test] ]
  10358. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10359. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10360. 1779.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  10361. 1779.55 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  10362. 1779.55 s [opt-env-conf-test] ]
  10363. 1779.55 s [opt-env-conf-test] ]
  10364. 1779.55 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10365. 1779.55 s [opt-env-conf-test] - [ [ functionChunk "option",
  10366. 1779.55 s [opt-env-conf-test] " or ",
  10367. 1779.55 s [opt-env-conf-test] functionChunk "name",
  10368. 1779.55 s [opt-env-conf-test] " has no ",
  10369. 1779.55 s [opt-env-conf-test] functionChunk "reader",
  10370. 1779.55 s [opt-env-conf-test] "."
  10371. 1779.55 s [opt-env-conf-test] ]
  10372. 1779.55 s [opt-env-conf-test] ]
  10373. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10374. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10375. 1779.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
  10376. 1779.55 s [opt-env-conf-test] @@ -128,13 +128,12 @@
  10377. 1779.55 s [opt-env-conf-test] ]
  10378. 1779.55 s [opt-env-conf-test] ]
  10379. 1779.55 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  10380. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10381. 1779.55 s [opt-env-conf-test] " or ",
  10382. 1779.55 s [opt-env-conf-test] functionChunk "name",
  10383. 1779.55 s [opt-env-conf-test] " has no ",
  10384. 1779.55 s [opt-env-conf-test] functionChunk "reader",
  10385. 1779.55 s [opt-env-conf-test] - "."
  10386. 1779.55 s [opt-env-conf-test] ]
  10387. 1779.55 s [opt-env-conf-test] ]
  10388. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10389. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10390. 1779.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10391. 1779.55 s [opt-env-conf-test] @@ -137,13 +137,7 @@
  10392. 1779.55 s [opt-env-conf-test] ]
  10393. 1779.55 s [opt-env-conf-test] ]
  10394. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10395. 1779.55 s [opt-env-conf-test] - [ [ functionChunk "option",
  10396. 1779.55 s [opt-env-conf-test] - " has no ",
  10397. 1779.55 s [opt-env-conf-test] - functionChunk "long",
  10398. 1779.55 s [opt-env-conf-test] - " or ",
  10399. 1779.55 s [opt-env-conf-test] - functionChunk "short",
  10400. 1779.55 s [opt-env-conf-test] - "."
  10401. 1779.55 s [opt-env-conf-test] ]
  10402. 1779.55 s [opt-env-conf-test] ]
  10403. 1779.55 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10404. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10405. 1779.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10406. 1779.55 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  10407. 1779.55 s [opt-env-conf-test] ]
  10408. 1779.55 s [opt-env-conf-test] ]
  10409. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10410. 1779.55 s [opt-env-conf-test] - [ [ functionChunk "option",
  10411. 1779.55 s [opt-env-conf-test] " has no ",
  10412. 1779.55 s [opt-env-conf-test] functionChunk "long",
  10413. 1779.55 s [opt-env-conf-test] " or ",
  10414. 1779.55 s [opt-env-conf-test] functionChunk "short",
  10415. 1779.55 s [opt-env-conf-test] "."
  10416. 1779.55 s [opt-env-conf-test] ]
  10417. 1779.55 s [opt-env-conf-test] ]
  10418. 1779.55 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10419. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10420. 1779.55 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
  10421. 1779.55 s [opt-env-conf-test] @@ -137,13 +137,12 @@
  10422. 1779.55 s [opt-env-conf-test] ]
  10423. 1779.55 s [opt-env-conf-test] ]
  10424. 1779.55 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  10425. 1779.55 s [opt-env-conf-test] [ [ functionChunk "option",
  10426. 1779.55 s [opt-env-conf-test] " has no ",
  10427. 1779.55 s [opt-env-conf-test] functionChunk "long",
  10428. 1779.55 s [opt-env-conf-test] " or ",
  10429. 1779.55 s [opt-env-conf-test] functionChunk "short",
  10430. 1779.55 s [opt-env-conf-test] - "."
  10431. 1779.55 s [opt-env-conf-test] ]
  10432. 1779.55 s [opt-env-conf-test] ]
  10433. 1779.55 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10434. 1779.56 s [opt-env-conf-test] [ [ functionChunk "option",
  10435. 1779.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  10436. 1779.56 s [opt-env-conf-test] @@ -146,13 +146,7 @@
  10437. 1779.56 s [opt-env-conf-test] ]
  10438. 1779.56 s [opt-env-conf-test] ]
  10439. 1779.56 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10440. 1779.56 s [opt-env-conf-test] - [ [ functionChunk "option",
  10441. 1779.56 s [opt-env-conf-test] - " or ",
  10442. 1779.56 s [opt-env-conf-test] - functionChunk "name",
  10443. 1779.56 s [opt-env-conf-test] - " has no ",
  10444. 1779.56 s [opt-env-conf-test] - functionChunk "metavar",
  10445. 1779.56 s [opt-env-conf-test] - "."
  10446. 1779.56 s [opt-env-conf-test] ]
  10447. 1779.56 s [opt-env-conf-test] ]
  10448. 1779.56 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10449. 1779.56 s [opt-env-conf-test] [ [ functionChunk "switch",
  10450. 1779.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  10451. 1779.56 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  10452. 1779.56 s [opt-env-conf-test] ]
  10453. 1779.56 s [opt-env-conf-test] ]
  10454. 1779.56 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10455. 1779.56 s [opt-env-conf-test] - [ [ functionChunk "option",
  10456. 1779.56 s [opt-env-conf-test] " or ",
  10457. 1779.56 s [opt-env-conf-test] functionChunk "name",
  10458. 1779.56 s [opt-env-conf-test] " has no ",
  10459. 1779.56 s [opt-env-conf-test] functionChunk "metavar",
  10460. 1779.56 s [opt-env-conf-test] "."
  10461. 1779.56 s [opt-env-conf-test] ]
  10462. 1779.56 s [opt-env-conf-test] ]
  10463. 1779.56 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10464. 1779.56 s [opt-env-conf-test] [ [ functionChunk "switch",
  10465. 1779.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
  10466. 1779.56 s [opt-env-conf-test] @@ -146,13 +146,12 @@
  10467. 1779.56 s [opt-env-conf-test] ]
  10468. 1779.56 s [opt-env-conf-test] ]
  10469. 1779.56 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  10470. 1779.56 s [opt-env-conf-test] [ [ functionChunk "option",
  10471. 1779.56 s [opt-env-conf-test] " or ",
  10472. 1779.56 s [opt-env-conf-test] functionChunk "name",
  10473. 1779.56 s [opt-env-conf-test] " has no ",
  10474. 1779.56 s [opt-env-conf-test] functionChunk "metavar",
  10475. 1779.56 s [opt-env-conf-test] - "."
  10476. 1779.56 s [opt-env-conf-test] ]
  10477. 1779.56 s [opt-env-conf-test] ]
  10478. 1779.56 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10479. 1779.56 s [opt-env-conf-test] [ [ functionChunk "switch",
  10480. 1779.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  10481. 1779.56 s [opt-env-conf-test] @@ -155,13 +155,7 @@
  10482. 1779.56 s [opt-env-conf-test] ]
  10483. 1779.56 s [opt-env-conf-test] ]
  10484. 1779.56 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10485. 1779.56 s [opt-env-conf-test] - [ [ functionChunk "switch",
  10486. 1779.56 s [opt-env-conf-test] - " has no ",
  10487. 1779.56 s [opt-env-conf-test] - functionChunk "long",
  10488. 1779.56 s [opt-env-conf-test] - " or ",
  10489. 1779.56 s [opt-env-conf-test] - functionChunk "short",
  10490. 1789.67 s [opt-env-conf-test] - "."
  10491. 1789.69 s [opt-env-conf-test] ]
  10492. 1789.69 s [opt-env-conf-test] ]
  10493. 1789.69 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10494. 1789.69 s [opt-env-conf-test] [ [ functionChunk "long",
  10495. 1789.69 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  10496. 1789.69 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  10497. 1789.69 s [opt-env-conf-test] ]
  10498. 1789.69 s [opt-env-conf-test] ]
  10499. 1789.69 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10500. 1789.69 s [opt-env-conf-test] - [ [ functionChunk "switch",
  10501. 1789.69 s [opt-env-conf-test] " has no ",
  10502. 1789.69 s [opt-env-conf-test] functionChunk "long",
  10503. 1789.69 s [opt-env-conf-test] " or ",
  10504. 1789.69 s [opt-env-conf-test] functionChunk "short",
  10505. 1789.69 s [opt-env-conf-test] "."
  10506. 1789.69 s [opt-env-conf-test] ]
  10507. 1789.69 s [opt-env-conf-test] ]
  10508. 1789.70 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10509. 1789.70 s [opt-env-conf-test] [ [ functionChunk "long",
  10510. 1789.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
  10511. 1789.70 s [opt-env-conf-test] @@ -155,13 +155,12 @@
  10512. 1789.70 s [opt-env-conf-test] ]
  10513. 1789.70 s [opt-env-conf-test] ]
  10514. 1789.70 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  10515. 1789.70 s [opt-env-conf-test] [ [ functionChunk "switch",
  10516. 1789.70 s [opt-env-conf-test] " has no ",
  10517. 1789.70 s [opt-env-conf-test] functionChunk "long",
  10518. 1789.70 s [opt-env-conf-test] " or ",
  10519. 1789.70 s [opt-env-conf-test] functionChunk "short",
  10520. 1789.70 s [opt-env-conf-test] - "."
  10521. 1789.70 s [opt-env-conf-test] ]
  10522. 1789.70 s [opt-env-conf-test] ]
  10523. 1789.70 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10524. 1789.70 s [opt-env-conf-test] [ [ functionChunk "long",
  10525. 1789.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  10526. 1789.70 s [opt-env-conf-test] @@ -164,15 +164,7 @@
  10527. 1789.70 s [opt-env-conf-test] ]
  10528. 1789.70 s [opt-env-conf-test] ]
  10529. 1789.70 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10530. 1789.70 s [opt-env-conf-test] - [ [ functionChunk "long",
  10531. 1789.70 s [opt-env-conf-test] - " or ",
  10532. 1789.70 s [opt-env-conf-test] - functionChunk "short",
  10533. 1789.70 s [opt-env-conf-test] - " has no ",
  10534. 1789.70 s [opt-env-conf-test] - functionChunk "option",
  10535. 1789.70 s [opt-env-conf-test] - " or ",
  10536. 1789.70 s [opt-env-conf-test] - functionChunk "switch",
  10537. 1789.70 s [opt-env-conf-test] - "."
  10538. 1789.70 s [opt-env-conf-test] ]
  10539. 1789.70 s [opt-env-conf-test] ]
  10540. 1789.70 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10541. 1789.70 s [opt-env-conf-test] [ [ functionChunk "env",
  10542. 1789.70 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  10543. 1789.70 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  10544. 1789.70 s [opt-env-conf-test] ]
  10545. 1789.70 s [opt-env-conf-test] ]
  10546. 1789.70 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10547. 1789.70 s [opt-env-conf-test] - [ [ functionChunk "long",
  10548. 1789.70 s [opt-env-conf-test] " or ",
  10549. 1789.71 s [opt-env-conf-test] functionChunk "short",
  10550. 1789.71 s [opt-env-conf-test] " has no ",
  10551. 1789.71 s [opt-env-conf-test] functionChunk "option",
  10552. 1789.71 s [opt-env-conf-test] " or ",
  10553. 1789.71 s [opt-env-conf-test] functionChunk "switch",
  10554. 1789.71 s [opt-env-conf-test] "."
  10555. 1789.71 s [opt-env-conf-test] ]
  10556. 1789.71 s [opt-env-conf-test] ]
  10557. 1789.71 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10558. 1789.71 s [opt-env-conf-test] [ [ functionChunk "env",
  10559. 1789.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
  10560. 1789.71 s [opt-env-conf-test] @@ -164,15 +164,14 @@
  10561. 1789.71 s [opt-env-conf-test] ]
  10562. 1789.71 s [opt-env-conf-test] ]
  10563. 1789.71 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  10564. 1789.71 s [opt-env-conf-test] [ [ functionChunk "long",
  10565. 1789.71 s [opt-env-conf-test] " or ",
  10566. 1789.71 s [opt-env-conf-test] functionChunk "short",
  10567. 1789.71 s [opt-env-conf-test] " has no ",
  10568. 1789.71 s [opt-env-conf-test] functionChunk "option",
  10569. 1789.71 s [opt-env-conf-test] " or ",
  10570. 1789.71 s [opt-env-conf-test] functionChunk "switch",
  10571. 1789.71 s [opt-env-conf-test] - "."
  10572. 1789.71 s [opt-env-conf-test] ]
  10573. 1789.71 s [opt-env-conf-test] ]
  10574. 1789.71 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10575. 1789.71 s [opt-env-conf-test] [ [ functionChunk "env",
  10576. 1789.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  10577. 1789.71 s [opt-env-conf-test] @@ -175,13 +175,7 @@
  10578. 1789.71 s [opt-env-conf-test] ]
  10579. 1789.71 s [opt-env-conf-test] ]
  10580. 1789.71 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10581. 1789.71 s [opt-env-conf-test] - [ [ functionChunk "env",
  10582. 1789.71 s [opt-env-conf-test] - " or ",
  10583. 1789.71 s [opt-env-conf-test] - functionChunk "name",
  10584. 1789.71 s [opt-env-conf-test] - " has no ",
  10585. 1789.71 s [opt-env-conf-test] - functionChunk "reader",
  10586. 1789.71 s [opt-env-conf-test] - "."
  10587. 1789.71 s [opt-env-conf-test] ]
  10588. 1789.71 s [opt-env-conf-test] ]
  10589. 1789.71 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10590. 1789.71 s [opt-env-conf-test] [ [ functionChunk "env",
  10591. 1789.71 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  10592. 1789.71 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  10593. 1789.72 s [opt-env-conf-test] ]
  10594. 1789.72 s [opt-env-conf-test] ]
  10595. 1789.72 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10596. 1789.72 s [opt-env-conf-test] - [ [ functionChunk "env",
  10597. 1789.72 s [opt-env-conf-test] " or ",
  10598. 1789.72 s [opt-env-conf-test] functionChunk "name",
  10599. 1789.72 s [opt-env-conf-test] " has no ",
  10600. 1789.72 s [opt-env-conf-test] functionChunk "reader",
  10601. 1789.72 s [opt-env-conf-test] "."
  10602. 1789.72 s [opt-env-conf-test] ]
  10603. 1789.72 s [opt-env-conf-test] ]
  10604. 1789.72 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10605. 1789.72 s [opt-env-conf-test] [ [ functionChunk "env",
  10606. 1789.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
  10607. 1789.72 s [opt-env-conf-test] @@ -175,13 +175,12 @@
  10608. 1789.72 s [opt-env-conf-test] ]
  10609. 1789.72 s [opt-env-conf-test] ]
  10610. 1789.72 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  10611. 1789.72 s [opt-env-conf-test] [ [ functionChunk "env",
  10612. 1789.72 s [opt-env-conf-test] " or ",
  10613. 1789.72 s [opt-env-conf-test] functionChunk "name",
  10614. 1789.72 s [opt-env-conf-test] " has no ",
  10615. 1789.72 s [opt-env-conf-test] functionChunk "reader",
  10616. 1789.72 s [opt-env-conf-test] - "."
  10617. 1789.72 s [opt-env-conf-test] ]
  10618. 1789.72 s [opt-env-conf-test] ]
  10619. 1789.72 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10620. 1789.72 s [opt-env-conf-test] [ [ functionChunk "env",
  10621. 1789.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  10622. 1789.72 s [opt-env-conf-test] @@ -184,13 +184,7 @@
  10623. 1789.72 s [opt-env-conf-test] ]
  10624. 1789.72 s [opt-env-conf-test] ]
  10625. 1789.72 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10626. 1789.72 s [opt-env-conf-test] - [ [ functionChunk "env",
  10627. 1789.72 s [opt-env-conf-test] - " or ",
  10628. 1789.72 s [opt-env-conf-test] - functionChunk "name",
  10629. 1789.72 s [opt-env-conf-test] - " has no ",
  10630. 1789.72 s [opt-env-conf-test] - functionChunk "metavar",
  10631. 1789.72 s [opt-env-conf-test] - "."
  10632. 1789.72 s [opt-env-conf-test] ]
  10633. 1789.72 s [opt-env-conf-test] ]
  10634. 1789.72 s [opt-env-conf-test] LintErrorNoCommands ->
  10635. 1789.72 s [opt-env-conf-test] [ [ functionChunk "commands",
  10636. 1789.72 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  10637. 1789.72 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  10638. 1789.73 s [opt-env-conf-test] ]
  10639. 1789.73 s [opt-env-conf-test] ]
  10640. 1789.73 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10641. 1789.73 s [opt-env-conf-test] - [ [ functionChunk "env",
  10642. 1789.73 s [opt-env-conf-test] " or ",
  10643. 1789.73 s [opt-env-conf-test] functionChunk "name",
  10644. 1789.73 s [opt-env-conf-test] " has no ",
  10645. 1789.73 s [opt-env-conf-test] functionChunk "metavar",
  10646. 1789.73 s [opt-env-conf-test] "."
  10647. 1789.73 s [opt-env-conf-test] ]
  10648. 1789.73 s [opt-env-conf-test] ]
  10649. 1789.73 s [opt-env-conf-test] LintErrorNoCommands ->
  10650. 1789.73 s [opt-env-conf-test] [ [ functionChunk "commands",
  10651. 1789.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
  10652. 1789.73 s [opt-env-conf-test] @@ -184,13 +184,12 @@
  10653. 1789.73 s [opt-env-conf-test] ]
  10654. 1789.73 s [opt-env-conf-test] ]
  10655. 1789.73 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  10656. 1789.73 s [opt-env-conf-test] [ [ functionChunk "env",
  10657. 1789.73 s [opt-env-conf-test] " or ",
  10658. 1789.73 s [opt-env-conf-test] functionChunk "name",
  10659. 1789.73 s [opt-env-conf-test] " has no ",
  10660. 1789.73 s [opt-env-conf-test] functionChunk "metavar",
  10661. 1789.73 s [opt-env-conf-test] - "."
  10662. 1789.73 s [opt-env-conf-test] ]
  10663. 1789.73 s [opt-env-conf-test] ]
  10664. 1789.73 s [opt-env-conf-test] LintErrorNoCommands ->
  10665. 1789.73 s [opt-env-conf-test] [ [ functionChunk "commands",
  10666. 1789.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  10667. 1789.73 s [opt-env-conf-test] @@ -193,9 +193,7 @@
  10668. 1789.73 s [opt-env-conf-test] ]
  10669. 1789.73 s [opt-env-conf-test] ]
  10670. 1789.73 s [opt-env-conf-test] LintErrorNoCommands ->
  10671. 1789.73 s [opt-env-conf-test] - [ [ functionChunk "commands",
  10672. 1789.73 s [opt-env-conf-test] - " was called with an empty list."
  10673. 1789.73 s [opt-env-conf-test] ]
  10674. 1789.73 s [opt-env-conf-test] ]
  10675. 1789.73 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10676. 1789.73 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  10677. 1789.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
  10678. 1789.73 s [opt-env-conf-test] @@ -193,9 +193,8 @@
  10679. 1789.73 s [opt-env-conf-test] ]
  10680. 1789.73 s [opt-env-conf-test] ]
  10681. 1789.73 s [opt-env-conf-test] LintErrorNoCommands ->
  10682. 1789.73 s [opt-env-conf-test] - [ [ functionChunk "commands",
  10683. 1789.73 s [opt-env-conf-test] " was called with an empty list."
  10684. 1789.73 s [opt-env-conf-test] ]
  10685. 1789.73 s [opt-env-conf-test] ]
  10686. 1789.73 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10687. 1789.73 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  10688. 1789.73 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  10689. 1789.73 s [opt-env-conf-test] @@ -198,10 +198,7 @@
  10690. 1789.74 s [opt-env-conf-test] ]
  10691. 1789.74 s [opt-env-conf-test] ]
  10692. 1789.74 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10693. 1789.74 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  10694. 1789.74 s [opt-env-conf-test] - " was called with an unknown command: ",
  10695. 1789.74 s [opt-env-conf-test] - commandChunk c
  10696. 1789.74 s [opt-env-conf-test] ]
  10697. 1789.74 s [opt-env-conf-test] ]
  10698. 1789.74 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10699. 1789.74 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10700. 1789.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  10701. 1789.74 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  10702. 1789.74 s [opt-env-conf-test] ]
  10703. 1789.74 s [opt-env-conf-test] ]
  10704. 1789.74 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10705. 1789.74 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  10706. 1789.74 s [opt-env-conf-test] " was called with an unknown command: ",
  10707. 1789.74 s [opt-env-conf-test] commandChunk c
  10708. 1789.74 s [opt-env-conf-test] ]
  10709. 1789.74 s [opt-env-conf-test] ]
  10710. 1789.74 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10711. 1789.74 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10712. 1789.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10713. 1789.74 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10714. 1789.74 s [opt-env-conf-test] ]
  10715. 1789.74 s [opt-env-conf-test] ]
  10716. 1789.74 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10717. 1789.74 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10718. 1789.74 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10719. 1789.74 s [opt-env-conf-test] ]
  10720. 1789.74 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10721. 1789.74 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
  10722. 1789.74 s [opt-env-conf-test] @@ -198,10 +198,9 @@
  10723. 1789.74 s [opt-env-conf-test] ]
  10724. 1789.74 s [opt-env-conf-test] ]
  10725. 1789.74 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  10726. 1789.74 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  10727. 1789.74 s [opt-env-conf-test] " was called with an unknown command: ",
  10728. 1789.74 s [opt-env-conf-test] - commandChunk c
  10729. 1789.74 s [opt-env-conf-test] ]
  10730. 1789.74 s [opt-env-conf-test] ]
  10731. 1789.74 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10732. 1789.74 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10733. 1798.41 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10734. 1798.41 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10735. 1798.41 s [opt-env-conf-test] ]
  10736. 1798.43 s [opt-env-conf-test] ]
  10737. 1798.43 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10738. 1798.43 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10739. 1798.44 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10740. 1798.44 s [opt-env-conf-test] ]
  10741. 1798.44 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10742. 1798.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
  10743. 1798.44 s [opt-env-conf-test] @@ -204,7 +204,6 @@
  10744. 1798.44 s [opt-env-conf-test] ]
  10745. 1798.44 s [opt-env-conf-test] ]
  10746. 1798.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10747. 1798.44 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10748. 1798.44 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10749. 1798.44 s [opt-env-conf-test] ]
  10750. 1798.44 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10751. 1798.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  10752. 1798.44 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  10753. 1798.44 s [opt-env-conf-test] ]
  10754. 1798.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10755. 1798.44 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10756. 1798.44 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10757. 1798.44 s [opt-env-conf-test] ]
  10758. 1798.44 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10759. 1798.44 s [opt-env-conf-test] [ [ functionChunk "conf",
  10760. 1798.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
  10761. 1798.44 s [opt-env-conf-test] @@ -205,7 +205,6 @@
  10762. 1798.44 s [opt-env-conf-test] ]
  10763. 1798.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10764. 1798.44 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10765. 1798.44 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10766. 1798.44 s [opt-env-conf-test] ]
  10767. 1798.44 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10768. 1798.44 s [opt-env-conf-test] [ [ functionChunk "conf",
  10769. 1798.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  10770. 1798.44 s [opt-env-conf-test] @@ -204,9 +204,7 @@
  10771. 1798.44 s [opt-env-conf-test] ]
  10772. 1798.44 s [opt-env-conf-test] ]
  10773. 1798.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10774. 1798.44 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10775. 1798.44 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  10776. 1798.44 s [opt-env-conf-test] ]
  10777. 1798.44 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10778. 1798.44 s [opt-env-conf-test] [ [ functionChunk "conf",
  10779. 1798.45 s [opt-env-conf-test] " or ",
  10780. 1798.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
  10781. 1798.45 s [opt-env-conf-test] @@ -204,9 +204,8 @@
  10782. 1798.45 s [opt-env-conf-test] ]
  10783. 1798.45 s [opt-env-conf-test] ]
  10784. 1798.45 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  10785. 1798.45 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  10786. 1798.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10787. 1798.45 s [opt-env-conf-test] ]
  10788. 1798.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10789. 1798.45 s [opt-env-conf-test] [ [ functionChunk "conf",
  10790. 1798.45 s [opt-env-conf-test] " or ",
  10791. 1798.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10792. 1798.45 s [opt-env-conf-test] @@ -208,11 +208,7 @@
  10793. 1798.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10794. 1798.45 s [opt-env-conf-test] ]
  10795. 1798.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10796. 1798.45 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10797. 1798.45 s [opt-env-conf-test] - " or ",
  10798. 1798.45 s [opt-env-conf-test] - functionChunk "name",
  10799. 1798.45 s [opt-env-conf-test] - " was called with no way to load configuration."
  10800. 1798.45 s [opt-env-conf-test] ],
  10801. 1798.45 s [opt-env-conf-test] [ "You can load configuration with ",
  10802. 1798.45 s [opt-env-conf-test] functionChunk "withConfig",
  10803. 1798.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10804. 1798.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10805. 1798.45 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  10806. 1798.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10807. 1798.45 s [opt-env-conf-test] ]
  10808. 1798.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10809. 1798.45 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10810. 1798.45 s [opt-env-conf-test] " or ",
  10811. 1798.45 s [opt-env-conf-test] functionChunk "name",
  10812. 1798.45 s [opt-env-conf-test] " was called with no way to load configuration."
  10813. 1798.45 s [opt-env-conf-test] ],
  10814. 1798.45 s [opt-env-conf-test] [ "You can load configuration with ",
  10815. 1798.45 s [opt-env-conf-test] functionChunk "withConfig",
  10816. 1798.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10817. 1798.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
  10818. 1798.45 s [opt-env-conf-test] @@ -208,11 +208,10 @@
  10819. 1798.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10820. 1798.45 s [opt-env-conf-test] ]
  10821. 1798.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10822. 1798.45 s [opt-env-conf-test] [ [ functionChunk "conf",
  10823. 1798.45 s [opt-env-conf-test] " or ",
  10824. 1798.45 s [opt-env-conf-test] functionChunk "name",
  10825. 1798.45 s [opt-env-conf-test] - " was called with no way to load configuration."
  10826. 1798.45 s [opt-env-conf-test] ],
  10827. 1798.45 s [opt-env-conf-test] [ "You can load configuration with ",
  10828. 1798.45 s [opt-env-conf-test] functionChunk "withConfig",
  10829. 1798.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10830. 1798.45 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10831. 1798.45 s [opt-env-conf-test] @@ -213,12 +213,7 @@
  10832. 1798.45 s [opt-env-conf-test] functionChunk "name",
  10833. 1798.45 s [opt-env-conf-test] " was called with no way to load configuration."
  10834. 1798.45 s [opt-env-conf-test] ],
  10835. 1798.45 s [opt-env-conf-test] - [ "You can load configuration with ",
  10836. 1798.45 s [opt-env-conf-test] - functionChunk "withConfig",
  10837. 1798.45 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  10838. 1798.45 s [opt-env-conf-test] - functionChunk "withoutConfig",
  10839. 1798.45 s [opt-env-conf-test] - "."
  10840. 1798.45 s [opt-env-conf-test] ]
  10841. 1798.45 s [opt-env-conf-test] ]
  10842. 1798.45 s [opt-env-conf-test] LintErrorManyInfinite ->
  10843. 1798.46 s [opt-env-conf-test] [ [ functionChunk "many",
  10844. 1798.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10845. 1798.46 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  10846. 1798.46 s [opt-env-conf-test] functionChunk "name",
  10847. 1798.46 s [opt-env-conf-test] " was called with no way to load configuration."
  10848. 1798.46 s [opt-env-conf-test] ],
  10849. 1798.46 s [opt-env-conf-test] - [ "You can load configuration with ",
  10850. 1798.46 s [opt-env-conf-test] functionChunk "withConfig",
  10851. 1798.46 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10852. 1798.46 s [opt-env-conf-test] functionChunk "withoutConfig",
  10853. 1798.46 s [opt-env-conf-test] "."
  10854. 1798.46 s [opt-env-conf-test] ]
  10855. 1798.46 s [opt-env-conf-test] ]
  10856. 1798.46 s [opt-env-conf-test] LintErrorManyInfinite ->
  10857. 1798.46 s [opt-env-conf-test] [ [ functionChunk "many",
  10858. 1798.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
  10859. 1798.46 s [opt-env-conf-test] @@ -213,12 +213,11 @@
  10860. 1798.46 s [opt-env-conf-test] functionChunk "name",
  10861. 1798.46 s [opt-env-conf-test] " was called with no way to load configuration."
  10862. 1798.46 s [opt-env-conf-test] ],
  10863. 1798.46 s [opt-env-conf-test] [ "You can load configuration with ",
  10864. 1798.46 s [opt-env-conf-test] functionChunk "withConfig",
  10865. 1798.46 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10866. 1798.46 s [opt-env-conf-test] functionChunk "withoutConfig",
  10867. 1798.46 s [opt-env-conf-test] - "."
  10868. 1798.46 s [opt-env-conf-test] ]
  10869. 1798.46 s [opt-env-conf-test] ]
  10870. 1798.46 s [opt-env-conf-test] LintErrorManyInfinite ->
  10871. 1798.46 s [opt-env-conf-test] [ [ functionChunk "many",
  10872. 1798.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  10873. 1798.46 s [opt-env-conf-test] @@ -208,18 +208,7 @@
  10874. 1798.46 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10875. 1798.46 s [opt-env-conf-test] ]
  10876. 1798.46 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10877. 1798.46 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10878. 1798.46 s [opt-env-conf-test] - " or ",
  10879. 1798.46 s [opt-env-conf-test] - functionChunk "name",
  10880. 1798.46 s [opt-env-conf-test] - " was called with no way to load configuration."
  10881. 1798.46 s [opt-env-conf-test] - ],
  10882. 1798.46 s [opt-env-conf-test] - [ "You can load configuration with ",
  10883. 1798.46 s [opt-env-conf-test] - functionChunk "withConfig",
  10884. 1798.46 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  10885. 1798.46 s [opt-env-conf-test] - functionChunk "withoutConfig",
  10886. 1798.46 s [opt-env-conf-test] - "."
  10887. 1798.46 s [opt-env-conf-test] - ]
  10888. 1798.46 s [opt-env-conf-test] ]
  10889. 1798.46 s [opt-env-conf-test] LintErrorManyInfinite ->
  10890. 1798.46 s [opt-env-conf-test] [ [ functionChunk "many",
  10891. 1798.46 s [opt-env-conf-test] " or ",
  10892. 1798.46 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
  10893. 1798.46 s [opt-env-conf-test] @@ -208,18 +208,13 @@
  10894. 1798.46 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  10895. 1798.46 s [opt-env-conf-test] ]
  10896. 1798.46 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  10897. 1798.46 s [opt-env-conf-test] - [ [ functionChunk "conf",
  10898. 1798.46 s [opt-env-conf-test] - " or ",
  10899. 1798.46 s [opt-env-conf-test] - functionChunk "name",
  10900. 1798.47 s [opt-env-conf-test] - " was called with no way to load configuration."
  10901. 1798.47 s [opt-env-conf-test] - ],
  10902. 1798.47 s [opt-env-conf-test] [ "You can load configuration with ",
  10903. 1798.47 s [opt-env-conf-test] functionChunk "withConfig",
  10904. 1798.47 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  10905. 1798.47 s [opt-env-conf-test] functionChunk "withoutConfig",
  10906. 1798.47 s [opt-env-conf-test] "."
  10907. 1798.47 s [opt-env-conf-test] ]
  10908. 1798.47 s [opt-env-conf-test] ]
  10909. 1798.47 s [opt-env-conf-test] LintErrorManyInfinite ->
  10910. 1798.47 s [opt-env-conf-test] [ [ functionChunk "many",
  10911. 1798.47 s [opt-env-conf-test] " or ",
  10912. 1798.47 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  10913. 1798.47 s [opt-env-conf-test] @@ -221,11 +221,7 @@
  10914. 1798.47 s [opt-env-conf-test] ]
  10915. 1798.47 s [opt-env-conf-test] ]
  10916. 1798.47 s [opt-env-conf-test] LintErrorManyInfinite ->
  10917. 1798.47 s [opt-env-conf-test] - [ [ functionChunk "many",
  10918. 1798.47 s [opt-env-conf-test] - " or ",
  10919. 1798.47 s [opt-env-conf-test] - functionChunk "some",
  10920. 1798.47 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  10921. 1798.47 s [opt-env-conf-test] ],
  10922. 1798.47 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10923. 1798.47 s [opt-env-conf-test] ],
  10924. 1798.47 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10925. 1798.47 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  10926. 1798.47 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  10927. 1798.47 s [opt-env-conf-test] ]
  10928. 1798.47 s [opt-env-conf-test] ]
  10929. 1798.47 s [opt-env-conf-test] LintErrorManyInfinite ->
  10930. 1798.47 s [opt-env-conf-test] - [ [ functionChunk "many",
  10931. 1798.47 s [opt-env-conf-test] " or ",
  10932. 1798.47 s [opt-env-conf-test] functionChunk "some",
  10933. 1803.84 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  10934. 1803.84 s [opt-env-conf-test] ],
  10935. 1803.87 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  10936. 1803.87 s [opt-env-conf-test] ],
  10937. 1803.87 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  10938. 1803.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
  10939. 1803.87 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10940. 1803.87 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10941. 1803.87 s [opt-env-conf-test] else do
  10942. 1803.87 s [opt-env-conf-test] for_ mDefault $ \d ->
  10943. 1803.87 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10944. 1803.87 s [opt-env-conf-test] + when (not (isNothing (find ((== d) . commandArg) cs))) $
  10945. 1803.87 s [opt-env-conf-test] validationTFailure $
  10946. 1803.87 s [opt-env-conf-test] LintError mLoc $
  10947. 1803.87 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10948. 1803.87 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
  10949. 1803.87 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10950. 1803.88 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10951. 1803.88 s [opt-env-conf-test] c1 <- go p1
  10952. 1803.88 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10953. 1803.88 s [opt-env-conf-test] - pure $ c1 || c2
  10954. 1803.88 s [opt-env-conf-test] + pure $ not (c1) || c2
  10955. 1803.88 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  10956. 1803.88 s [opt-env-conf-test] case settingHelp of
  10957. 1803.88 s [opt-env-conf-test] Nothing ->
  10958. 1803.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  10959. 1803.88 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  10960. 1803.88 s [opt-env-conf-test] when (not c) $
  10961. 1803.88 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  10962. 1803.88 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  10963. 1803.88 s [opt-env-conf-test] - pure c
  10964. 1803.88 s [opt-env-conf-test] + pure False
  10965. 1803.88 s [opt-env-conf-test] ParserSome mLoc p -> do
  10966. 1803.88 s [opt-env-conf-test] c <- go p
  10967. 1803.88 s [opt-env-conf-test] when (not c) $
  10968. 1803.88 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
  10969. 1803.88 s [opt-env-conf-test] @@ -275,13 +275,8 @@
  10970. 1803.88 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  10971. 1803.88 s [opt-env-conf-test] if null cs
  10972. 1803.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10973. 1803.88 s [opt-env-conf-test] else do
  10974. 1803.88 s [opt-env-conf-test] - for_ mDefault $ \d ->
  10975. 1803.88 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10976. 1803.88 s [opt-env-conf-test] - validationTFailure $
  10977. 1803.88 s [opt-env-conf-test] - LintError mLoc $
  10978. 1803.88 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand d
  10979. 1803.88 s [opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
  10980. 1803.88 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10981. 1803.88 s [opt-env-conf-test] c1 <- go p1
  10982. 1803.88 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10983. 1803.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
  10984. 1803.88 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  10985. 1803.88 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  10986. 1803.88 s [opt-env-conf-test] else do
  10987. 1803.88 s [opt-env-conf-test] for_ mDefault $ \d ->
  10988. 1803.88 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  10989. 1803.88 s [opt-env-conf-test] + when (True) $
  10990. 1803.88 s [opt-env-conf-test] validationTFailure $
  10991. 1803.88 s [opt-env-conf-test] LintError mLoc $
  10992. 1803.88 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  10993. 1803.88 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  10994. 1803.88 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  10995. 1803.88 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  10996. 1803.88 s [opt-env-conf-test] c1 <- go p1
  10997. 1803.88 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  10998. 1803.88 s [opt-env-conf-test] - pure $ c1 || c2
  10999. 1803.88 s [opt-env-conf-test] + pure $ c1 || True
  11000. 1803.88 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  11001. 1803.88 s [opt-env-conf-test] case settingHelp of
  11002. 1803.88 s [opt-env-conf-test] Nothing ->
  11003. 1803.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
  11004. 1803.89 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  11005. 1803.89 s [opt-env-conf-test] when (not c) $
  11006. 1803.89 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  11007. 1803.89 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  11008. 1803.89 s [opt-env-conf-test] - pure c
  11009. 1803.89 s [opt-env-conf-test] + pure not (c)
  11010. 1803.89 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  11011. 1803.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  11012. 1803.89 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  11013. 1803.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:276:12-19
  11014. 1803.89 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  11015. 1803.89 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  11016. 1803.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  11017. 1803.89 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  11018. 1803.89 s [opt-env-conf-test] - if null cs
  11019. 1803.89 s [opt-env-conf-test] + if not (null cs)
  11020. 1803.89 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  11021. 1803.89 s [opt-env-conf-test] else do
  11022. 1803.89 s [opt-env-conf-test] for_ mDefault $ \d ->
  11023. 1803.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
  11024. 1803.89 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  11025. 1803.89 s [opt-env-conf-test] when (not c) $
  11026. 1803.89 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  11027. 1803.89 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  11028. 1803.89 s [opt-env-conf-test] - pure c
  11029. 1803.89 s [opt-env-conf-test] + pure True
  11030. 1803.89 s [opt-env-conf-test] ParserSome mLoc p -> do
  11031. 1803.89 s [opt-env-conf-test] c <- go p
  11032. 1803.89 s [opt-env-conf-test] when (not c) $
  11033. 1803.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  11034. 1803.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  11035. 1803.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  11036. 1803.89 s [opt-env-conf-test] c1 <- go p1
  11037. 1803.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  11038. 1803.89 s [opt-env-conf-test] - pure $ c1 || c2
  11039. 1803.89 s [opt-env-conf-test] + pure $ True || c2
  11040. 1803.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  11041. 1803.89 s [opt-env-conf-test] case settingHelp of
  11042. 1803.89 s [opt-env-conf-test] Nothing ->
  11043. 1803.89 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:20-63
  11044. 1803.89 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  11045. 1803.89 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  11046. 1803.89 s [opt-env-conf-test] else do
  11047. 1803.89 s [opt-env-conf-test] for_ mDefault $ \d ->
  11048. 1803.89 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  11049. 1803.89 s [opt-env-conf-test] + when not ((isNothing (find ((== d) . commandArg) cs))) $
  11050. 1803.89 s [opt-env-conf-test] validationTFailure $
  11051. 1803.89 s [opt-env-conf-test] LintError mLoc $
  11052. 1803.89 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  11053. 1803.89 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:259:15-23
  11054. 1803.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  11055. 1803.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  11056. 1803.89 s [opt-env-conf-test] c1 <- go p1
  11057. 1803.89 s [opt-env-conf-test] c2 <- go p2
  11058. 1803.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  11059. 1803.89 s [opt-env-conf-test] + pure (c1 || c2) -- TODO: is this right?
  11060. 1803.89 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  11061. 1803.89 s [opt-env-conf-test] ParserMany mLoc p -> do
  11062. 1803.89 s [opt-env-conf-test] c <- go p
  11063. 1803.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
  11064. 1803.89 s [opt-env-conf-test] @@ -273,7 +273,7 @@
  11065. 1803.89 s [opt-env-conf-test] ParserAllOrNothing _ p -> go p
  11066. 1803.89 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
  11067. 1803.89 s [opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
  11068. 1803.89 s [opt-env-conf-test] - if null cs
  11069. 1803.89 s [opt-env-conf-test] + if True
  11070. 1803.89 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  11071. 1803.89 s [opt-env-conf-test] else do
  11072. 1803.89 s [opt-env-conf-test] for_ mDefault $ \d ->
  11073. 1803.89 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  11074. 1803.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  11075. 1803.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  11076. 1803.89 s [opt-env-conf-test] c1 <- go p1
  11077. 1803.89 s [opt-env-conf-test] c2 <- go p2
  11078. 1803.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  11079. 1803.89 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  11080. 1803.89 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  11081. 1803.89 s [opt-env-conf-test] ParserMany mLoc p -> do
  11082. 1803.89 s [opt-env-conf-test] c <- go p
  11083. 1803.89 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11084. 1803.89 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  11085. 1803.89 s [opt-env-conf-test] renderLintError LintError {..} =
  11086. 1803.89 s [opt-env-conf-test] concat
  11087. 1803.90 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11088. 1803.90 s [opt-env-conf-test] case lintErrorMessage of
  11089. 1803.90 s [opt-env-conf-test] LintErrorUndocumented ->
  11090. 1803.90 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11091. 1803.90 s [opt-env-conf-test] LintErrorEmptySetting ->
  11092. 1803.90 s [opt-env-conf-test] concat
  11093. 1803.90 s [opt-env-conf-test] [ [ [ "This ",
  11094. 1803.90 s [opt-env-conf-test] functionChunk "setting",
  11095. 1803.90 s [opt-env-conf-test] " parses nothing."
  11096. 1803.90 s [opt-env-conf-test] ]
  11097. 1803.90 s [opt-env-conf-test] ],
  11098. 1803.90 s [opt-env-conf-test] [ [ "Add an ",
  11099. 1803.90 s [opt-env-conf-test] functionChunk "argument",
  11100. 1803.90 s [opt-env-conf-test] ", ",
  11101. 1803.90 s [opt-env-conf-test] functionChunk "switch",
  11102. 1803.90 s [opt-env-conf-test] ", ",
  11103. 1803.90 s [opt-env-conf-test] functionChunk "option",
  11104. 1803.90 s [opt-env-conf-test] ", ",
  11105. 1803.90 s [opt-env-conf-test] functionChunk "env",
  11106. 1803.90 s [opt-env-conf-test] ", ",
  11107. 1803.90 s [opt-env-conf-test] functionChunk "conf",
  11108. 1803.90 s [opt-env-conf-test] ", or ",
  11109. 1803.90 s [opt-env-conf-test] functionChunk "value",
  11110. 1803.90 s [opt-env-conf-test] "."
  11111. 1803.90 s [opt-env-conf-test] ]
  11112. 1803.90 s [opt-env-conf-test] ]
  11113. 1803.90 s [opt-env-conf-test] ]
  11114. 1803.90 s [opt-env-conf-test] LintErrorDashInShort ->
  11115. 1803.90 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11116. 1803.90 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11117. 1803.90 s [opt-env-conf-test] ]
  11118. 1803.90 s [opt-env-conf-test] LintErrorDashInLong s ->
  11119. 1803.90 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11120. 1803.90 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11121. 1803.90 s [opt-env-conf-test] [ "Try ",
  11122. 1803.90 s [opt-env-conf-test] functionChunk "long",
  11123. 1803.90 s [opt-env-conf-test] " ",
  11124. 1803.90 s [opt-env-conf-test] chunk $
  11125. 1803.90 s [opt-env-conf-test] T.pack $
  11126. 1803.90 s [opt-env-conf-test] show $
  11127. 1803.90 s [opt-env-conf-test] let go = \case
  11128. 1803.90 s [opt-env-conf-test] [] -> []
  11129. 1803.90 s [opt-env-conf-test] '-' : cs -> go cs
  11130. 1803.90 s [opt-env-conf-test] c : cs -> c : cs
  11131. 1803.90 s [opt-env-conf-test] in go $ NE.toList s,
  11132. 1803.90 s [opt-env-conf-test] " instead."
  11133. 1803.90 s [opt-env-conf-test] ]
  11134. 1803.90 s [opt-env-conf-test] ]
  11135. 1803.90 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11136. 1803.90 s [opt-env-conf-test] [ [ functionChunk "argument",
  11137. 1803.90 s [opt-env-conf-test] " has no ",
  11138. 1803.90 s [opt-env-conf-test] functionChunk "reader",
  11139. 1803.90 s [opt-env-conf-test] "."
  11140. 1803.90 s [opt-env-conf-test] ]
  11141. 1803.90 s [opt-env-conf-test] ]
  11142. 1803.90 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11143. 1803.90 s [opt-env-conf-test] [ [ functionChunk "argument",
  11144. 1803.90 s [opt-env-conf-test] " has no ",
  11145. 1803.90 s [opt-env-conf-test] functionChunk "metavar",
  11146. 1803.90 s [opt-env-conf-test] "."
  11147. 1803.90 s [opt-env-conf-test] ]
  11148. 1803.90 s [opt-env-conf-test] ]
  11149. 1803.90 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11150. 1803.90 s [opt-env-conf-test] [ [ functionChunk "option",
  11151. 1803.90 s [opt-env-conf-test] " or ",
  11152. 1803.90 s [opt-env-conf-test] functionChunk "name",
  11153. 1803.90 s [opt-env-conf-test] " has no ",
  11154. 1803.90 s [opt-env-conf-test] functionChunk "reader",
  11155. 1803.90 s [opt-env-conf-test] "."
  11156. 1803.90 s [opt-env-conf-test] ]
  11157. 1803.90 s [opt-env-conf-test] ]
  11158. 1803.90 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11159. 1803.90 s [opt-env-conf-test] [ [ functionChunk "option",
  11160. 1803.90 s [opt-env-conf-test] " has no ",
  11161. 1803.90 s [opt-env-conf-test] functionChunk "long",
  11162. 1803.90 s [opt-env-conf-test] " or ",
  11163. 1803.90 s [opt-env-conf-test] functionChunk "short",
  11164. 1803.90 s [opt-env-conf-test] "."
  11165. 1803.90 s [opt-env-conf-test] ]
  11166. 1803.90 s [opt-env-conf-test] ]
  11167. 1803.90 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11168. 1803.90 s [opt-env-conf-test] [ [ functionChunk "option",
  11169. 1803.90 s [opt-env-conf-test] " or ",
  11170. 1803.90 s [opt-env-conf-test] functionChunk "name",
  11171. 1803.90 s [opt-env-conf-test] " has no ",
  11172. 1803.90 s [opt-env-conf-test] functionChunk "metavar",
  11173. 1803.90 s [opt-env-conf-test] "."
  11174. 1803.90 s [opt-env-conf-test] ]
  11175. 1803.90 s [opt-env-conf-test] ]
  11176. 1803.91 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11177. 1803.91 s [opt-env-conf-test] [ [ functionChunk "switch",
  11178. 1803.91 s [opt-env-conf-test] " has no ",
  11179. 1803.91 s [opt-env-conf-test] functionChunk "long",
  11180. 1803.91 s [opt-env-conf-test] " or ",
  11181. 1803.91 s [opt-env-conf-test] functionChunk "short",
  11182. 1803.91 s [opt-env-conf-test] "."
  11183. 1803.91 s [opt-env-conf-test] ]
  11184. 1803.91 s [opt-env-conf-test] ]
  11185. 1803.91 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11186. 1803.91 s [opt-env-conf-test] [ [ functionChunk "long",
  11187. 1803.91 s [opt-env-conf-test] " or ",
  11188. 1803.91 s [opt-env-conf-test] functionChunk "short",
  11189. 1803.91 s [opt-env-conf-test] " has no ",
  11190. 1803.91 s [opt-env-conf-test] functionChunk "option",
  11191. 1803.91 s [opt-env-conf-test] " or ",
  11192. 1803.91 s [opt-env-conf-test] functionChunk "switch",
  11193. 1803.91 s [opt-env-conf-test] "."
  11194. 1803.91 s [opt-env-conf-test] ]
  11195. 1803.91 s [opt-env-conf-test] ]
  11196. 1803.91 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  11197. 1803.91 s [opt-env-conf-test] - [ [ functionChunk "env",
  11198. 1803.91 s [opt-env-conf-test] - " or ",
  11199. 1803.91 s [opt-env-conf-test] - functionChunk "name",
  11200. 1803.91 s [opt-env-conf-test] - " has no ",
  11201. 1803.91 s [opt-env-conf-test] - functionChunk "reader",
  11202. 1803.91 s [opt-env-conf-test] - "."
  11203. 1803.91 s [opt-env-conf-test] - ]
  11204. 1803.91 s [opt-env-conf-test] - ]
  11205. 1803.91 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11206. 1803.91 s [opt-env-conf-test] [ [ functionChunk "env",
  11207. 1803.91 s [opt-env-conf-test] " or ",
  11208. 1803.91 s [opt-env-conf-test] functionChunk "name",
  11209. 1803.91 s [opt-env-conf-test] " has no ",
  11210. 1803.91 s [opt-env-conf-test] functionChunk "metavar",
  11211. 1803.91 s [opt-env-conf-test] "."
  11212. 1803.91 s [opt-env-conf-test] ]
  11213. 1803.91 s [opt-env-conf-test] ]
  11214. 1803.91 s [opt-env-conf-test] LintErrorNoCommands ->
  11215. 1803.91 s [opt-env-conf-test] [ [ functionChunk "commands",
  11216. 1803.91 s [opt-env-conf-test] " was called with an empty list."
  11217. 1803.91 s [opt-env-conf-test] ]
  11218. 1803.91 s [opt-env-conf-test] ]
  11219. 1803.91 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11220. 1803.91 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11221. 1803.91 s [opt-env-conf-test] " was called with an unknown command: ",
  11222. 1803.91 s [opt-env-conf-test] commandChunk c
  11223. 1803.91 s [opt-env-conf-test] ]
  11224. 1803.91 s [opt-env-conf-test] ]
  11225. 1803.91 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11226. 1803.91 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11227. 1803.91 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11228. 1803.91 s [opt-env-conf-test] ]
  11229. 1803.91 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11230. 1803.91 s [opt-env-conf-test] [ [ functionChunk "conf",
  11231. 1803.91 s [opt-env-conf-test] " or ",
  11232. 1803.91 s [opt-env-conf-test] functionChunk "name",
  11233. 1803.91 s [opt-env-conf-test] " was called with no way to load configuration."
  11234. 1803.91 s [opt-env-conf-test] ],
  11235. 1803.91 s [opt-env-conf-test] [ "You can load configuration with ",
  11236. 1803.91 s [opt-env-conf-test] functionChunk "withConfig",
  11237. 1803.91 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11238. 1803.91 s [opt-env-conf-test] functionChunk "withoutConfig",
  11239. 1803.91 s [opt-env-conf-test] "."
  11240. 1803.91 s [opt-env-conf-test] ]
  11241. 1803.91 s [opt-env-conf-test] ]
  11242. 1803.91 s [opt-env-conf-test] LintErrorManyInfinite ->
  11243. 1803.91 s [opt-env-conf-test] [ [ functionChunk "many",
  11244. 1803.91 s [opt-env-conf-test] " or ",
  11245. 1803.91 s [opt-env-conf-test] functionChunk "some",
  11246. 1803.91 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11247. 1803.91 s [opt-env-conf-test] ],
  11248. 1803.91 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11249. 1803.91 s [opt-env-conf-test] ],
  11250. 1803.91 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11251. 1803.91 s [opt-env-conf-test] ]
  11252. 1803.91 s [opt-env-conf-test]
  11253. 1803.91 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11254. 1803.91 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  11255. 1803.91 s [opt-env-conf-test] renderLintError LintError {..} =
  11256. 1803.91 s [opt-env-conf-test] concat
  11257. 1803.91 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11258. 1803.91 s [opt-env-conf-test] case lintErrorMessage of
  11259. 1803.91 s [opt-env-conf-test] LintErrorUndocumented ->
  11260. 1803.91 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11261. 1803.91 s [opt-env-conf-test] LintErrorEmptySetting ->
  11262. 1803.91 s [opt-env-conf-test] concat
  11263. 1803.91 s [opt-env-conf-test] [ [ [ "This ",
  11264. 1803.91 s [opt-env-conf-test] functionChunk "setting",
  11265. 1803.91 s [opt-env-conf-test] " parses nothing."
  11266. 1803.91 s [opt-env-conf-test] ]
  11267. 1803.91 s [opt-env-conf-test] ],
  11268. 1803.91 s [opt-env-conf-test] [ [ "Add an ",
  11269. 1803.91 s [opt-env-conf-test] functionChunk "argument",
  11270. 1803.91 s [opt-env-conf-test] ", ",
  11271. 1803.92 s [opt-env-conf-test] functionChunk "switch",
  11272. 1803.92 s [opt-env-conf-test] ", ",
  11273. 1803.92 s [opt-env-conf-test] functionChunk "option",
  11274. 1803.92 s [opt-env-conf-test] ", ",
  11275. 1803.92 s [opt-env-conf-test] functionChunk "env",
  11276. 1803.92 s [opt-env-conf-test] ", ",
  11277. 1803.92 s [opt-env-conf-test] functionChunk "conf",
  11278. 1803.92 s [opt-env-conf-test] ", or ",
  11279. 1803.92 s [opt-env-conf-test] functionChunk "value",
  11280. 1803.92 s [opt-env-conf-test] "."
  11281. 1803.92 s [opt-env-conf-test] ]
  11282. 1803.92 s [opt-env-conf-test] ]
  11283. 1803.92 s [opt-env-conf-test] ]
  11284. 1803.92 s [opt-env-conf-test] LintErrorDashInShort ->
  11285. 1803.92 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11286. 1803.92 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11287. 1803.92 s [opt-env-conf-test] ]
  11288. 1803.92 s [opt-env-conf-test] LintErrorDashInLong s ->
  11289. 1803.92 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11290. 1803.92 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11291. 1803.92 s [opt-env-conf-test] [ "Try ",
  11292. 1803.92 s [opt-env-conf-test] functionChunk "long",
  11293. 1803.92 s [opt-env-conf-test] " ",
  11294. 1803.92 s [opt-env-conf-test] chunk $
  11295. 1803.92 s [opt-env-conf-test] T.pack $
  11296. 1803.92 s [opt-env-conf-test] show $
  11297. 1803.92 s [opt-env-conf-test] let go = \case
  11298. 1803.92 s [opt-env-conf-test] [] -> []
  11299. 1803.92 s [opt-env-conf-test] '-' : cs -> go cs
  11300. 1803.92 s [opt-env-conf-test] c : cs -> c : cs
  11301. 1803.92 s [opt-env-conf-test] in go $ NE.toList s,
  11302. 1803.92 s [opt-env-conf-test] " instead."
  11303. 1803.92 s [opt-env-conf-test] ]
  11304. 1803.92 s [opt-env-conf-test] ]
  11305. 1803.92 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11306. 1803.92 s [opt-env-conf-test] [ [ functionChunk "argument",
  11307. 1803.92 s [opt-env-conf-test] " has no ",
  11308. 1803.92 s [opt-env-conf-test] functionChunk "reader",
  11309. 1803.92 s [opt-env-conf-test] "."
  11310. 1803.92 s [opt-env-conf-test] ]
  11311. 1803.92 s [opt-env-conf-test] ]
  11312. 1803.92 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11313. 1803.92 s [opt-env-conf-test] [ [ functionChunk "argument",
  11314. 1803.92 s [opt-env-conf-test] " has no ",
  11315. 1803.92 s [opt-env-conf-test] functionChunk "metavar",
  11316. 1803.92 s [opt-env-conf-test] "."
  11317. 1803.92 s [opt-env-conf-test] ]
  11318. 1803.92 s [opt-env-conf-test] ]
  11319. 1803.92 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11320. 1803.92 s [opt-env-conf-test] [ [ functionChunk "option",
  11321. 1803.92 s [opt-env-conf-test] " or ",
  11322. 1803.92 s [opt-env-conf-test] functionChunk "name",
  11323. 1803.92 s [opt-env-conf-test] " has no ",
  11324. 1803.92 s [opt-env-conf-test] functionChunk "reader",
  11325. 1803.92 s [opt-env-conf-test] "."
  11326. 1803.92 s [opt-env-conf-test] ]
  11327. 1803.92 s [opt-env-conf-test] ]
  11328. 1803.92 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11329. 1803.92 s [opt-env-conf-test] [ [ functionChunk "option",
  11330. 1803.92 s [opt-env-conf-test] " has no ",
  11331. 1803.92 s [opt-env-conf-test] functionChunk "long",
  11332. 1803.92 s [opt-env-conf-test] " or ",
  11333. 1803.92 s [opt-env-conf-test] functionChunk "short",
  11334. 1803.92 s [opt-env-conf-test] "."
  11335. 1803.92 s [opt-env-conf-test] ]
  11336. 1803.92 s [opt-env-conf-test] ]
  11337. 1803.92 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11338. 1803.92 s [opt-env-conf-test] [ [ functionChunk "option",
  11339. 1803.92 s [opt-env-conf-test] " or ",
  11340. 1803.92 s [opt-env-conf-test] functionChunk "name",
  11341. 1803.92 s [opt-env-conf-test] " has no ",
  11342. 1803.92 s [opt-env-conf-test] functionChunk "metavar",
  11343. 1803.92 s [opt-env-conf-test] "."
  11344. 1803.92 s [opt-env-conf-test] ]
  11345. 1803.92 s [opt-env-conf-test] ]
  11346. 1803.92 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11347. 1803.92 s [opt-env-conf-test] [ [ functionChunk "switch",
  11348. 1803.92 s [opt-env-conf-test] " has no ",
  11349. 1803.92 s [opt-env-conf-test] functionChunk "long",
  11350. 1803.92 s [opt-env-conf-test] " or ",
  11351. 1803.92 s [opt-env-conf-test] functionChunk "short",
  11352. 1803.92 s [opt-env-conf-test] "."
  11353. 1803.92 s [opt-env-conf-test] ]
  11354. 1803.92 s [opt-env-conf-test] ]
  11355. 1803.92 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11356. 1803.92 s [opt-env-conf-test] [ [ functionChunk "long",
  11357. 1803.92 s [opt-env-conf-test] " or ",
  11358. 1803.92 s [opt-env-conf-test] functionChunk "short",
  11359. 1803.92 s [opt-env-conf-test] " has no ",
  11360. 1803.92 s [opt-env-conf-test] functionChunk "option",
  11361. 1803.92 s [opt-env-conf-test] " or ",
  11362. 1803.93 s [opt-env-conf-test] functionChunk "switch",
  11363. 1803.93 s [opt-env-conf-test] "."
  11364. 1803.93 s [opt-env-conf-test] ]
  11365. 1803.93 s [opt-env-conf-test] ]
  11366. 1803.93 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11367. 1803.93 s [opt-env-conf-test] [ [ functionChunk "env",
  11368. 1803.93 s [opt-env-conf-test] " or ",
  11369. 1803.93 s [opt-env-conf-test] functionChunk "name",
  11370. 1803.93 s [opt-env-conf-test] " has no ",
  11371. 1803.93 s [opt-env-conf-test] functionChunk "reader",
  11372. 1803.93 s [opt-env-conf-test] "."
  11373. 1803.93 s [opt-env-conf-test] ]
  11374. 1803.93 s [opt-env-conf-test] ]
  11375. 1803.93 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  11376. 1803.93 s [opt-env-conf-test] - [ [ functionChunk "env",
  11377. 1803.93 s [opt-env-conf-test] - " or ",
  11378. 1803.93 s [opt-env-conf-test] - functionChunk "name",
  11379. 1803.93 s [opt-env-conf-test] - " has no ",
  11380. 1803.93 s [opt-env-conf-test] - functionChunk "metavar",
  11381. 1803.93 s [opt-env-conf-test] - "."
  11382. 1803.93 s [opt-env-conf-test] - ]
  11383. 1803.93 s [opt-env-conf-test] - ]
  11384. 1803.93 s [opt-env-conf-test] LintErrorNoCommands ->
  11385. 1804.17 s [opt-env-conf-test] [ [ functionChunk "commands",
  11386. 1804.17 s [opt-env-conf-test] " was called with an empty list."
  11387. 1804.17 s [opt-env-conf-test] ]
  11388. 1804.17 s [opt-env-conf-test] ]
  11389. 1804.17 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11390. 1804.17 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11391. 1804.17 s [opt-env-conf-test] " was called with an unknown command: ",
  11392. 1804.17 s [opt-env-conf-test] commandChunk c
  11393. 1804.17 s [opt-env-conf-test] ]
  11394. 1804.17 s [opt-env-conf-test] ]
  11395. 1804.17 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11396. 1804.17 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11397. 1804.17 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11398. 1804.17 s [opt-env-conf-test] ]
  11399. 1804.17 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11400. 1804.17 s [opt-env-conf-test] [ [ functionChunk "conf",
  11401. 1804.17 s [opt-env-conf-test] " or ",
  11402. 1804.17 s [opt-env-conf-test] functionChunk "name",
  11403. 1804.17 s [opt-env-conf-test] " was called with no way to load configuration."
  11404. 1804.17 s [opt-env-conf-test] ],
  11405. 1804.17 s [opt-env-conf-test] [ "You can load configuration with ",
  11406. 1804.17 s [opt-env-conf-test] functionChunk "withConfig",
  11407. 1804.17 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11408. 1804.17 s [opt-env-conf-test] functionChunk "withoutConfig",
  11409. 1804.17 s [opt-env-conf-test] "."
  11410. 1804.17 s [opt-env-conf-test] ]
  11411. 1804.17 s [opt-env-conf-test] ]
  11412. 1804.18 s [opt-env-conf-test] LintErrorManyInfinite ->
  11413. 1804.18 s [opt-env-conf-test] [ [ functionChunk "many",
  11414. 1804.18 s [opt-env-conf-test] " or ",
  11415. 1804.18 s [opt-env-conf-test] functionChunk "some",
  11416. 1804.18 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11417. 1804.18 s [opt-env-conf-test] ],
  11418. 1804.18 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11419. 1804.18 s [opt-env-conf-test] ],
  11420. 1804.18 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11421. 1804.18 s [opt-env-conf-test] ]
  11422. 1804.18 s [opt-env-conf-test]
  11423. 1804.18 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11424. 1804.18 s [opt-env-conf-test] @@ -66,168 +66,163 @@
  11425. 1804.18 s [opt-env-conf-test] renderLintError LintError {..} =
  11426. 1804.18 s [opt-env-conf-test] concat
  11427. 1804.18 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11428. 1804.18 s [opt-env-conf-test] case lintErrorMessage of
  11429. 1804.18 s [opt-env-conf-test] LintErrorUndocumented ->
  11430. 1804.18 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11431. 1804.18 s [opt-env-conf-test] LintErrorEmptySetting ->
  11432. 1804.18 s [opt-env-conf-test] concat
  11433. 1804.18 s [opt-env-conf-test] [ [ [ "This ",
  11434. 1804.18 s [opt-env-conf-test] functionChunk "setting",
  11435. 1804.18 s [opt-env-conf-test] " parses nothing."
  11436. 1804.18 s [opt-env-conf-test] ]
  11437. 1804.18 s [opt-env-conf-test] ],
  11438. 1804.18 s [opt-env-conf-test] [ [ "Add an ",
  11439. 1804.18 s [opt-env-conf-test] functionChunk "argument",
  11440. 1804.18 s [opt-env-conf-test] ", ",
  11441. 1804.18 s [opt-env-conf-test] functionChunk "switch",
  11442. 1804.18 s [opt-env-conf-test] ", ",
  11443. 1804.18 s [opt-env-conf-test] functionChunk "option",
  11444. 1804.18 s [opt-env-conf-test] ", ",
  11445. 1804.18 s [opt-env-conf-test] functionChunk "env",
  11446. 1804.18 s [opt-env-conf-test] ", ",
  11447. 1804.18 s [opt-env-conf-test] functionChunk "conf",
  11448. 1804.18 s [opt-env-conf-test] ", or ",
  11449. 1804.18 s [opt-env-conf-test] functionChunk "value",
  11450. 1804.18 s [opt-env-conf-test] "."
  11451. 1804.18 s [opt-env-conf-test] ]
  11452. 1804.18 s [opt-env-conf-test] ]
  11453. 1804.18 s [opt-env-conf-test] ]
  11454. 1804.18 s [opt-env-conf-test] LintErrorDashInShort ->
  11455. 1804.18 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11456. 1804.18 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11457. 1804.18 s [opt-env-conf-test] ]
  11458. 1804.18 s [opt-env-conf-test] LintErrorDashInLong s ->
  11459. 1804.18 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11460. 1804.18 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11461. 1804.18 s [opt-env-conf-test] [ "Try ",
  11462. 1804.18 s [opt-env-conf-test] functionChunk "long",
  11463. 1804.18 s [opt-env-conf-test] " ",
  11464. 1804.18 s [opt-env-conf-test] chunk $
  11465. 1804.18 s [opt-env-conf-test] T.pack $
  11466. 1804.18 s [opt-env-conf-test] show $
  11467. 1804.18 s [opt-env-conf-test] let go = \case
  11468. 1804.18 s [opt-env-conf-test] [] -> []
  11469. 1804.18 s [opt-env-conf-test] '-' : cs -> go cs
  11470. 1804.18 s [opt-env-conf-test] c : cs -> c : cs
  11471. 1804.18 s [opt-env-conf-test] in go $ NE.toList s,
  11472. 1804.18 s [opt-env-conf-test] " instead."
  11473. 1804.18 s [opt-env-conf-test] ]
  11474. 1804.18 s [opt-env-conf-test] ]
  11475. 1804.18 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11476. 1804.18 s [opt-env-conf-test] [ [ functionChunk "argument",
  11477. 1804.18 s [opt-env-conf-test] " has no ",
  11478. 1804.18 s [opt-env-conf-test] functionChunk "reader",
  11479. 1804.18 s [opt-env-conf-test] "."
  11480. 1804.18 s [opt-env-conf-test] ]
  11481. 1804.18 s [opt-env-conf-test] ]
  11482. 1804.18 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11483. 1804.18 s [opt-env-conf-test] [ [ functionChunk "argument",
  11484. 1804.18 s [opt-env-conf-test] " has no ",
  11485. 1804.18 s [opt-env-conf-test] functionChunk "metavar",
  11486. 1804.18 s [opt-env-conf-test] "."
  11487. 1804.19 s [opt-env-conf-test] ]
  11488. 1804.19 s [opt-env-conf-test] ]
  11489. 1804.19 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11490. 1804.19 s [opt-env-conf-test] [ [ functionChunk "option",
  11491. 1804.19 s [opt-env-conf-test] " or ",
  11492. 1804.19 s [opt-env-conf-test] functionChunk "name",
  11493. 1804.19 s [opt-env-conf-test] " has no ",
  11494. 1804.19 s [opt-env-conf-test] functionChunk "reader",
  11495. 1804.19 s [opt-env-conf-test] "."
  11496. 1804.19 s [opt-env-conf-test] ]
  11497. 1804.19 s [opt-env-conf-test] ]
  11498. 1804.19 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11499. 1804.19 s [opt-env-conf-test] [ [ functionChunk "option",
  11500. 1804.19 s [opt-env-conf-test] " has no ",
  11501. 1804.19 s [opt-env-conf-test] functionChunk "long",
  11502. 1804.19 s [opt-env-conf-test] " or ",
  11503. 1804.19 s [opt-env-conf-test] functionChunk "short",
  11504. 1804.19 s [opt-env-conf-test] "."
  11505. 1804.19 s [opt-env-conf-test] ]
  11506. 1804.19 s [opt-env-conf-test] ]
  11507. 1804.19 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11508. 1804.19 s [opt-env-conf-test] [ [ functionChunk "option",
  11509. 1804.19 s [opt-env-conf-test] " or ",
  11510. 1804.19 s [opt-env-conf-test] functionChunk "name",
  11511. 1804.19 s [opt-env-conf-test] " has no ",
  11512. 1804.19 s [opt-env-conf-test] functionChunk "metavar",
  11513. 1804.19 s [opt-env-conf-test] "."
  11514. 1804.19 s [opt-env-conf-test] ]
  11515. 1804.19 s [opt-env-conf-test] ]
  11516. 1804.19 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11517. 1804.19 s [opt-env-conf-test] [ [ functionChunk "switch",
  11518. 1804.19 s [opt-env-conf-test] " has no ",
  11519. 1804.19 s [opt-env-conf-test] functionChunk "long",
  11520. 1804.19 s [opt-env-conf-test] " or ",
  11521. 1804.19 s [opt-env-conf-test] functionChunk "short",
  11522. 1804.19 s [opt-env-conf-test] "."
  11523. 1804.19 s [opt-env-conf-test] ]
  11524. 1804.19 s [opt-env-conf-test] ]
  11525. 1804.19 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11526. 1804.19 s [opt-env-conf-test] [ [ functionChunk "long",
  11527. 1804.19 s [opt-env-conf-test] " or ",
  11528. 1804.19 s [opt-env-conf-test] functionChunk "short",
  11529. 1804.19 s [opt-env-conf-test] " has no ",
  11530. 1804.19 s [opt-env-conf-test] functionChunk "option",
  11531. 1804.19 s [opt-env-conf-test] " or ",
  11532. 1804.19 s [opt-env-conf-test] functionChunk "switch",
  11533. 1804.19 s [opt-env-conf-test] "."
  11534. 1804.19 s [opt-env-conf-test] ]
  11535. 1804.19 s [opt-env-conf-test] ]
  11536. 1804.19 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11537. 1804.19 s [opt-env-conf-test] [ [ functionChunk "env",
  11538. 1804.19 s [opt-env-conf-test] " or ",
  11539. 1804.19 s [opt-env-conf-test] functionChunk "name",
  11540. 1804.19 s [opt-env-conf-test] " has no ",
  11541. 1804.19 s [opt-env-conf-test] functionChunk "reader",
  11542. 1804.19 s [opt-env-conf-test] "."
  11543. 1804.19 s [opt-env-conf-test] ]
  11544. 1804.19 s [opt-env-conf-test] ]
  11545. 1804.19 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11546. 1804.19 s [opt-env-conf-test] [ [ functionChunk "env",
  11547. 1804.19 s [opt-env-conf-test] " or ",
  11548. 1804.19 s [opt-env-conf-test] functionChunk "name",
  11549. 1804.19 s [opt-env-conf-test] " has no ",
  11550. 1804.19 s [opt-env-conf-test] functionChunk "metavar",
  11551. 1804.19 s [opt-env-conf-test] "."
  11552. 1804.19 s [opt-env-conf-test] ]
  11553. 1804.19 s [opt-env-conf-test] ]
  11554. 1804.19 s [opt-env-conf-test] - LintErrorNoCommands ->
  11555. 1804.19 s [opt-env-conf-test] - [ [ functionChunk "commands",
  11556. 1804.44 s [opt-env-conf-test] - " was called with an empty list."
  11557. 1804.44 s [opt-env-conf-test] - ]
  11558. 1804.44 s [opt-env-conf-test] - ]
  11559. 1804.44 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11560. 1804.44 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11561. 1804.44 s [opt-env-conf-test] " was called with an unknown command: ",
  11562. 1804.44 s [opt-env-conf-test] commandChunk c
  11563. 1804.44 s [opt-env-conf-test] ]
  11564. 1804.44 s [opt-env-conf-test] ]
  11565. 1804.44 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11566. 1804.44 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11567. 1804.45 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11568. 1804.45 s [opt-env-conf-test] ]
  11569. 1804.45 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11570. 1804.45 s [opt-env-conf-test] [ [ functionChunk "conf",
  11571. 1804.45 s [opt-env-conf-test] " or ",
  11572. 1804.45 s [opt-env-conf-test] functionChunk "name",
  11573. 1804.45 s [opt-env-conf-test] " was called with no way to load configuration."
  11574. 1804.45 s [opt-env-conf-test] ],
  11575. 1804.45 s [opt-env-conf-test] [ "You can load configuration with ",
  11576. 1804.45 s [opt-env-conf-test] functionChunk "withConfig",
  11577. 1804.45 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11578. 1804.45 s [opt-env-conf-test] functionChunk "withoutConfig",
  11579. 1804.45 s [opt-env-conf-test] "."
  11580. 1804.45 s [opt-env-conf-test] ]
  11581. 1804.45 s [opt-env-conf-test] ]
  11582. 1804.45 s [opt-env-conf-test] LintErrorManyInfinite ->
  11583. 1804.45 s [opt-env-conf-test] [ [ functionChunk "many",
  11584. 1804.45 s [opt-env-conf-test] " or ",
  11585. 1804.45 s [opt-env-conf-test] functionChunk "some",
  11586. 1804.45 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11587. 1804.45 s [opt-env-conf-test] ],
  11588. 1804.45 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11589. 1804.45 s [opt-env-conf-test] ],
  11590. 1804.45 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11591. 1804.45 s [opt-env-conf-test] ]
  11592. 1804.45 s [opt-env-conf-test]
  11593. 1804.45 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11594. 1804.45 s [opt-env-conf-test] @@ -66,168 +66,162 @@
  11595. 1804.45 s [opt-env-conf-test] renderLintError LintError {..} =
  11596. 1804.45 s [opt-env-conf-test] concat
  11597. 1804.45 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11598. 1804.45 s [opt-env-conf-test] case lintErrorMessage of
  11599. 1804.45 s [opt-env-conf-test] LintErrorUndocumented ->
  11600. 1804.45 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11601. 1804.45 s [opt-env-conf-test] LintErrorEmptySetting ->
  11602. 1804.45 s [opt-env-conf-test] concat
  11603. 1804.45 s [opt-env-conf-test] [ [ [ "This ",
  11604. 1804.45 s [opt-env-conf-test] functionChunk "setting",
  11605. 1804.45 s [opt-env-conf-test] " parses nothing."
  11606. 1804.46 s [opt-env-conf-test] ]
  11607. 1804.46 s [opt-env-conf-test] ],
  11608. 1804.46 s [opt-env-conf-test] [ [ "Add an ",
  11609. 1804.46 s [opt-env-conf-test] functionChunk "argument",
  11610. 1804.46 s [opt-env-conf-test] ", ",
  11611. 1804.46 s [opt-env-conf-test] functionChunk "switch",
  11612. 1804.46 s [opt-env-conf-test] ", ",
  11613. 1804.46 s [opt-env-conf-test] functionChunk "option",
  11614. 1804.46 s [opt-env-conf-test] ", ",
  11615. 1804.46 s [opt-env-conf-test] functionChunk "env",
  11616. 1804.46 s [opt-env-conf-test] ", ",
  11617. 1804.46 s [opt-env-conf-test] functionChunk "conf",
  11618. 1804.46 s [opt-env-conf-test] ", or ",
  11619. 1804.46 s [opt-env-conf-test] functionChunk "value",
  11620. 1804.46 s [opt-env-conf-test] "."
  11621. 1804.46 s [opt-env-conf-test] ]
  11622. 1804.46 s [opt-env-conf-test] ]
  11623. 1804.46 s [opt-env-conf-test] ]
  11624. 1804.46 s [opt-env-conf-test] LintErrorDashInShort ->
  11625. 1804.46 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11626. 1804.46 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11627. 1804.46 s [opt-env-conf-test] ]
  11628. 1804.46 s [opt-env-conf-test] LintErrorDashInLong s ->
  11629. 1804.46 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11630. 1804.46 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11631. 1804.46 s [opt-env-conf-test] [ "Try ",
  11632. 1804.46 s [opt-env-conf-test] functionChunk "long",
  11633. 1804.46 s [opt-env-conf-test] " ",
  11634. 1804.46 s [opt-env-conf-test] chunk $
  11635. 1804.46 s [opt-env-conf-test] T.pack $
  11636. 1804.46 s [opt-env-conf-test] show $
  11637. 1804.46 s [opt-env-conf-test] let go = \case
  11638. 1804.46 s [opt-env-conf-test] [] -> []
  11639. 1804.46 s [opt-env-conf-test] '-' : cs -> go cs
  11640. 1804.46 s [opt-env-conf-test] c : cs -> c : cs
  11641. 1804.46 s [opt-env-conf-test] in go $ NE.toList s,
  11642. 1804.46 s [opt-env-conf-test] " instead."
  11643. 1804.46 s [opt-env-conf-test] ]
  11644. 1804.46 s [opt-env-conf-test] ]
  11645. 1804.46 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11646. 1804.46 s [opt-env-conf-test] [ [ functionChunk "argument",
  11647. 1804.46 s [opt-env-conf-test] " has no ",
  11648. 1804.46 s [opt-env-conf-test] functionChunk "reader",
  11649. 1804.46 s [opt-env-conf-test] "."
  11650. 1804.46 s [opt-env-conf-test] ]
  11651. 1804.46 s [opt-env-conf-test] ]
  11652. 1804.46 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11653. 1804.46 s [opt-env-conf-test] [ [ functionChunk "argument",
  11654. 1804.47 s [opt-env-conf-test] " has no ",
  11655. 1804.47 s [opt-env-conf-test] functionChunk "metavar",
  11656. 1804.47 s [opt-env-conf-test] "."
  11657. 1804.47 s [opt-env-conf-test] ]
  11658. 1804.47 s [opt-env-conf-test] ]
  11659. 1804.47 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11660. 1804.47 s [opt-env-conf-test] [ [ functionChunk "option",
  11661. 1804.47 s [opt-env-conf-test] " or ",
  11662. 1804.47 s [opt-env-conf-test] functionChunk "name",
  11663. 1804.47 s [opt-env-conf-test] " has no ",
  11664. 1804.47 s [opt-env-conf-test] functionChunk "reader",
  11665. 1804.47 s [opt-env-conf-test] "."
  11666. 1804.47 s [opt-env-conf-test] ]
  11667. 1804.47 s [opt-env-conf-test] ]
  11668. 1804.47 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11669. 1804.47 s [opt-env-conf-test] [ [ functionChunk "option",
  11670. 1804.47 s [opt-env-conf-test] " has no ",
  11671. 1804.47 s [opt-env-conf-test] functionChunk "long",
  11672. 1804.47 s [opt-env-conf-test] " or ",
  11673. 1804.47 s [opt-env-conf-test] functionChunk "short",
  11674. 1804.47 s [opt-env-conf-test] "."
  11675. 1804.47 s [opt-env-conf-test] ]
  11676. 1804.47 s [opt-env-conf-test] ]
  11677. 1804.47 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11678. 1804.47 s [opt-env-conf-test] [ [ functionChunk "option",
  11679. 1804.47 s [opt-env-conf-test] " or ",
  11680. 1804.47 s [opt-env-conf-test] functionChunk "name",
  11681. 1804.47 s [opt-env-conf-test] " has no ",
  11682. 1804.47 s [opt-env-conf-test] functionChunk "metavar",
  11683. 1804.47 s [opt-env-conf-test] "."
  11684. 1804.47 s [opt-env-conf-test] ]
  11685. 1804.47 s [opt-env-conf-test] ]
  11686. 1804.47 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11687. 1804.47 s [opt-env-conf-test] [ [ functionChunk "switch",
  11688. 1804.47 s [opt-env-conf-test] " has no ",
  11689. 1804.47 s [opt-env-conf-test] functionChunk "long",
  11690. 1804.47 s [opt-env-conf-test] " or ",
  11691. 1804.47 s [opt-env-conf-test] functionChunk "short",
  11692. 1804.47 s [opt-env-conf-test] "."
  11693. 1804.47 s [opt-env-conf-test] ]
  11694. 1804.47 s [opt-env-conf-test] ]
  11695. 1804.47 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11696. 1804.48 s [opt-env-conf-test] [ [ functionChunk "long",
  11697. 1804.48 s [opt-env-conf-test] " or ",
  11698. 1804.48 s [opt-env-conf-test] functionChunk "short",
  11699. 1804.48 s [opt-env-conf-test] " has no ",
  11700. 1804.48 s [opt-env-conf-test] functionChunk "option",
  11701. 1804.48 s [opt-env-conf-test] " or ",
  11702. 1804.48 s [opt-env-conf-test] functionChunk "switch",
  11703. 1804.48 s [opt-env-conf-test] "."
  11704. 1804.48 s [opt-env-conf-test] ]
  11705. 1804.48 s [opt-env-conf-test] ]
  11706. 1804.48 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11707. 1804.48 s [opt-env-conf-test] [ [ functionChunk "env",
  11708. 1804.48 s [opt-env-conf-test] " or ",
  11709. 1804.48 s [opt-env-conf-test] functionChunk "name",
  11710. 1804.48 s [opt-env-conf-test] " has no ",
  11711. 1804.48 s [opt-env-conf-test] functionChunk "reader",
  11712. 1804.48 s [opt-env-conf-test] "."
  11713. 1804.48 s [opt-env-conf-test] ]
  11714. 1804.48 s [opt-env-conf-test] ]
  11715. 1804.48 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11716. 1804.48 s [opt-env-conf-test] [ [ functionChunk "env",
  11717. 1804.48 s [opt-env-conf-test] " or ",
  11718. 1804.48 s [opt-env-conf-test] functionChunk "name",
  11719. 1804.48 s [opt-env-conf-test] " has no ",
  11720. 1804.48 s [opt-env-conf-test] functionChunk "metavar",
  11721. 1804.48 s [opt-env-conf-test] "."
  11722. 1804.48 s [opt-env-conf-test] ]
  11723. 1804.48 s [opt-env-conf-test] ]
  11724. 1804.48 s [opt-env-conf-test] LintErrorNoCommands ->
  11725. 1804.48 s [opt-env-conf-test] [ [ functionChunk "commands",
  11726. 1804.48 s [opt-env-conf-test] " was called with an empty list."
  11727. 1804.58 s [opt-env-conf-test] - ]
  11728. 1804.58 s [opt-env-conf-test] - ]
  11729. 1804.58 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  11730. 1804.59 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  11731. 1804.59 s [opt-env-conf-test] - " was called with an unknown command: ",
  11732. 1804.59 s [opt-env-conf-test] - commandChunk c
  11733. 1804.59 s [opt-env-conf-test] ]
  11734. 1804.59 s [opt-env-conf-test] ]
  11735. 1804.59 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  11736. 1804.59 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11737. 1804.59 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  11738. 1804.59 s [opt-env-conf-test] ]
  11739. 1804.59 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11740. 1804.59 s [opt-env-conf-test] [ [ functionChunk "conf",
  11741. 1804.59 s [opt-env-conf-test] " or ",
  11742. 1804.59 s [opt-env-conf-test] functionChunk "name",
  11743. 1804.59 s [opt-env-conf-test] " was called with no way to load configuration."
  11744. 1804.59 s [opt-env-conf-test] ],
  11745. 1804.59 s [opt-env-conf-test] [ "You can load configuration with ",
  11746. 1804.59 s [opt-env-conf-test] functionChunk "withConfig",
  11747. 1804.59 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11748. 1804.59 s [opt-env-conf-test] functionChunk "withoutConfig",
  11749. 1804.59 s [opt-env-conf-test] "."
  11750. 1804.59 s [opt-env-conf-test] ]
  11751. 1804.59 s [opt-env-conf-test] ]
  11752. 1804.59 s [opt-env-conf-test] LintErrorManyInfinite ->
  11753. 1804.59 s [opt-env-conf-test] [ [ functionChunk "many",
  11754. 1804.59 s [opt-env-conf-test] " or ",
  11755. 1804.59 s [opt-env-conf-test] functionChunk "some",
  11756. 1804.59 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11757. 1804.59 s [opt-env-conf-test] ],
  11758. 1804.59 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11759. 1804.59 s [opt-env-conf-test] ],
  11760. 1804.59 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11761. 1804.59 s [opt-env-conf-test] ]
  11762. 1804.59 s [opt-env-conf-test]
  11763. 1804.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11764. 1804.59 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  11765. 1804.59 s [opt-env-conf-test] renderLintError LintError {..} =
  11766. 1804.59 s [opt-env-conf-test] concat
  11767. 1804.59 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11768. 1804.59 s [opt-env-conf-test] case lintErrorMessage of
  11769. 1804.59 s [opt-env-conf-test] LintErrorUndocumented ->
  11770. 1804.59 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11771. 1804.59 s [opt-env-conf-test] LintErrorEmptySetting ->
  11772. 1804.59 s [opt-env-conf-test] concat
  11773. 1804.59 s [opt-env-conf-test] [ [ [ "This ",
  11774. 1804.59 s [opt-env-conf-test] functionChunk "setting",
  11775. 1804.60 s [opt-env-conf-test] " parses nothing."
  11776. 1804.60 s [opt-env-conf-test] ]
  11777. 1804.60 s [opt-env-conf-test] ],
  11778. 1804.60 s [opt-env-conf-test] [ [ "Add an ",
  11779. 1804.60 s [opt-env-conf-test] functionChunk "argument",
  11780. 1804.60 s [opt-env-conf-test] ", ",
  11781. 1804.60 s [opt-env-conf-test] functionChunk "switch",
  11782. 1804.60 s [opt-env-conf-test] ", ",
  11783. 1804.60 s [opt-env-conf-test] functionChunk "option",
  11784. 1804.60 s [opt-env-conf-test] ", ",
  11785. 1804.60 s [opt-env-conf-test] functionChunk "env",
  11786. 1804.60 s [opt-env-conf-test] ", ",
  11787. 1804.60 s [opt-env-conf-test] functionChunk "conf",
  11788. 1804.60 s [opt-env-conf-test] ", or ",
  11789. 1804.60 s [opt-env-conf-test] functionChunk "value",
  11790. 1804.60 s [opt-env-conf-test] "."
  11791. 1804.60 s [opt-env-conf-test] ]
  11792. 1804.60 s [opt-env-conf-test] ]
  11793. 1804.60 s [opt-env-conf-test] ]
  11794. 1804.60 s [opt-env-conf-test] LintErrorDashInShort ->
  11795. 1804.60 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11796. 1804.60 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11797. 1804.60 s [opt-env-conf-test] ]
  11798. 1804.60 s [opt-env-conf-test] LintErrorDashInLong s ->
  11799. 1804.60 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11800. 1804.60 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11801. 1804.60 s [opt-env-conf-test] [ "Try ",
  11802. 1804.60 s [opt-env-conf-test] functionChunk "long",
  11803. 1804.60 s [opt-env-conf-test] " ",
  11804. 1804.60 s [opt-env-conf-test] chunk $
  11805. 1804.60 s [opt-env-conf-test] T.pack $
  11806. 1804.60 s [opt-env-conf-test] show $
  11807. 1804.60 s [opt-env-conf-test] let go = \case
  11808. 1804.60 s [opt-env-conf-test] [] -> []
  11809. 1804.60 s [opt-env-conf-test] '-' : cs -> go cs
  11810. 1804.60 s [opt-env-conf-test] c : cs -> c : cs
  11811. 1804.60 s [opt-env-conf-test] in go $ NE.toList s,
  11812. 1804.60 s [opt-env-conf-test] " instead."
  11813. 1804.60 s [opt-env-conf-test] ]
  11814. 1804.60 s [opt-env-conf-test] ]
  11815. 1804.60 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11816. 1804.60 s [opt-env-conf-test] [ [ functionChunk "argument",
  11817. 1804.60 s [opt-env-conf-test] " has no ",
  11818. 1804.60 s [opt-env-conf-test] functionChunk "reader",
  11819. 1804.60 s [opt-env-conf-test] "."
  11820. 1804.60 s [opt-env-conf-test] ]
  11821. 1804.60 s [opt-env-conf-test] ]
  11822. 1804.60 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11823. 1804.60 s [opt-env-conf-test] [ [ functionChunk "argument",
  11824. 1804.60 s [opt-env-conf-test] " has no ",
  11825. 1804.60 s [opt-env-conf-test] functionChunk "metavar",
  11826. 1804.60 s [opt-env-conf-test] "."
  11827. 1804.60 s [opt-env-conf-test] ]
  11828. 1804.60 s [opt-env-conf-test] ]
  11829. 1804.60 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  11830. 1804.60 s [opt-env-conf-test] [ [ functionChunk "option",
  11831. 1804.60 s [opt-env-conf-test] " or ",
  11832. 1804.60 s [opt-env-conf-test] functionChunk "name",
  11833. 1804.60 s [opt-env-conf-test] " has no ",
  11834. 1804.60 s [opt-env-conf-test] functionChunk "reader",
  11835. 1804.60 s [opt-env-conf-test] "."
  11836. 1804.60 s [opt-env-conf-test] ]
  11837. 1804.60 s [opt-env-conf-test] ]
  11838. 1804.60 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  11839. 1804.61 s [opt-env-conf-test] [ [ functionChunk "option",
  11840. 1804.61 s [opt-env-conf-test] " has no ",
  11841. 1804.61 s [opt-env-conf-test] functionChunk "long",
  11842. 1804.61 s [opt-env-conf-test] " or ",
  11843. 1804.61 s [opt-env-conf-test] functionChunk "short",
  11844. 1804.61 s [opt-env-conf-test] "."
  11845. 1804.61 s [opt-env-conf-test] ]
  11846. 1804.61 s [opt-env-conf-test] ]
  11847. 1804.61 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  11848. 1804.61 s [opt-env-conf-test] [ [ functionChunk "option",
  11849. 1804.61 s [opt-env-conf-test] " or ",
  11850. 1804.61 s [opt-env-conf-test] functionChunk "name",
  11851. 1804.61 s [opt-env-conf-test] " has no ",
  11852. 1804.61 s [opt-env-conf-test] functionChunk "metavar",
  11853. 1804.61 s [opt-env-conf-test] "."
  11854. 1804.61 s [opt-env-conf-test] ]
  11855. 1804.61 s [opt-env-conf-test] ]
  11856. 1804.61 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  11857. 1804.61 s [opt-env-conf-test] [ [ functionChunk "switch",
  11858. 1804.61 s [opt-env-conf-test] " has no ",
  11859. 1804.61 s [opt-env-conf-test] functionChunk "long",
  11860. 1804.61 s [opt-env-conf-test] " or ",
  11861. 1804.61 s [opt-env-conf-test] functionChunk "short",
  11862. 1804.61 s [opt-env-conf-test] "."
  11863. 1804.61 s [opt-env-conf-test] ]
  11864. 1804.61 s [opt-env-conf-test] ]
  11865. 1804.61 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  11866. 1804.61 s [opt-env-conf-test] [ [ functionChunk "long",
  11867. 1804.61 s [opt-env-conf-test] " or ",
  11868. 1804.61 s [opt-env-conf-test] functionChunk "short",
  11869. 1804.61 s [opt-env-conf-test] " has no ",
  11870. 1804.61 s [opt-env-conf-test] functionChunk "option",
  11871. 1804.61 s [opt-env-conf-test] " or ",
  11872. 1804.61 s [opt-env-conf-test] functionChunk "switch",
  11873. 1804.61 s [opt-env-conf-test] "."
  11874. 1804.61 s [opt-env-conf-test] ]
  11875. 1804.61 s [opt-env-conf-test] ]
  11876. 1804.61 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  11877. 1804.61 s [opt-env-conf-test] [ [ functionChunk "env",
  11878. 1804.61 s [opt-env-conf-test] " or ",
  11879. 1804.61 s [opt-env-conf-test] functionChunk "name",
  11880. 1804.61 s [opt-env-conf-test] " has no ",
  11881. 1804.61 s [opt-env-conf-test] functionChunk "reader",
  11882. 1804.61 s [opt-env-conf-test] "."
  11883. 1804.61 s [opt-env-conf-test] ]
  11884. 1804.61 s [opt-env-conf-test] ]
  11885. 1804.61 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  11886. 1804.61 s [opt-env-conf-test] [ [ functionChunk "env",
  11887. 1804.61 s [opt-env-conf-test] " or ",
  11888. 1804.61 s [opt-env-conf-test] functionChunk "name",
  11889. 1804.61 s [opt-env-conf-test] " has no ",
  11890. 1804.61 s [opt-env-conf-test] functionChunk "metavar",
  11891. 1804.61 s [opt-env-conf-test] "."
  11892. 1804.61 s [opt-env-conf-test] ]
  11893. 1804.61 s [opt-env-conf-test] ]
  11894. 1804.61 s [opt-env-conf-test] LintErrorNoCommands ->
  11895. 1804.61 s [opt-env-conf-test] [ [ functionChunk "commands",
  11896. 1804.61 s [opt-env-conf-test] " was called with an empty list."
  11897. 1805.76 s [opt-env-conf-test] ]
  11898. 1805.76 s [opt-env-conf-test] ]
  11899. 1805.76 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  11900. 1805.76 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  11901. 1805.76 s [opt-env-conf-test] " was called with an unknown command: ",
  11902. 1805.76 s [opt-env-conf-test] commandChunk c
  11903. 1805.76 s [opt-env-conf-test] ]
  11904. 1805.76 s [opt-env-conf-test] - ]
  11905. 1805.76 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  11906. 1805.76 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  11907. 1805.76 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  11908. 1805.76 s [opt-env-conf-test] ]
  11909. 1805.76 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  11910. 1805.76 s [opt-env-conf-test] [ [ functionChunk "conf",
  11911. 1805.76 s [opt-env-conf-test] " or ",
  11912. 1805.76 s [opt-env-conf-test] functionChunk "name",
  11913. 1805.76 s [opt-env-conf-test] " was called with no way to load configuration."
  11914. 1805.76 s [opt-env-conf-test] ],
  11915. 1805.76 s [opt-env-conf-test] [ "You can load configuration with ",
  11916. 1805.76 s [opt-env-conf-test] functionChunk "withConfig",
  11917. 1805.76 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  11918. 1805.76 s [opt-env-conf-test] functionChunk "withoutConfig",
  11919. 1805.76 s [opt-env-conf-test] "."
  11920. 1805.76 s [opt-env-conf-test] ]
  11921. 1805.76 s [opt-env-conf-test] ]
  11922. 1805.76 s [opt-env-conf-test] LintErrorManyInfinite ->
  11923. 1805.76 s [opt-env-conf-test] [ [ functionChunk "many",
  11924. 1805.76 s [opt-env-conf-test] " or ",
  11925. 1805.76 s [opt-env-conf-test] functionChunk "some",
  11926. 1805.76 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  11927. 1805.76 s [opt-env-conf-test] ],
  11928. 1805.76 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  11929. 1805.76 s [opt-env-conf-test] ],
  11930. 1805.76 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  11931. 1805.76 s [opt-env-conf-test] ]
  11932. 1805.76 s [opt-env-conf-test]
  11933. 1805.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11934. 1805.76 s [opt-env-conf-test] @@ -66,168 +66,160 @@
  11935. 1805.76 s [opt-env-conf-test] renderLintError LintError {..} =
  11936. 1805.76 s [opt-env-conf-test] concat
  11937. 1805.77 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11938. 1805.77 s [opt-env-conf-test] case lintErrorMessage of
  11939. 1805.77 s [opt-env-conf-test] LintErrorUndocumented ->
  11940. 1805.77 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  11941. 1805.77 s [opt-env-conf-test] LintErrorEmptySetting ->
  11942. 1805.77 s [opt-env-conf-test] concat
  11943. 1805.77 s [opt-env-conf-test] [ [ [ "This ",
  11944. 1805.77 s [opt-env-conf-test] functionChunk "setting",
  11945. 1805.77 s [opt-env-conf-test] " parses nothing."
  11946. 1805.77 s [opt-env-conf-test] ]
  11947. 1805.77 s [opt-env-conf-test] ],
  11948. 1805.77 s [opt-env-conf-test] [ [ "Add an ",
  11949. 1805.77 s [opt-env-conf-test] functionChunk "argument",
  11950. 1805.77 s [opt-env-conf-test] ", ",
  11951. 1805.77 s [opt-env-conf-test] functionChunk "switch",
  11952. 1805.77 s [opt-env-conf-test] ", ",
  11953. 1805.77 s [opt-env-conf-test] functionChunk "option",
  11954. 1805.77 s [opt-env-conf-test] ", ",
  11955. 1805.77 s [opt-env-conf-test] functionChunk "env",
  11956. 1805.77 s [opt-env-conf-test] ", ",
  11957. 1805.77 s [opt-env-conf-test] functionChunk "conf",
  11958. 1805.77 s [opt-env-conf-test] ", or ",
  11959. 1805.77 s [opt-env-conf-test] functionChunk "value",
  11960. 1805.77 s [opt-env-conf-test] "."
  11961. 1805.77 s [opt-env-conf-test] ]
  11962. 1805.77 s [opt-env-conf-test] ]
  11963. 1805.77 s [opt-env-conf-test] ]
  11964. 1805.77 s [opt-env-conf-test] LintErrorDashInShort ->
  11965. 1805.77 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  11966. 1805.77 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  11967. 1805.77 s [opt-env-conf-test] ]
  11968. 1805.77 s [opt-env-conf-test] LintErrorDashInLong s ->
  11969. 1805.77 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  11970. 1805.77 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  11971. 1805.77 s [opt-env-conf-test] [ "Try ",
  11972. 1805.77 s [opt-env-conf-test] functionChunk "long",
  11973. 1805.77 s [opt-env-conf-test] " ",
  11974. 1805.77 s [opt-env-conf-test] chunk $
  11975. 1805.77 s [opt-env-conf-test] T.pack $
  11976. 1805.77 s [opt-env-conf-test] show $
  11977. 1805.77 s [opt-env-conf-test] let go = \case
  11978. 1805.77 s [opt-env-conf-test] [] -> []
  11979. 1805.77 s [opt-env-conf-test] '-' : cs -> go cs
  11980. 1805.77 s [opt-env-conf-test] c : cs -> c : cs
  11981. 1805.77 s [opt-env-conf-test] in go $ NE.toList s,
  11982. 1805.77 s [opt-env-conf-test] " instead."
  11983. 1805.77 s [opt-env-conf-test] ]
  11984. 1805.77 s [opt-env-conf-test] ]
  11985. 1805.77 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  11986. 1805.77 s [opt-env-conf-test] [ [ functionChunk "argument",
  11987. 1805.77 s [opt-env-conf-test] " has no ",
  11988. 1805.77 s [opt-env-conf-test] functionChunk "reader",
  11989. 1805.77 s [opt-env-conf-test] "."
  11990. 1805.77 s [opt-env-conf-test] ]
  11991. 1805.77 s [opt-env-conf-test] ]
  11992. 1805.77 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  11993. 1805.77 s [opt-env-conf-test] [ [ functionChunk "argument",
  11994. 1805.77 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  11995. 1805.78 s [opt-env-conf-test] @@ -66,168 +66,155 @@
  11996. 1805.78 s [opt-env-conf-test] renderLintError LintError {..} =
  11997. 1805.78 s [opt-env-conf-test] concat
  11998. 1805.78 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  11999. 1805.78 s [opt-env-conf-test] case lintErrorMessage of
  12000. 1805.78 s [opt-env-conf-test] LintErrorUndocumented ->
  12001. 1805.78 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12002. 1805.78 s [opt-env-conf-test] LintErrorEmptySetting ->
  12003. 1805.78 s [opt-env-conf-test] concat
  12004. 1805.78 s [opt-env-conf-test] [ [ [ "This ",
  12005. 1805.78 s [opt-env-conf-test] functionChunk "setting",
  12006. 1805.78 s [opt-env-conf-test] " parses nothing."
  12007. 1805.78 s [opt-env-conf-test] ]
  12008. 1805.78 s [opt-env-conf-test] ],
  12009. 1805.78 s [opt-env-conf-test] [ [ "Add an ",
  12010. 1805.78 s [opt-env-conf-test] functionChunk "argument",
  12011. 1805.78 s [opt-env-conf-test] ", ",
  12012. 1805.78 s [opt-env-conf-test] functionChunk "switch",
  12013. 1805.78 s [opt-env-conf-test] ", ",
  12014. 1805.78 s [opt-env-conf-test] functionChunk "option",
  12015. 1805.78 s [opt-env-conf-test] ", ",
  12016. 1805.78 s [opt-env-conf-test] functionChunk "env",
  12017. 1805.78 s [opt-env-conf-test] ", ",
  12018. 1805.78 s [opt-env-conf-test] functionChunk "conf",
  12019. 1805.78 s [opt-env-conf-test] ", or ",
  12020. 1805.78 s [opt-env-conf-test] functionChunk "value",
  12021. 1805.78 s [opt-env-conf-test] "."
  12022. 1805.78 s [opt-env-conf-test] ]
  12023. 1805.78 s [opt-env-conf-test] ]
  12024. 1805.78 s [opt-env-conf-test] ]
  12025. 1805.78 s [opt-env-conf-test] LintErrorDashInShort ->
  12026. 1805.78 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12027. 1805.78 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12028. 1805.78 s [opt-env-conf-test] ]
  12029. 1805.78 s [opt-env-conf-test] LintErrorDashInLong s ->
  12030. 1805.78 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12031. 1805.78 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12032. 1805.78 s [opt-env-conf-test] [ "Try ",
  12033. 1805.78 s [opt-env-conf-test] functionChunk "long",
  12034. 1805.78 s [opt-env-conf-test] " ",
  12035. 1805.78 s [opt-env-conf-test] chunk $
  12036. 1805.78 s [opt-env-conf-test] T.pack $
  12037. 1805.78 s [opt-env-conf-test] show $
  12038. 1805.78 s [opt-env-conf-test] let go = \case
  12039. 1805.78 s [opt-env-conf-test] [] -> []
  12040. 1805.78 s [opt-env-conf-test] '-' : cs -> go cs
  12041. 1805.78 s [opt-env-conf-test] c : cs -> c : cs
  12042. 1805.78 s [opt-env-conf-test] in go $ NE.toList s,
  12043. 1805.78 s [opt-env-conf-test] " instead."
  12044. 1805.78 s [opt-env-conf-test] ]
  12045. 1805.78 s [opt-env-conf-test] ]
  12046. 1805.78 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12047. 1805.78 s [opt-env-conf-test] [ [ functionChunk "argument",
  12048. 1805.78 s [opt-env-conf-test] " has no ",
  12049. 1805.78 s [opt-env-conf-test] functionChunk "reader",
  12050. 1805.78 s [opt-env-conf-test] "."
  12051. 1805.78 s [opt-env-conf-test] ]
  12052. 1805.78 s [opt-env-conf-test] ]
  12053. 1805.78 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12054. 1805.78 s [opt-env-conf-test] [ [ functionChunk "argument",
  12055. 1805.78 s [opt-env-conf-test] " has no ",
  12056. 1805.78 s [opt-env-conf-test] functionChunk "metavar",
  12057. 1805.78 s [opt-env-conf-test] "."
  12058. 1805.78 s [opt-env-conf-test] ]
  12059. 1805.78 s [opt-env-conf-test] ]
  12060. 1805.78 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12061. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12062. 1805.79 s [opt-env-conf-test] " or ",
  12063. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12064. 1805.79 s [opt-env-conf-test] " has no ",
  12065. 1805.79 s [opt-env-conf-test] functionChunk "reader",
  12066. 1805.79 s [opt-env-conf-test] "."
  12067. 1805.79 s [opt-env-conf-test] ]
  12068. 1805.79 s [opt-env-conf-test] ]
  12069. 1805.79 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12070. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12071. 1805.79 s [opt-env-conf-test] " has no ",
  12072. 1805.79 s [opt-env-conf-test] functionChunk "long",
  12073. 1805.79 s [opt-env-conf-test] " or ",
  12074. 1805.79 s [opt-env-conf-test] functionChunk "short",
  12075. 1805.79 s [opt-env-conf-test] "."
  12076. 1805.79 s [opt-env-conf-test] ]
  12077. 1805.79 s [opt-env-conf-test] ]
  12078. 1805.79 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12079. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12080. 1805.79 s [opt-env-conf-test] " or ",
  12081. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12082. 1805.79 s [opt-env-conf-test] " has no ",
  12083. 1805.79 s [opt-env-conf-test] functionChunk "metavar",
  12084. 1805.79 s [opt-env-conf-test] "."
  12085. 1805.79 s [opt-env-conf-test] ]
  12086. 1805.79 s [opt-env-conf-test] ]
  12087. 1805.79 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12088. 1805.79 s [opt-env-conf-test] [ [ functionChunk "switch",
  12089. 1805.79 s [opt-env-conf-test] " has no ",
  12090. 1805.79 s [opt-env-conf-test] functionChunk "long",
  12091. 1805.79 s [opt-env-conf-test] " or ",
  12092. 1805.79 s [opt-env-conf-test] functionChunk "short",
  12093. 1805.79 s [opt-env-conf-test] "."
  12094. 1805.79 s [opt-env-conf-test] ]
  12095. 1805.79 s [opt-env-conf-test] ]
  12096. 1805.79 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12097. 1805.79 s [opt-env-conf-test] [ [ functionChunk "long",
  12098. 1805.79 s [opt-env-conf-test] " or ",
  12099. 1805.79 s [opt-env-conf-test] functionChunk "short",
  12100. 1805.79 s [opt-env-conf-test] " has no ",
  12101. 1805.79 s [opt-env-conf-test] functionChunk "option",
  12102. 1805.79 s [opt-env-conf-test] " or ",
  12103. 1805.79 s [opt-env-conf-test] functionChunk "switch",
  12104. 1805.79 s [opt-env-conf-test] "."
  12105. 1805.79 s [opt-env-conf-test] ]
  12106. 1805.79 s [opt-env-conf-test] ]
  12107. 1805.79 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12108. 1805.79 s [opt-env-conf-test] [ [ functionChunk "env",
  12109. 1805.79 s [opt-env-conf-test] " or ",
  12110. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12111. 1805.79 s [opt-env-conf-test] " has no ",
  12112. 1805.79 s [opt-env-conf-test] functionChunk "reader",
  12113. 1805.79 s [opt-env-conf-test] "."
  12114. 1805.79 s [opt-env-conf-test] ]
  12115. 1805.79 s [opt-env-conf-test] ]
  12116. 1805.79 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12117. 1805.79 s [opt-env-conf-test] [ [ functionChunk "env",
  12118. 1805.79 s [opt-env-conf-test] " or ",
  12119. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12120. 1805.79 s [opt-env-conf-test] " has no ",
  12121. 1805.79 s [opt-env-conf-test] functionChunk "metavar",
  12122. 1805.79 s [opt-env-conf-test] "."
  12123. 1805.79 s [opt-env-conf-test] ]
  12124. 1805.79 s [opt-env-conf-test] ]
  12125. 1805.79 s [opt-env-conf-test] LintErrorNoCommands ->
  12126. 1805.79 s [opt-env-conf-test] [ [ functionChunk "commands",
  12127. 1805.79 s [opt-env-conf-test] " was called with an empty list."
  12128. 1805.79 s [opt-env-conf-test] " has no ",
  12129. 1805.79 s [opt-env-conf-test] functionChunk "metavar",
  12130. 1805.79 s [opt-env-conf-test] "."
  12131. 1805.79 s [opt-env-conf-test] ]
  12132. 1805.79 s [opt-env-conf-test] ]
  12133. 1805.79 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12134. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12135. 1805.79 s [opt-env-conf-test] " or ",
  12136. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12137. 1805.79 s [opt-env-conf-test] " has no ",
  12138. 1805.79 s [opt-env-conf-test] functionChunk "reader",
  12139. 1805.79 s [opt-env-conf-test] "."
  12140. 1805.79 s [opt-env-conf-test] ]
  12141. 1805.79 s [opt-env-conf-test] ]
  12142. 1805.79 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12143. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12144. 1805.79 s [opt-env-conf-test] " has no ",
  12145. 1805.79 s [opt-env-conf-test] functionChunk "long",
  12146. 1805.79 s [opt-env-conf-test] " or ",
  12147. 1805.79 s [opt-env-conf-test] functionChunk "short",
  12148. 1805.79 s [opt-env-conf-test] "."
  12149. 1805.79 s [opt-env-conf-test] ]
  12150. 1805.79 s [opt-env-conf-test] ]
  12151. 1805.79 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12152. 1805.79 s [opt-env-conf-test] [ [ functionChunk "option",
  12153. 1805.79 s [opt-env-conf-test] " or ",
  12154. 1805.79 s [opt-env-conf-test] functionChunk "name",
  12155. 1805.79 s [opt-env-conf-test] " has no ",
  12156. 1805.79 s [opt-env-conf-test] functionChunk "metavar",
  12157. 1805.79 s [opt-env-conf-test] "."
  12158. 1805.79 s [opt-env-conf-test] ]
  12159. 1805.79 s [opt-env-conf-test] ]
  12160. 1805.79 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12161. 1805.80 s [opt-env-conf-test] [ [ functionChunk "switch",
  12162. 1805.80 s [opt-env-conf-test] " has no ",
  12163. 1805.80 s [opt-env-conf-test] functionChunk "long",
  12164. 1805.80 s [opt-env-conf-test] " or ",
  12165. 1805.80 s [opt-env-conf-test] functionChunk "short",
  12166. 1805.80 s [opt-env-conf-test] "."
  12167. 1805.80 s [opt-env-conf-test] ]
  12168. 1805.80 s [opt-env-conf-test] ]
  12169. 1805.80 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12170. 1805.80 s [opt-env-conf-test] [ [ functionChunk "long",
  12171. 1805.80 s [opt-env-conf-test] " or ",
  12172. 1805.80 s [opt-env-conf-test] functionChunk "short",
  12173. 1805.80 s [opt-env-conf-test] " has no ",
  12174. 1805.80 s [opt-env-conf-test] functionChunk "option",
  12175. 1805.80 s [opt-env-conf-test] " or ",
  12176. 1805.80 s [opt-env-conf-test] functionChunk "switch",
  12177. 1805.80 s [opt-env-conf-test] "."
  12178. 1805.80 s [opt-env-conf-test] ]
  12179. 1805.80 s [opt-env-conf-test] ]
  12180. 1805.80 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12181. 1805.80 s [opt-env-conf-test] [ [ functionChunk "env",
  12182. 1805.80 s [opt-env-conf-test] " or ",
  12183. 1805.80 s [opt-env-conf-test] functionChunk "name",
  12184. 1805.80 s [opt-env-conf-test] " has no ",
  12185. 1805.80 s [opt-env-conf-test] functionChunk "reader",
  12186. 1805.80 s [opt-env-conf-test] "."
  12187. 1805.80 s [opt-env-conf-test] ]
  12188. 1805.80 s [opt-env-conf-test] ]
  12189. 1805.80 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12190. 1805.80 s [opt-env-conf-test] [ [ functionChunk "env",
  12191. 1805.80 s [opt-env-conf-test] " or ",
  12192. 1805.80 s [opt-env-conf-test] functionChunk "name",
  12193. 1805.80 s [opt-env-conf-test] " has no ",
  12194. 1805.80 s [opt-env-conf-test] functionChunk "metavar",
  12195. 1805.80 s [opt-env-conf-test] "."
  12196. 1805.80 s [opt-env-conf-test] ]
  12197. 1805.80 s [opt-env-conf-test] ]
  12198. 1805.80 s [opt-env-conf-test] LintErrorNoCommands ->
  12199. 1805.80 s [opt-env-conf-test] [ [ functionChunk "commands",
  12200. 1805.80 s [opt-env-conf-test] " was called with an empty list."
  12201. 1805.80 s [opt-env-conf-test] ]
  12202. 1805.80 s [opt-env-conf-test] ]
  12203. 1805.80 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12204. 1805.80 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12205. 1805.80 s [opt-env-conf-test] " was called with an unknown command: ",
  12206. 1805.80 s [opt-env-conf-test] commandChunk c
  12207. 1805.80 s [opt-env-conf-test] ]
  12208. 1805.80 s [opt-env-conf-test] ]
  12209. 1805.80 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12210. 1805.80 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12211. 1805.80 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12212. 1805.80 s [opt-env-conf-test] ]
  12213. 1805.80 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12214. 1805.80 s [opt-env-conf-test] [ [ functionChunk "conf",
  12215. 1805.80 s [opt-env-conf-test] " or ",
  12216. 1805.80 s [opt-env-conf-test] functionChunk "name",
  12217. 1805.80 s [opt-env-conf-test] " was called with no way to load configuration."
  12218. 1805.80 s [opt-env-conf-test] ],
  12219. 1805.80 s [opt-env-conf-test] [ "You can load configuration with ",
  12220. 1805.80 s [opt-env-conf-test] functionChunk "withConfig",
  12221. 1805.80 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12222. 1805.80 s [opt-env-conf-test] functionChunk "withoutConfig",
  12223. 1805.80 s [opt-env-conf-test] "."
  12224. 1805.80 s [opt-env-conf-test] ]
  12225. 1805.80 s [opt-env-conf-test] ]
  12226. 1805.80 s [opt-env-conf-test] - LintErrorManyInfinite ->
  12227. 1805.80 s [opt-env-conf-test] - [ [ functionChunk "many",
  12228. 1805.80 s [opt-env-conf-test] - " or ",
  12229. 1805.80 s [opt-env-conf-test] - functionChunk "some",
  12230. 1805.80 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  12231. 1805.80 s [opt-env-conf-test] - ],
  12232. 1805.80 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  12233. 1805.80 s [opt-env-conf-test] - ],
  12234. 1805.80 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12235. 1805.80 s [opt-env-conf-test] ]
  12236. 1805.80 s [opt-env-conf-test]
  12237. 1805.80 s [opt-env-conf-test] ]
  12238. 1805.80 s [opt-env-conf-test] ]
  12239. 1805.80 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12240. 1805.80 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12241. 1805.80 s [opt-env-conf-test] " was called with an unknown command: ",
  12242. 1805.80 s [opt-env-conf-test] commandChunk c
  12243. 1805.80 s [opt-env-conf-test] ]
  12244. 1805.80 s [opt-env-conf-test] ]
  12245. 1805.80 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12246. 1805.80 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12247. 1805.80 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12248. 1805.80 s [opt-env-conf-test] ]
  12249. 1805.80 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  12250. 1805.80 s [opt-env-conf-test] - [ [ functionChunk "conf",
  12251. 1805.80 s [opt-env-conf-test] - " or ",
  12252. 1805.80 s [opt-env-conf-test] - functionChunk "name",
  12253. 1805.80 s [opt-env-conf-test] - " was called with no way to load configuration."
  12254. 1805.80 s [opt-env-conf-test] - ],
  12255. 1805.80 s [opt-env-conf-test] - [ "You can load configuration with ",
  12256. 1805.80 s [opt-env-conf-test] - functionChunk "withConfig",
  12257. 1805.80 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  12258. 1805.80 s [opt-env-conf-test] - functionChunk "withoutConfig",
  12259. 1805.80 s [opt-env-conf-test] - "."
  12260. 1805.80 s [opt-env-conf-test] - ]
  12261. 1805.80 s [opt-env-conf-test] - ]
  12262. 1805.80 s [opt-env-conf-test] LintErrorManyInfinite ->
  12263. 1805.80 s [opt-env-conf-test] [ [ functionChunk "many",
  12264. 1805.80 s [opt-env-conf-test] " or ",
  12265. 1805.81 s [opt-env-conf-test] functionChunk "some",
  12266. 1805.81 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12267. 1805.81 s [opt-env-conf-test] ],
  12268. 1805.81 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12269. 1805.81 s [opt-env-conf-test] ],
  12270. 1805.81 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12271. 1805.81 s [opt-env-conf-test] ]
  12272. 1805.81 s [opt-env-conf-test]
  12273. 1805.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  12274. 1805.81 s [opt-env-conf-test] @@ -65,171 +65,7 @@
  12275. 1805.81 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  12276. 1805.81 s [opt-env-conf-test] renderLintError LintError {..} =
  12277. 1805.81 s [opt-env-conf-test] concat
  12278. 1805.81 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  12279. 1805.81 s [opt-env-conf-test] - case lintErrorMessage of
  12280. 1805.81 s [opt-env-conf-test] - LintErrorUndocumented ->
  12281. 1805.81 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  12282. 1805.81 s [opt-env-conf-test] - LintErrorEmptySetting ->
  12283. 1805.81 s [opt-env-conf-test] - concat
  12284. 1805.81 s [opt-env-conf-test] - [ [ [ "This ",
  12285. 1805.81 s [opt-env-conf-test] - functionChunk "setting",
  12286. 1805.81 s [opt-env-conf-test] - " parses nothing."
  12287. 1805.81 s [opt-env-conf-test] - ]
  12288. 1805.81 s [opt-env-conf-test] - ],
  12289. 1805.81 s [opt-env-conf-test] - [ [ "Add an ",
  12290. 1805.81 s [opt-env-conf-test] - functionChunk "argument",
  12291. 1805.81 s [opt-env-conf-test] - ", ",
  12292. 1805.81 s [opt-env-conf-test] - functionChunk "switch",
  12293. 1805.81 s [opt-env-conf-test] - ", ",
  12294. 1805.81 s [opt-env-conf-test] - functionChunk "option",
  12295. 1805.81 s [opt-env-conf-test] - ", ",
  12296. 1805.81 s [opt-env-conf-test] - functionChunk "env",
  12297. 1805.81 s [opt-env-conf-test] - ", ",
  12298. 1805.81 s [opt-env-conf-test] - functionChunk "conf",
  12299. 1805.81 s [opt-env-conf-test] - ", or ",
  12300. 1805.81 s [opt-env-conf-test] - functionChunk "value",
  12301. 1805.81 s [opt-env-conf-test] - "."
  12302. 1805.81 s [opt-env-conf-test] - ]
  12303. 1805.81 s [opt-env-conf-test] - ]
  12304. 1805.81 s [opt-env-conf-test] - ]
  12305. 1805.81 s [opt-env-conf-test] - LintErrorDashInShort ->
  12306. 1805.81 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  12307. 1805.81 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  12308. 1805.81 s [opt-env-conf-test] - ]
  12309. 1805.81 s [opt-env-conf-test] - LintErrorDashInLong s ->
  12310. 1805.81 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  12311. 1805.81 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12312. 1805.81 s [opt-env-conf-test] - [ "Try ",
  12313. 1805.81 s [opt-env-conf-test] - functionChunk "long",
  12314. 1805.81 s [opt-env-conf-test] - " ",
  12315. 1805.81 s [opt-env-conf-test] - chunk $
  12316. 1805.81 s [opt-env-conf-test] - T.pack $
  12317. 1805.81 s [opt-env-conf-test] - show $
  12318. 1805.81 s [opt-env-conf-test] - let go = \case
  12319. 1805.81 s [opt-env-conf-test] - [] -> []
  12320. 1805.81 s [opt-env-conf-test] - '-' : cs -> go cs
  12321. 1805.81 s [opt-env-conf-test] - c : cs -> c : cs
  12322. 1805.81 s [opt-env-conf-test] - in go $ NE.toList s,
  12323. 1805.81 s [opt-env-conf-test] - " instead."
  12324. 1805.81 s [opt-env-conf-test] - ]
  12325. 1805.81 s [opt-env-conf-test] - ]
  12326. 1805.81 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  12327. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "argument",
  12328. 1805.81 s [opt-env-conf-test] - " has no ",
  12329. 1805.81 s [opt-env-conf-test] - functionChunk "reader",
  12330. 1805.81 s [opt-env-conf-test] - "."
  12331. 1805.81 s [opt-env-conf-test] - ]
  12332. 1805.81 s [opt-env-conf-test] - ]
  12333. 1805.81 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  12334. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "argument",
  12335. 1805.81 s [opt-env-conf-test] - " has no ",
  12336. 1805.81 s [opt-env-conf-test] - functionChunk "metavar",
  12337. 1805.81 s [opt-env-conf-test] - "."
  12338. 1805.81 s [opt-env-conf-test] - ]
  12339. 1805.81 s [opt-env-conf-test] - ]
  12340. 1805.81 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  12341. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "option",
  12342. 1805.81 s [opt-env-conf-test] - " or ",
  12343. 1805.81 s [opt-env-conf-test] - functionChunk "name",
  12344. 1805.81 s [opt-env-conf-test] - " has no ",
  12345. 1805.81 s [opt-env-conf-test] - functionChunk "reader",
  12346. 1805.81 s [opt-env-conf-test] - "."
  12347. 1805.81 s [opt-env-conf-test] - ]
  12348. 1805.81 s [opt-env-conf-test] - ]
  12349. 1805.81 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  12350. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "option",
  12351. 1805.81 s [opt-env-conf-test] - " has no ",
  12352. 1805.81 s [opt-env-conf-test] - functionChunk "long",
  12353. 1805.81 s [opt-env-conf-test] - " or ",
  12354. 1805.81 s [opt-env-conf-test] - functionChunk "short",
  12355. 1805.81 s [opt-env-conf-test] - "."
  12356. 1805.81 s [opt-env-conf-test] - ]
  12357. 1805.81 s [opt-env-conf-test] - ]
  12358. 1805.81 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  12359. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "option",
  12360. 1805.81 s [opt-env-conf-test] - " or ",
  12361. 1805.81 s [opt-env-conf-test] - functionChunk "name",
  12362. 1805.81 s [opt-env-conf-test] - " has no ",
  12363. 1805.81 s [opt-env-conf-test] - functionChunk "metavar",
  12364. 1805.81 s [opt-env-conf-test] - "."
  12365. 1805.81 s [opt-env-conf-test] - ]
  12366. 1805.81 s [opt-env-conf-test] - ]
  12367. 1805.81 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  12368. 1805.81 s [opt-env-conf-test] - [ [ functionChunk "switch",
  12369. 1805.81 s [opt-env-conf-test] - " has no ",
  12370. 1805.81 s [opt-env-conf-test] - functionChunk "long",
  12371. 1805.81 s [opt-env-conf-test] - " or ",
  12372. 1805.81 s [opt-env-conf-test] - functionChunk "short",
  12373. 1805.81 s [opt-env-conf-test] - "."
  12374. 1805.81 s [opt-env-conf-test] - ]
  12375. 1805.81 s [opt-env-conf-test] - ]
  12376. 1805.82 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  12377. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "long",
  12378. 1805.82 s [opt-env-conf-test] - " or ",
  12379. 1805.82 s [opt-env-conf-test] - functionChunk "short",
  12380. 1805.82 s [opt-env-conf-test] - " has no ",
  12381. 1805.82 s [opt-env-conf-test] - functionChunk "option",
  12382. 1805.82 s [opt-env-conf-test] - " or ",
  12383. 1805.82 s [opt-env-conf-test] - functionChunk "switch",
  12384. 1805.82 s [opt-env-conf-test] - "."
  12385. 1805.82 s [opt-env-conf-test] - ]
  12386. 1805.82 s [opt-env-conf-test] - ]
  12387. 1805.82 s [opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
  12388. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "env",
  12389. 1805.82 s [opt-env-conf-test] - " or ",
  12390. 1805.82 s [opt-env-conf-test] - functionChunk "name",
  12391. 1805.82 s [opt-env-conf-test] - " has no ",
  12392. 1805.82 s [opt-env-conf-test] - functionChunk "reader",
  12393. 1805.82 s [opt-env-conf-test] - "."
  12394. 1805.82 s [opt-env-conf-test] - ]
  12395. 1805.82 s [opt-env-conf-test] - ]
  12396. 1805.82 s [opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
  12397. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "env",
  12398. 1805.82 s [opt-env-conf-test] - " or ",
  12399. 1805.82 s [opt-env-conf-test] - functionChunk "name",
  12400. 1805.82 s [opt-env-conf-test] - " has no ",
  12401. 1805.82 s [opt-env-conf-test] - functionChunk "metavar",
  12402. 1805.82 s [opt-env-conf-test] - "."
  12403. 1805.82 s [opt-env-conf-test] - ]
  12404. 1805.82 s [opt-env-conf-test] - ]
  12405. 1805.82 s [opt-env-conf-test] - LintErrorNoCommands ->
  12406. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "commands",
  12407. 1805.82 s [opt-env-conf-test] - " was called with an empty list."
  12408. 1805.82 s [opt-env-conf-test] - ]
  12409. 1805.82 s [opt-env-conf-test] - ]
  12410. 1805.82 s [opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
  12411. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "defaultCommand",
  12412. 1805.82 s [opt-env-conf-test] - " was called with an unknown command: ",
  12413. 1805.82 s [opt-env-conf-test] - commandChunk c
  12414. 1805.82 s [opt-env-conf-test] - ]
  12415. 1805.82 s [opt-env-conf-test] - ]
  12416. 1805.82 s [opt-env-conf-test] - LintErrorUnreadableExample e ->
  12417. 1805.82 s [opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12418. 1805.82 s [opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
  12419. 1805.82 s [opt-env-conf-test] - ]
  12420. 1805.82 s [opt-env-conf-test] - LintErrorConfigWithoutLoad ->
  12421. 1805.82 s [opt-env-conf-test] - [ [ functionChunk "conf",
  12422. 1805.82 s [opt-env-conf-test] - " or ",
  12423. 1805.82 s [opt-env-conf-test] - functionChunk "name",
  12424. 1805.82 s [opt-env-conf-test] - " was called with no way to load configuration."
  12425. 1805.82 s [opt-env-conf-test] - ],
  12426. 1805.82 s [opt-env-conf-test] - [ "You can load configuration with ",
  12427. 1805.82 s [opt-env-conf-test] - functionChunk "withConfig",
  12428. 1806.37 s [opt-env-conf-test] - ", or explicitly not load any configuration with ",
  12429. 1806.37 s [opt-env-conf-test] - functionChunk "withoutConfig",
  12430. 1806.37 s [opt-env-conf-test] - "."
  12431. 1806.37 s [opt-env-conf-test] - ]
  12432. 1806.37 s [opt-env-conf-test] - ]
  12433. 1806.37 s [opt-env-conf-test] - LintErrorManyInfinite ->
  12434. 1806.37 s [opt-env-conf-test] - [ [ functionChunk "many",
  12435. 1806.37 s [opt-env-conf-test] - " or ",
  12436. 1806.37 s [opt-env-conf-test] - functionChunk "some",
  12437. 1806.37 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  12438. 1806.37 s [opt-env-conf-test] - ],
  12439. 1806.37 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  12440. 1806.37 s [opt-env-conf-test] - ],
  12441. 1806.37 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12442. 1806.38 s [opt-env-conf-test] ]
  12443. 1806.38 s [opt-env-conf-test]
  12444. 1806.38 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  12445. 1806.38 s [opt-env-conf-test] lintParser =
  12446. 1806.38 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  12447. 1806.38 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  12448. 1806.38 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  12449. 1806.38 s [opt-env-conf-test] renderLintError LintError {..} =
  12450. 1806.38 s [opt-env-conf-test] concat
  12451. 1806.38 s [opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
  12452. 1806.38 s [opt-env-conf-test] case lintErrorMessage of
  12453. 1806.38 s [opt-env-conf-test] LintErrorUndocumented ->
  12454. 1806.38 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12455. 1806.38 s [opt-env-conf-test] LintErrorEmptySetting ->
  12456. 1806.38 s [opt-env-conf-test] concat
  12457. 1806.38 s [opt-env-conf-test] [ [ [ "This ",
  12458. 1806.38 s [opt-env-conf-test] functionChunk "setting",
  12459. 1806.38 s [opt-env-conf-test] " parses nothing."
  12460. 1806.38 s [opt-env-conf-test] ]
  12461. 1806.38 s [opt-env-conf-test] ],
  12462. 1806.38 s [opt-env-conf-test] [ [ "Add an ",
  12463. 1806.38 s [opt-env-conf-test] functionChunk "argument",
  12464. 1806.38 s [opt-env-conf-test] ", ",
  12465. 1806.38 s [opt-env-conf-test] functionChunk "switch",
  12466. 1806.38 s [opt-env-conf-test] ", ",
  12467. 1806.38 s [opt-env-conf-test] functionChunk "option",
  12468. 1806.38 s [opt-env-conf-test] ", ",
  12469. 1806.38 s [opt-env-conf-test] functionChunk "env",
  12470. 1806.38 s [opt-env-conf-test] ", ",
  12471. 1806.38 s [opt-env-conf-test] functionChunk "conf",
  12472. 1806.38 s [opt-env-conf-test] ", or ",
  12473. 1806.38 s [opt-env-conf-test] functionChunk "value",
  12474. 1806.38 s [opt-env-conf-test] "."
  12475. 1806.38 s [opt-env-conf-test] ]
  12476. 1806.38 s [opt-env-conf-test] ]
  12477. 1806.38 s [opt-env-conf-test] ]
  12478. 1806.38 s [opt-env-conf-test] LintErrorDashInShort ->
  12479. 1806.38 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12480. 1806.38 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12481. 1806.39 s [opt-env-conf-test] ]
  12482. 1806.39 s [opt-env-conf-test] LintErrorDashInLong s ->
  12483. 1806.39 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12484. 1806.39 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12485. 1806.39 s [opt-env-conf-test] [ "Try ",
  12486. 1806.39 s [opt-env-conf-test] functionChunk "long",
  12487. 1806.39 s [opt-env-conf-test] " ",
  12488. 1806.39 s [opt-env-conf-test] chunk $
  12489. 1806.39 s [opt-env-conf-test] T.pack $
  12490. 1806.39 s [opt-env-conf-test] show $
  12491. 1806.39 s [opt-env-conf-test] let go = \case
  12492. 1806.39 s [opt-env-conf-test] [] -> []
  12493. 1806.39 s [opt-env-conf-test] '-' : cs -> go cs
  12494. 1806.39 s [opt-env-conf-test] c : cs -> c : cs
  12495. 1806.39 s [opt-env-conf-test] in go $ NE.toList s,
  12496. 1806.39 s [opt-env-conf-test] " instead."
  12497. 1806.39 s [opt-env-conf-test] ]
  12498. 1806.39 s [opt-env-conf-test] ]
  12499. 1806.39 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12500. 1806.39 s [opt-env-conf-test] [ [ functionChunk "argument",
  12501. 1806.39 s [opt-env-conf-test] " has no ",
  12502. 1806.39 s [opt-env-conf-test] functionChunk "reader",
  12503. 1806.39 s [opt-env-conf-test] "."
  12504. 1806.39 s [opt-env-conf-test] ]
  12505. 1806.39 s [opt-env-conf-test] ]
  12506. 1806.39 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12507. 1806.39 s [opt-env-conf-test] [ [ functionChunk "argument",
  12508. 1806.39 s [opt-env-conf-test] " has no ",
  12509. 1806.39 s [opt-env-conf-test] functionChunk "metavar",
  12510. 1806.40 s [opt-env-conf-test] "."
  12511. 1806.40 s [opt-env-conf-test] ]
  12512. 1806.40 s [opt-env-conf-test] ]
  12513. 1806.40 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12514. 1806.40 s [opt-env-conf-test] [ [ functionChunk "option",
  12515. 1806.40 s [opt-env-conf-test] " or ",
  12516. 1806.40 s [opt-env-conf-test] functionChunk "name",
  12517. 1806.40 s [opt-env-conf-test] " has no ",
  12518. 1806.40 s [opt-env-conf-test] functionChunk "reader",
  12519. 1806.40 s [opt-env-conf-test] "."
  12520. 1806.40 s [opt-env-conf-test] ]
  12521. 1806.40 s [opt-env-conf-test] ]
  12522. 1806.40 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12523. 1806.40 s [opt-env-conf-test] [ [ functionChunk "option",
  12524. 1806.40 s [opt-env-conf-test] " has no ",
  12525. 1806.40 s [opt-env-conf-test] functionChunk "long",
  12526. 1806.40 s [opt-env-conf-test] " or ",
  12527. 1806.40 s [opt-env-conf-test] functionChunk "short",
  12528. 1806.40 s [opt-env-conf-test] "."
  12529. 1806.40 s [opt-env-conf-test] ]
  12530. 1806.40 s [opt-env-conf-test] ]
  12531. 1806.40 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12532. 1806.40 s [opt-env-conf-test] [ [ functionChunk "option",
  12533. 1806.40 s [opt-env-conf-test] " or ",
  12534. 1806.40 s [opt-env-conf-test] functionChunk "name",
  12535. 1806.40 s [opt-env-conf-test] " has no ",
  12536. 1806.40 s [opt-env-conf-test] functionChunk "metavar",
  12537. 1806.40 s [opt-env-conf-test] "."
  12538. 1806.40 s [opt-env-conf-test] ]
  12539. 1806.40 s [opt-env-conf-test] ]
  12540. 1806.40 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12541. 1806.40 s [opt-env-conf-test] [ [ functionChunk "switch",
  12542. 1806.40 s [opt-env-conf-test] " has no ",
  12543. 1806.40 s [opt-env-conf-test] functionChunk "long",
  12544. 1806.40 s [opt-env-conf-test] " or ",
  12545. 1806.40 s [opt-env-conf-test] functionChunk "short",
  12546. 1806.40 s [opt-env-conf-test] "."
  12547. 1806.40 s [opt-env-conf-test] ]
  12548. 1806.40 s [opt-env-conf-test] ]
  12549. 1806.40 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12550. 1806.40 s [opt-env-conf-test] [ [ functionChunk "long",
  12551. 1806.40 s [opt-env-conf-test] " or ",
  12552. 1806.40 s [opt-env-conf-test] functionChunk "short",
  12553. 1806.40 s [opt-env-conf-test] " has no ",
  12554. 1806.40 s [opt-env-conf-test] functionChunk "option",
  12555. 1806.40 s [opt-env-conf-test] " or ",
  12556. 1806.40 s [opt-env-conf-test] functionChunk "switch",
  12557. 1806.40 s [opt-env-conf-test] "."
  12558. 1806.40 s [opt-env-conf-test] ]
  12559. 1806.40 s [opt-env-conf-test] ]
  12560. 1806.41 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12561. 1806.41 s [opt-env-conf-test] [ [ functionChunk "env",
  12562. 1806.41 s [opt-env-conf-test] " or ",
  12563. 1806.41 s [opt-env-conf-test] functionChunk "name",
  12564. 1806.41 s [opt-env-conf-test] " has no ",
  12565. 1806.41 s [opt-env-conf-test] functionChunk "reader",
  12566. 1806.41 s [opt-env-conf-test] "."
  12567. 1806.41 s [opt-env-conf-test] ]
  12568. 1806.41 s [opt-env-conf-test] ]
  12569. 1806.41 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12570. 1806.41 s [opt-env-conf-test] [ [ functionChunk "env",
  12571. 1806.41 s [opt-env-conf-test] " or ",
  12572. 1806.41 s [opt-env-conf-test] functionChunk "name",
  12573. 1806.41 s [opt-env-conf-test] " has no ",
  12574. 1806.41 s [opt-env-conf-test] functionChunk "metavar",
  12575. 1806.41 s [opt-env-conf-test] "."
  12576. 1806.41 s [opt-env-conf-test] ]
  12577. 1806.41 s [opt-env-conf-test] ]
  12578. 1806.41 s [opt-env-conf-test] LintErrorNoCommands ->
  12579. 1806.41 s [opt-env-conf-test] [ [ functionChunk "commands",
  12580. 1807.05 s [opt-env-conf-test] " was called with an empty list."
  12581. 1807.05 s [opt-env-conf-test] ]
  12582. 1807.05 s [opt-env-conf-test] ]
  12583. 1807.05 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12584. 1807.05 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12585. 1807.05 s [opt-env-conf-test] " was called with an unknown command: ",
  12586. 1807.05 s [opt-env-conf-test] commandChunk c
  12587. 1807.05 s [opt-env-conf-test] ]
  12588. 1807.05 s [opt-env-conf-test] ]
  12589. 1807.05 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12590. 1807.05 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12591. 1807.06 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12592. 1807.06 s [opt-env-conf-test] ]
  12593. 1807.06 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12594. 1807.06 s [opt-env-conf-test] [ [ functionChunk "conf",
  12595. 1807.06 s [opt-env-conf-test] " or ",
  12596. 1807.06 s [opt-env-conf-test] functionChunk "name",
  12597. 1807.06 s [opt-env-conf-test] " was called with no way to load configuration."
  12598. 1807.06 s [opt-env-conf-test] ],
  12599. 1807.06 s [opt-env-conf-test] [ "You can load configuration with ",
  12600. 1807.06 s [opt-env-conf-test] functionChunk "withConfig",
  12601. 1807.06 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12602. 1807.06 s [opt-env-conf-test] functionChunk "withoutConfig",
  12603. 1807.06 s [opt-env-conf-test] "."
  12604. 1807.06 s [opt-env-conf-test] ]
  12605. 1807.06 s [opt-env-conf-test] ]
  12606. 1807.06 s [opt-env-conf-test] LintErrorManyInfinite ->
  12607. 1807.06 s [opt-env-conf-test] [ [ functionChunk "many",
  12608. 1807.06 s [opt-env-conf-test] " or ",
  12609. 1807.06 s [opt-env-conf-test] functionChunk "some",
  12610. 1807.06 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12611. 1807.06 s [opt-env-conf-test] ],
  12612. 1807.06 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12613. 1807.06 s [opt-env-conf-test] ],
  12614. 1807.06 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12615. 1807.06 s [opt-env-conf-test] ]
  12616. 1807.06 s [opt-env-conf-test]
  12617. 1807.06 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  12618. 1807.06 s [opt-env-conf-test] lintParser =
  12619. 1807.06 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
  12620. 1807.06 s [opt-env-conf-test] @@ -65,171 +65,170 @@
  12621. 1807.06 s [opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
  12622. 1807.06 s [opt-env-conf-test] renderLintError LintError {..} =
  12623. 1807.06 s [opt-env-conf-test] concat
  12624. 1807.06 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  12625. 1807.07 s [opt-env-conf-test] case lintErrorMessage of
  12626. 1807.07 s [opt-env-conf-test] LintErrorUndocumented ->
  12627. 1807.07 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  12628. 1807.07 s [opt-env-conf-test] LintErrorEmptySetting ->
  12629. 1807.07 s [opt-env-conf-test] concat
  12630. 1807.07 s [opt-env-conf-test] [ [ [ "This ",
  12631. 1807.07 s [opt-env-conf-test] functionChunk "setting",
  12632. 1807.07 s [opt-env-conf-test] " parses nothing."
  12633. 1807.07 s [opt-env-conf-test] ]
  12634. 1807.07 s [opt-env-conf-test] ],
  12635. 1807.07 s [opt-env-conf-test] [ [ "Add an ",
  12636. 1807.07 s [opt-env-conf-test] functionChunk "argument",
  12637. 1807.07 s [opt-env-conf-test] ", ",
  12638. 1807.07 s [opt-env-conf-test] functionChunk "switch",
  12639. 1807.07 s [opt-env-conf-test] ", ",
  12640. 1807.07 s [opt-env-conf-test] functionChunk "option",
  12641. 1807.07 s [opt-env-conf-test] ", ",
  12642. 1807.07 s [opt-env-conf-test] functionChunk "env",
  12643. 1807.07 s [opt-env-conf-test] ", ",
  12644. 1807.07 s [opt-env-conf-test] functionChunk "conf",
  12645. 1807.07 s [opt-env-conf-test] ", or ",
  12646. 1807.07 s [opt-env-conf-test] functionChunk "value",
  12647. 1807.07 s [opt-env-conf-test] "."
  12648. 1807.07 s [opt-env-conf-test] ]
  12649. 1807.07 s [opt-env-conf-test] ]
  12650. 1807.07 s [opt-env-conf-test] ]
  12651. 1807.07 s [opt-env-conf-test] LintErrorDashInShort ->
  12652. 1807.07 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  12653. 1807.07 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  12654. 1807.07 s [opt-env-conf-test] ]
  12655. 1807.07 s [opt-env-conf-test] LintErrorDashInLong s ->
  12656. 1807.07 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  12657. 1807.07 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  12658. 1807.07 s [opt-env-conf-test] [ "Try ",
  12659. 1807.07 s [opt-env-conf-test] functionChunk "long",
  12660. 1807.07 s [opt-env-conf-test] " ",
  12661. 1807.07 s [opt-env-conf-test] chunk $
  12662. 1807.07 s [opt-env-conf-test] T.pack $
  12663. 1807.07 s [opt-env-conf-test] show $
  12664. 1807.07 s [opt-env-conf-test] let go = \case
  12665. 1807.07 s [opt-env-conf-test] [] -> []
  12666. 1807.07 s [opt-env-conf-test] '-' : cs -> go cs
  12667. 1807.07 s [opt-env-conf-test] c : cs -> c : cs
  12668. 1807.07 s [opt-env-conf-test] in go $ NE.toList s,
  12669. 1807.07 s [opt-env-conf-test] " instead."
  12670. 1807.07 s [opt-env-conf-test] ]
  12671. 1807.07 s [opt-env-conf-test] ]
  12672. 1807.07 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  12673. 1807.07 s [opt-env-conf-test] [ [ functionChunk "argument",
  12674. 1807.07 s [opt-env-conf-test] " has no ",
  12675. 1807.07 s [opt-env-conf-test] functionChunk "reader",
  12676. 1807.07 s [opt-env-conf-test] "."
  12677. 1807.07 s [opt-env-conf-test] ]
  12678. 1807.07 s [opt-env-conf-test] ]
  12679. 1807.07 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  12680. 1807.07 s [opt-env-conf-test] [ [ functionChunk "argument",
  12681. 1807.07 s [opt-env-conf-test] " has no ",
  12682. 1807.07 s [opt-env-conf-test] functionChunk "metavar",
  12683. 1807.07 s [opt-env-conf-test] "."
  12684. 1807.07 s [opt-env-conf-test] ]
  12685. 1807.07 s [opt-env-conf-test] ]
  12686. 1807.07 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  12687. 1807.07 s [opt-env-conf-test] [ [ functionChunk "option",
  12688. 1807.08 s [opt-env-conf-test] " or ",
  12689. 1807.08 s [opt-env-conf-test] functionChunk "name",
  12690. 1807.08 s [opt-env-conf-test] " has no ",
  12691. 1807.08 s [opt-env-conf-test] functionChunk "reader",
  12692. 1807.08 s [opt-env-conf-test] "."
  12693. 1807.08 s [opt-env-conf-test] ]
  12694. 1807.08 s [opt-env-conf-test] ]
  12695. 1807.08 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  12696. 1807.08 s [opt-env-conf-test] [ [ functionChunk "option",
  12697. 1807.08 s [opt-env-conf-test] " has no ",
  12698. 1807.08 s [opt-env-conf-test] functionChunk "long",
  12699. 1807.08 s [opt-env-conf-test] " or ",
  12700. 1807.08 s [opt-env-conf-test] functionChunk "short",
  12701. 1807.08 s [opt-env-conf-test] "."
  12702. 1807.08 s [opt-env-conf-test] ]
  12703. 1807.08 s [opt-env-conf-test] ]
  12704. 1807.08 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  12705. 1807.08 s [opt-env-conf-test] [ [ functionChunk "option",
  12706. 1807.08 s [opt-env-conf-test] " or ",
  12707. 1807.08 s [opt-env-conf-test] functionChunk "name",
  12708. 1807.08 s [opt-env-conf-test] " has no ",
  12709. 1807.08 s [opt-env-conf-test] functionChunk "metavar",
  12710. 1807.08 s [opt-env-conf-test] "."
  12711. 1807.08 s [opt-env-conf-test] ]
  12712. 1807.08 s [opt-env-conf-test] ]
  12713. 1807.08 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  12714. 1807.08 s [opt-env-conf-test] [ [ functionChunk "switch",
  12715. 1807.08 s [opt-env-conf-test] " has no ",
  12716. 1807.08 s [opt-env-conf-test] functionChunk "long",
  12717. 1807.08 s [opt-env-conf-test] " or ",
  12718. 1807.08 s [opt-env-conf-test] functionChunk "short",
  12719. 1807.08 s [opt-env-conf-test] "."
  12720. 1807.08 s [opt-env-conf-test] ]
  12721. 1807.08 s [opt-env-conf-test] ]
  12722. 1807.08 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  12723. 1807.08 s [opt-env-conf-test] [ [ functionChunk "long",
  12724. 1807.08 s [opt-env-conf-test] " or ",
  12725. 1807.08 s [opt-env-conf-test] functionChunk "short",
  12726. 1807.08 s [opt-env-conf-test] " has no ",
  12727. 1807.08 s [opt-env-conf-test] functionChunk "option",
  12728. 1807.08 s [opt-env-conf-test] " or ",
  12729. 1807.08 s [opt-env-conf-test] functionChunk "switch",
  12730. 1807.08 s [opt-env-conf-test] "."
  12731. 1807.08 s [opt-env-conf-test] ]
  12732. 1807.08 s [opt-env-conf-test] ]
  12733. 1807.08 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  12734. 1807.08 s [opt-env-conf-test] [ [ functionChunk "env",
  12735. 1807.08 s [opt-env-conf-test] " or ",
  12736. 1807.08 s [opt-env-conf-test] functionChunk "name",
  12737. 1807.08 s [opt-env-conf-test] " has no ",
  12738. 1807.08 s [opt-env-conf-test] functionChunk "reader",
  12739. 1807.08 s [opt-env-conf-test] "."
  12740. 1807.08 s [opt-env-conf-test] ]
  12741. 1807.08 s [opt-env-conf-test] ]
  12742. 1807.08 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  12743. 1807.08 s [opt-env-conf-test] [ [ functionChunk "env",
  12744. 1807.08 s [opt-env-conf-test] " or ",
  12745. 1807.08 s [opt-env-conf-test] functionChunk "name",
  12746. 1807.08 s [opt-env-conf-test] " has no ",
  12747. 1807.08 s [opt-env-conf-test] functionChunk "metavar",
  12748. 1807.08 s [opt-env-conf-test] "."
  12749. 1807.08 s [opt-env-conf-test] ]
  12750. 1807.08 s [opt-env-conf-test] ]
  12751. 1807.08 s [opt-env-conf-test] LintErrorNoCommands ->
  12752. 1807.08 s [opt-env-conf-test] [ [ functionChunk "commands",
  12753. 1814.26 s [opt-env-conf-test] " was called with an empty list."
  12754. 1814.26 s [opt-env-conf-test] ]
  12755. 1814.26 s [opt-env-conf-test] ]
  12756. 1814.29 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  12757. 1814.29 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  12758. 1814.29 s [opt-env-conf-test] " was called with an unknown command: ",
  12759. 1814.29 s [opt-env-conf-test] commandChunk c
  12760. 1814.29 s [opt-env-conf-test] ]
  12761. 1814.29 s [opt-env-conf-test] ]
  12762. 1814.29 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  12763. 1814.29 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  12764. 1814.29 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  12765. 1814.29 s [opt-env-conf-test] ]
  12766. 1814.29 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  12767. 1814.29 s [opt-env-conf-test] [ [ functionChunk "conf",
  12768. 1814.29 s [opt-env-conf-test] " or ",
  12769. 1814.29 s [opt-env-conf-test] functionChunk "name",
  12770. 1814.29 s [opt-env-conf-test] " was called with no way to load configuration."
  12771. 1814.29 s [opt-env-conf-test] ],
  12772. 1814.29 s [opt-env-conf-test] [ "You can load configuration with ",
  12773. 1814.29 s [opt-env-conf-test] functionChunk "withConfig",
  12774. 1814.29 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  12775. 1814.29 s [opt-env-conf-test] functionChunk "withoutConfig",
  12776. 1814.29 s [opt-env-conf-test] "."
  12777. 1814.29 s [opt-env-conf-test] ]
  12778. 1814.29 s [opt-env-conf-test] ]
  12779. 1814.29 s [opt-env-conf-test] LintErrorManyInfinite ->
  12780. 1814.29 s [opt-env-conf-test] [ [ functionChunk "many",
  12781. 1814.29 s [opt-env-conf-test] " or ",
  12782. 1814.30 s [opt-env-conf-test] functionChunk "some",
  12783. 1814.30 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  12784. 1814.30 s [opt-env-conf-test] ],
  12785. 1814.30 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  12786. 1814.30 s [opt-env-conf-test] ],
  12787. 1814.30 s [opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  12788. 1814.30 s [opt-env-conf-test] ]
  12789. 1814.30 s [opt-env-conf-test]
  12790. 1814.30 s [opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
  12791. 1814.30 s [opt-env-conf-test] lintParser =
  12792. 1814.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  12793. 1814.30 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  12794. 1814.30 s [opt-env-conf-test]
  12795. 1814.30 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  12796. 1814.30 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  12797. 1814.30 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  12798. 1814.30 s [opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
  12799. 1814.30 s [opt-env-conf-test] Just a -> Right a
  12800. 1814.30 s [opt-env-conf-test]
  12801. 1814.30 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  12802. 1814.30 s [opt-env-conf-test] --
  12803. 1814.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
  12804. 1814.30 s [opt-env-conf-test] @@ -75,9 +75,8 @@
  12805. 1814.30 s [opt-env-conf-test]
  12806. 1814.30 s [opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
  12807. 1814.30 s [opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
  12808. 1814.30 s [opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
  12809. 1814.30 s [opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
  12810. 1814.30 s [opt-env-conf-test] - Just a -> Right a
  12811. 1814.30 s [opt-env-conf-test]
  12812. 1814.30 s [opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
  12813. 1814.30 s [opt-env-conf-test] --
  12814. 1814.30 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
  12815. 1814.30 s [opt-env-conf-test] @@ -67,7 +67,7 @@
  12816. 1814.30 s [opt-env-conf-test] --
  12817. 1814.30 s [opt-env-conf-test] -- > exists = Reader $ const $ pure True
  12818. 1814.30 s [opt-env-conf-test] exists :: Reader Bool
  12819. 1814.30 s [opt-env-conf-test] -exists = Reader $ const $ pure True
  12820. 1814.30 s [opt-env-conf-test] +exists = Reader $ const $ pure False
  12821. 1814.30 s [opt-env-conf-test]
  12822. 1814.30 s [opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
  12823. 1814.30 s [opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
  12824. 1814.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  12825. 1814.30 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  12826. 1814.30 s [opt-env-conf-test] --
  12827. 1814.30 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  12828. 1814.30 s [opt-env-conf-test] auto :: (Read a) => Reader a
  12829. 1814.30 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  12830. 1814.30 s [opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
  12831. 1814.30 s [opt-env-conf-test] Just a -> Right a
  12832. 1814.30 s [opt-env-conf-test]
  12833. 1814.30 s [opt-env-conf-test] -- | Always return True
  12834. 1814.30 s [opt-env-conf-test] --
  12835. 1814.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
  12836. 1814.30 s [opt-env-conf-test] @@ -59,9 +59,8 @@
  12837. 1814.30 s [opt-env-conf-test] --
  12838. 1814.30 s [opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
  12839. 1814.30 s [opt-env-conf-test] auto :: (Read a) => Reader a
  12840. 1814.30 s [opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
  12841. 1814.30 s [opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
  12842. 1814.30 s [opt-env-conf-test] - Just a -> Right a
  12843. 1814.30 s [opt-env-conf-test]
  12844. 1814.30 s [opt-env-conf-test] -- | Always return True
  12845. 1814.30 s [opt-env-conf-test] --
  12846. 1814.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  12847. 1814.30 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  12848. 1814.30 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12849. 1814.30 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12850. 1814.30 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  12851. 1814.30 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  12852. 1814.30 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  12853. 1814.31 s [opt-env-conf-test] goCommand = go . commandParser
  12854. 1814.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
  12855. 1814.31 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  12856. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12857. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12858. 1814.31 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  12859. 1814.31 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  12860. 1814.31 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  12861. 1814.31 s [opt-env-conf-test] goCommand = go . commandParser
  12862. 1814.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  12863. 1814.31 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  12864. 1814.31 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12865. 1814.31 s [opt-env-conf-test]
  12866. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12867. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12868. 1814.31 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  12869. 1814.31 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  12870. 1814.31 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  12871. 1814.31 s [opt-env-conf-test] goCommand = go . commandParser
  12872. 1814.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  12873. 1814.31 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  12874. 1814.31 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12875. 1814.31 s [opt-env-conf-test]
  12876. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12877. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12878. 1814.31 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  12879. 1814.31 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  12880. 1814.31 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  12881. 1814.31 s [opt-env-conf-test] goCommand = go . commandParser
  12882. 1814.31 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
  12883. 1814.31 s [opt-env-conf-test] @@ -87,7 +87,7 @@
  12884. 1814.31 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12885. 1814.31 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12886. 1814.31 s [opt-env-conf-test] (Nothing, _) -> o2
  12887. 1814.31 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  12888. 1814.31 s [opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = Nothing}
  12889. 1814.31 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12890. 1814.31 s [opt-env-conf-test]
  12891. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12892. 1814.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  12893. 1814.31 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  12894. 1814.31 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12895. 1814.31 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12896. 1814.31 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12897. 1814.31 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12898. 1814.31 s [opt-env-conf-test] - (Nothing, _) -> o2
  12899. 1814.31 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  12900. 1814.31 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12901. 1814.31 s [opt-env-conf-test]
  12902. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12903. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12904. 1814.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  12905. 1814.31 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  12906. 1814.31 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12907. 1814.31 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12908. 1814.31 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12909. 1814.31 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12910. 1814.31 s [opt-env-conf-test] (Nothing, _) -> o2
  12911. 1814.31 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  12912. 1814.31 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12913. 1814.31 s [opt-env-conf-test]
  12914. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12915. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12916. 1814.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  12917. 1814.31 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  12918. 1814.31 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12919. 1814.31 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12920. 1814.31 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12921. 1814.31 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12922. 1814.31 s [opt-env-conf-test] (Nothing, _) -> o2
  12923. 1814.31 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  12924. 1814.31 s [opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  12925. 1814.31 s [opt-env-conf-test]
  12926. 1814.31 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  12927. 1814.31 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  12928. 1818.84 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
  12929. 1818.84 s [opt-env-conf-test] @@ -82,7 +82,7 @@
  12930. 1818.84 s [opt-env-conf-test] in objectCodecNixOptions oc
  12931. 1818.84 s [opt-env-conf-test] Just rest ->
  12932. 1818.84 s [opt-env-conf-test] let m = go' rest
  12933. 1818.84 s [opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12934. 1818.84 s [opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = Nothing}
  12935. 1818.84 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12936. 1818.84 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12937. 1818.84 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12938. 1818.84 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  12939. 1818.84 s [opt-env-conf-test] @@ -72,17 +72,10 @@
  12940. 1818.84 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  12941. 1818.84 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  12942. 1818.84 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  12943. 1818.84 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  12944. 1818.84 s [opt-env-conf-test] - Nothing ->
  12945. 1818.84 s [opt-env-conf-test] - let oc =
  12946. 1818.84 s [opt-env-conf-test] - maybe
  12947. 1818.84 s [opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
  12948. 1818.84 s [opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
  12949. 1818.84 s [opt-env-conf-test] - (T.pack <$> settingHelp s)
  12950. 1818.85 s [opt-env-conf-test] - in objectCodecNixOptions oc
  12951. 1818.85 s [opt-env-conf-test] Just rest ->
  12952. 1818.85 s [opt-env-conf-test] let m = go' rest
  12953. 1818.85 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12954. 1818.85 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12955. 1818.85 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12956. 1818.85 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12957. 1818.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
  12958. 1818.85 s [opt-env-conf-test] @@ -72,17 +72,14 @@
  12959. 1818.85 s [opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
  12960. 1818.85 s [opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
  12961. 1818.85 s [opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
  12962. 1818.85 s [opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
  12963. 1818.85 s [opt-env-conf-test] Nothing ->
  12964. 1818.85 s [opt-env-conf-test] let oc =
  12965. 1818.85 s [opt-env-conf-test] maybe
  12966. 1818.85 s [opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
  12967. 1818.85 s [opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
  12968. 1818.85 s [opt-env-conf-test] (T.pack <$> settingHelp s)
  12969. 1818.85 s [opt-env-conf-test] in objectCodecNixOptions oc
  12970. 1818.85 s [opt-env-conf-test] - Just rest ->
  12971. 1818.85 s [opt-env-conf-test] - let m = go' rest
  12972. 1818.85 s [opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  12973. 1818.85 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  12974. 1818.85 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  12975. 1818.85 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  12976. 1818.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  12977. 1818.85 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  12978. 1818.85 s [opt-env-conf-test] ("# " <>)
  12979. 1818.85 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  12980. 1818.85 s [opt-env-conf-test] "This file was generated by running",
  12981. 1818.85 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  12982. 1818.85 s [opt-env-conf-test] T.unpack content
  12983. 1818.85 s [opt-env-conf-test] ]
  12984. 1818.85 s [opt-env-conf-test]
  12985. 1818.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
  12986. 1818.85 s [opt-env-conf-test] @@ -35,7 +35,6 @@
  12987. 1818.85 s [opt-env-conf-test] ("# " <>)
  12988. 1818.85 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  12989. 1818.85 s [opt-env-conf-test] "This file was generated by running",
  12990. 1818.85 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  12991. 1818.85 s [opt-env-conf-test] T.unpack content
  12992. 1818.85 s [opt-env-conf-test] ]
  12993. 1818.85 s [opt-env-conf-test]
  12994. 1818.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  12995. 1818.85 s [opt-env-conf-test] @@ -33,11 +33,7 @@
  12996. 1818.85 s [opt-env-conf-test] unlines $
  12997. 1818.86 s [opt-env-conf-test] map
  12998. 1818.86 s [opt-env-conf-test] ("# " <>)
  12999. 1818.86 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  13000. 1818.86 s [opt-env-conf-test] - "This file was generated by running",
  13001. 1818.86 s [opt-env-conf-test] - unwords [progname, "--render-nix-options"],
  13002. 1818.86 s [opt-env-conf-test] - T.unpack content
  13003. 1818.86 s [opt-env-conf-test] ]
  13004. 1818.86 s [opt-env-conf-test]
  13005. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  13006. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  13007. 1818.86 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  13008. 1818.86 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  13009. 1818.86 s [opt-env-conf-test] unlines $
  13010. 1818.86 s [opt-env-conf-test] map
  13011. 1818.86 s [opt-env-conf-test] ("# " <>)
  13012. 1818.86 s [opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
  13013. 1818.86 s [opt-env-conf-test] "This file was generated by running",
  13014. 1818.86 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  13015. 1818.86 s [opt-env-conf-test] T.unpack content
  13016. 1818.86 s [opt-env-conf-test] ]
  13017. 1818.86 s [opt-env-conf-test]
  13018. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  13019. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  13020. 1818.86 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
  13021. 1818.86 s [opt-env-conf-test] @@ -33,11 +33,10 @@
  13022. 1818.86 s [opt-env-conf-test] unlines $
  13023. 1818.86 s [opt-env-conf-test] map
  13024. 1818.86 s [opt-env-conf-test] ("# " <>)
  13025. 1818.86 s [opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
  13026. 1818.86 s [opt-env-conf-test] "This file was generated by running",
  13027. 1818.86 s [opt-env-conf-test] unwords [progname, "--render-nix-options"],
  13028. 1818.86 s [opt-env-conf-test] - T.unpack content
  13029. 1818.86 s [opt-env-conf-test] ]
  13030. 1818.86 s [opt-env-conf-test]
  13031. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
  13032. 1818.86 s [opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
  13033. 1818.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  13034. 1818.86 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  13035. 1818.86 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  13036. 1818.86 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  13037. 1818.86 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  13038. 1818.86 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  13039. 1818.86 s [opt-env-conf-test] - Left a -> f a
  13040. 1818.86 s [opt-env-conf-test] Right b -> b
  13041. 1818.86 s [opt-env-conf-test]
  13042. 1818.86 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  13043. 1818.86 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  13044. 1818.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:81:46-17
  13045. 1818.86 s [opt-env-conf-test] @@ -78,9 +78,8 @@
  13046. 1818.86 s [opt-env-conf-test] -- We could chose to skip the failures here if the first argument was a
  13047. 1818.86 s [opt-env-conf-test] -- Right, but we'd prefer to see as many errors as possible.
  13048. 1818.86 s [opt-env-conf-test] select (Success _) (Failure ne) = Failure ne
  13049. 1818.86 s [opt-env-conf-test] select (Success e) (Success f) = Success $ case e of
  13050. 1818.86 s [opt-env-conf-test] Left a -> f a
  13051. 1818.86 s [opt-env-conf-test] - Right b -> b
  13052. 1818.86 s [opt-env-conf-test]
  13053. 1818.86 s [opt-env-conf-test] validationFailure :: e -> Validation e a
  13054. 1818.86 s [opt-env-conf-test] validationFailure e = Failure (e :| [])
  13055. 1818.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  13056. 1818.86 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  13057. 1818.86 s [opt-env-conf-test]
  13058. 1818.86 s [opt-env-conf-test] instance Applicative (Validation e) where
  13059. 1818.86 s [opt-env-conf-test] pure = Success
  13060. 1818.87 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  13061. 1818.87 s [opt-env-conf-test] - Failure e2 -> e1 `NE.append` e2
  13062. 1818.87 s [opt-env-conf-test] Success _ -> e1
  13063. 1818.87 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  13064. 1818.87 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  13065. 1818.87 s [opt-env-conf-test]
  13066. 1818.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Validation.hs:69:32-20
  13067. 1818.87 s [opt-env-conf-test] @@ -66,9 +66,8 @@
  13068. 1818.87 s [opt-env-conf-test]
  13069. 1818.87 s [opt-env-conf-test] instance Applicative (Validation e) where
  13070. 1818.87 s [opt-env-conf-test] pure = Success
  13071. 1818.87 s [opt-env-conf-test] Failure e1 <*> b = Failure $ case b of
  13072. 1818.87 s [opt-env-conf-test] Failure e2 -> e1 `NE.append` e2
  13073. 1818.87 s [opt-env-conf-test] - Success _ -> e1
  13074. 1818.87 s [opt-env-conf-test] Success _ <*> Failure e2 = Failure e2
  13075. 1818.87 s [opt-env-conf-test] Success f <*> Success a = Success (f a)
  13076. 1818.87 s [opt-env-conf-test]
  13077. 1818.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  13078. 1818.87 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  13079. 1818.87 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  13080. 1818.87 s [opt-env-conf-test]
  13081. 1818.87 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  13082. 1818.87 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  13083. 1818.87 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  13084. 1818.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  13085. 1818.87 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  13086. 1818.87 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  13087. 1818.87 s [opt-env-conf-test]
  13088. 1818.87 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  13089. 1818.87 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  13090. 1818.87 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  13091. 1818.87 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:123:18-51
  13092. 1818.87 s [opt-env-conf-test] @@ -120,5 +120,4 @@
  13093. 1818.87 s [opt-env-conf-test] parenthesise cs = fore cyan "(" : cs ++ [fore cyan ")"]
  13094. 1818.87 s [opt-env-conf-test]
  13095. 1818.87 s [opt-env-conf-test] bracketise :: [Chunk] -> [Chunk]
  13096. 1818.87 s [opt-env-conf-test] -bracketise [c] = [fore cyan "[", c, fore cyan "]"]
  13097. 1818.87 s [opt-env-conf-test] bracketise cs = fore cyan "[" : cs ++ [fore cyan "]"]
  13098. 1818.87 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Output.hs:112:34-39
  13099. 1818.87 s [opt-env-conf-test] @@ -109,7 +109,7 @@
  13100. 1818.87 s [opt-env-conf-test] cleanPackage pkg =
  13101. 1818.87 s [opt-env-conf-test] T.unpack $
  13102. 1818.87 s [opt-env-conf-test] T.intercalate "-" $
  13103. 1818.87 s [opt-env-conf-test] - takeWhile (not . maybe False (Char.isDigit . fst) . T.uncons) $
  13104. 1818.87 s [opt-env-conf-test] + takeWhile (not . maybe True (Char.isDigit . fst) . T.uncons) $
  13105. 1818.87 s [opt-env-conf-test] T.splitOn "-" (T.pack pkg)
  13106. 1818.87 s [opt-env-conf-test]
  13107. 1818.87 s [opt-env-conf-test] indent :: [[Chunk]] -> [[Chunk]]
  13108. 1818.87 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  13109. 1818.87 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  13110. 1818.87 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  13111. 1818.87 s [opt-env-conf-test]
  13112. 1828.53 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  13113. 1828.53 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  13114. 1828.55 s [opt-env-conf-test] - [] -> []
  13115. 1828.55 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  13116. 1828.55 s [opt-env-conf-test]
  13117. 1828.55 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  13118. 1828.55 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  13119. 1828.55 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  13120. 1828.55 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  13121. 1828.55 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  13122. 1828.55 s [opt-env-conf-test]
  13123. 1828.55 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  13124. 1828.55 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  13125. 1828.56 s [opt-env-conf-test] [] -> []
  13126. 1828.56 s [opt-env-conf-test] - cs -> intersperse ", " (map capabilityChunk cs)
  13127. 1828.56 s [opt-env-conf-test]
  13128. 1828.56 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  13129. 1828.56 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  13130. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  13131. 1828.56 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  13132. 1828.56 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  13133. 1828.56 s [opt-env-conf-test]
  13134. 1828.56 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  13135. 1828.56 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  13136. 1828.56 s [opt-env-conf-test]
  13137. 1828.56 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  13138. 1828.56 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  13139. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:81:18-44
  13140. 1828.56 s [opt-env-conf-test] @@ -78,7 +78,6 @@
  13141. 1828.56 s [opt-env-conf-test] helpChunk = fore blue . chunk . T.pack
  13142. 1828.56 s [opt-env-conf-test]
  13143. 1828.56 s [opt-env-conf-test] headerChunks :: Text -> [Chunk]
  13144. 1828.56 s [opt-env-conf-test] -headerChunks t = [fore cyan (chunk t), ":"]
  13145. 1828.56 s [opt-env-conf-test]
  13146. 1828.56 s [opt-env-conf-test] syntaxChunk :: String -> Chunk
  13147. 1828.56 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  13148. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  13149. 1828.56 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  13150. 1828.56 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13151. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13152. 1828.56 s [opt-env-conf-test] [] -> []
  13153. 1828.56 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13154. 1828.56 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13155. 1828.56 s [opt-env-conf-test]
  13156. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13157. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:71:12-59
  13158. 1828.56 s [opt-env-conf-test] @@ -68,7 +68,6 @@
  13159. 1828.56 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13160. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13161. 1828.56 s [opt-env-conf-test] [] -> []
  13162. 1828.56 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13163. 1828.56 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13164. 1828.56 s [opt-env-conf-test]
  13165. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13166. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  13167. 1828.56 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  13168. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13169. 1828.56 s [opt-env-conf-test] [] -> []
  13170. 1828.56 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13171. 1828.56 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13172. 1828.56 s [opt-env-conf-test]
  13173. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13174. 1828.56 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  13175. 1828.56 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:72:8-91
  13176. 1828.56 s [opt-env-conf-test] @@ -69,7 +69,6 @@
  13177. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13178. 1828.56 s [opt-env-conf-test] [] -> []
  13179. 1828.56 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13180. 1828.56 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13181. 1828.56 s [opt-env-conf-test]
  13182. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13183. 1828.56 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  13184. 1828.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  13185. 1828.56 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  13186. 1828.56 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  13187. 1828.56 s [opt-env-conf-test]
  13188. 1828.56 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13189. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13190. 1828.56 s [opt-env-conf-test] - [] -> []
  13191. 1828.56 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13192. 1828.56 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13193. 1828.56 s [opt-env-conf-test]
  13194. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13195. 1828.56 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  13196. 1828.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  13197. 1828.56 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  13198. 1828.56 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  13199. 1828.56 s [opt-env-conf-test]
  13200. 1828.56 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13201. 1828.56 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13202. 1828.56 s [opt-env-conf-test] [] -> []
  13203. 1828.56 s [opt-env-conf-test] - [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13204. 1828.56 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13205. 1828.56 s [opt-env-conf-test]
  13206. 1828.56 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13207. 1828.56 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  13208. 1828.56 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  13209. 1828.56 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  13210. 1828.56 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  13211. 1828.56 s [opt-env-conf-test]
  13212. 1828.56 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13213. 1828.57 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13214. 1828.57 s [opt-env-conf-test] [] -> []
  13215. 1828.57 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  13216. 1828.57 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  13217. 1828.57 s [opt-env-conf-test]
  13218. 1828.57 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  13219. 1828.57 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  13220. 1828.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  13221. 1828.57 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  13222. 1828.57 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  13223. 1828.57 s [opt-env-conf-test]
  13224. 1828.57 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  13225. 1828.57 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  13226. 1828.57 s [opt-env-conf-test]
  13227. 1828.57 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13228. 1828.57 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13229. 1828.57 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Output.hs:66:26-73
  13230. 1828.57 s [opt-env-conf-test] @@ -63,7 +63,6 @@
  13231. 1828.57 s [opt-env-conf-test] confValChunk = fore white . chunk . T.pack . intercalate "." . NE.toList
  13232. 1828.57 s [opt-env-conf-test]
  13233. 1828.57 s [opt-env-conf-test] defaultValueChunks :: String -> [Chunk]
  13234. 1828.57 s [opt-env-conf-test] -defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  13235. 1828.57 s [opt-env-conf-test]
  13236. 1828.57 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  13237. 1828.57 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  13238. 1828.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  13239. 1828.57 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  13240. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13241. 1828.57 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13242. 1828.57 s [opt-env-conf-test] applyComponent d ".." = parent d
  13243. 1828.57 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  13244. 1828.57 s [opt-env-conf-test] - Nothing -> d
  13245. 1828.57 s [opt-env-conf-test] Just rd -> d </> rd
  13246. 1828.57 s [opt-env-conf-test]
  13247. 1828.57 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  13248. 1828.57 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  13249. 1828.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
  13250. 1828.57 s [opt-env-conf-test] @@ -269,9 +269,8 @@
  13251. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13252. 1828.57 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13253. 1828.57 s [opt-env-conf-test] applyComponent d ".." = parent d
  13254. 1828.57 s [opt-env-conf-test] applyComponent d c = case parseRelDir c of
  13255. 1828.57 s [opt-env-conf-test] Nothing -> d
  13256. 1828.57 s [opt-env-conf-test] - Just rd -> d </> rd
  13257. 1828.57 s [opt-env-conf-test]
  13258. 1828.57 s [opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
  13259. 1828.57 s [opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
  13260. 1828.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:27-35
  13261. 1828.57 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13262. 1828.57 s [opt-env-conf-test] splitOnSlash s =
  13263. 1828.57 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13264. 1828.57 s [opt-env-conf-test] in case rest of
  13265. 1828.57 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13266. 1828.57 s [opt-env-conf-test] + [] -> [seg | not (True)]
  13267. 1828.57 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13268. 1828.57 s [opt-env-conf-test]
  13269. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13270. 1828.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:27-35
  13271. 1828.57 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13272. 1828.57 s [opt-env-conf-test] splitOnSlash s =
  13273. 1828.57 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13274. 1828.57 s [opt-env-conf-test] in case rest of
  13275. 1828.57 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13276. 1828.57 s [opt-env-conf-test] + [] -> [seg | not (not (null seg))]
  13277. 1828.57 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13278. 1828.57 s [opt-env-conf-test]
  13279. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13280. 1828.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:26-36
  13281. 1828.57 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13282. 1828.57 s [opt-env-conf-test] splitOnSlash s =
  13283. 1828.57 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13284. 1828.57 s [opt-env-conf-test] in case rest of
  13285. 1828.57 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13286. 1828.57 s [opt-env-conf-test] + [] -> [seg | not True]
  13287. 1828.57 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13288. 1828.57 s [opt-env-conf-test]
  13289. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13290. 1828.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:26-36
  13291. 1828.57 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13292. 1828.57 s [opt-env-conf-test] splitOnSlash s =
  13293. 1828.57 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13294. 1828.57 s [opt-env-conf-test] in case rest of
  13295. 1828.57 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13296. 1828.57 s [opt-env-conf-test] + [] -> [seg | not not ((null seg))]
  13297. 1828.57 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13298. 1828.57 s [opt-env-conf-test]
  13299. 1828.57 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13300. 1828.57 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:266:22-36
  13301. 1828.57 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13302. 1835.59 s [opt-env-conf-test] splitOnSlash s =
  13303. 1835.59 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13304. 1835.59 s [opt-env-conf-test] in case rest of
  13305. 1835.61 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13306. 1835.62 s [opt-env-conf-test] + [] -> [seg | True]
  13307. 1835.62 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13308. 1835.62 s [opt-env-conf-test]
  13309. 1835.62 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13310. 1835.62 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:266:22-36
  13311. 1835.62 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  13312. 1835.62 s [opt-env-conf-test] splitOnSlash s =
  13313. 1835.62 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13314. 1835.62 s [opt-env-conf-test] in case rest of
  13315. 1835.62 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13316. 1835.62 s [opt-env-conf-test] + [] -> [seg | not (not (null seg))]
  13317. 1835.62 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13318. 1835.62 s [opt-env-conf-test]
  13319. 1835.62 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13320. 1835.62 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
  13321. 1835.62 s [opt-env-conf-test] @@ -263,7 +263,6 @@
  13322. 1835.62 s [opt-env-conf-test] splitOnSlash s =
  13323. 1835.62 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13324. 1835.62 s [opt-env-conf-test] in case rest of
  13325. 1835.62 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13326. 1835.62 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13327. 1835.62 s [opt-env-conf-test]
  13328. 1835.62 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13329. 1835.62 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:34-42
  13330. 1835.62 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13331. 1835.62 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13332. 1835.62 s [opt-env-conf-test] in case rest of
  13333. 1835.62 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13334. 1835.62 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13335. 1835.62 s [opt-env-conf-test] + _ : rest' -> [seg | not (True)] <> splitOnSlash rest'
  13336. 1835.62 s [opt-env-conf-test]
  13337. 1835.62 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13338. 1835.62 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13339. 1835.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:34-42
  13340. 1835.63 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13341. 1835.63 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13342. 1835.63 s [opt-env-conf-test] in case rest of
  13343. 1835.63 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13344. 1835.63 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13345. 1835.63 s [opt-env-conf-test] + _ : rest' -> [seg | not (not (null seg))] <> splitOnSlash rest'
  13346. 1835.63 s [opt-env-conf-test]
  13347. 1835.63 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13348. 1835.63 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13349. 1835.63 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:33-43
  13350. 1835.63 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13351. 1835.63 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13352. 1835.63 s [opt-env-conf-test] in case rest of
  13353. 1835.63 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13354. 1835.63 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13355. 1835.63 s [opt-env-conf-test] + _ : rest' -> [seg | not not ((null seg))] <> splitOnSlash rest'
  13356. 1835.63 s [opt-env-conf-test]
  13357. 1835.63 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13358. 1835.63 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13359. 1835.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:33-43
  13360. 1835.64 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13361. 1835.64 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13362. 1835.64 s [opt-env-conf-test] in case rest of
  13363. 1835.64 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13364. 1835.64 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13365. 1835.64 s [opt-env-conf-test] + _ : rest' -> [seg | not True] <> splitOnSlash rest'
  13366. 1835.64 s [opt-env-conf-test]
  13367. 1835.64 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13368. 1835.64 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13369. 1835.64 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:267:29-43
  13370. 1835.64 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13371. 1835.64 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13372. 1835.64 s [opt-env-conf-test] in case rest of
  13373. 1835.64 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13374. 1835.64 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13375. 1835.64 s [opt-env-conf-test] + _ : rest' -> [seg | True] <> splitOnSlash rest'
  13376. 1835.64 s [opt-env-conf-test]
  13377. 1835.64 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13378. 1835.64 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13379. 1835.65 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:267:29-43
  13380. 1835.65 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  13381. 1835.65 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13382. 1835.65 s [opt-env-conf-test] in case rest of
  13383. 1835.65 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13384. 1835.65 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13385. 1835.65 s [opt-env-conf-test] + _ : rest' -> [seg | not (not (null seg))] <> splitOnSlash rest'
  13386. 1835.65 s [opt-env-conf-test]
  13387. 1835.65 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13388. 1835.65 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13389. 1835.65 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
  13390. 1835.65 s [opt-env-conf-test] @@ -264,7 +264,6 @@
  13391. 1835.65 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13392. 1835.65 s [opt-env-conf-test] in case rest of
  13393. 1835.65 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13394. 1835.65 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13395. 1835.65 s [opt-env-conf-test]
  13396. 1835.65 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13397. 1835.65 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13398. 1835.65 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  13399. 1835.65 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  13400. 1835.65 s [opt-env-conf-test] splitOnSlash [] = []
  13401. 1835.65 s [opt-env-conf-test] splitOnSlash s =
  13402. 1835.66 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13403. 1835.66 s [opt-env-conf-test] in case rest of
  13404. 1835.66 s [opt-env-conf-test] - [] -> [seg | not (null seg)]
  13405. 1835.66 s [opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13406. 1835.66 s [opt-env-conf-test]
  13407. 1835.66 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13408. 1835.66 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13409. 1835.66 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:265:7-66
  13410. 1835.66 s [opt-env-conf-test] @@ -262,9 +262,8 @@
  13411. 1835.66 s [opt-env-conf-test] splitOnSlash [] = []
  13412. 1835.66 s [opt-env-conf-test] splitOnSlash s =
  13413. 1835.66 s [opt-env-conf-test] let (seg, rest) = break (== '/') s
  13414. 1835.66 s [opt-env-conf-test] in case rest of
  13415. 1835.66 s [opt-env-conf-test] [] -> [seg | not (null seg)]
  13416. 1835.66 s [opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
  13417. 1835.66 s [opt-env-conf-test]
  13418. 1835.66 s [opt-env-conf-test] -- | Apply a single path component to an absolute directory.
  13419. 1835.66 s [opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
  13420. 1835.67 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:243:66-75
  13421. 1835.67 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  13422. 1835.67 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  13423. 1835.67 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13424. 1835.67 s [opt-env-conf-test] -- Find the index after the last "../" component
  13425. 1835.67 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13426. 1835.67 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, True] of
  13427. 1835.67 s [opt-env-conf-test] [] -> 0
  13428. 1835.67 s [opt-env-conf-test] ixs -> maximum ixs
  13429. 1835.67 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13430. 1835.67 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:243:66-75
  13431. 1835.67 s [opt-env-conf-test] @@ -240,7 +240,7 @@
  13432. 1835.67 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  13433. 1835.67 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13434. 1835.67 s [opt-env-conf-test] -- Find the index after the last "../" component
  13435. 1835.67 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13436. 1835.67 s [opt-env-conf-test] + lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, not (c == "..")] of
  13437. 1835.67 s [opt-env-conf-test] [] -> 0
  13438. 1835.67 s [opt-env-conf-test] ixs -> maximum ixs
  13439. 1835.68 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13440. 1835.68 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completer.hs:243:28-76
  13441. 1835.68 s [opt-env-conf-test] @@ -240,7 +240,6 @@
  13442. 1835.68 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  13443. 1835.68 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13444. 1835.68 s [opt-env-conf-test] -- Find the index after the last "../" component
  13445. 1835.68 s [opt-env-conf-test] - lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13446. 1835.68 s [opt-env-conf-test] [] -> 0
  13447. 1835.68 s [opt-env-conf-test] ixs -> maximum ixs
  13448. 1835.68 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13449. 1835.68 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:244:15-16
  13450. 1835.68 s [opt-env-conf-test] @@ -241,7 +241,7 @@
  13451. 1835.68 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13452. 1835.68 s [opt-env-conf-test] -- Find the index after the last "../" component
  13453. 1835.68 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13454. 1835.68 s [opt-env-conf-test] - [] -> 0
  13455. 1835.68 s [opt-env-conf-test] + [] -> 1
  13456. 1835.68 s [opt-env-conf-test] ixs -> maximum ixs
  13457. 1835.68 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13458. 1835.68 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13459. 1835.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  13460. 1843.34 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  13461. 1843.34 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  13462. 1843.34 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13463. 1843.36 s [opt-env-conf-test] -- Find the index after the last "../" component
  13464. 1843.36 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13465. 1843.36 s [opt-env-conf-test] - [] -> 0
  13466. 1843.36 s [opt-env-conf-test] ixs -> maximum ixs
  13467. 1843.36 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13468. 1843.36 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13469. 1843.36 s [opt-env-conf-test] else
  13470. 1843.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:243:23-27
  13471. 1843.37 s [opt-env-conf-test] @@ -240,9 +240,8 @@
  13472. 1843.37 s [opt-env-conf-test] let (curDirPrefix, afterCurDir) = stripCurDir fp'
  13473. 1843.37 s [opt-env-conf-test] components = splitOnSlash afterCurDir
  13474. 1843.37 s [opt-env-conf-test] -- Find the index after the last "../" component
  13475. 1843.37 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13476. 1843.37 s [opt-env-conf-test] [] -> 0
  13477. 1843.37 s [opt-env-conf-test] - ixs -> maximum ixs
  13478. 1843.37 s [opt-env-conf-test] in if lastDotDotIdx == 0
  13479. 1843.37 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13480. 1843.37 s [opt-env-conf-test] else
  13481. 1843.37 s [opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completer.hs:246:27-28
  13482. 1843.37 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  13483. 1843.37 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13484. 1843.37 s [opt-env-conf-test] [] -> 0
  13485. 1843.37 s [opt-env-conf-test] ixs -> maximum ixs
  13486. 1843.37 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  13487. 1843.37 s [opt-env-conf-test] + in if lastDotDotIdx == 1
  13488. 1843.37 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13489. 1843.37 s [opt-env-conf-test] else
  13490. 1843.37 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  13491. 1843.37 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  13492. 1843.37 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  13493. 1843.37 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13494. 1843.37 s [opt-env-conf-test] [] -> 0
  13495. 1843.37 s [opt-env-conf-test] ixs -> maximum ixs
  13496. 1843.37 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  13497. 1843.38 s [opt-env-conf-test] + in if True
  13498. 1843.38 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13499. 1843.38 s [opt-env-conf-test] else
  13500. 1843.38 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  13501. 1843.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:246:10-28
  13502. 1843.38 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  13503. 1843.38 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13504. 1843.38 s [opt-env-conf-test] [] -> 0
  13505. 1843.38 s [opt-env-conf-test] ixs -> maximum ixs
  13506. 1843.38 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  13507. 1843.38 s [opt-env-conf-test] + in if False
  13508. 1843.38 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13509. 1843.38 s [opt-env-conf-test] else
  13510. 1843.38 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  13511. 1843.38 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:246:10-28
  13512. 1843.38 s [opt-env-conf-test] @@ -243,7 +243,7 @@
  13513. 1843.38 s [opt-env-conf-test] lastDotDotIdx = case [i | (i, c) <- zip [1 ..] components, c == ".."] of
  13514. 1843.38 s [opt-env-conf-test] [] -> 0
  13515. 1843.38 s [opt-env-conf-test] ixs -> maximum ixs
  13516. 1843.38 s [opt-env-conf-test] - in if lastDotDotIdx == 0
  13517. 1843.38 s [opt-env-conf-test] + in if not (lastDotDotIdx == 0)
  13518. 1843.38 s [opt-env-conf-test] then (curDirPrefix, afterCurDir, here)
  13519. 1843.38 s [opt-env-conf-test] else
  13520. 1843.38 s [opt-env-conf-test] let prefixComponents = take lastDotDotIdx components
  13521. 1843.38 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:19-47
  13522. 1843.38 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13523. 1843.38 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13524. 1843.39 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13525. 1843.39 s [opt-env-conf-test] trailingSlash
  13526. 1843.39 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13527. 1843.39 s [opt-env-conf-test] + | True, not (null remainderComponents) = "/"
  13528. 1843.39 s [opt-env-conf-test] | otherwise = ""
  13529. 1843.39 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13530. 1843.39 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13531. 1843.39 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:19-47
  13532. 1843.39 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13533. 1843.39 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13534. 1843.39 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13535. 1843.39 s [opt-env-conf-test] trailingSlash
  13536. 1843.39 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13537. 1843.39 s [opt-env-conf-test] + | not ("/" `isSuffixOf` afterCurDir), not (null remainderComponents) = "/"
  13538. 1843.39 s [opt-env-conf-test] | otherwise = ""
  13539. 1843.39 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13540. 1843.39 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13541. 1843.39 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:54-78
  13542. 1843.39 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13543. 1843.39 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13544. 1843.39 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13545. 1843.39 s [opt-env-conf-test] trailingSlash
  13546. 1843.39 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13547. 1843.39 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (True) = "/"
  13548. 1843.39 s [opt-env-conf-test] | otherwise = ""
  13549. 1843.39 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13550. 1843.39 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13551. 1843.39 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:54-78
  13552. 1843.39 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13553. 1843.39 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13554. 1843.39 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13555. 1843.40 s [opt-env-conf-test] trailingSlash
  13556. 1843.40 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13557. 1843.40 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not (null remainderComponents)) = "/"
  13558. 1843.40 s [opt-env-conf-test] | otherwise = ""
  13559. 1843.40 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13560. 1843.40 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13561. 1843.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:53-79
  13562. 1843.40 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13563. 1843.40 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13564. 1843.40 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13565. 1843.40 s [opt-env-conf-test] trailingSlash
  13566. 1843.40 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13567. 1843.40 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not True = "/"
  13568. 1843.40 s [opt-env-conf-test] | otherwise = ""
  13569. 1843.40 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13570. 1843.40 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13571. 1843.40 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:53-79
  13572. 1843.40 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13573. 1843.40 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13574. 1843.40 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13575. 1843.40 s [opt-env-conf-test] trailingSlash
  13576. 1843.40 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13577. 1843.40 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not not ((null remainderComponents)) = "/"
  13578. 1843.40 s [opt-env-conf-test] | otherwise = ""
  13579. 1843.40 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13580. 1843.40 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13581. 1843.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:254:49-79
  13582. 1843.40 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13583. 1843.40 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13584. 1843.40 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13585. 1843.40 s [opt-env-conf-test] trailingSlash
  13586. 1843.40 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13587. 1849.87 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, True = "/"
  13588. 1849.90 s [opt-env-conf-test] | otherwise = ""
  13589. 1849.90 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13590. 1849.90 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13591. 1849.90 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:254:49-79
  13592. 1849.90 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  13593. 1849.90 s [opt-env-conf-test] prefix = curDirPrefix <> concatMap (<> "/") prefixComponents
  13594. 1849.90 s [opt-env-conf-test] -- Preserve trailing slash from the original input
  13595. 1849.90 s [opt-env-conf-test] trailingSlash
  13596. 1849.90 s [opt-env-conf-test] - | "/" `isSuffixOf` afterCurDir, not (null remainderComponents) = "/"
  13597. 1849.90 s [opt-env-conf-test] + | "/" `isSuffixOf` afterCurDir, not (not (null remainderComponents)) = "/"
  13598. 1849.90 s [opt-env-conf-test] | otherwise = ""
  13599. 1849.90 s [opt-env-conf-test] remainder = intercalate "/" remainderComponents <> trailingSlash
  13600. 1849.90 s [opt-env-conf-test] baseDir = foldl' applyComponent here prefixComponents
  13601. 1849.90 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:215:16-20
  13602. 1849.90 s [opt-env-conf-test] @@ -212,7 +212,7 @@
  13603. 1849.90 s [opt-env-conf-test]
  13604. 1849.90 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13605. 1849.91 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  13606. 1849.91 s [opt-env-conf-test] - ('.' : _) -> True
  13607. 1849.91 s [opt-env-conf-test] + ('.' : _) -> False
  13608. 1849.91 s [opt-env-conf-test] _ -> False
  13609. 1849.91 s [opt-env-conf-test]
  13610. 1849.91 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13611. 1849.91 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:216:8-13
  13612. 1849.91 s [opt-env-conf-test] @@ -213,7 +213,7 @@
  13613. 1849.91 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13614. 1849.91 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  13615. 1849.91 s [opt-env-conf-test] ('.' : _) -> True
  13616. 1849.91 s [opt-env-conf-test] - _ -> False
  13617. 1849.91 s [opt-env-conf-test] + _ -> True
  13618. 1849.91 s [opt-env-conf-test]
  13619. 1849.91 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13620. 1849.91 s [opt-env-conf-test] stripCurDir = \case
  13621. 1849.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  13622. 1849.91 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  13623. 1849.91 s [opt-env-conf-test] }
  13624. 1849.91 s [opt-env-conf-test]
  13625. 1849.91 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13626. 1849.91 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  13627. 1849.91 s [opt-env-conf-test] +hiddenRel p = True= case toFilePath p of
  13628. 1849.91 s [opt-env-conf-test] ('.' : _) -> True
  13629. 1849.91 s [opt-env-conf-test] _ -> False
  13630. 1849.91 s [opt-env-conf-test]
  13631. 1849.91 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13632. 1849.91 s [opt-env-conf-test] stripCurDir = \case
  13633. 1849.91 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:214:15-13
  13634. 1849.91 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  13635. 1849.92 s [opt-env-conf-test] }
  13636. 1849.92 s [opt-env-conf-test]
  13637. 1849.92 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13638. 1849.92 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  13639. 1849.92 s [opt-env-conf-test] +hiddenRel p = False= case toFilePath p of
  13640. 1849.92 s [opt-env-conf-test] ('.' : _) -> True
  13641. 1849.92 s [opt-env-conf-test] _ -> False
  13642. 1849.92 s [opt-env-conf-test]
  13643. 1849.92 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13644. 1849.92 s [opt-env-conf-test] stripCurDir = \case
  13645. 1849.92 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:214:15-13
  13646. 1849.92 s [opt-env-conf-test] @@ -211,9 +211,9 @@
  13647. 1849.92 s [opt-env-conf-test] }
  13648. 1849.92 s [opt-env-conf-test]
  13649. 1849.92 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13650. 1849.92 s [opt-env-conf-test] -hiddenRel p = case toFilePath p of
  13651. 1849.92 s [opt-env-conf-test] +hiddenRel p = not (case toFilePath p of
  13652. 1849.92 s [opt-env-conf-test] ('.' : _) -> True
  13653. 1849.92 s [opt-env-conf-test] - _ -> False
  13654. 1849.92 s [opt-env-conf-test] + _ -> False)
  13655. 1849.92 s [opt-env-conf-test]
  13656. 1849.92 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13657. 1849.92 s [opt-env-conf-test] stripCurDir = \case
  13658. 1849.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  13659. 1849.92 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  13660. 1849.92 s [opt-env-conf-test] }
  13661. 1849.92 s [opt-env-conf-test]
  13662. 1849.92 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13663. 1849.92 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  13664. 1849.92 s [opt-env-conf-test] - ('.' : _) -> True
  13665. 1849.92 s [opt-env-conf-test] _ -> False
  13666. 1849.93 s [opt-env-conf-test]
  13667. 1849.93 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13668. 1849.93 s [opt-env-conf-test] stripCurDir = \case
  13669. 1849.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:214:15-13
  13670. 1849.93 s [opt-env-conf-test] @@ -211,9 +211,8 @@
  13671. 1849.93 s [opt-env-conf-test] }
  13672. 1849.93 s [opt-env-conf-test]
  13673. 1849.93 s [opt-env-conf-test] hiddenRel :: Path Rel f -> Bool
  13674. 1849.93 s [opt-env-conf-test] hiddenRel p = case toFilePath p of
  13675. 1849.93 s [opt-env-conf-test] ('.' : _) -> True
  13676. 1849.93 s [opt-env-conf-test] - _ -> False
  13677. 1849.93 s [opt-env-conf-test]
  13678. 1849.93 s [opt-env-conf-test] stripCurDir :: FilePath -> (FilePath, FilePath)
  13679. 1849.93 s [opt-env-conf-test] stripCurDir = \case
  13680. 1849.93 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  13681. 1849.93 s [opt-env-conf-test] @@ -155,11 +155,8 @@
  13682. 1849.93 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  13683. 1849.93 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13684. 1849.93 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  13685. 1849.93 s [opt-env-conf-test] Nothing -> case fp of
  13686. 1849.93 s [opt-env-conf-test] - [] -> do
  13687. 1849.94 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  13688. 1849.94 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  13689. 1849.94 s [opt-env-conf-test] _ -> pure []
  13690. 1849.94 s [opt-env-conf-test] Just (Abs ad) -> do
  13691. 1849.94 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13692. 1849.94 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  13693. 1849.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  13694. 1849.94 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  13695. 1849.94 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  13696. 1849.94 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13697. 1849.94 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  13698. 1849.94 s [opt-env-conf-test] Nothing -> case fp of
  13699. 1849.94 s [opt-env-conf-test] [] -> do
  13700. 1849.94 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13701. 1849.94 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  13702. 1849.94 s [opt-env-conf-test] - _ -> pure []
  13703. 1849.94 s [opt-env-conf-test] Just (Abs ad) -> do
  13704. 1849.94 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13705. 1849.94 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  13706. 1849.94 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  13707. 1849.94 s [opt-env-conf-test] @@ -154,19 +154,14 @@
  13708. 1849.94 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  13709. 1849.95 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  13710. 1849.95 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13711. 1849.95 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  13712. 1849.95 s [opt-env-conf-test] - Nothing -> case fp of
  13713. 1849.95 s [opt-env-conf-test] - [] -> do
  13714. 1849.95 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  13715. 1849.95 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  13716. 1849.95 s [opt-env-conf-test] - _ -> pure []
  13717. 1849.95 s [opt-env-conf-test] Just (Abs ad) -> do
  13718. 1849.95 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13719. 1849.95 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  13720. 1849.95 s [opt-env-conf-test] Just (Rel rd) -> do
  13721. 1849.95 s [opt-env-conf-test] let ad = baseDir </> rd
  13722. 1849.95 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13723. 1849.95 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13724. 1849.95 s [opt-env-conf-test]
  13725. 1849.95 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13726. 1849.95 s [opt-env-conf-test] Nothing -> pure []
  13727. 1849.95 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  13728. 1849.95 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  13729. 1849.95 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  13730. 1849.95 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  13731. 1849.95 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13732. 1849.96 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  13733. 1849.96 s [opt-env-conf-test] Nothing -> case fp of
  13734. 1849.96 s [opt-env-conf-test] [] -> do
  13735. 1849.96 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13736. 1849.96 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  13737. 1849.96 s [opt-env-conf-test] _ -> pure []
  13738. 1849.96 s [opt-env-conf-test] - Just (Abs ad) -> do
  13739. 1849.96 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  13740. 1849.96 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  13741. 1849.96 s [opt-env-conf-test] Just (Rel rd) -> do
  13742. 1849.96 s [opt-env-conf-test] let ad = baseDir </> rd
  13743. 1849.96 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13744. 1849.96 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13745. 1849.96 s [opt-env-conf-test]
  13746. 1849.96 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13747. 1849.96 s [opt-env-conf-test] Nothing -> pure []
  13748. 1849.96 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  13749. 1849.96 s [opt-env-conf-test] @@ -154,19 +154,15 @@
  13750. 1849.96 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  13751. 1849.96 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  13752. 1849.96 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13753. 1849.96 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  13754. 1849.96 s [opt-env-conf-test] Nothing -> case fp of
  13755. 1849.96 s [opt-env-conf-test] [] -> do
  13756. 1849.96 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13757. 1849.96 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  13758. 1849.97 s [opt-env-conf-test] _ -> pure []
  13759. 1849.97 s [opt-env-conf-test] Just (Abs ad) -> do
  13760. 1849.97 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13761. 1849.97 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  13762. 1849.97 s [opt-env-conf-test] - Just (Rel rd) -> do
  13763. 1849.97 s [opt-env-conf-test] - let ad = baseDir </> rd
  13764. 1849.97 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  13765. 1849.97 s [opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13766. 1849.97 s [opt-env-conf-test]
  13767. 1849.97 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13768. 1849.97 s [opt-env-conf-test] Nothing -> pure []
  13769. 1849.97 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  13770. 1849.97 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  13771. 1849.97 s [opt-env-conf-test] Nothing -> pure []
  13772. 1849.97 s [opt-env-conf-test] Just (Abs af) -> do
  13773. 1849.97 s [opt-env-conf-test] let dir = parent af
  13774. 1849.97 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13775. 1856.38 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  13776. 1856.40 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13777. 1856.40 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13778. 1856.40 s [opt-env-conf-test] Just (Rel rf) ->
  13779. 1856.40 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:175:31-53
  13780. 1856.40 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  13781. 1856.40 s [opt-env-conf-test] Nothing -> pure []
  13782. 1856.40 s [opt-env-conf-test] Just (Abs af) -> do
  13783. 1856.40 s [opt-env-conf-test] let dir = parent af
  13784. 1856.40 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13785. 1856.40 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  13786. 1856.40 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13787. 1856.40 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13788. 1856.41 s [opt-env-conf-test] Just (Rel rf) ->
  13789. 1856.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:175:31-53
  13790. 1856.41 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  13791. 1856.41 s [opt-env-conf-test] Nothing -> pure []
  13792. 1856.41 s [opt-env-conf-test] Just (Abs af) -> do
  13793. 1856.41 s [opt-env-conf-test] let dir = parent af
  13794. 1856.41 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13795. 1856.41 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel (dirname af)) then id else filter (not . hiddenRel)
  13796. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13797. 1856.41 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13798. 1856.41 s [opt-env-conf-test] Just (Rel rf) ->
  13799. 1856.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  13800. 1856.41 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  13801. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13802. 1856.41 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13803. 1856.41 s [opt-env-conf-test] Just (Rel rf) ->
  13804. 1856.41 s [opt-env-conf-test] - if fp == "."
  13805. 1856.41 s [opt-env-conf-test] + if True
  13806. 1856.41 s [opt-env-conf-test] then do
  13807. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13808. 1856.41 s [opt-env-conf-test] pure (map fromRelDir ds)
  13809. 1856.41 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  13810. 1856.41 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  13811. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13812. 1856.41 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13813. 1856.41 s [opt-env-conf-test] Just (Rel rf) ->
  13814. 1856.41 s [opt-env-conf-test] - if fp == "."
  13815. 1856.41 s [opt-env-conf-test] + if False
  13816. 1856.41 s [opt-env-conf-test] then do
  13817. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13818. 1856.41 s [opt-env-conf-test] pure (map fromRelDir ds)
  13819. 1856.41 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:179:12-21
  13820. 1856.41 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  13821. 1856.41 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13822. 1856.41 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13823. 1856.41 s [opt-env-conf-test] Just (Rel rf) ->
  13824. 1856.42 s [opt-env-conf-test] - if fp == "."
  13825. 1856.42 s [opt-env-conf-test] + if not (fp == ".")
  13826. 1856.42 s [opt-env-conf-test] then do
  13827. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13828. 1856.42 s [opt-env-conf-test] pure (map fromRelDir ds)
  13829. 1856.42 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  13830. 1856.42 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  13831. 1856.42 s [opt-env-conf-test] else do
  13832. 1856.42 s [opt-env-conf-test] let dir = parent rf
  13833. 1856.42 s [opt-env-conf-test] let ad = baseDir </> dir
  13834. 1856.42 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13835. 1856.42 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  13836. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13837. 1856.42 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13838. 1856.42 s [opt-env-conf-test]
  13839. 1856.42 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  13840. 1856.42 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  13841. 1856.42 s [opt-env-conf-test] else do
  13842. 1856.42 s [opt-env-conf-test] let dir = parent rf
  13843. 1856.42 s [opt-env-conf-test] let ad = baseDir </> dir
  13844. 1856.42 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13845. 1856.42 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  13846. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13847. 1856.42 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13848. 1856.42 s [opt-env-conf-test]
  13849. 1856.42 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:186:35-47
  13850. 1856.42 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  13851. 1856.42 s [opt-env-conf-test] else do
  13852. 1856.42 s [opt-env-conf-test] let dir = parent rf
  13853. 1856.42 s [opt-env-conf-test] let ad = baseDir </> dir
  13854. 1856.42 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13855. 1856.42 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  13856. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13857. 1856.42 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13858. 1856.42 s [opt-env-conf-test]
  13859. 1856.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  13860. 1856.42 s [opt-env-conf-test] @@ -168,24 +168,23 @@
  13861. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13862. 1856.42 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13863. 1856.42 s [opt-env-conf-test]
  13864. 1856.42 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13865. 1856.42 s [opt-env-conf-test] - Nothing -> pure []
  13866. 1856.42 s [opt-env-conf-test] Just (Abs af) -> do
  13867. 1856.42 s [opt-env-conf-test] let dir = parent af
  13868. 1856.42 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13869. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13870. 1856.42 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13871. 1856.42 s [opt-env-conf-test] Just (Rel rf) ->
  13872. 1856.42 s [opt-env-conf-test] if fp == "."
  13873. 1856.42 s [opt-env-conf-test] then do
  13874. 1856.42 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13875. 1856.43 s [opt-env-conf-test] pure (map fromRelDir ds)
  13876. 1856.43 s [opt-env-conf-test] else do
  13877. 1856.43 s [opt-env-conf-test] let dir = parent rf
  13878. 1856.43 s [opt-env-conf-test] let ad = baseDir </> dir
  13879. 1856.43 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13880. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13881. 1856.43 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13882. 1856.43 s [opt-env-conf-test]
  13883. 1856.43 s [opt-env-conf-test] pure $
  13884. 1856.43 s [opt-env-conf-test] concat
  13885. 1856.43 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  13886. 1856.43 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  13887. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13888. 1856.43 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13889. 1856.43 s [opt-env-conf-test]
  13890. 1856.43 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13891. 1856.43 s [opt-env-conf-test] Nothing -> pure []
  13892. 1856.43 s [opt-env-conf-test] - Just (Abs af) -> do
  13893. 1856.43 s [opt-env-conf-test] - let dir = parent af
  13894. 1856.43 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13895. 1856.43 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  13896. 1856.43 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13897. 1856.43 s [opt-env-conf-test] Just (Rel rf) ->
  13898. 1856.43 s [opt-env-conf-test] if fp == "."
  13899. 1856.43 s [opt-env-conf-test] then do
  13900. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  13901. 1856.43 s [opt-env-conf-test] pure (map fromRelDir ds)
  13902. 1856.43 s [opt-env-conf-test] else do
  13903. 1856.43 s [opt-env-conf-test] let dir = parent rf
  13904. 1856.43 s [opt-env-conf-test] let ad = baseDir </> dir
  13905. 1856.43 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13906. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13907. 1856.43 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13908. 1856.43 s [opt-env-conf-test]
  13909. 1856.43 s [opt-env-conf-test] pure $
  13910. 1856.43 s [opt-env-conf-test] concat
  13911. 1856.43 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  13912. 1856.43 s [opt-env-conf-test] @@ -168,24 +168,13 @@
  13913. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  13914. 1856.43 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  13915. 1856.43 s [opt-env-conf-test]
  13916. 1856.43 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  13917. 1856.43 s [opt-env-conf-test] Nothing -> pure []
  13918. 1856.43 s [opt-env-conf-test] Just (Abs af) -> do
  13919. 1856.43 s [opt-env-conf-test] let dir = parent af
  13920. 1856.43 s [opt-env-conf-test] let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  13921. 1856.43 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  13922. 1856.43 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  13923. 1856.43 s [opt-env-conf-test] - Just (Rel rf) ->
  13924. 1856.43 s [opt-env-conf-test] - if fp == "."
  13925. 1856.43 s [opt-env-conf-test] - then do
  13926. 1856.44 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  13927. 1856.44 s [opt-env-conf-test] - pure (map fromRelDir ds)
  13928. 1856.44 s [opt-env-conf-test] - else do
  13929. 1856.44 s [opt-env-conf-test] - let dir = parent rf
  13930. 1856.44 s [opt-env-conf-test] - let ad = baseDir </> dir
  13931. 1856.44 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  13932. 1856.44 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  13933. 1856.44 s [opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  13934. 1856.44 s [opt-env-conf-test]
  13935. 1856.44 s [opt-env-conf-test] pure $
  13936. 1856.44 s [opt-env-conf-test] concat
  13937. 1856.44 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  13938. 1856.44 s [opt-env-conf-test] @@ -189,9 +189,7 @@
  13939. 1856.44 s [opt-env-conf-test]
  13940. 1856.44 s [opt-env-conf-test] pure $
  13941. 1856.44 s [opt-env-conf-test] concat
  13942. 1856.44 s [opt-env-conf-test] - [ dirsFromPartialListing,
  13943. 1856.44 s [opt-env-conf-test] - dirsFromParentListing
  13944. 1856.44 s [opt-env-conf-test] ]
  13945. 1856.44 s [opt-env-conf-test] where
  13946. 1856.44 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  13947. 1860.81 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  13948. 1860.81 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:192:9-10
  13949. 1860.81 s [opt-env-conf-test] @@ -189,9 +189,8 @@
  13950. 1860.81 s [opt-env-conf-test]
  13951. 1860.81 s [opt-env-conf-test] pure $
  13952. 1860.81 s [opt-env-conf-test] concat
  13953. 1860.81 s [opt-env-conf-test] - [ dirsFromPartialListing,
  13954. 1860.81 s [opt-env-conf-test] dirsFromParentListing
  13955. 1860.81 s [opt-env-conf-test] ]
  13956. 1860.81 s [opt-env-conf-test] where
  13957. 1860.81 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  13958. 1860.81 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  13959. 1860.81 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  13960. 1860.82 s [opt-env-conf-test] @@ -71,14 +71,8 @@
  13961. 1860.82 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  13962. 1860.82 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13963. 1860.82 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  13964. 1860.82 s [opt-env-conf-test] Nothing -> case fp of
  13965. 1860.82 s [opt-env-conf-test] - [] -> do
  13966. 1860.82 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  13967. 1860.82 s [opt-env-conf-test] - pure
  13968. 1860.82 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  13969. 1860.82 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  13970. 1860.82 s [opt-env-conf-test] - )
  13971. 1860.82 s [opt-env-conf-test] _ -> pure ([], [])
  13972. 1860.82 s [opt-env-conf-test] Just (Abs ad) -> do
  13973. 1860.82 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  13974. 1860.82 s [opt-env-conf-test] pure
  13975. 1860.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
  13976. 1860.82 s [opt-env-conf-test] @@ -71,14 +71,13 @@
  13977. 1860.82 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  13978. 1860.82 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13979. 1860.82 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  13980. 1860.82 s [opt-env-conf-test] Nothing -> case fp of
  13981. 1860.82 s [opt-env-conf-test] [] -> do
  13982. 1860.82 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  13983. 1860.82 s [opt-env-conf-test] pure
  13984. 1860.82 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  13985. 1860.82 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  13986. 1860.82 s [opt-env-conf-test] )
  13987. 1860.82 s [opt-env-conf-test] - _ -> pure ([], [])
  13988. 1860.82 s [opt-env-conf-test] Just (Abs ad) -> do
  13989. 1860.82 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  13990. 1860.82 s [opt-env-conf-test] pure
  13991. 1860.82 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  13992. 1860.82 s [opt-env-conf-test] @@ -70,28 +70,20 @@
  13993. 1860.82 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  13994. 1860.82 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  13995. 1860.82 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  13996. 1860.82 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  13997. 1860.82 s [opt-env-conf-test] - Nothing -> case fp of
  13998. 1860.82 s [opt-env-conf-test] - [] -> do
  13999. 1860.82 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  14000. 1860.82 s [opt-env-conf-test] - pure
  14001. 1860.82 s [opt-env-conf-test] - ( map fromRelDir $ filter (not . hiddenRel) ds,
  14002. 1860.82 s [opt-env-conf-test] - map fromRelFile $ filter (not . hiddenRel) fs
  14003. 1860.82 s [opt-env-conf-test] - )
  14004. 1860.82 s [opt-env-conf-test] - _ -> pure ([], [])
  14005. 1860.82 s [opt-env-conf-test] Just (Abs ad) -> do
  14006. 1860.82 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14007. 1860.82 s [opt-env-conf-test] pure
  14008. 1860.82 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  14009. 1860.82 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  14010. 1860.82 s [opt-env-conf-test] )
  14011. 1860.82 s [opt-env-conf-test] Just (Rel rd) -> do
  14012. 1860.83 s [opt-env-conf-test] let ad = baseDir </> rd
  14013. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14014. 1860.83 s [opt-env-conf-test] pure
  14015. 1860.83 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  14016. 1860.83 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14017. 1860.83 s [opt-env-conf-test] )
  14018. 1860.83 s [opt-env-conf-test]
  14019. 1860.83 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14020. 1860.83 s [opt-env-conf-test] Nothing ->
  14021. 1860.83 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  14022. 1860.83 s [opt-env-conf-test] @@ -70,28 +70,22 @@
  14023. 1860.83 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  14024. 1860.83 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  14025. 1860.83 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  14026. 1860.83 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  14027. 1860.83 s [opt-env-conf-test] Nothing -> case fp of
  14028. 1860.83 s [opt-env-conf-test] [] -> do
  14029. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14030. 1860.83 s [opt-env-conf-test] pure
  14031. 1860.83 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  14032. 1860.83 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  14033. 1860.83 s [opt-env-conf-test] )
  14034. 1860.83 s [opt-env-conf-test] _ -> pure ([], [])
  14035. 1860.83 s [opt-env-conf-test] - Just (Abs ad) -> do
  14036. 1860.83 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  14037. 1860.83 s [opt-env-conf-test] - pure
  14038. 1860.83 s [opt-env-conf-test] - ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  14039. 1860.83 s [opt-env-conf-test] - map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  14040. 1860.83 s [opt-env-conf-test] - )
  14041. 1860.83 s [opt-env-conf-test] Just (Rel rd) -> do
  14042. 1860.83 s [opt-env-conf-test] let ad = baseDir </> rd
  14043. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14044. 1860.83 s [opt-env-conf-test] pure
  14045. 1860.83 s [opt-env-conf-test] ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  14046. 1860.83 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14047. 1860.83 s [opt-env-conf-test] )
  14048. 1860.83 s [opt-env-conf-test]
  14049. 1860.83 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14050. 1860.83 s [opt-env-conf-test] Nothing ->
  14051. 1860.83 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:73:56-12
  14052. 1860.83 s [opt-env-conf-test] @@ -70,28 +70,21 @@
  14053. 1860.83 s [opt-env-conf-test] filePathFromDir baseDir prefix fp fp' = do
  14054. 1860.83 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
  14055. 1860.83 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  14056. 1860.83 s [opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
  14057. 1860.83 s [opt-env-conf-test] Nothing -> case fp of
  14058. 1860.83 s [opt-env-conf-test] [] -> do
  14059. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14060. 1860.83 s [opt-env-conf-test] pure
  14061. 1860.83 s [opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
  14062. 1860.83 s [opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
  14063. 1860.83 s [opt-env-conf-test] )
  14064. 1860.83 s [opt-env-conf-test] _ -> pure ([], [])
  14065. 1860.83 s [opt-env-conf-test] Just (Abs ad) -> do
  14066. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14067. 1860.83 s [opt-env-conf-test] pure
  14068. 1860.83 s [opt-env-conf-test] ( map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds,
  14069. 1860.83 s [opt-env-conf-test] map (fromAbsFile . (ad </>)) $ filter (not . hiddenRel) fs
  14070. 1860.83 s [opt-env-conf-test] )
  14071. 1860.83 s [opt-env-conf-test] - Just (Rel rd) -> do
  14072. 1860.83 s [opt-env-conf-test] - let ad = baseDir </> rd
  14073. 1860.83 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  14074. 1860.83 s [opt-env-conf-test] - pure
  14075. 1860.83 s [opt-env-conf-test] - ( map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds,
  14076. 1860.83 s [opt-env-conf-test] - map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14077. 1860.83 s [opt-env-conf-test] - )
  14078. 1860.83 s [opt-env-conf-test]
  14079. 1860.83 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14080. 1860.83 s [opt-env-conf-test] Nothing ->
  14081. 1860.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  14082. 1860.83 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  14083. 1860.83 s [opt-env-conf-test]
  14084. 1860.83 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14085. 1860.83 s [opt-env-conf-test] Nothing ->
  14086. 1860.83 s [opt-env-conf-test] - if fp == "."
  14087. 1860.83 s [opt-env-conf-test] + if True
  14088. 1860.83 s [opt-env-conf-test] then do
  14089. 1860.83 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14090. 1860.83 s [opt-env-conf-test] pure
  14091. 1860.83 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:98:12-21
  14092. 1860.83 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  14093. 1860.84 s [opt-env-conf-test]
  14094. 1860.84 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14095. 1860.84 s [opt-env-conf-test] Nothing ->
  14096. 1860.84 s [opt-env-conf-test] - if fp == "."
  14097. 1860.84 s [opt-env-conf-test] + if False
  14098. 1860.84 s [opt-env-conf-test] then do
  14099. 1860.84 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14100. 1860.84 s [opt-env-conf-test] pure
  14101. 1860.84 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:98:12-21
  14102. 1860.84 s [opt-env-conf-test] @@ -95,7 +95,7 @@
  14103. 1860.84 s [opt-env-conf-test]
  14104. 1860.84 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14105. 1860.84 s [opt-env-conf-test] Nothing ->
  14106. 1860.84 s [opt-env-conf-test] - if fp == "."
  14107. 1860.84 s [opt-env-conf-test] + if not (fp == ".")
  14108. 1860.84 s [opt-env-conf-test] then do
  14109. 1860.84 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14110. 1860.84 s [opt-env-conf-test] pure
  14111. 1860.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  14112. 1860.84 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  14113. 1860.84 s [opt-env-conf-test] else pure ([], [])
  14114. 1860.84 s [opt-env-conf-test] Just (Abs af) -> do
  14115. 1860.84 s [opt-env-conf-test] let dir = parent af
  14116. 1860.84 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14117. 1860.84 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  14118. 1860.84 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  14119. 1860.84 s [opt-env-conf-test] pure
  14120. 1860.84 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14121. 1860.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:108:31-54
  14122. 1860.84 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  14123. 1860.84 s [opt-env-conf-test] else pure ([], [])
  14124. 1860.84 s [opt-env-conf-test] Just (Abs af) -> do
  14125. 1860.84 s [opt-env-conf-test] let dir = parent af
  14126. 1860.84 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14127. 1864.48 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  14128. 1864.55 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  14129. 1864.55 s [opt-env-conf-test] pure
  14130. 1864.55 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14131. 1864.56 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:108:31-54
  14132. 1864.56 s [opt-env-conf-test] @@ -105,7 +105,7 @@
  14133. 1864.56 s [opt-env-conf-test] else pure ([], [])
  14134. 1864.56 s [opt-env-conf-test] Just (Abs af) -> do
  14135. 1864.56 s [opt-env-conf-test] let dir = parent af
  14136. 1864.56 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14137. 1864.56 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel (filename af)) then id else filter (not . hiddenRel)
  14138. 1864.56 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  14139. 1864.56 s [opt-env-conf-test] pure
  14140. 1864.56 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14141. 1864.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  14142. 1864.56 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  14143. 1864.56 s [opt-env-conf-test] Just (Rel rf) -> do
  14144. 1864.56 s [opt-env-conf-test] let dir = parent rf
  14145. 1864.56 s [opt-env-conf-test] let ad = baseDir </> dir
  14146. 1864.56 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14147. 1864.56 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  14148. 1864.56 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14149. 1864.56 s [opt-env-conf-test] pure
  14150. 1864.56 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14151. 1864.56 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  14152. 1864.56 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  14153. 1864.56 s [opt-env-conf-test] Just (Rel rf) -> do
  14154. 1864.57 s [opt-env-conf-test] let dir = parent rf
  14155. 1864.57 s [opt-env-conf-test] let ad = baseDir </> dir
  14156. 1864.57 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14157. 1864.57 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  14158. 1864.57 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14159. 1864.57 s [opt-env-conf-test] pure
  14160. 1864.57 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14161. 1864.57 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:117:31-43
  14162. 1864.57 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  14163. 1864.57 s [opt-env-conf-test] Just (Rel rf) -> do
  14164. 1864.57 s [opt-env-conf-test] let dir = parent rf
  14165. 1864.57 s [opt-env-conf-test] let ad = baseDir </> dir
  14166. 1864.57 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14167. 1864.57 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  14168. 1864.57 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14169. 1864.57 s [opt-env-conf-test] pure
  14170. 1864.57 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14171. 1864.57 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  14172. 1864.57 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  14173. 1864.57 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14174. 1864.57 s [opt-env-conf-test] )
  14175. 1864.57 s [opt-env-conf-test]
  14176. 1864.57 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14177. 1864.57 s [opt-env-conf-test] - Nothing ->
  14178. 1864.57 s [opt-env-conf-test] - if fp == "."
  14179. 1864.57 s [opt-env-conf-test] - then do
  14180. 1864.57 s [opt-env-conf-test] - (ds, fs) <- listDirRel baseDir
  14181. 1864.57 s [opt-env-conf-test] - pure
  14182. 1864.57 s [opt-env-conf-test] - ( map fromRelDir ds,
  14183. 1864.57 s [opt-env-conf-test] - map fromRelFile fs
  14184. 1864.57 s [opt-env-conf-test] - )
  14185. 1864.57 s [opt-env-conf-test] - else pure ([], [])
  14186. 1864.57 s [opt-env-conf-test] Just (Abs af) -> do
  14187. 1864.57 s [opt-env-conf-test] let dir = parent af
  14188. 1864.57 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14189. 1864.57 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  14190. 1864.57 s [opt-env-conf-test] pure
  14191. 1864.57 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14192. 1864.57 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  14193. 1864.57 s [opt-env-conf-test] )
  14194. 1864.57 s [opt-env-conf-test] Just (Rel rf) -> do
  14195. 1864.57 s [opt-env-conf-test] let dir = parent rf
  14196. 1864.57 s [opt-env-conf-test] let ad = baseDir </> dir
  14197. 1864.57 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14198. 1864.58 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14199. 1864.58 s [opt-env-conf-test] pure
  14200. 1864.58 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14201. 1864.58 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  14202. 1864.58 s [opt-env-conf-test] )
  14203. 1864.58 s [opt-env-conf-test]
  14204. 1864.58 s [opt-env-conf-test] pure $
  14205. 1864.58 s [opt-env-conf-test] concat
  14206. 1864.58 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  14207. 1864.58 s [opt-env-conf-test] @@ -93,33 +93,25 @@
  14208. 1864.58 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14209. 1864.58 s [opt-env-conf-test] )
  14210. 1864.58 s [opt-env-conf-test]
  14211. 1864.58 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14212. 1864.58 s [opt-env-conf-test] Nothing ->
  14213. 1864.58 s [opt-env-conf-test] if fp == "."
  14214. 1864.58 s [opt-env-conf-test] then do
  14215. 1864.58 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14216. 1864.58 s [opt-env-conf-test] pure
  14217. 1864.58 s [opt-env-conf-test] ( map fromRelDir ds,
  14218. 1864.58 s [opt-env-conf-test] map fromRelFile fs
  14219. 1864.58 s [opt-env-conf-test] )
  14220. 1864.58 s [opt-env-conf-test] else pure ([], [])
  14221. 1864.58 s [opt-env-conf-test] - Just (Abs af) -> do
  14222. 1864.58 s [opt-env-conf-test] - let dir = parent af
  14223. 1864.58 s [opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14224. 1864.58 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
  14225. 1864.58 s [opt-env-conf-test] - pure
  14226. 1864.58 s [opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14227. 1864.58 s [opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
  14228. 1864.58 s [opt-env-conf-test] - )
  14229. 1864.58 s [opt-env-conf-test] Just (Rel rf) -> do
  14230. 1864.58 s [opt-env-conf-test] let dir = parent rf
  14231. 1864.58 s [opt-env-conf-test] let ad = baseDir </> dir
  14232. 1864.58 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14233. 1864.58 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  14234. 1864.58 s [opt-env-conf-test] pure
  14235. 1864.58 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14236. 1864.58 s [opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
  14237. 1864.58 s [opt-env-conf-test] )
  14238. 1864.58 s [opt-env-conf-test]
  14239. 1864.58 s [opt-env-conf-test] pure $
  14240. 1864.58 s [opt-env-conf-test] concat
  14241. 1864.58 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
  14242. 1864.58 s [opt-env-conf-test] @@ -93,33 +93,24 @@
  14243. 1864.58 s [opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
  14244. 1864.58 s [opt-env-conf-test] )
  14245. 1864.58 s [opt-env-conf-test]
  14246. 1864.58 s [opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
  14247. 1864.58 s [opt-env-conf-test] Nothing ->
  14248. 1864.58 s [opt-env-conf-test] if fp == "."
  14249. 1864.58 s [opt-env-conf-test] then do
  14250. 1864.58 s [opt-env-conf-test] (ds, fs) <- listDirRel baseDir
  14251. 1864.58 s [opt-env-conf-test] pure
  14252. 1864.58 s [opt-env-conf-test] ( map fromRelDir ds,
  14253. 1864.58 s [opt-env-conf-test] map fromRelFile fs
  14254. 1864.58 s [opt-env-conf-test] )
  14255. 1864.58 s [opt-env-conf-test] else pure ([], [])
  14256. 1864.58 s [opt-env-conf-test] Just (Abs af) -> do
  14257. 1864.58 s [opt-env-conf-test] let dir = parent af
  14258. 1864.58 s [opt-env-conf-test] let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
  14259. 1864.58 s [opt-env-conf-test] (ds, fs) <- listDirForgiving dir
  14260. 1864.58 s [opt-env-conf-test] pure
  14261. 1864.58 s [opt-env-conf-test] ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
  14262. 1864.58 s [opt-env-conf-test] map (fromAbsFile . (dir </>)) $ filterHidden fs
  14263. 1864.58 s [opt-env-conf-test] )
  14264. 1864.58 s [opt-env-conf-test] - Just (Rel rf) -> do
  14265. 1864.58 s [opt-env-conf-test] - let dir = parent rf
  14266. 1864.58 s [opt-env-conf-test] - let ad = baseDir </> dir
  14267. 1864.58 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  14268. 1864.58 s [opt-env-conf-test] - (ds, fs) <- listDirForgiving ad
  14269. 1864.58 s [opt-env-conf-test] - pure
  14270. 1864.58 s [opt-env-conf-test] - ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  14271. 1864.58 s [opt-env-conf-test] - map (fromRelFile . (dir </>)) $ filterHidden fs
  14272. 1864.58 s [opt-env-conf-test] - )
  14273. 1864.58 s [opt-env-conf-test]
  14274. 1864.58 s [opt-env-conf-test] pure $
  14275. 1864.58 s [opt-env-conf-test] concat
  14276. 1864.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  14277. 1864.58 s [opt-env-conf-test] @@ -123,11 +123,7 @@
  14278. 1864.58 s [opt-env-conf-test]
  14279. 1864.58 s [opt-env-conf-test] pure $
  14280. 1864.58 s [opt-env-conf-test] concat
  14281. 1864.58 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  14282. 1864.58 s [opt-env-conf-test] - map fileResult filesFromParentListing,
  14283. 1864.58 s [opt-env-conf-test] - map dirResult dirsFromPartialListing,
  14284. 1864.58 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  14285. 1864.58 s [opt-env-conf-test] ]
  14286. 1864.58 s [opt-env-conf-test] where
  14287. 1864.58 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  14288. 1864.58 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  14289. 1864.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  14290. 1864.58 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  14291. 1864.58 s [opt-env-conf-test]
  14292. 1864.58 s [opt-env-conf-test] pure $
  14293. 1864.58 s [opt-env-conf-test] concat
  14294. 1864.58 s [opt-env-conf-test] - [ map fileResult filesFromPartialListing,
  14295. 1864.58 s [opt-env-conf-test] map fileResult filesFromParentListing,
  14296. 1864.58 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  14297. 1864.58 s [opt-env-conf-test] map dirResult dirsFromParentListing
  14298. 1864.58 s [opt-env-conf-test] ]
  14299. 1864.58 s [opt-env-conf-test] where
  14300. 1864.58 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  14301. 1864.58 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  14302. 1864.58 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completer.hs:126:9-10
  14303. 1864.58 s [opt-env-conf-test] @@ -123,11 +123,10 @@
  14304. 1864.58 s [opt-env-conf-test]
  14305. 1864.58 s [opt-env-conf-test] pure $
  14306. 1864.58 s [opt-env-conf-test] concat
  14307. 1864.58 s [opt-env-conf-test] [ map fileResult filesFromPartialListing,
  14308. 1864.58 s [opt-env-conf-test] map fileResult filesFromParentListing,
  14309. 1864.58 s [opt-env-conf-test] map dirResult dirsFromPartialListing,
  14310. 1864.58 s [opt-env-conf-test] - map dirResult dirsFromParentListing
  14311. 1864.58 s [opt-env-conf-test] ]
  14312. 1864.58 s [opt-env-conf-test] where
  14313. 1864.58 s [opt-env-conf-test] addPrefix :: String -> CompletionResult -> CompletionResult
  14314. 1864.58 s [opt-env-conf-test] addPrefix pfx cr = cr {completionResultValue = pfx <> completionResultValue cr}
  14315. 1864.58 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:144:9-50
  14316. 1864.58 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  14317. 1864.58 s [opt-env-conf-test] pure $ filter matchesExtension results
  14318. 1864.58 s [opt-env-conf-test] where
  14319. 1864.58 s [opt-env-conf-test] matchesExtension cr
  14320. 1872.71 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  14321. 1872.73 s [opt-env-conf-test] + | True = True
  14322. 1872.73 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14323. 1872.73 s [opt-env-conf-test]
  14324. 1872.73 s [opt-env-conf-test] directoryPath :: Completer
  14325. 1872.73 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:144:9-50
  14326. 1872.73 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  14327. 1872.73 s [opt-env-conf-test] pure $ filter matchesExtension results
  14328. 1872.73 s [opt-env-conf-test] where
  14329. 1872.73 s [opt-env-conf-test] matchesExtension cr
  14330. 1872.73 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  14331. 1872.73 s [opt-env-conf-test] + | not ("/" `isSuffixOf` completionResultValue cr) = True
  14332. 1872.73 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14333. 1872.73 s [opt-env-conf-test]
  14334. 1872.73 s [opt-env-conf-test] directoryPath :: Completer
  14335. 1872.73 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completer.hs:144:53-57
  14336. 1872.73 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  14337. 1872.74 s [opt-env-conf-test] pure $ filter matchesExtension results
  14338. 1872.74 s [opt-env-conf-test] where
  14339. 1872.74 s [opt-env-conf-test] matchesExtension cr
  14340. 1872.74 s [opt-env-conf-test] - | "/" `isSuffixOf` completionResultValue cr = True
  14341. 1872.74 s [opt-env-conf-test] + | "/" `isSuffixOf` completionResultValue cr = False
  14342. 1872.74 s [opt-env-conf-test] | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14343. 1872.74 s [opt-env-conf-test]
  14344. 1872.74 s [opt-env-conf-test] directoryPath :: Completer
  14345. 1872.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  14346. 1872.74 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  14347. 1872.74 s [opt-env-conf-test] where
  14348. 1872.74 s [opt-env-conf-test] matchesExtension cr
  14349. 1872.74 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  14350. 1872.74 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14351. 1872.74 s [opt-env-conf-test] + | otherwise = True
  14352. 1872.74 s [opt-env-conf-test]
  14353. 1872.74 s [opt-env-conf-test] directoryPath :: Completer
  14354. 1872.74 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  14355. 1872.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completer.hs:145:21-69
  14356. 1872.74 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  14357. 1872.74 s [opt-env-conf-test] where
  14358. 1872.74 s [opt-env-conf-test] matchesExtension cr
  14359. 1872.74 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  14360. 1872.74 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14361. 1872.74 s [opt-env-conf-test] + | otherwise = False
  14362. 1872.74 s [opt-env-conf-test]
  14363. 1872.74 s [opt-env-conf-test] directoryPath :: Completer
  14364. 1872.74 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  14365. 1872.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completer.hs:145:21-69
  14366. 1872.74 s [opt-env-conf-test] @@ -142,7 +142,7 @@
  14367. 1872.74 s [opt-env-conf-test] where
  14368. 1872.74 s [opt-env-conf-test] matchesExtension cr
  14369. 1872.74 s [opt-env-conf-test] | "/" `isSuffixOf` completionResultValue cr = True
  14370. 1872.74 s [opt-env-conf-test] - | otherwise = any (`isSuffixOf` completionResultValue cr) exts
  14371. 1872.74 s [opt-env-conf-test] + | otherwise = not (any (`isSuffixOf` completionResultValue cr) exts)
  14372. 1872.74 s [opt-env-conf-test]
  14373. 1872.74 s [opt-env-conf-test] directoryPath :: Completer
  14374. 1872.75 s [opt-env-conf-test] directoryPath = Completer $ \fp' -> do
  14375. 1872.75 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:80:42-56
  14376. 1872.75 s [opt-env-conf-test] @@ -77,7 +77,7 @@
  14377. 1872.75 s [opt-env-conf-test] Maybe JSON.Object ->
  14378. 1872.75 s [opt-env-conf-test] IO (CheckResult a)
  14379. 1872.75 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  14380. 1872.75 s [opt-env-conf-test] - errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  14381. 1872.75 s [opt-env-conf-test] + errOrSets <- runParserOn capabilities (Nothing) p args envVars mConfig
  14382. 1872.75 s [opt-env-conf-test] pure $ case errOrSets of
  14383. 1872.75 s [opt-env-conf-test] Right a -> CheckSucceeded a
  14384. 1872.75 s [opt-env-conf-test] Left errs ->
  14385. 1872.75 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Check.hs:91:72-105
  14386. 1872.75 s [opt-env-conf-test] @@ -88,7 +88,7 @@
  14387. 1872.75 s [opt-env-conf-test] -- ALL errors are missing capability errors
  14388. 1872.75 s [opt-env-conf-test] mapM
  14389. 1872.75 s [opt-env-conf-test] ( \case
  14390. 1872.75 s [opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  14391. 1872.75 s [opt-env-conf-test] + ParseError mLoc (ParseErrorMissingCapability cap) -> Nothing
  14392. 1872.75 s [opt-env-conf-test] _ -> Nothing
  14393. 1872.75 s [opt-env-conf-test] )
  14394. 1872.75 s [opt-env-conf-test] errs
  14395. 1872.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  14396. 1872.75 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  14397. 1872.75 s [opt-env-conf-test] _ -> Nothing
  14398. 1872.75 s [opt-env-conf-test] )
  14399. 1872.75 s [opt-env-conf-test] errs
  14400. 1872.75 s [opt-env-conf-test] in case mMissingCaps of
  14401. 1872.75 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  14402. 1872.75 s [opt-env-conf-test] Nothing -> CheckFailed errs
  14403. 1872.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:95:11-40
  14404. 1872.75 s [opt-env-conf-test] @@ -92,6 +92,5 @@
  14405. 1872.75 s [opt-env-conf-test] _ -> Nothing
  14406. 1872.75 s [opt-env-conf-test] )
  14407. 1872.75 s [opt-env-conf-test] errs
  14408. 1872.75 s [opt-env-conf-test] in case mMissingCaps of
  14409. 1872.75 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  14410. 1872.75 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  14411. 1872.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  14412. 1872.75 s [opt-env-conf-test] @@ -78,20 +78,19 @@
  14413. 1872.75 s [opt-env-conf-test] IO (CheckResult a)
  14414. 1872.75 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  14415. 1872.75 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  14416. 1872.75 s [opt-env-conf-test] pure $ case errOrSets of
  14417. 1872.75 s [opt-env-conf-test] - Right a -> CheckSucceeded a
  14418. 1872.75 s [opt-env-conf-test] Left errs ->
  14419. 1872.75 s [opt-env-conf-test] -- If all the errors are missing capability errors, return
  14420. 1872.75 s [opt-env-conf-test] -- CheckIncapable, otherwise CheckFailed
  14421. 1872.76 s [opt-env-conf-test] let mMissingCaps =
  14422. 1872.76 s [opt-env-conf-test] -- This MUST be mapM instead of mapMaybe because we need to ensure
  14423. 1872.76 s [opt-env-conf-test] -- ALL errors are missing capability errors
  14424. 1872.76 s [opt-env-conf-test] mapM
  14425. 1872.76 s [opt-env-conf-test] ( \case
  14426. 1872.76 s [opt-env-conf-test] ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  14427. 1872.76 s [opt-env-conf-test] _ -> Nothing
  14428. 1872.76 s [opt-env-conf-test] )
  14429. 1872.76 s [opt-env-conf-test] errs
  14430. 1872.76 s [opt-env-conf-test] in case mMissingCaps of
  14431. 1872.76 s [opt-env-conf-test] Just ne -> CheckIncapable ne
  14432. 1872.76 s [opt-env-conf-test] Nothing -> CheckFailed errs
  14433. 1872.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Check.hs:81:10-40
  14434. 1872.76 s [opt-env-conf-test] @@ -78,20 +78,5 @@
  14435. 1872.76 s [opt-env-conf-test] IO (CheckResult a)
  14436. 1872.76 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  14437. 1872.76 s [opt-env-conf-test] errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  14438. 1872.76 s [opt-env-conf-test] pure $ case errOrSets of
  14439. 1872.76 s [opt-env-conf-test] Right a -> CheckSucceeded a
  14440. 1872.76 s [opt-env-conf-test] - Left errs ->
  14441. 1872.76 s [opt-env-conf-test] - -- If all the errors are missing capability errors, return
  14442. 1872.76 s [opt-env-conf-test] - -- CheckIncapable, otherwise CheckFailed
  14443. 1872.76 s [opt-env-conf-test] - let mMissingCaps =
  14444. 1872.76 s [opt-env-conf-test] - -- This MUST be mapM instead of mapMaybe because we need to ensure
  14445. 1872.76 s [opt-env-conf-test] - -- ALL errors are missing capability errors
  14446. 1872.76 s [opt-env-conf-test] - mapM
  14447. 1872.76 s [opt-env-conf-test] - ( \case
  14448. 1872.76 s [opt-env-conf-test] - ParseError mLoc (ParseErrorMissingCapability cap) -> Just (MissingCapability mLoc cap)
  14449. 1872.76 s [opt-env-conf-test] - _ -> Nothing
  14450. 1872.76 s [opt-env-conf-test] - )
  14451. 1872.76 s [opt-env-conf-test] - errs
  14452. 1872.76 s [opt-env-conf-test] - in case mMissingCaps of
  14453. 1872.76 s [opt-env-conf-test] - Just ne -> CheckIncapable ne
  14454. 1872.76 s [opt-env-conf-test] - Nothing -> CheckFailed errs
  14455. 1872.76 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:34:25-18
  14456. 1872.76 s [opt-env-conf-test] @@ -31,9 +31,8 @@
  14457. 1872.76 s [opt-env-conf-test] stderrTc <- getTerminalCapabilitiesFromHandle stderr
  14458. 1872.76 s [opt-env-conf-test] errOrSets <- runSettingsCheckOn capabilities stderrTc p args envVars mConfig
  14459. 1872.76 s [opt-env-conf-test] case errOrSets of
  14460. 1872.76 s [opt-env-conf-test] CheckFailed errs -> do
  14461. 1872.76 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderErrors errs
  14462. 1872.76 s [opt-env-conf-test] exitFailure
  14463. 1872.76 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  14464. 1872.76 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  14465. 1872.76 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  14466. 1872.76 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:40:7-83
  14467. 1872.76 s [opt-env-conf-test] @@ -37,7 +37,6 @@
  14468. 1872.76 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  14469. 1872.76 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  14470. 1872.76 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  14471. 1872.76 s [opt-env-conf-test] - hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
  14472. 1872.76 s [opt-env-conf-test] exitSuccess
  14473. 1872.76 s [opt-env-conf-test] CheckSucceeded _ -> do
  14474. 1872.76 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  14475. 1872.76 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:39:7-143
  14476. 1872.76 s [opt-env-conf-test] @@ -36,7 +36,6 @@
  14477. 1872.76 s [opt-env-conf-test] exitFailure
  14478. 1872.76 s [opt-env-conf-test] CheckIncapable missingCaps -> do
  14479. 1872.77 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  14480. 1875.99 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Could not complete parsing settings because of missing capabilities, but no errors were found so far."]
  14481. 1875.99 s [opt-env-conf-test] hPutChunksLocaleWith stderrTc stderr $ renderMissingCapabilities missingCaps
  14482. 1875.99 s [opt-env-conf-test] exitSuccess
  14483. 1875.99 s [opt-env-conf-test] CheckSucceeded _ -> do
  14484. 1875.99 s [opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Check.hs:44:7-71
  14485. 1875.99 s [opt-env-conf-test] @@ -41,7 +41,6 @@
  14486. 1875.99 s [opt-env-conf-test] exitSuccess
  14487. 1875.99 s [opt-env-conf-test] CheckSucceeded _ -> do
  14488. 1875.99 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  14489. 1875.99 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
  14490. 1875.99 s [opt-env-conf-test] exitSuccess
  14491. 1875.99 s [opt-env-conf-test]
  14492. 1875.99 s [opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
  14493. 1875.99 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
  14494. 1875.99 s [opt-env-conf-test] @@ -423,6 +423,6 @@
  14495. 1875.99 s [opt-env-conf-test] longDasheds =
  14496. 1875.99 s [opt-env-conf-test] mapMaybe
  14497. 1875.99 s [opt-env-conf-test] ( \case
  14498. 1875.99 s [opt-env-conf-test] - DashedLong l -> Just l
  14499. 1875.99 s [opt-env-conf-test] + DashedLong l -> Nothing
  14500. 1875.99 s [opt-env-conf-test] DashedShort _ -> Nothing
  14501. 1875.99 s [opt-env-conf-test] )
  14502. 1875.99 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
  14503. 1875.99 s [opt-env-conf-test] @@ -415,7 +415,7 @@
  14504. 1875.99 s [opt-env-conf-test] shortDasheds =
  14505. 1875.99 s [opt-env-conf-test] mapMaybe
  14506. 1875.99 s [opt-env-conf-test] ( \case
  14507. 1875.99 s [opt-env-conf-test] - DashedShort c -> Just c
  14508. 1875.99 s [opt-env-conf-test] + DashedShort c -> Nothing
  14509. 1875.99 s [opt-env-conf-test] DashedLong _ -> Nothing
  14510. 1875.99 s [opt-env-conf-test] )
  14511. 1875.99 s [opt-env-conf-test]
  14512. 1875.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  14513. 1875.99 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  14514. 1875.99 s [opt-env-conf-test]
  14515. 1876.00 s [opt-env-conf-test] renderDashed :: Dashed -> String
  14516. 1876.00 s [opt-env-conf-test] renderDashed = \case
  14517. 1876.00 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  14518. 1876.00 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  14519. 1876.00 s [opt-env-conf-test]
  14520. 1876.00 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  14521. 1876.00 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
  14522. 1876.00 s [opt-env-conf-test] @@ -403,7 +403,6 @@
  14523. 1876.00 s [opt-env-conf-test]
  14524. 1876.00 s [opt-env-conf-test] renderDashed :: Dashed -> String
  14525. 1876.00 s [opt-env-conf-test] renderDashed = \case
  14526. 1876.00 s [opt-env-conf-test] - DashedShort c -> ['-', c]
  14527. 1876.00 s [opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
  14528. 1876.00 s [opt-env-conf-test]
  14529. 1876.00 s [opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
  14530. 1876.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  14531. 1876.00 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  14532. 1876.00 s [opt-env-conf-test] where
  14533. 1876.00 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  14534. 1876.00 s [opt-env-conf-test] go (c :| rest) =
  14535. 1876.00 s [opt-env-conf-test] - if c `elem` cs
  14536. 1876.00 s [opt-env-conf-test] + if True
  14537. 1876.00 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  14538. 1876.00 s [opt-env-conf-test] else do
  14539. 1876.00 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  14540. 1876.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
  14541. 1876.00 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  14542. 1876.00 s [opt-env-conf-test] where
  14543. 1876.00 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  14544. 1876.00 s [opt-env-conf-test] go (c :| rest) =
  14545. 1876.00 s [opt-env-conf-test] - if c `elem` cs
  14546. 1876.00 s [opt-env-conf-test] + if False
  14547. 1876.00 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  14548. 1876.00 s [opt-env-conf-test] else do
  14549. 1876.00 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  14550. 1876.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
  14551. 1876.00 s [opt-env-conf-test] @@ -361,7 +361,7 @@
  14552. 1876.00 s [opt-env-conf-test] where
  14553. 1876.00 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  14554. 1876.00 s [opt-env-conf-test] go (c :| rest) =
  14555. 1876.00 s [opt-env-conf-test] - if c `elem` cs
  14556. 1876.00 s [opt-env-conf-test] + if not (c `elem` cs)
  14557. 1876.00 s [opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  14558. 1876.00 s [opt-env-conf-test] else do
  14559. 1876.00 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  14560. 1876.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  14561. 1876.00 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  14562. 1876.00 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  14563. 1876.00 s [opt-env-conf-test] go (c :| rest) =
  14564. 1876.00 s [opt-env-conf-test] if c `elem` cs
  14565. 1876.00 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  14566. 1876.00 s [opt-env-conf-test] + then Just $ (\ne -> (ne, True)) <$> NE.nonEmpty rest
  14567. 1876.00 s [opt-env-conf-test] else do
  14568. 1876.00 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  14569. 1876.00 s [opt-env-conf-test] new <- go rest'
  14570. 1876.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  14571. 1876.00 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  14572. 1876.00 s [opt-env-conf-test] renderLintError LintError {..} =
  14573. 1876.00 s [opt-env-conf-test] concat
  14574. 1876.00 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  14575. 1876.00 s [opt-env-conf-test] case lintErrorMessage of
  14576. 1876.00 s [opt-env-conf-test] LintErrorUndocumented ->
  14577. 1876.00 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14578. 1876.00 s [opt-env-conf-test] LintErrorEmptySetting ->
  14579. 1876.00 s [opt-env-conf-test] concat
  14580. 1876.00 s [opt-env-conf-test] [ [ [ "This ",
  14581. 1876.00 s [opt-env-conf-test] functionChunk "setting",
  14582. 1876.00 s [opt-env-conf-test] " parses nothing."
  14583. 1876.00 s [opt-env-conf-test] ]
  14584. 1876.00 s [opt-env-conf-test] ],
  14585. 1876.00 s [opt-env-conf-test] [ [ "Add an ",
  14586. 1876.00 s [opt-env-conf-test] functionChunk "argument",
  14587. 1876.00 s [opt-env-conf-test] ", ",
  14588. 1876.00 s [opt-env-conf-test] functionChunk "switch",
  14589. 1876.00 s [opt-env-conf-test] ", ",
  14590. 1876.00 s [opt-env-conf-test] functionChunk "option",
  14591. 1876.00 s [opt-env-conf-test] ", ",
  14592. 1876.00 s [opt-env-conf-test] functionChunk "env",
  14593. 1876.00 s [opt-env-conf-test] ", ",
  14594. 1876.00 s [opt-env-conf-test] functionChunk "conf",
  14595. 1876.00 s [opt-env-conf-test] ", or ",
  14596. 1876.00 s [opt-env-conf-test] functionChunk "value",
  14597. 1876.00 s [opt-env-conf-test] "."
  14598. 1876.00 s [opt-env-conf-test] ]
  14599. 1876.00 s [opt-env-conf-test] ]
  14600. 1876.00 s [opt-env-conf-test] ]
  14601. 1876.01 s [opt-env-conf-test] LintErrorDashInShort ->
  14602. 1876.01 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14603. 1876.01 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14604. 1876.01 s [opt-env-conf-test] ]
  14605. 1876.01 s [opt-env-conf-test] LintErrorDashInLong s ->
  14606. 1876.01 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14607. 1876.01 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14608. 1876.01 s [opt-env-conf-test] [ "Try ",
  14609. 1876.01 s [opt-env-conf-test] functionChunk "long",
  14610. 1876.01 s [opt-env-conf-test] " ",
  14611. 1876.01 s [opt-env-conf-test] chunk $
  14612. 1876.01 s [opt-env-conf-test] T.pack $
  14613. 1876.01 s [opt-env-conf-test] show $
  14614. 1876.01 s [opt-env-conf-test] let go = \case
  14615. 1876.01 s [opt-env-conf-test] [] -> []
  14616. 1876.01 s [opt-env-conf-test] '-' : cs -> go cs
  14617. 1876.01 s [opt-env-conf-test] c : cs -> c : cs
  14618. 1876.01 s [opt-env-conf-test] in go $ NE.toList s,
  14619. 1876.01 s [opt-env-conf-test] " instead."
  14620. 1876.01 s [opt-env-conf-test] ]
  14621. 1876.01 s [opt-env-conf-test] ]
  14622. 1876.01 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14623. 1876.01 s [opt-env-conf-test] [ [ functionChunk "argument",
  14624. 1876.01 s [opt-env-conf-test] " has no ",
  14625. 1876.01 s [opt-env-conf-test] functionChunk "reader",
  14626. 1876.01 s [opt-env-conf-test] "."
  14627. 1876.01 s [opt-env-conf-test] ]
  14628. 1876.01 s [opt-env-conf-test] ]
  14629. 1876.01 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14630. 1876.01 s [opt-env-conf-test] [ [ functionChunk "argument",
  14631. 1876.01 s [opt-env-conf-test] " has no ",
  14632. 1876.01 s [opt-env-conf-test] functionChunk "metavar",
  14633. 1876.01 s [opt-env-conf-test] "."
  14634. 1876.01 s [opt-env-conf-test] ]
  14635. 1876.01 s [opt-env-conf-test] ]
  14636. 1876.01 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14637. 1876.01 s [opt-env-conf-test] [ [ functionChunk "option",
  14638. 1876.01 s [opt-env-conf-test] " or ",
  14639. 1876.01 s [opt-env-conf-test] functionChunk "name",
  14640. 1876.01 s [opt-env-conf-test] " has no ",
  14641. 1876.01 s [opt-env-conf-test] functionChunk "reader",
  14642. 1876.01 s [opt-env-conf-test] "."
  14643. 1876.01 s [opt-env-conf-test] ]
  14644. 1876.01 s [opt-env-conf-test] ]
  14645. 1876.01 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14646. 1876.01 s [opt-env-conf-test] [ [ functionChunk "option",
  14647. 1876.01 s [opt-env-conf-test] " has no ",
  14648. 1876.01 s [opt-env-conf-test] functionChunk "long",
  14649. 1876.01 s [opt-env-conf-test] " or ",
  14650. 1876.01 s [opt-env-conf-test] functionChunk "short",
  14651. 1876.01 s [opt-env-conf-test] "."
  14652. 1876.01 s [opt-env-conf-test] ]
  14653. 1876.01 s [opt-env-conf-test] ]
  14654. 1876.01 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14655. 1876.01 s [opt-env-conf-test] [ [ functionChunk "option",
  14656. 1876.01 s [opt-env-conf-test] " or ",
  14657. 1876.01 s [opt-env-conf-test] functionChunk "name",
  14658. 1876.01 s [opt-env-conf-test] " has no ",
  14659. 1876.01 s [opt-env-conf-test] functionChunk "metavar",
  14660. 1876.01 s [opt-env-conf-test] "."
  14661. 1876.01 s [opt-env-conf-test] ]
  14662. 1876.01 s [opt-env-conf-test] ]
  14663. 1876.01 s [opt-env-conf-test] - LintErrorNoDashedForSwitch ->
  14664. 1876.01 s [opt-env-conf-test] - [ [ functionChunk "switch",
  14665. 1876.01 s [opt-env-conf-test] - " has no ",
  14666. 1876.01 s [opt-env-conf-test] - functionChunk "long",
  14667. 1876.01 s [opt-env-conf-test] - " or ",
  14668. 1876.01 s [opt-env-conf-test] - functionChunk "short",
  14669. 1876.01 s [opt-env-conf-test] - "."
  14670. 1876.01 s [opt-env-conf-test] - ]
  14671. 1876.01 s [opt-env-conf-test] - ]
  14672. 1876.01 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14673. 1876.01 s [opt-env-conf-test] [ [ functionChunk "long",
  14674. 1876.01 s [opt-env-conf-test] " or ",
  14675. 1876.01 s [opt-env-conf-test] functionChunk "short",
  14676. 1876.01 s [opt-env-conf-test] " has no ",
  14677. 1876.01 s [opt-env-conf-test] functionChunk "option",
  14678. 1876.01 s [opt-env-conf-test] " or ",
  14679. 1876.01 s [opt-env-conf-test] functionChunk "switch",
  14680. 1876.01 s [opt-env-conf-test] "."
  14681. 1876.01 s [opt-env-conf-test] ]
  14682. 1876.01 s [opt-env-conf-test] ]
  14683. 1876.01 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14684. 1876.01 s [opt-env-conf-test] [ [ functionChunk "env",
  14685. 1876.01 s [opt-env-conf-test] " or ",
  14686. 1876.01 s [opt-env-conf-test] functionChunk "name",
  14687. 1876.01 s [opt-env-conf-test] " has no ",
  14688. 1876.02 s [opt-env-conf-test] functionChunk "reader",
  14689. 1876.02 s [opt-env-conf-test] "."
  14690. 1876.02 s [opt-env-conf-test] ]
  14691. 1876.02 s [opt-env-conf-test] ]
  14692. 1876.02 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14693. 1876.02 s [opt-env-conf-test] [ [ functionChunk "env",
  14694. 1876.02 s [opt-env-conf-test] " or ",
  14695. 1876.02 s [opt-env-conf-test] functionChunk "name",
  14696. 1876.02 s [opt-env-conf-test] " has no ",
  14697. 1876.02 s [opt-env-conf-test] functionChunk "metavar",
  14698. 1876.02 s [opt-env-conf-test] "."
  14699. 1876.02 s [opt-env-conf-test] ]
  14700. 1876.02 s [opt-env-conf-test] ]
  14701. 1876.02 s [opt-env-conf-test] LintErrorNoCommands ->
  14702. 1876.71 s [opt-env-conf-test] [ [ functionChunk "commands",
  14703. 1876.71 s [opt-env-conf-test] " was called with an empty list."
  14704. 1876.71 s [opt-env-conf-test] ]
  14705. 1876.72 s [opt-env-conf-test] ]
  14706. 1876.72 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14707. 1876.72 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14708. 1876.72 s [opt-env-conf-test] " was called with an unknown command: ",
  14709. 1876.72 s [opt-env-conf-test] commandChunk c
  14710. 1876.72 s [opt-env-conf-test] ]
  14711. 1876.72 s [opt-env-conf-test] ]
  14712. 1876.72 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14713. 1876.72 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14714. 1876.72 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14715. 1876.72 s [opt-env-conf-test] ]
  14716. 1876.72 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14717. 1876.72 s [opt-env-conf-test] [ [ functionChunk "conf",
  14718. 1876.72 s [opt-env-conf-test] " or ",
  14719. 1876.72 s [opt-env-conf-test] functionChunk "name",
  14720. 1876.72 s [opt-env-conf-test] " was called with no way to load configuration."
  14721. 1876.72 s [opt-env-conf-test] ],
  14722. 1876.72 s [opt-env-conf-test] [ "You can load configuration with ",
  14723. 1876.72 s [opt-env-conf-test] functionChunk "withConfig",
  14724. 1876.72 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14725. 1876.72 s [opt-env-conf-test] functionChunk "withoutConfig",
  14726. 1876.72 s [opt-env-conf-test] "."
  14727. 1876.72 s [opt-env-conf-test] ]
  14728. 1876.72 s [opt-env-conf-test] ]
  14729. 1876.72 s [opt-env-conf-test] LintErrorManyInfinite ->
  14730. 1876.72 s [opt-env-conf-test] [ [ functionChunk "many",
  14731. 1876.72 s [opt-env-conf-test] " or ",
  14732. 1876.72 s [opt-env-conf-test] functionChunk "some",
  14733. 1876.72 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14734. 1876.72 s [opt-env-conf-test] ],
  14735. 1876.72 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14736. 1876.72 s [opt-env-conf-test] ],
  14737. 1876.72 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14738. 1876.72 s [opt-env-conf-test] ]
  14739. 1876.72 s [opt-env-conf-test]
  14740. 1876.72 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
  14741. 1876.72 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  14742. 1876.72 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  14743. 1876.72 s [opt-env-conf-test] go (c :| rest) =
  14744. 1876.72 s [opt-env-conf-test] if c `elem` cs
  14745. 1876.72 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  14746. 1876.72 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  14747. 1876.72 s [opt-env-conf-test] else do
  14748. 1876.72 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  14749. 1876.72 s [opt-env-conf-test] new <- go rest'
  14750. 1876.72 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  14751. 1876.72 s [opt-env-conf-test] @@ -66,168 +66,151 @@
  14752. 1876.72 s [opt-env-conf-test] renderLintError LintError {..} =
  14753. 1876.72 s [opt-env-conf-test] concat
  14754. 1876.72 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  14755. 1876.72 s [opt-env-conf-test] case lintErrorMessage of
  14756. 1876.72 s [opt-env-conf-test] LintErrorUndocumented ->
  14757. 1876.72 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14758. 1876.72 s [opt-env-conf-test] LintErrorEmptySetting ->
  14759. 1876.73 s [opt-env-conf-test] concat
  14760. 1876.73 s [opt-env-conf-test] [ [ [ "This ",
  14761. 1876.73 s [opt-env-conf-test] functionChunk "setting",
  14762. 1876.73 s [opt-env-conf-test] " parses nothing."
  14763. 1876.73 s [opt-env-conf-test] ]
  14764. 1876.73 s [opt-env-conf-test] ],
  14765. 1876.73 s [opt-env-conf-test] [ [ "Add an ",
  14766. 1876.73 s [opt-env-conf-test] functionChunk "argument",
  14767. 1876.73 s [opt-env-conf-test] ", ",
  14768. 1876.73 s [opt-env-conf-test] functionChunk "switch",
  14769. 1876.73 s [opt-env-conf-test] ", ",
  14770. 1876.73 s [opt-env-conf-test] functionChunk "option",
  14771. 1876.73 s [opt-env-conf-test] ", ",
  14772. 1876.73 s [opt-env-conf-test] functionChunk "env",
  14773. 1876.73 s [opt-env-conf-test] ", ",
  14774. 1876.73 s [opt-env-conf-test] functionChunk "conf",
  14775. 1876.73 s [opt-env-conf-test] ", or ",
  14776. 1876.73 s [opt-env-conf-test] functionChunk "value",
  14777. 1876.73 s [opt-env-conf-test] "."
  14778. 1876.73 s [opt-env-conf-test] ]
  14779. 1876.73 s [opt-env-conf-test] ]
  14780. 1876.73 s [opt-env-conf-test] ]
  14781. 1876.73 s [opt-env-conf-test] LintErrorDashInShort ->
  14782. 1876.73 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  14783. 1876.73 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  14784. 1876.73 s [opt-env-conf-test] ]
  14785. 1876.73 s [opt-env-conf-test] - LintErrorDashInLong s ->
  14786. 1876.73 s [opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
  14787. 1876.73 s [opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14788. 1876.73 s [opt-env-conf-test] - [ "Try ",
  14789. 1876.73 s [opt-env-conf-test] - functionChunk "long",
  14790. 1876.73 s [opt-env-conf-test] - " ",
  14791. 1876.73 s [opt-env-conf-test] - chunk $
  14792. 1876.73 s [opt-env-conf-test] - T.pack $
  14793. 1876.73 s [opt-env-conf-test] - show $
  14794. 1876.73 s [opt-env-conf-test] - let go = \case
  14795. 1876.73 s [opt-env-conf-test] - [] -> []
  14796. 1876.73 s [opt-env-conf-test] - '-' : cs -> go cs
  14797. 1876.73 s [opt-env-conf-test] - c : cs -> c : cs
  14798. 1876.73 s [opt-env-conf-test] - in go $ NE.toList s,
  14799. 1876.73 s [opt-env-conf-test] - " instead."
  14800. 1876.73 s [opt-env-conf-test] - ]
  14801. 1876.73 s [opt-env-conf-test] - ]
  14802. 1876.73 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14803. 1876.73 s [opt-env-conf-test] [ [ functionChunk "argument",
  14804. 1876.73 s [opt-env-conf-test] " has no ",
  14805. 1876.73 s [opt-env-conf-test] functionChunk "reader",
  14806. 1876.73 s [opt-env-conf-test] "."
  14807. 1876.73 s [opt-env-conf-test] ]
  14808. 1876.73 s [opt-env-conf-test] ]
  14809. 1876.73 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14810. 1876.73 s [opt-env-conf-test] [ [ functionChunk "argument",
  14811. 1876.73 s [opt-env-conf-test] " has no ",
  14812. 1876.73 s [opt-env-conf-test] functionChunk "metavar",
  14813. 1876.73 s [opt-env-conf-test] "."
  14814. 1876.73 s [opt-env-conf-test] ]
  14815. 1876.73 s [opt-env-conf-test] ]
  14816. 1876.73 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14817. 1876.73 s [opt-env-conf-test] [ [ functionChunk "option",
  14818. 1876.73 s [opt-env-conf-test] " or ",
  14819. 1876.73 s [opt-env-conf-test] functionChunk "name",
  14820. 1876.73 s [opt-env-conf-test] " has no ",
  14821. 1876.73 s [opt-env-conf-test] functionChunk "reader",
  14822. 1876.74 s [opt-env-conf-test] "."
  14823. 1876.74 s [opt-env-conf-test] ]
  14824. 1876.74 s [opt-env-conf-test] ]
  14825. 1876.74 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14826. 1876.74 s [opt-env-conf-test] [ [ functionChunk "option",
  14827. 1876.74 s [opt-env-conf-test] " has no ",
  14828. 1876.74 s [opt-env-conf-test] functionChunk "long",
  14829. 1876.74 s [opt-env-conf-test] " or ",
  14830. 1876.74 s [opt-env-conf-test] functionChunk "short",
  14831. 1876.74 s [opt-env-conf-test] "."
  14832. 1876.74 s [opt-env-conf-test] ]
  14833. 1876.74 s [opt-env-conf-test] ]
  14834. 1876.74 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  14835. 1876.74 s [opt-env-conf-test] [ [ functionChunk "option",
  14836. 1876.74 s [opt-env-conf-test] " or ",
  14837. 1876.74 s [opt-env-conf-test] functionChunk "name",
  14838. 1876.74 s [opt-env-conf-test] " has no ",
  14839. 1876.74 s [opt-env-conf-test] functionChunk "metavar",
  14840. 1876.74 s [opt-env-conf-test] "."
  14841. 1876.74 s [opt-env-conf-test] ]
  14842. 1876.74 s [opt-env-conf-test] ]
  14843. 1876.74 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  14844. 1876.74 s [opt-env-conf-test] [ [ functionChunk "switch",
  14845. 1876.74 s [opt-env-conf-test] " has no ",
  14846. 1876.74 s [opt-env-conf-test] functionChunk "long",
  14847. 1876.74 s [opt-env-conf-test] " or ",
  14848. 1876.74 s [opt-env-conf-test] functionChunk "short",
  14849. 1876.74 s [opt-env-conf-test] "."
  14850. 1876.74 s [opt-env-conf-test] ]
  14851. 1876.74 s [opt-env-conf-test] ]
  14852. 1876.74 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  14853. 1876.74 s [opt-env-conf-test] [ [ functionChunk "long",
  14854. 1876.74 s [opt-env-conf-test] " or ",
  14855. 1876.74 s [opt-env-conf-test] functionChunk "short",
  14856. 1876.74 s [opt-env-conf-test] " has no ",
  14857. 1876.74 s [opt-env-conf-test] functionChunk "option",
  14858. 1876.74 s [opt-env-conf-test] " or ",
  14859. 1876.74 s [opt-env-conf-test] functionChunk "switch",
  14860. 1876.74 s [opt-env-conf-test] "."
  14861. 1876.74 s [opt-env-conf-test] ]
  14862. 1876.74 s [opt-env-conf-test] ]
  14863. 1876.74 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  14864. 1876.74 s [opt-env-conf-test] [ [ functionChunk "env",
  14865. 1876.74 s [opt-env-conf-test] " or ",
  14866. 1876.74 s [opt-env-conf-test] functionChunk "name",
  14867. 1876.74 s [opt-env-conf-test] " has no ",
  14868. 1876.74 s [opt-env-conf-test] functionChunk "reader",
  14869. 1876.74 s [opt-env-conf-test] "."
  14870. 1876.74 s [opt-env-conf-test] ]
  14871. 1876.74 s [opt-env-conf-test] ]
  14872. 1876.74 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  14873. 1876.74 s [opt-env-conf-test] [ [ functionChunk "env",
  14874. 1876.74 s [opt-env-conf-test] " or ",
  14875. 1876.74 s [opt-env-conf-test] functionChunk "name",
  14876. 1876.74 s [opt-env-conf-test] " has no ",
  14877. 1876.74 s [opt-env-conf-test] functionChunk "metavar",
  14878. 1876.74 s [opt-env-conf-test] "."
  14879. 1876.74 s [opt-env-conf-test] ]
  14880. 1877.29 s [opt-env-conf-test] ]
  14881. 1877.29 s [opt-env-conf-test] LintErrorNoCommands ->
  14882. 1877.29 s [opt-env-conf-test] [ [ functionChunk "commands",
  14883. 1877.29 s [opt-env-conf-test] " was called with an empty list."
  14884. 1877.29 s [opt-env-conf-test] ]
  14885. 1877.29 s [opt-env-conf-test] ]
  14886. 1877.30 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  14887. 1877.30 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  14888. 1877.30 s [opt-env-conf-test] " was called with an unknown command: ",
  14889. 1877.30 s [opt-env-conf-test] commandChunk c
  14890. 1877.30 s [opt-env-conf-test] ]
  14891. 1877.30 s [opt-env-conf-test] ]
  14892. 1877.30 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  14893. 1877.30 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  14894. 1877.30 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  14895. 1877.30 s [opt-env-conf-test] ]
  14896. 1877.30 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  14897. 1877.30 s [opt-env-conf-test] [ [ functionChunk "conf",
  14898. 1877.30 s [opt-env-conf-test] " or ",
  14899. 1877.30 s [opt-env-conf-test] functionChunk "name",
  14900. 1877.30 s [opt-env-conf-test] " was called with no way to load configuration."
  14901. 1877.30 s [opt-env-conf-test] ],
  14902. 1877.30 s [opt-env-conf-test] [ "You can load configuration with ",
  14903. 1877.30 s [opt-env-conf-test] functionChunk "withConfig",
  14904. 1877.30 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  14905. 1877.30 s [opt-env-conf-test] functionChunk "withoutConfig",
  14906. 1877.30 s [opt-env-conf-test] "."
  14907. 1877.30 s [opt-env-conf-test] ]
  14908. 1877.30 s [opt-env-conf-test] ]
  14909. 1877.30 s [opt-env-conf-test] LintErrorManyInfinite ->
  14910. 1877.30 s [opt-env-conf-test] [ [ functionChunk "many",
  14911. 1877.30 s [opt-env-conf-test] " or ",
  14912. 1877.30 s [opt-env-conf-test] functionChunk "some",
  14913. 1877.30 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  14914. 1877.30 s [opt-env-conf-test] ],
  14915. 1877.30 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  14916. 1877.30 s [opt-env-conf-test] ],
  14917. 1877.30 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  14918. 1877.30 s [opt-env-conf-test] ]
  14919. 1877.30 s [opt-env-conf-test]
  14920. 1877.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  14921. 1877.30 s [opt-env-conf-test] @@ -66,168 +66,164 @@
  14922. 1877.30 s [opt-env-conf-test] renderLintError LintError {..} =
  14923. 1877.30 s [opt-env-conf-test] concat
  14924. 1877.30 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  14925. 1877.30 s [opt-env-conf-test] case lintErrorMessage of
  14926. 1877.30 s [opt-env-conf-test] LintErrorUndocumented ->
  14927. 1877.30 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  14928. 1877.30 s [opt-env-conf-test] LintErrorEmptySetting ->
  14929. 1877.30 s [opt-env-conf-test] concat
  14930. 1877.30 s [opt-env-conf-test] [ [ [ "This ",
  14931. 1877.30 s [opt-env-conf-test] functionChunk "setting",
  14932. 1877.30 s [opt-env-conf-test] " parses nothing."
  14933. 1877.30 s [opt-env-conf-test] ]
  14934. 1877.30 s [opt-env-conf-test] ],
  14935. 1877.30 s [opt-env-conf-test] [ [ "Add an ",
  14936. 1877.30 s [opt-env-conf-test] functionChunk "argument",
  14937. 1877.30 s [opt-env-conf-test] ", ",
  14938. 1877.30 s [opt-env-conf-test] functionChunk "switch",
  14939. 1877.30 s [opt-env-conf-test] ", ",
  14940. 1877.30 s [opt-env-conf-test] functionChunk "option",
  14941. 1877.30 s [opt-env-conf-test] ", ",
  14942. 1877.30 s [opt-env-conf-test] functionChunk "env",
  14943. 1877.30 s [opt-env-conf-test] ", ",
  14944. 1877.30 s [opt-env-conf-test] functionChunk "conf",
  14945. 1877.30 s [opt-env-conf-test] ", or ",
  14946. 1877.30 s [opt-env-conf-test] functionChunk "value",
  14947. 1877.30 s [opt-env-conf-test] "."
  14948. 1877.30 s [opt-env-conf-test] ]
  14949. 1877.30 s [opt-env-conf-test] ]
  14950. 1877.30 s [opt-env-conf-test] ]
  14951. 1877.31 s [opt-env-conf-test] - LintErrorDashInShort ->
  14952. 1877.31 s [opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
  14953. 1877.31 s [opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
  14954. 1877.31 s [opt-env-conf-test] - ]
  14955. 1877.31 s [opt-env-conf-test] LintErrorDashInLong s ->
  14956. 1877.31 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  14957. 1877.31 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  14958. 1877.31 s [opt-env-conf-test] [ "Try ",
  14959. 1877.31 s [opt-env-conf-test] functionChunk "long",
  14960. 1877.31 s [opt-env-conf-test] " ",
  14961. 1877.31 s [opt-env-conf-test] chunk $
  14962. 1877.31 s [opt-env-conf-test] T.pack $
  14963. 1877.31 s [opt-env-conf-test] show $
  14964. 1877.31 s [opt-env-conf-test] let go = \case
  14965. 1877.31 s [opt-env-conf-test] [] -> []
  14966. 1877.31 s [opt-env-conf-test] '-' : cs -> go cs
  14967. 1877.31 s [opt-env-conf-test] c : cs -> c : cs
  14968. 1877.31 s [opt-env-conf-test] in go $ NE.toList s,
  14969. 1877.31 s [opt-env-conf-test] " instead."
  14970. 1877.31 s [opt-env-conf-test] ]
  14971. 1877.31 s [opt-env-conf-test] ]
  14972. 1877.31 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  14973. 1877.31 s [opt-env-conf-test] [ [ functionChunk "argument",
  14974. 1877.31 s [opt-env-conf-test] " has no ",
  14975. 1877.31 s [opt-env-conf-test] functionChunk "reader",
  14976. 1877.31 s [opt-env-conf-test] "."
  14977. 1877.31 s [opt-env-conf-test] ]
  14978. 1877.31 s [opt-env-conf-test] ]
  14979. 1877.31 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  14980. 1877.31 s [opt-env-conf-test] [ [ functionChunk "argument",
  14981. 1877.31 s [opt-env-conf-test] " has no ",
  14982. 1877.31 s [opt-env-conf-test] functionChunk "metavar",
  14983. 1877.31 s [opt-env-conf-test] "."
  14984. 1877.31 s [opt-env-conf-test] ]
  14985. 1877.31 s [opt-env-conf-test] ]
  14986. 1877.31 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  14987. 1877.31 s [opt-env-conf-test] [ [ functionChunk "option",
  14988. 1877.31 s [opt-env-conf-test] " or ",
  14989. 1877.31 s [opt-env-conf-test] functionChunk "name",
  14990. 1877.31 s [opt-env-conf-test] " has no ",
  14991. 1877.31 s [opt-env-conf-test] functionChunk "reader",
  14992. 1877.31 s [opt-env-conf-test] "."
  14993. 1877.31 s [opt-env-conf-test] ]
  14994. 1877.31 s [opt-env-conf-test] ]
  14995. 1877.31 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  14996. 1877.31 s [opt-env-conf-test] [ [ functionChunk "option",
  14997. 1877.31 s [opt-env-conf-test] " has no ",
  14998. 1877.31 s [opt-env-conf-test] functionChunk "long",
  14999. 1877.31 s [opt-env-conf-test] " or ",
  15000. 1877.31 s [opt-env-conf-test] functionChunk "short",
  15001. 1877.31 s [opt-env-conf-test] "."
  15002. 1877.31 s [opt-env-conf-test] ]
  15003. 1877.31 s [opt-env-conf-test] ]
  15004. 1877.31 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15005. 1877.31 s [opt-env-conf-test] [ [ functionChunk "option",
  15006. 1877.31 s [opt-env-conf-test] " or ",
  15007. 1877.31 s [opt-env-conf-test] functionChunk "name",
  15008. 1877.31 s [opt-env-conf-test] " has no ",
  15009. 1877.31 s [opt-env-conf-test] functionChunk "metavar",
  15010. 1877.31 s [opt-env-conf-test] "."
  15011. 1877.31 s [opt-env-conf-test] ]
  15012. 1877.31 s [opt-env-conf-test] ]
  15013. 1877.31 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15014. 1877.31 s [opt-env-conf-test] [ [ functionChunk "switch",
  15015. 1877.31 s [opt-env-conf-test] " has no ",
  15016. 1877.31 s [opt-env-conf-test] functionChunk "long",
  15017. 1877.31 s [opt-env-conf-test] " or ",
  15018. 1877.31 s [opt-env-conf-test] functionChunk "short",
  15019. 1877.31 s [opt-env-conf-test] "."
  15020. 1877.31 s [opt-env-conf-test] ]
  15021. 1877.31 s [opt-env-conf-test] ]
  15022. 1877.31 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15023. 1877.31 s [opt-env-conf-test] [ [ functionChunk "long",
  15024. 1877.31 s [opt-env-conf-test] " or ",
  15025. 1877.31 s [opt-env-conf-test] functionChunk "short",
  15026. 1877.31 s [opt-env-conf-test] " has no ",
  15027. 1877.31 s [opt-env-conf-test] functionChunk "option",
  15028. 1877.31 s [opt-env-conf-test] " or ",
  15029. 1877.31 s [opt-env-conf-test] functionChunk "switch",
  15030. 1877.31 s [opt-env-conf-test] "."
  15031. 1877.31 s [opt-env-conf-test] ]
  15032. 1877.31 s [opt-env-conf-test] ]
  15033. 1877.31 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15034. 1877.31 s [opt-env-conf-test] [ [ functionChunk "env",
  15035. 1877.31 s [opt-env-conf-test] " or ",
  15036. 1877.31 s [opt-env-conf-test] functionChunk "name",
  15037. 1877.31 s [opt-env-conf-test] " has no ",
  15038. 1877.31 s [opt-env-conf-test] functionChunk "reader",
  15039. 1877.31 s [opt-env-conf-test] "."
  15040. 1877.31 s [opt-env-conf-test] ]
  15041. 1877.31 s [opt-env-conf-test] ]
  15042. 1877.31 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15043. 1877.31 s [opt-env-conf-test] [ [ functionChunk "env",
  15044. 1877.31 s [opt-env-conf-test] " or ",
  15045. 1877.31 s [opt-env-conf-test] functionChunk "name",
  15046. 1877.31 s [opt-env-conf-test] " has no ",
  15047. 1877.31 s [opt-env-conf-test] functionChunk "metavar",
  15048. 1877.31 s [opt-env-conf-test] "."
  15049. 1877.31 s [opt-env-conf-test] ]
  15050. 1877.31 s [opt-env-conf-test] ]
  15051. 1877.31 s [opt-env-conf-test] LintErrorNoCommands ->
  15052. 1877.31 s [opt-env-conf-test] [ [ functionChunk "commands",
  15053. 1879.57 s [opt-env-conf-test] " was called with an empty list."
  15054. 1879.57 s [opt-env-conf-test] ]
  15055. 1879.57 s [opt-env-conf-test] ]
  15056. 1879.67 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15057. 1879.67 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15058. 1879.67 s [opt-env-conf-test] " was called with an unknown command: ",
  15059. 1879.67 s [opt-env-conf-test] commandChunk c
  15060. 1879.67 s [opt-env-conf-test] ]
  15061. 1879.67 s [opt-env-conf-test] ]
  15062. 1879.67 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15063. 1879.67 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15064. 1879.67 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15065. 1879.67 s [opt-env-conf-test] ]
  15066. 1879.67 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15067. 1879.67 s [opt-env-conf-test] [ [ functionChunk "conf",
  15068. 1879.67 s [opt-env-conf-test] " or ",
  15069. 1879.67 s [opt-env-conf-test] functionChunk "name",
  15070. 1879.67 s [opt-env-conf-test] " was called with no way to load configuration."
  15071. 1879.67 s [opt-env-conf-test] ],
  15072. 1879.67 s [opt-env-conf-test] [ "You can load configuration with ",
  15073. 1879.67 s [opt-env-conf-test] functionChunk "withConfig",
  15074. 1879.67 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15075. 1879.67 s [opt-env-conf-test] functionChunk "withoutConfig",
  15076. 1879.67 s [opt-env-conf-test] "."
  15077. 1879.67 s [opt-env-conf-test] ]
  15078. 1879.67 s [opt-env-conf-test] ]
  15079. 1879.67 s [opt-env-conf-test] LintErrorManyInfinite ->
  15080. 1879.67 s [opt-env-conf-test] [ [ functionChunk "many",
  15081. 1879.67 s [opt-env-conf-test] " or ",
  15082. 1879.67 s [opt-env-conf-test] functionChunk "some",
  15083. 1879.67 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15084. 1879.67 s [opt-env-conf-test] ],
  15085. 1879.67 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15086. 1879.67 s [opt-env-conf-test] ],
  15087. 1879.67 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15088. 1879.67 s [opt-env-conf-test] ]
  15089. 1879.67 s [opt-env-conf-test]
  15090. 1879.68 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
  15091. 1879.68 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  15092. 1879.68 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  15093. 1879.68 s [opt-env-conf-test] go (c :| rest) =
  15094. 1879.68 s [opt-env-conf-test] if c `elem` cs
  15095. 1879.68 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  15096. 1879.68 s [opt-env-conf-test] + then Just $ (\ne -> (ne, not (null rest))) <$> NE.nonEmpty rest
  15097. 1879.68 s [opt-env-conf-test] else do
  15098. 1879.68 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  15099. 1879.68 s [opt-env-conf-test] new <- go rest'
  15100. 1879.68 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
  15101. 1879.68 s [opt-env-conf-test] @@ -369,7 +369,7 @@
  15102. 1879.68 s [opt-env-conf-test] pure $
  15103. 1879.68 s [opt-env-conf-test] Just $
  15104. 1879.68 s [opt-env-conf-test] maybe
  15105. 1879.68 s [opt-env-conf-test] - (c :| [], True)
  15106. 1879.68 s [opt-env-conf-test] + (c :| [], False)
  15107. 1879.68 s [opt-env-conf-test] (first (c NE.<|))
  15108. 1879.68 s [opt-env-conf-test] new
  15109. 1879.68 s [opt-env-conf-test]
  15110. 1879.68 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  15111. 1879.68 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  15112. 1879.68 s [opt-env-conf-test] NonEmpty Char ->
  15113. 1879.68 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  15114. 1879.68 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15115. 1879.68 s [opt-env-conf-test] - if isLong
  15116. 1879.68 s [opt-env-conf-test] + if True
  15117. 1879.68 s [opt-env-conf-test] then
  15118. 1879.68 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  15119. 1879.68 s [opt-env-conf-test] then Just Nothing
  15120. 1879.68 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15121. 1879.68 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  15122. 1879.68 s [opt-env-conf-test] renderLintError LintError {..} =
  15123. 1879.68 s [opt-env-conf-test] concat
  15124. 1879.68 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15125. 1879.68 s [opt-env-conf-test] case lintErrorMessage of
  15126. 1879.68 s [opt-env-conf-test] LintErrorUndocumented ->
  15127. 1879.68 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15128. 1879.68 s [opt-env-conf-test] LintErrorEmptySetting ->
  15129. 1879.68 s [opt-env-conf-test] concat
  15130. 1879.68 s [opt-env-conf-test] [ [ [ "This ",
  15131. 1879.68 s [opt-env-conf-test] functionChunk "setting",
  15132. 1879.68 s [opt-env-conf-test] " parses nothing."
  15133. 1879.68 s [opt-env-conf-test] ]
  15134. 1879.68 s [opt-env-conf-test] ],
  15135. 1879.68 s [opt-env-conf-test] [ [ "Add an ",
  15136. 1879.68 s [opt-env-conf-test] functionChunk "argument",
  15137. 1879.68 s [opt-env-conf-test] ", ",
  15138. 1879.68 s [opt-env-conf-test] functionChunk "switch",
  15139. 1879.68 s [opt-env-conf-test] ", ",
  15140. 1879.68 s [opt-env-conf-test] functionChunk "option",
  15141. 1879.68 s [opt-env-conf-test] ", ",
  15142. 1879.68 s [opt-env-conf-test] functionChunk "env",
  15143. 1879.68 s [opt-env-conf-test] ", ",
  15144. 1879.68 s [opt-env-conf-test] functionChunk "conf",
  15145. 1879.68 s [opt-env-conf-test] ", or ",
  15146. 1879.68 s [opt-env-conf-test] functionChunk "value",
  15147. 1879.69 s [opt-env-conf-test] "."
  15148. 1879.69 s [opt-env-conf-test] ]
  15149. 1879.69 s [opt-env-conf-test] ]
  15150. 1879.69 s [opt-env-conf-test] ]
  15151. 1879.69 s [opt-env-conf-test] LintErrorDashInShort ->
  15152. 1879.69 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15153. 1879.69 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15154. 1879.69 s [opt-env-conf-test] ]
  15155. 1879.69 s [opt-env-conf-test] LintErrorDashInLong s ->
  15156. 1879.69 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15157. 1879.69 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15158. 1879.69 s [opt-env-conf-test] [ "Try ",
  15159. 1879.69 s [opt-env-conf-test] functionChunk "long",
  15160. 1879.69 s [opt-env-conf-test] " ",
  15161. 1879.69 s [opt-env-conf-test] chunk $
  15162. 1879.69 s [opt-env-conf-test] T.pack $
  15163. 1879.69 s [opt-env-conf-test] show $
  15164. 1879.69 s [opt-env-conf-test] let go = \case
  15165. 1879.69 s [opt-env-conf-test] [] -> []
  15166. 1879.69 s [opt-env-conf-test] '-' : cs -> go cs
  15167. 1879.69 s [opt-env-conf-test] c : cs -> c : cs
  15168. 1879.69 s [opt-env-conf-test] in go $ NE.toList s,
  15169. 1879.69 s [opt-env-conf-test] " instead."
  15170. 1879.69 s [opt-env-conf-test] ]
  15171. 1879.69 s [opt-env-conf-test] ]
  15172. 1879.69 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15173. 1879.69 s [opt-env-conf-test] [ [ functionChunk "argument",
  15174. 1879.69 s [opt-env-conf-test] " has no ",
  15175. 1879.69 s [opt-env-conf-test] functionChunk "reader",
  15176. 1879.69 s [opt-env-conf-test] "."
  15177. 1879.69 s [opt-env-conf-test] ]
  15178. 1879.69 s [opt-env-conf-test] ]
  15179. 1879.69 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15180. 1879.69 s [opt-env-conf-test] [ [ functionChunk "argument",
  15181. 1879.69 s [opt-env-conf-test] " has no ",
  15182. 1879.69 s [opt-env-conf-test] functionChunk "metavar",
  15183. 1879.69 s [opt-env-conf-test] "."
  15184. 1879.69 s [opt-env-conf-test] ]
  15185. 1879.69 s [opt-env-conf-test] ]
  15186. 1879.69 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15187. 1879.69 s [opt-env-conf-test] [ [ functionChunk "option",
  15188. 1879.69 s [opt-env-conf-test] " or ",
  15189. 1879.69 s [opt-env-conf-test] functionChunk "name",
  15190. 1879.69 s [opt-env-conf-test] " has no ",
  15191. 1879.69 s [opt-env-conf-test] functionChunk "reader",
  15192. 1879.69 s [opt-env-conf-test] "."
  15193. 1879.69 s [opt-env-conf-test] ]
  15194. 1879.69 s [opt-env-conf-test] ]
  15195. 1879.69 s [opt-env-conf-test] - LintErrorNoDashedForOption ->
  15196. 1879.69 s [opt-env-conf-test] - [ [ functionChunk "option",
  15197. 1879.69 s [opt-env-conf-test] - " has no ",
  15198. 1879.69 s [opt-env-conf-test] - functionChunk "long",
  15199. 1879.69 s [opt-env-conf-test] - " or ",
  15200. 1879.69 s [opt-env-conf-test] - functionChunk "short",
  15201. 1879.69 s [opt-env-conf-test] - "."
  15202. 1879.69 s [opt-env-conf-test] - ]
  15203. 1879.69 s [opt-env-conf-test] - ]
  15204. 1879.69 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15205. 1879.69 s [opt-env-conf-test] [ [ functionChunk "option",
  15206. 1879.69 s [opt-env-conf-test] " or ",
  15207. 1879.69 s [opt-env-conf-test] functionChunk "name",
  15208. 1879.69 s [opt-env-conf-test] " has no ",
  15209. 1879.69 s [opt-env-conf-test] functionChunk "metavar",
  15210. 1879.69 s [opt-env-conf-test] "."
  15211. 1879.69 s [opt-env-conf-test] ]
  15212. 1879.69 s [opt-env-conf-test] ]
  15213. 1879.69 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15214. 1879.69 s [opt-env-conf-test] [ [ functionChunk "switch",
  15215. 1879.69 s [opt-env-conf-test] " has no ",
  15216. 1879.69 s [opt-env-conf-test] functionChunk "long",
  15217. 1879.69 s [opt-env-conf-test] " or ",
  15218. 1879.69 s [opt-env-conf-test] functionChunk "short",
  15219. 1879.69 s [opt-env-conf-test] "."
  15220. 1879.69 s [opt-env-conf-test] ]
  15221. 1879.69 s [opt-env-conf-test] ]
  15222. 1879.69 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15223. 1879.70 s [opt-env-conf-test] [ [ functionChunk "long",
  15224. 1879.70 s [opt-env-conf-test] " or ",
  15225. 1879.70 s [opt-env-conf-test] functionChunk "short",
  15226. 1879.70 s [opt-env-conf-test] " has no ",
  15227. 1879.70 s [opt-env-conf-test] functionChunk "option",
  15228. 1879.70 s [opt-env-conf-test] " or ",
  15229. 1879.70 s [opt-env-conf-test] functionChunk "switch",
  15230. 1879.70 s [opt-env-conf-test] "."
  15231. 1879.70 s [opt-env-conf-test] ]
  15232. 1879.70 s [opt-env-conf-test] ]
  15233. 1879.70 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15234. 1879.70 s [opt-env-conf-test] [ [ functionChunk "env",
  15235. 1879.70 s [opt-env-conf-test] " or ",
  15236. 1879.70 s [opt-env-conf-test] functionChunk "name",
  15237. 1879.70 s [opt-env-conf-test] " has no ",
  15238. 1879.70 s [opt-env-conf-test] functionChunk "reader",
  15239. 1879.70 s [opt-env-conf-test] "."
  15240. 1879.70 s [opt-env-conf-test] ]
  15241. 1879.70 s [opt-env-conf-test] ]
  15242. 1879.70 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15243. 1879.70 s [opt-env-conf-test] [ [ functionChunk "env",
  15244. 1879.70 s [opt-env-conf-test] " or ",
  15245. 1879.70 s [opt-env-conf-test] functionChunk "name",
  15246. 1879.70 s [opt-env-conf-test] " has no ",
  15247. 1879.70 s [opt-env-conf-test] functionChunk "metavar",
  15248. 1879.70 s [opt-env-conf-test] "."
  15249. 1879.70 s [opt-env-conf-test] ]
  15250. 1879.70 s [opt-env-conf-test] ]
  15251. 1879.70 s [opt-env-conf-test] LintErrorNoCommands ->
  15252. 1880.97 s [opt-env-conf-test] [ [ functionChunk "commands",
  15253. 1880.97 s [opt-env-conf-test] " was called with an empty list."
  15254. 1880.97 s [opt-env-conf-test] ]
  15255. 1880.97 s [opt-env-conf-test] ]
  15256. 1880.97 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15257. 1880.97 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15258. 1880.97 s [opt-env-conf-test] " was called with an unknown command: ",
  15259. 1880.97 s [opt-env-conf-test] commandChunk c
  15260. 1880.97 s [opt-env-conf-test] ]
  15261. 1880.97 s [opt-env-conf-test] ]
  15262. 1880.97 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15263. 1880.97 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15264. 1880.97 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15265. 1880.97 s [opt-env-conf-test] ]
  15266. 1880.97 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15267. 1880.98 s [opt-env-conf-test] [ [ functionChunk "conf",
  15268. 1880.98 s [opt-env-conf-test] " or ",
  15269. 1880.98 s [opt-env-conf-test] functionChunk "name",
  15270. 1880.98 s [opt-env-conf-test] " was called with no way to load configuration."
  15271. 1880.98 s [opt-env-conf-test] ],
  15272. 1880.98 s [opt-env-conf-test] [ "You can load configuration with ",
  15273. 1880.98 s [opt-env-conf-test] functionChunk "withConfig",
  15274. 1880.98 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15275. 1880.98 s [opt-env-conf-test] functionChunk "withoutConfig",
  15276. 1880.98 s [opt-env-conf-test] "."
  15277. 1880.98 s [opt-env-conf-test] ]
  15278. 1880.98 s [opt-env-conf-test] ]
  15279. 1880.98 s [opt-env-conf-test] LintErrorManyInfinite ->
  15280. 1880.98 s [opt-env-conf-test] [ [ functionChunk "many",
  15281. 1880.98 s [opt-env-conf-test] " or ",
  15282. 1880.98 s [opt-env-conf-test] functionChunk "some",
  15283. 1880.98 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15284. 1880.98 s [opt-env-conf-test] ],
  15285. 1880.98 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15286. 1880.98 s [opt-env-conf-test] ],
  15287. 1880.98 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15288. 1880.98 s [opt-env-conf-test] ]
  15289. 1880.98 s [opt-env-conf-test]
  15290. 1880.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
  15291. 1880.98 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  15292. 1880.98 s [opt-env-conf-test] NonEmpty Char ->
  15293. 1880.98 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  15294. 1880.98 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15295. 1880.98 s [opt-env-conf-test] - if isLong
  15296. 1880.98 s [opt-env-conf-test] + if False
  15297. 1880.98 s [opt-env-conf-test] then
  15298. 1880.98 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  15299. 1880.98 s [opt-env-conf-test] then Just Nothing
  15300. 1880.98 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
  15301. 1880.98 s [opt-env-conf-test] @@ -349,7 +349,7 @@
  15302. 1880.98 s [opt-env-conf-test] NonEmpty Char ->
  15303. 1880.98 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
  15304. 1880.98 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15305. 1880.98 s [opt-env-conf-test] - if isLong
  15306. 1880.98 s [opt-env-conf-test] + if not (isLong)
  15307. 1880.98 s [opt-env-conf-test] then
  15308. 1880.98 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  15309. 1880.98 s [opt-env-conf-test] then Just Nothing
  15310. 1880.98 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15311. 1880.98 s [opt-env-conf-test] @@ -66,168 +66,145 @@
  15312. 1880.99 s [opt-env-conf-test] renderLintError LintError {..} =
  15313. 1880.99 s [opt-env-conf-test] concat
  15314. 1880.99 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15315. 1880.99 s [opt-env-conf-test] case lintErrorMessage of
  15316. 1880.99 s [opt-env-conf-test] LintErrorUndocumented ->
  15317. 1880.99 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15318. 1880.99 s [opt-env-conf-test] - LintErrorEmptySetting ->
  15319. 1880.99 s [opt-env-conf-test] - concat
  15320. 1880.99 s [opt-env-conf-test] - [ [ [ "This ",
  15321. 1880.99 s [opt-env-conf-test] - functionChunk "setting",
  15322. 1880.99 s [opt-env-conf-test] - " parses nothing."
  15323. 1880.99 s [opt-env-conf-test] - ]
  15324. 1880.99 s [opt-env-conf-test] - ],
  15325. 1880.99 s [opt-env-conf-test] - [ [ "Add an ",
  15326. 1880.99 s [opt-env-conf-test] - functionChunk "argument",
  15327. 1880.99 s [opt-env-conf-test] - ", ",
  15328. 1880.99 s [opt-env-conf-test] - functionChunk "switch",
  15329. 1880.99 s [opt-env-conf-test] - ", ",
  15330. 1880.99 s [opt-env-conf-test] - functionChunk "option",
  15331. 1880.99 s [opt-env-conf-test] - ", ",
  15332. 1880.99 s [opt-env-conf-test] - functionChunk "env",
  15333. 1880.99 s [opt-env-conf-test] - ", ",
  15334. 1880.99 s [opt-env-conf-test] - functionChunk "conf",
  15335. 1880.99 s [opt-env-conf-test] - ", or ",
  15336. 1880.99 s [opt-env-conf-test] - functionChunk "value",
  15337. 1880.99 s [opt-env-conf-test] - "."
  15338. 1880.99 s [opt-env-conf-test] - ]
  15339. 1880.99 s [opt-env-conf-test] - ]
  15340. 1880.99 s [opt-env-conf-test] - ]
  15341. 1880.99 s [opt-env-conf-test] LintErrorDashInShort ->
  15342. 1880.99 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15343. 1880.99 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15344. 1880.99 s [opt-env-conf-test] ]
  15345. 1880.99 s [opt-env-conf-test] LintErrorDashInLong s ->
  15346. 1880.99 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15347. 1880.99 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15348. 1880.99 s [opt-env-conf-test] [ "Try ",
  15349. 1880.99 s [opt-env-conf-test] functionChunk "long",
  15350. 1880.99 s [opt-env-conf-test] " ",
  15351. 1880.99 s [opt-env-conf-test] chunk $
  15352. 1880.99 s [opt-env-conf-test] T.pack $
  15353. 1880.99 s [opt-env-conf-test] show $
  15354. 1880.99 s [opt-env-conf-test] let go = \case
  15355. 1880.99 s [opt-env-conf-test] [] -> []
  15356. 1880.99 s [opt-env-conf-test] '-' : cs -> go cs
  15357. 1880.99 s [opt-env-conf-test] c : cs -> c : cs
  15358. 1880.99 s [opt-env-conf-test] in go $ NE.toList s,
  15359. 1880.99 s [opt-env-conf-test] " instead."
  15360. 1880.99 s [opt-env-conf-test] ]
  15361. 1880.99 s [opt-env-conf-test] ]
  15362. 1880.99 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15363. 1880.99 s [opt-env-conf-test] [ [ functionChunk "argument",
  15364. 1880.99 s [opt-env-conf-test] " has no ",
  15365. 1880.99 s [opt-env-conf-test] functionChunk "reader",
  15366. 1880.99 s [opt-env-conf-test] "."
  15367. 1880.99 s [opt-env-conf-test] ]
  15368. 1880.99 s [opt-env-conf-test] ]
  15369. 1880.99 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15370. 1880.99 s [opt-env-conf-test] [ [ functionChunk "argument",
  15371. 1880.99 s [opt-env-conf-test] " has no ",
  15372. 1880.99 s [opt-env-conf-test] functionChunk "metavar",
  15373. 1880.99 s [opt-env-conf-test] "."
  15374. 1880.99 s [opt-env-conf-test] ]
  15375. 1880.99 s [opt-env-conf-test] ]
  15376. 1880.99 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15377. 1881.00 s [opt-env-conf-test] [ [ functionChunk "option",
  15378. 1881.00 s [opt-env-conf-test] " or ",
  15379. 1881.00 s [opt-env-conf-test] functionChunk "name",
  15380. 1881.00 s [opt-env-conf-test] " has no ",
  15381. 1881.00 s [opt-env-conf-test] functionChunk "reader",
  15382. 1881.00 s [opt-env-conf-test] "."
  15383. 1881.00 s [opt-env-conf-test] ]
  15384. 1881.00 s [opt-env-conf-test] ]
  15385. 1881.00 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15386. 1881.00 s [opt-env-conf-test] [ [ functionChunk "option",
  15387. 1881.00 s [opt-env-conf-test] " has no ",
  15388. 1881.00 s [opt-env-conf-test] functionChunk "long",
  15389. 1881.00 s [opt-env-conf-test] " or ",
  15390. 1881.00 s [opt-env-conf-test] functionChunk "short",
  15391. 1881.00 s [opt-env-conf-test] "."
  15392. 1881.00 s [opt-env-conf-test] ]
  15393. 1881.00 s [opt-env-conf-test] ]
  15394. 1881.00 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15395. 1881.00 s [opt-env-conf-test] [ [ functionChunk "option",
  15396. 1881.00 s [opt-env-conf-test] " or ",
  15397. 1881.00 s [opt-env-conf-test] functionChunk "name",
  15398. 1881.00 s [opt-env-conf-test] " has no ",
  15399. 1881.00 s [opt-env-conf-test] functionChunk "metavar",
  15400. 1881.00 s [opt-env-conf-test] "."
  15401. 1881.00 s [opt-env-conf-test] ]
  15402. 1881.00 s [opt-env-conf-test] ]
  15403. 1881.00 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15404. 1881.00 s [opt-env-conf-test] [ [ functionChunk "switch",
  15405. 1881.00 s [opt-env-conf-test] " has no ",
  15406. 1881.00 s [opt-env-conf-test] functionChunk "long",
  15407. 1881.00 s [opt-env-conf-test] " or ",
  15408. 1881.00 s [opt-env-conf-test] functionChunk "short",
  15409. 1881.00 s [opt-env-conf-test] "."
  15410. 1881.00 s [opt-env-conf-test] ]
  15411. 1881.00 s [opt-env-conf-test] ]
  15412. 1881.00 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15413. 1881.00 s [opt-env-conf-test] [ [ functionChunk "long",
  15414. 1881.00 s [opt-env-conf-test] " or ",
  15415. 1881.00 s [opt-env-conf-test] functionChunk "short",
  15416. 1881.00 s [opt-env-conf-test] " has no ",
  15417. 1881.00 s [opt-env-conf-test] functionChunk "option",
  15418. 1881.00 s [opt-env-conf-test] " or ",
  15419. 1881.00 s [opt-env-conf-test] functionChunk "switch",
  15420. 1881.00 s [opt-env-conf-test] "."
  15421. 1881.00 s [opt-env-conf-test] ]
  15422. 1881.00 s [opt-env-conf-test] ]
  15423. 1881.00 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15424. 1881.00 s [opt-env-conf-test] [ [ functionChunk "env",
  15425. 1881.00 s [opt-env-conf-test] " or ",
  15426. 1881.00 s [opt-env-conf-test] functionChunk "name",
  15427. 1881.00 s [opt-env-conf-test] " has no ",
  15428. 1881.00 s [opt-env-conf-test] functionChunk "reader",
  15429. 1881.00 s [opt-env-conf-test] "."
  15430. 1881.00 s [opt-env-conf-test] ]
  15431. 1881.00 s [opt-env-conf-test] ]
  15432. 1881.00 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15433. 1881.00 s [opt-env-conf-test] [ [ functionChunk "env",
  15434. 1881.00 s [opt-env-conf-test] " or ",
  15435. 1881.00 s [opt-env-conf-test] functionChunk "name",
  15436. 1881.00 s [opt-env-conf-test] " has no ",
  15437. 1883.36 s [opt-env-conf-test] functionChunk "metavar",
  15438. 1883.36 s [opt-env-conf-test] "."
  15439. 1883.36 s [opt-env-conf-test] ]
  15440. 1883.36 s [opt-env-conf-test] ]
  15441. 1883.36 s [opt-env-conf-test] LintErrorNoCommands ->
  15442. 1883.36 s [opt-env-conf-test] [ [ functionChunk "commands",
  15443. 1883.36 s [opt-env-conf-test] " was called with an empty list."
  15444. 1883.36 s [opt-env-conf-test] ]
  15445. 1883.36 s [opt-env-conf-test] ]
  15446. 1883.36 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15447. 1883.36 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15448. 1883.36 s [opt-env-conf-test] " was called with an unknown command: ",
  15449. 1883.36 s [opt-env-conf-test] commandChunk c
  15450. 1883.36 s [opt-env-conf-test] ]
  15451. 1883.36 s [opt-env-conf-test] ]
  15452. 1883.36 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15453. 1883.37 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15454. 1883.37 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15455. 1883.37 s [opt-env-conf-test] ]
  15456. 1883.37 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15457. 1883.37 s [opt-env-conf-test] [ [ functionChunk "conf",
  15458. 1883.37 s [opt-env-conf-test] " or ",
  15459. 1883.37 s [opt-env-conf-test] functionChunk "name",
  15460. 1883.37 s [opt-env-conf-test] " was called with no way to load configuration."
  15461. 1883.37 s [opt-env-conf-test] ],
  15462. 1883.37 s [opt-env-conf-test] [ "You can load configuration with ",
  15463. 1883.37 s [opt-env-conf-test] functionChunk "withConfig",
  15464. 1883.37 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15465. 1883.37 s [opt-env-conf-test] functionChunk "withoutConfig",
  15466. 1883.37 s [opt-env-conf-test] "."
  15467. 1883.37 s [opt-env-conf-test] ]
  15468. 1883.37 s [opt-env-conf-test] ]
  15469. 1883.37 s [opt-env-conf-test] LintErrorManyInfinite ->
  15470. 1883.37 s [opt-env-conf-test] [ [ functionChunk "many",
  15471. 1883.37 s [opt-env-conf-test] " or ",
  15472. 1883.37 s [opt-env-conf-test] functionChunk "some",
  15473. 1883.37 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15474. 1883.37 s [opt-env-conf-test] ],
  15475. 1883.37 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15476. 1883.37 s [opt-env-conf-test] ],
  15477. 1883.37 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15478. 1883.37 s [opt-env-conf-test] ]
  15479. 1883.37 s [opt-env-conf-test]
  15480. 1883.37 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  15481. 1883.37 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  15482. 1883.37 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15483. 1883.37 s [opt-env-conf-test] if isLong
  15484. 1883.37 s [opt-env-conf-test] then
  15485. 1883.37 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  15486. 1883.37 s [opt-env-conf-test] + if True
  15487. 1883.37 s [opt-env-conf-test] then Just Nothing
  15488. 1883.37 s [opt-env-conf-test] else Nothing
  15489. 1883.37 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  15490. 1883.37 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
  15491. 1883.37 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  15492. 1883.37 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15493. 1883.37 s [opt-env-conf-test] if isLong
  15494. 1883.37 s [opt-env-conf-test] then
  15495. 1883.37 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  15496. 1883.37 s [opt-env-conf-test] + if False
  15497. 1883.37 s [opt-env-conf-test] then Just Nothing
  15498. 1883.37 s [opt-env-conf-test] else Nothing
  15499. 1883.37 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  15500. 1883.37 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
  15501. 1883.37 s [opt-env-conf-test] @@ -351,7 +351,7 @@
  15502. 1883.37 s [opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
  15503. 1883.37 s [opt-env-conf-test] if isLong
  15504. 1883.37 s [opt-env-conf-test] then
  15505. 1883.37 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  15506. 1883.37 s [opt-env-conf-test] + if not (DashedLong cs `elem` dasheds)
  15507. 1883.37 s [opt-env-conf-test] then Just Nothing
  15508. 1883.37 s [opt-env-conf-test] else Nothing
  15509. 1883.37 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  15510. 1883.37 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15511. 1883.37 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  15512. 1883.37 s [opt-env-conf-test] renderLintError LintError {..} =
  15513. 1883.37 s [opt-env-conf-test] concat
  15514. 1883.37 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15515. 1883.37 s [opt-env-conf-test] case lintErrorMessage of
  15516. 1883.37 s [opt-env-conf-test] LintErrorUndocumented ->
  15517. 1883.37 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15518. 1883.37 s [opt-env-conf-test] LintErrorEmptySetting ->
  15519. 1883.37 s [opt-env-conf-test] concat
  15520. 1883.37 s [opt-env-conf-test] [ [ [ "This ",
  15521. 1883.37 s [opt-env-conf-test] functionChunk "setting",
  15522. 1883.37 s [opt-env-conf-test] " parses nothing."
  15523. 1883.37 s [opt-env-conf-test] ]
  15524. 1883.37 s [opt-env-conf-test] ],
  15525. 1883.37 s [opt-env-conf-test] [ [ "Add an ",
  15526. 1883.37 s [opt-env-conf-test] functionChunk "argument",
  15527. 1883.38 s [opt-env-conf-test] ", ",
  15528. 1883.38 s [opt-env-conf-test] functionChunk "switch",
  15529. 1883.38 s [opt-env-conf-test] ", ",
  15530. 1883.38 s [opt-env-conf-test] functionChunk "option",
  15531. 1883.38 s [opt-env-conf-test] ", ",
  15532. 1883.38 s [opt-env-conf-test] functionChunk "env",
  15533. 1883.38 s [opt-env-conf-test] ", ",
  15534. 1883.38 s [opt-env-conf-test] functionChunk "conf",
  15535. 1883.38 s [opt-env-conf-test] ", or ",
  15536. 1883.38 s [opt-env-conf-test] functionChunk "value",
  15537. 1883.38 s [opt-env-conf-test] "."
  15538. 1883.38 s [opt-env-conf-test] ]
  15539. 1883.38 s [opt-env-conf-test] ]
  15540. 1883.38 s [opt-env-conf-test] ]
  15541. 1883.38 s [opt-env-conf-test] LintErrorDashInShort ->
  15542. 1883.38 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15543. 1883.38 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15544. 1883.38 s [opt-env-conf-test] ]
  15545. 1883.38 s [opt-env-conf-test] LintErrorDashInLong s ->
  15546. 1883.38 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15547. 1883.38 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15548. 1883.38 s [opt-env-conf-test] [ "Try ",
  15549. 1883.38 s [opt-env-conf-test] functionChunk "long",
  15550. 1883.38 s [opt-env-conf-test] " ",
  15551. 1883.38 s [opt-env-conf-test] chunk $
  15552. 1883.38 s [opt-env-conf-test] T.pack $
  15553. 1883.38 s [opt-env-conf-test] show $
  15554. 1883.38 s [opt-env-conf-test] let go = \case
  15555. 1883.38 s [opt-env-conf-test] [] -> []
  15556. 1883.38 s [opt-env-conf-test] '-' : cs -> go cs
  15557. 1883.38 s [opt-env-conf-test] c : cs -> c : cs
  15558. 1883.38 s [opt-env-conf-test] in go $ NE.toList s,
  15559. 1883.38 s [opt-env-conf-test] " instead."
  15560. 1883.38 s [opt-env-conf-test] ]
  15561. 1883.38 s [opt-env-conf-test] ]
  15562. 1883.38 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15563. 1883.38 s [opt-env-conf-test] [ [ functionChunk "argument",
  15564. 1883.38 s [opt-env-conf-test] " has no ",
  15565. 1883.38 s [opt-env-conf-test] functionChunk "reader",
  15566. 1883.38 s [opt-env-conf-test] "."
  15567. 1883.38 s [opt-env-conf-test] ]
  15568. 1883.38 s [opt-env-conf-test] ]
  15569. 1883.38 s [opt-env-conf-test] - LintErrorNoMetavarForArgument ->
  15570. 1883.38 s [opt-env-conf-test] - [ [ functionChunk "argument",
  15571. 1883.38 s [opt-env-conf-test] - " has no ",
  15572. 1883.38 s [opt-env-conf-test] - functionChunk "metavar",
  15573. 1883.38 s [opt-env-conf-test] - "."
  15574. 1883.38 s [opt-env-conf-test] - ]
  15575. 1883.38 s [opt-env-conf-test] - ]
  15576. 1883.38 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15577. 1883.38 s [opt-env-conf-test] [ [ functionChunk "option",
  15578. 1883.38 s [opt-env-conf-test] " or ",
  15579. 1883.38 s [opt-env-conf-test] functionChunk "name",
  15580. 1883.38 s [opt-env-conf-test] " has no ",
  15581. 1883.38 s [opt-env-conf-test] functionChunk "reader",
  15582. 1883.38 s [opt-env-conf-test] "."
  15583. 1883.38 s [opt-env-conf-test] ]
  15584. 1883.38 s [opt-env-conf-test] ]
  15585. 1883.38 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15586. 1883.38 s [opt-env-conf-test] [ [ functionChunk "option",
  15587. 1883.38 s [opt-env-conf-test] " has no ",
  15588. 1883.38 s [opt-env-conf-test] functionChunk "long",
  15589. 1883.38 s [opt-env-conf-test] " or ",
  15590. 1883.38 s [opt-env-conf-test] functionChunk "short",
  15591. 1883.38 s [opt-env-conf-test] "."
  15592. 1883.38 s [opt-env-conf-test] ]
  15593. 1883.38 s [opt-env-conf-test] ]
  15594. 1883.38 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15595. 1883.38 s [opt-env-conf-test] [ [ functionChunk "option",
  15596. 1883.38 s [opt-env-conf-test] " or ",
  15597. 1883.38 s [opt-env-conf-test] functionChunk "name",
  15598. 1883.38 s [opt-env-conf-test] " has no ",
  15599. 1883.38 s [opt-env-conf-test] functionChunk "metavar",
  15600. 1883.38 s [opt-env-conf-test] "."
  15601. 1883.38 s [opt-env-conf-test] ]
  15602. 1883.38 s [opt-env-conf-test] ]
  15603. 1883.38 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15604. 1883.38 s [opt-env-conf-test] [ [ functionChunk "switch",
  15605. 1883.38 s [opt-env-conf-test] " has no ",
  15606. 1883.38 s [opt-env-conf-test] functionChunk "long",
  15607. 1883.38 s [opt-env-conf-test] " or ",
  15608. 1883.38 s [opt-env-conf-test] functionChunk "short",
  15609. 1883.38 s [opt-env-conf-test] "."
  15610. 1883.38 s [opt-env-conf-test] ]
  15611. 1883.38 s [opt-env-conf-test] ]
  15612. 1883.38 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15613. 1883.38 s [opt-env-conf-test] [ [ functionChunk "long",
  15614. 1883.38 s [opt-env-conf-test] " or ",
  15615. 1883.38 s [opt-env-conf-test] functionChunk "short",
  15616. 1883.38 s [opt-env-conf-test] " has no ",
  15617. 1883.38 s [opt-env-conf-test] functionChunk "option",
  15618. 1883.38 s [opt-env-conf-test] " or ",
  15619. 1883.38 s [opt-env-conf-test] functionChunk "switch",
  15620. 1883.38 s [opt-env-conf-test] "."
  15621. 1883.38 s [opt-env-conf-test] ]
  15622. 1883.38 s [opt-env-conf-test] ]
  15623. 1883.38 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15624. 1883.38 s [opt-env-conf-test] [ [ functionChunk "env",
  15625. 1883.38 s [opt-env-conf-test] " or ",
  15626. 1883.38 s [opt-env-conf-test] functionChunk "name",
  15627. 1883.38 s [opt-env-conf-test] " has no ",
  15628. 1883.38 s [opt-env-conf-test] functionChunk "reader",
  15629. 1883.38 s [opt-env-conf-test] "."
  15630. 1883.38 s [opt-env-conf-test] ]
  15631. 1883.38 s [opt-env-conf-test] ]
  15632. 1883.38 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15633. 1883.38 s [opt-env-conf-test] [ [ functionChunk "env",
  15634. 1883.38 s [opt-env-conf-test] " or ",
  15635. 1883.38 s [opt-env-conf-test] functionChunk "name",
  15636. 1883.38 s [opt-env-conf-test] " has no ",
  15637. 1883.38 s [opt-env-conf-test] functionChunk "metavar",
  15638. 1883.38 s [opt-env-conf-test] "."
  15639. 1883.38 s [opt-env-conf-test] ]
  15640. 1883.38 s [opt-env-conf-test] ]
  15641. 1883.38 s [opt-env-conf-test] LintErrorNoCommands ->
  15642. 1883.64 s [opt-env-conf-test] [ [ functionChunk "commands",
  15643. 1883.64 s [opt-env-conf-test] " was called with an empty list."
  15644. 1883.64 s [opt-env-conf-test] ]
  15645. 1883.64 s [opt-env-conf-test] ]
  15646. 1883.64 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15647. 1883.64 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15648. 1883.64 s [opt-env-conf-test] " was called with an unknown command: ",
  15649. 1883.64 s [opt-env-conf-test] commandChunk c
  15650. 1883.64 s [opt-env-conf-test] ]
  15651. 1883.64 s [opt-env-conf-test] ]
  15652. 1883.64 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15653. 1883.64 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15654. 1883.64 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15655. 1883.64 s [opt-env-conf-test] ]
  15656. 1883.64 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15657. 1883.64 s [opt-env-conf-test] [ [ functionChunk "conf",
  15658. 1883.64 s [opt-env-conf-test] " or ",
  15659. 1883.64 s [opt-env-conf-test] functionChunk "name",
  15660. 1883.64 s [opt-env-conf-test] " was called with no way to load configuration."
  15661. 1883.64 s [opt-env-conf-test] ],
  15662. 1883.64 s [opt-env-conf-test] [ "You can load configuration with ",
  15663. 1883.64 s [opt-env-conf-test] functionChunk "withConfig",
  15664. 1883.64 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15665. 1883.64 s [opt-env-conf-test] functionChunk "withoutConfig",
  15666. 1883.64 s [opt-env-conf-test] "."
  15667. 1883.64 s [opt-env-conf-test] ]
  15668. 1883.65 s [opt-env-conf-test] ]
  15669. 1883.65 s [opt-env-conf-test] LintErrorManyInfinite ->
  15670. 1883.65 s [opt-env-conf-test] [ [ functionChunk "many",
  15671. 1883.65 s [opt-env-conf-test] " or ",
  15672. 1883.65 s [opt-env-conf-test] functionChunk "some",
  15673. 1883.65 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15674. 1883.65 s [opt-env-conf-test] ],
  15675. 1883.65 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15676. 1883.65 s [opt-env-conf-test] ],
  15677. 1883.65 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15678. 1883.65 s [opt-env-conf-test] ]
  15679. 1883.65 s [opt-env-conf-test]
  15680. 1883.65 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15681. 1883.65 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  15682. 1883.65 s [opt-env-conf-test] renderLintError LintError {..} =
  15683. 1883.65 s [opt-env-conf-test] concat
  15684. 1883.65 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15685. 1883.65 s [opt-env-conf-test] case lintErrorMessage of
  15686. 1883.65 s [opt-env-conf-test] LintErrorUndocumented ->
  15687. 1883.65 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15688. 1883.65 s [opt-env-conf-test] LintErrorEmptySetting ->
  15689. 1883.65 s [opt-env-conf-test] concat
  15690. 1883.65 s [opt-env-conf-test] [ [ [ "This ",
  15691. 1883.65 s [opt-env-conf-test] functionChunk "setting",
  15692. 1883.65 s [opt-env-conf-test] " parses nothing."
  15693. 1883.65 s [opt-env-conf-test] ]
  15694. 1883.65 s [opt-env-conf-test] ],
  15695. 1883.65 s [opt-env-conf-test] [ [ "Add an ",
  15696. 1883.65 s [opt-env-conf-test] functionChunk "argument",
  15697. 1883.65 s [opt-env-conf-test] ", ",
  15698. 1883.65 s [opt-env-conf-test] functionChunk "switch",
  15699. 1883.65 s [opt-env-conf-test] ", ",
  15700. 1883.65 s [opt-env-conf-test] functionChunk "option",
  15701. 1883.65 s [opt-env-conf-test] ", ",
  15702. 1883.65 s [opt-env-conf-test] functionChunk "env",
  15703. 1883.65 s [opt-env-conf-test] ", ",
  15704. 1883.65 s [opt-env-conf-test] functionChunk "conf",
  15705. 1883.65 s [opt-env-conf-test] ", or ",
  15706. 1883.65 s [opt-env-conf-test] functionChunk "value",
  15707. 1883.65 s [opt-env-conf-test] "."
  15708. 1883.65 s [opt-env-conf-test] ]
  15709. 1883.65 s [opt-env-conf-test] ]
  15710. 1883.65 s [opt-env-conf-test] ]
  15711. 1883.65 s [opt-env-conf-test] LintErrorDashInShort ->
  15712. 1883.65 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15713. 1883.65 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15714. 1883.65 s [opt-env-conf-test] ]
  15715. 1883.65 s [opt-env-conf-test] LintErrorDashInLong s ->
  15716. 1883.65 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15717. 1883.65 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15718. 1883.65 s [opt-env-conf-test] [ "Try ",
  15719. 1883.65 s [opt-env-conf-test] functionChunk "long",
  15720. 1883.65 s [opt-env-conf-test] " ",
  15721. 1883.65 s [opt-env-conf-test] chunk $
  15722. 1883.65 s [opt-env-conf-test] T.pack $
  15723. 1883.65 s [opt-env-conf-test] show $
  15724. 1883.65 s [opt-env-conf-test] let go = \case
  15725. 1883.65 s [opt-env-conf-test] [] -> []
  15726. 1883.65 s [opt-env-conf-test] '-' : cs -> go cs
  15727. 1883.65 s [opt-env-conf-test] c : cs -> c : cs
  15728. 1883.65 s [opt-env-conf-test] in go $ NE.toList s,
  15729. 1883.65 s [opt-env-conf-test] " instead."
  15730. 1883.65 s [opt-env-conf-test] ]
  15731. 1883.65 s [opt-env-conf-test] ]
  15732. 1883.65 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15733. 1883.65 s [opt-env-conf-test] [ [ functionChunk "argument",
  15734. 1883.65 s [opt-env-conf-test] " has no ",
  15735. 1883.65 s [opt-env-conf-test] functionChunk "reader",
  15736. 1883.65 s [opt-env-conf-test] "."
  15737. 1883.65 s [opt-env-conf-test] ]
  15738. 1883.65 s [opt-env-conf-test] ]
  15739. 1883.65 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15740. 1883.65 s [opt-env-conf-test] [ [ functionChunk "argument",
  15741. 1883.65 s [opt-env-conf-test] " has no ",
  15742. 1883.65 s [opt-env-conf-test] functionChunk "metavar",
  15743. 1883.65 s [opt-env-conf-test] "."
  15744. 1883.65 s [opt-env-conf-test] ]
  15745. 1883.65 s [opt-env-conf-test] ]
  15746. 1883.65 s [opt-env-conf-test] - LintErrorNoReaderForOption ->
  15747. 1883.65 s [opt-env-conf-test] - [ [ functionChunk "option",
  15748. 1883.65 s [opt-env-conf-test] - " or ",
  15749. 1883.65 s [opt-env-conf-test] - functionChunk "name",
  15750. 1883.65 s [opt-env-conf-test] - " has no ",
  15751. 1883.65 s [opt-env-conf-test] - functionChunk "reader",
  15752. 1883.65 s [opt-env-conf-test] - "."
  15753. 1883.65 s [opt-env-conf-test] - ]
  15754. 1883.65 s [opt-env-conf-test] - ]
  15755. 1883.65 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15756. 1883.65 s [opt-env-conf-test] [ [ functionChunk "option",
  15757. 1883.65 s [opt-env-conf-test] " has no ",
  15758. 1883.65 s [opt-env-conf-test] functionChunk "long",
  15759. 1883.65 s [opt-env-conf-test] " or ",
  15760. 1883.65 s [opt-env-conf-test] functionChunk "short",
  15761. 1883.65 s [opt-env-conf-test] "."
  15762. 1883.65 s [opt-env-conf-test] ]
  15763. 1883.65 s [opt-env-conf-test] ]
  15764. 1883.65 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  15765. 1883.65 s [opt-env-conf-test] [ [ functionChunk "option",
  15766. 1883.65 s [opt-env-conf-test] " or ",
  15767. 1883.65 s [opt-env-conf-test] functionChunk "name",
  15768. 1883.65 s [opt-env-conf-test] " has no ",
  15769. 1883.65 s [opt-env-conf-test] functionChunk "metavar",
  15770. 1883.65 s [opt-env-conf-test] "."
  15771. 1883.66 s [opt-env-conf-test] ]
  15772. 1883.66 s [opt-env-conf-test] ]
  15773. 1883.66 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15774. 1883.66 s [opt-env-conf-test] [ [ functionChunk "switch",
  15775. 1883.66 s [opt-env-conf-test] " has no ",
  15776. 1883.66 s [opt-env-conf-test] functionChunk "long",
  15777. 1883.66 s [opt-env-conf-test] " or ",
  15778. 1883.66 s [opt-env-conf-test] functionChunk "short",
  15779. 1883.66 s [opt-env-conf-test] "."
  15780. 1883.66 s [opt-env-conf-test] ]
  15781. 1883.66 s [opt-env-conf-test] ]
  15782. 1883.66 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15783. 1883.66 s [opt-env-conf-test] [ [ functionChunk "long",
  15784. 1883.66 s [opt-env-conf-test] " or ",
  15785. 1883.66 s [opt-env-conf-test] functionChunk "short",
  15786. 1883.66 s [opt-env-conf-test] " has no ",
  15787. 1883.66 s [opt-env-conf-test] functionChunk "option",
  15788. 1883.66 s [opt-env-conf-test] " or ",
  15789. 1883.66 s [opt-env-conf-test] functionChunk "switch",
  15790. 1883.66 s [opt-env-conf-test] "."
  15791. 1883.66 s [opt-env-conf-test] ]
  15792. 1883.66 s [opt-env-conf-test] ]
  15793. 1883.66 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15794. 1883.66 s [opt-env-conf-test] [ [ functionChunk "env",
  15795. 1883.66 s [opt-env-conf-test] " or ",
  15796. 1883.66 s [opt-env-conf-test] functionChunk "name",
  15797. 1883.66 s [opt-env-conf-test] " has no ",
  15798. 1883.66 s [opt-env-conf-test] functionChunk "reader",
  15799. 1883.66 s [opt-env-conf-test] "."
  15800. 1883.66 s [opt-env-conf-test] ]
  15801. 1883.66 s [opt-env-conf-test] ]
  15802. 1883.66 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15803. 1883.66 s [opt-env-conf-test] [ [ functionChunk "env",
  15804. 1883.66 s [opt-env-conf-test] " or ",
  15805. 1883.66 s [opt-env-conf-test] functionChunk "name",
  15806. 1883.66 s [opt-env-conf-test] " has no ",
  15807. 1883.66 s [opt-env-conf-test] functionChunk "metavar",
  15808. 1883.66 s [opt-env-conf-test] "."
  15809. 1883.66 s [opt-env-conf-test] ]
  15810. 1883.66 s [opt-env-conf-test] ]
  15811. 1883.66 s [opt-env-conf-test] LintErrorNoCommands ->
  15812. 1885.30 s [opt-env-conf-test] [ [ functionChunk "commands",
  15813. 1885.41 s [opt-env-conf-test] " was called with an empty list."
  15814. 1885.41 s [opt-env-conf-test] ]
  15815. 1885.41 s [opt-env-conf-test] ]
  15816. 1885.41 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15817. 1885.41 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15818. 1885.41 s [opt-env-conf-test] " was called with an unknown command: ",
  15819. 1885.41 s [opt-env-conf-test] commandChunk c
  15820. 1885.41 s [opt-env-conf-test] ]
  15821. 1885.41 s [opt-env-conf-test] ]
  15822. 1885.41 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15823. 1885.42 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15824. 1885.42 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15825. 1885.42 s [opt-env-conf-test] ]
  15826. 1885.42 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15827. 1885.42 s [opt-env-conf-test] [ [ functionChunk "conf",
  15828. 1885.42 s [opt-env-conf-test] " or ",
  15829. 1885.42 s [opt-env-conf-test] functionChunk "name",
  15830. 1885.42 s [opt-env-conf-test] " was called with no way to load configuration."
  15831. 1885.42 s [opt-env-conf-test] ],
  15832. 1885.42 s [opt-env-conf-test] [ "You can load configuration with ",
  15833. 1885.42 s [opt-env-conf-test] functionChunk "withConfig",
  15834. 1885.42 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  15835. 1885.42 s [opt-env-conf-test] functionChunk "withoutConfig",
  15836. 1885.42 s [opt-env-conf-test] "."
  15837. 1885.42 s [opt-env-conf-test] ]
  15838. 1885.42 s [opt-env-conf-test] ]
  15839. 1885.42 s [opt-env-conf-test] LintErrorManyInfinite ->
  15840. 1885.42 s [opt-env-conf-test] [ [ functionChunk "many",
  15841. 1885.42 s [opt-env-conf-test] " or ",
  15842. 1885.42 s [opt-env-conf-test] functionChunk "some",
  15843. 1885.42 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  15844. 1885.42 s [opt-env-conf-test] ],
  15845. 1885.42 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  15846. 1885.42 s [opt-env-conf-test] ],
  15847. 1885.42 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  15848. 1885.42 s [opt-env-conf-test] ]
  15849. 1885.42 s [opt-env-conf-test]
  15850. 1885.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  15851. 1885.42 s [opt-env-conf-test] @@ -66,168 +66,159 @@
  15852. 1885.42 s [opt-env-conf-test] renderLintError LintError {..} =
  15853. 1885.42 s [opt-env-conf-test] concat
  15854. 1885.42 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  15855. 1885.42 s [opt-env-conf-test] case lintErrorMessage of
  15856. 1885.42 s [opt-env-conf-test] LintErrorUndocumented ->
  15857. 1885.42 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  15858. 1885.43 s [opt-env-conf-test] LintErrorEmptySetting ->
  15859. 1885.43 s [opt-env-conf-test] concat
  15860. 1885.43 s [opt-env-conf-test] [ [ [ "This ",
  15861. 1885.43 s [opt-env-conf-test] functionChunk "setting",
  15862. 1885.43 s [opt-env-conf-test] " parses nothing."
  15863. 1885.43 s [opt-env-conf-test] ]
  15864. 1885.43 s [opt-env-conf-test] ],
  15865. 1885.43 s [opt-env-conf-test] [ [ "Add an ",
  15866. 1885.43 s [opt-env-conf-test] functionChunk "argument",
  15867. 1885.43 s [opt-env-conf-test] ", ",
  15868. 1885.43 s [opt-env-conf-test] functionChunk "switch",
  15869. 1885.43 s [opt-env-conf-test] ", ",
  15870. 1885.43 s [opt-env-conf-test] functionChunk "option",
  15871. 1885.43 s [opt-env-conf-test] ", ",
  15872. 1885.43 s [opt-env-conf-test] functionChunk "env",
  15873. 1885.43 s [opt-env-conf-test] ", ",
  15874. 1885.43 s [opt-env-conf-test] functionChunk "conf",
  15875. 1885.43 s [opt-env-conf-test] ", or ",
  15876. 1885.43 s [opt-env-conf-test] functionChunk "value",
  15877. 1885.43 s [opt-env-conf-test] "."
  15878. 1885.43 s [opt-env-conf-test] ]
  15879. 1885.43 s [opt-env-conf-test] ]
  15880. 1885.43 s [opt-env-conf-test] ]
  15881. 1885.43 s [opt-env-conf-test] LintErrorDashInShort ->
  15882. 1885.43 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  15883. 1885.43 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  15884. 1885.43 s [opt-env-conf-test] ]
  15885. 1885.43 s [opt-env-conf-test] LintErrorDashInLong s ->
  15886. 1885.43 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  15887. 1885.43 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  15888. 1885.43 s [opt-env-conf-test] [ "Try ",
  15889. 1885.43 s [opt-env-conf-test] functionChunk "long",
  15890. 1885.43 s [opt-env-conf-test] " ",
  15891. 1885.43 s [opt-env-conf-test] chunk $
  15892. 1885.43 s [opt-env-conf-test] T.pack $
  15893. 1885.43 s [opt-env-conf-test] show $
  15894. 1885.43 s [opt-env-conf-test] let go = \case
  15895. 1885.43 s [opt-env-conf-test] [] -> []
  15896. 1885.43 s [opt-env-conf-test] '-' : cs -> go cs
  15897. 1885.43 s [opt-env-conf-test] c : cs -> c : cs
  15898. 1885.43 s [opt-env-conf-test] in go $ NE.toList s,
  15899. 1885.44 s [opt-env-conf-test] " instead."
  15900. 1885.44 s [opt-env-conf-test] ]
  15901. 1885.44 s [opt-env-conf-test] ]
  15902. 1885.44 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  15903. 1885.44 s [opt-env-conf-test] [ [ functionChunk "argument",
  15904. 1885.44 s [opt-env-conf-test] " has no ",
  15905. 1885.44 s [opt-env-conf-test] functionChunk "reader",
  15906. 1885.44 s [opt-env-conf-test] "."
  15907. 1885.44 s [opt-env-conf-test] ]
  15908. 1885.44 s [opt-env-conf-test] ]
  15909. 1885.44 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  15910. 1885.44 s [opt-env-conf-test] [ [ functionChunk "argument",
  15911. 1885.44 s [opt-env-conf-test] " has no ",
  15912. 1885.44 s [opt-env-conf-test] functionChunk "metavar",
  15913. 1885.44 s [opt-env-conf-test] "."
  15914. 1885.44 s [opt-env-conf-test] ]
  15915. 1885.44 s [opt-env-conf-test] ]
  15916. 1885.44 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  15917. 1885.44 s [opt-env-conf-test] [ [ functionChunk "option",
  15918. 1885.44 s [opt-env-conf-test] " or ",
  15919. 1885.44 s [opt-env-conf-test] functionChunk "name",
  15920. 1885.44 s [opt-env-conf-test] " has no ",
  15921. 1885.44 s [opt-env-conf-test] functionChunk "reader",
  15922. 1885.44 s [opt-env-conf-test] "."
  15923. 1885.44 s [opt-env-conf-test] ]
  15924. 1885.44 s [opt-env-conf-test] ]
  15925. 1885.44 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  15926. 1885.44 s [opt-env-conf-test] [ [ functionChunk "option",
  15927. 1885.44 s [opt-env-conf-test] " has no ",
  15928. 1885.44 s [opt-env-conf-test] functionChunk "long",
  15929. 1885.44 s [opt-env-conf-test] " or ",
  15930. 1885.44 s [opt-env-conf-test] functionChunk "short",
  15931. 1885.44 s [opt-env-conf-test] "."
  15932. 1885.44 s [opt-env-conf-test] ]
  15933. 1885.44 s [opt-env-conf-test] ]
  15934. 1885.44 s [opt-env-conf-test] - LintErrorNoMetavarForOption ->
  15935. 1885.44 s [opt-env-conf-test] - [ [ functionChunk "option",
  15936. 1885.44 s [opt-env-conf-test] - " or ",
  15937. 1885.44 s [opt-env-conf-test] - functionChunk "name",
  15938. 1885.44 s [opt-env-conf-test] - " has no ",
  15939. 1885.44 s [opt-env-conf-test] - functionChunk "metavar",
  15940. 1885.44 s [opt-env-conf-test] - "."
  15941. 1885.44 s [opt-env-conf-test] - ]
  15942. 1885.44 s [opt-env-conf-test] - ]
  15943. 1885.44 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  15944. 1885.44 s [opt-env-conf-test] [ [ functionChunk "switch",
  15945. 1885.44 s [opt-env-conf-test] " has no ",
  15946. 1885.44 s [opt-env-conf-test] functionChunk "long",
  15947. 1885.44 s [opt-env-conf-test] " or ",
  15948. 1885.44 s [opt-env-conf-test] functionChunk "short",
  15949. 1885.44 s [opt-env-conf-test] "."
  15950. 1885.44 s [opt-env-conf-test] ]
  15951. 1885.45 s [opt-env-conf-test] ]
  15952. 1885.45 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  15953. 1885.45 s [opt-env-conf-test] [ [ functionChunk "long",
  15954. 1885.45 s [opt-env-conf-test] " or ",
  15955. 1885.45 s [opt-env-conf-test] functionChunk "short",
  15956. 1885.45 s [opt-env-conf-test] " has no ",
  15957. 1885.45 s [opt-env-conf-test] functionChunk "option",
  15958. 1885.45 s [opt-env-conf-test] " or ",
  15959. 1885.45 s [opt-env-conf-test] functionChunk "switch",
  15960. 1885.45 s [opt-env-conf-test] "."
  15961. 1885.45 s [opt-env-conf-test] ]
  15962. 1885.45 s [opt-env-conf-test] ]
  15963. 1885.45 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  15964. 1885.45 s [opt-env-conf-test] [ [ functionChunk "env",
  15965. 1885.45 s [opt-env-conf-test] " or ",
  15966. 1885.45 s [opt-env-conf-test] functionChunk "name",
  15967. 1885.45 s [opt-env-conf-test] " has no ",
  15968. 1885.45 s [opt-env-conf-test] functionChunk "reader",
  15969. 1885.45 s [opt-env-conf-test] "."
  15970. 1885.45 s [opt-env-conf-test] ]
  15971. 1885.45 s [opt-env-conf-test] ]
  15972. 1885.45 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  15973. 1885.45 s [opt-env-conf-test] [ [ functionChunk "env",
  15974. 1885.45 s [opt-env-conf-test] " or ",
  15975. 1885.45 s [opt-env-conf-test] functionChunk "name",
  15976. 1885.45 s [opt-env-conf-test] " has no ",
  15977. 1885.45 s [opt-env-conf-test] functionChunk "metavar",
  15978. 1885.45 s [opt-env-conf-test] "."
  15979. 1885.45 s [opt-env-conf-test] ]
  15980. 1885.45 s [opt-env-conf-test] ]
  15981. 1885.45 s [opt-env-conf-test] LintErrorNoCommands ->
  15982. 1886.28 s [opt-env-conf-test] [ [ functionChunk "commands",
  15983. 1886.28 s [opt-env-conf-test] " was called with an empty list."
  15984. 1886.28 s [opt-env-conf-test] ]
  15985. 1886.28 s [opt-env-conf-test] ]
  15986. 1886.28 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  15987. 1886.28 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  15988. 1886.28 s [opt-env-conf-test] " was called with an unknown command: ",
  15989. 1886.28 s [opt-env-conf-test] commandChunk c
  15990. 1886.28 s [opt-env-conf-test] ]
  15991. 1886.28 s [opt-env-conf-test] ]
  15992. 1886.28 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  15993. 1886.28 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  15994. 1886.29 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  15995. 1886.29 s [opt-env-conf-test] ]
  15996. 1886.29 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  15997. 1886.29 s [opt-env-conf-test] [ [ functionChunk "conf",
  15998. 1886.29 s [opt-env-conf-test] " or ",
  15999. 1886.29 s [opt-env-conf-test] functionChunk "name",
  16000. 1886.29 s [opt-env-conf-test] " was called with no way to load configuration."
  16001. 1886.29 s [opt-env-conf-test] ],
  16002. 1886.29 s [opt-env-conf-test] [ "You can load configuration with ",
  16003. 1886.29 s [opt-env-conf-test] functionChunk "withConfig",
  16004. 1886.29 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  16005. 1886.29 s [opt-env-conf-test] functionChunk "withoutConfig",
  16006. 1886.29 s [opt-env-conf-test] "."
  16007. 1886.29 s [opt-env-conf-test] ]
  16008. 1886.29 s [opt-env-conf-test] ]
  16009. 1886.29 s [opt-env-conf-test] LintErrorManyInfinite ->
  16010. 1886.29 s [opt-env-conf-test] [ [ functionChunk "many",
  16011. 1886.29 s [opt-env-conf-test] " or ",
  16012. 1886.29 s [opt-env-conf-test] functionChunk "some",
  16013. 1886.29 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  16014. 1886.29 s [opt-env-conf-test] ],
  16015. 1886.29 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16016. 1886.29 s [opt-env-conf-test] ],
  16017. 1886.29 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16018. 1886.29 s [opt-env-conf-test] ]
  16019. 1886.29 s [opt-env-conf-test]
  16020. 1886.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  16021. 1886.29 s [opt-env-conf-test] @@ -66,168 +66,161 @@
  16022. 1886.29 s [opt-env-conf-test] renderLintError LintError {..} =
  16023. 1886.29 s [opt-env-conf-test] concat
  16024. 1886.29 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  16025. 1886.29 s [opt-env-conf-test] case lintErrorMessage of
  16026. 1886.29 s [opt-env-conf-test] LintErrorUndocumented ->
  16027. 1886.29 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  16028. 1886.29 s [opt-env-conf-test] LintErrorEmptySetting ->
  16029. 1886.29 s [opt-env-conf-test] concat
  16030. 1886.29 s [opt-env-conf-test] [ [ [ "This ",
  16031. 1886.29 s [opt-env-conf-test] functionChunk "setting",
  16032. 1886.29 s [opt-env-conf-test] " parses nothing."
  16033. 1886.29 s [opt-env-conf-test] ]
  16034. 1886.29 s [opt-env-conf-test] ],
  16035. 1886.29 s [opt-env-conf-test] [ [ "Add an ",
  16036. 1886.29 s [opt-env-conf-test] functionChunk "argument",
  16037. 1886.29 s [opt-env-conf-test] ", ",
  16038. 1886.29 s [opt-env-conf-test] functionChunk "switch",
  16039. 1886.30 s [opt-env-conf-test] ", ",
  16040. 1886.30 s [opt-env-conf-test] functionChunk "option",
  16041. 1886.30 s [opt-env-conf-test] ", ",
  16042. 1886.30 s [opt-env-conf-test] functionChunk "env",
  16043. 1886.30 s [opt-env-conf-test] ", ",
  16044. 1886.30 s [opt-env-conf-test] functionChunk "conf",
  16045. 1886.30 s [opt-env-conf-test] ", or ",
  16046. 1886.30 s [opt-env-conf-test] functionChunk "value",
  16047. 1886.30 s [opt-env-conf-test] "."
  16048. 1886.30 s [opt-env-conf-test] ]
  16049. 1886.30 s [opt-env-conf-test] ]
  16050. 1886.30 s [opt-env-conf-test] ]
  16051. 1886.30 s [opt-env-conf-test] LintErrorDashInShort ->
  16052. 1886.30 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  16053. 1886.30 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  16054. 1886.30 s [opt-env-conf-test] ]
  16055. 1886.30 s [opt-env-conf-test] LintErrorDashInLong s ->
  16056. 1886.30 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  16057. 1886.30 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  16058. 1886.30 s [opt-env-conf-test] [ "Try ",
  16059. 1886.30 s [opt-env-conf-test] functionChunk "long",
  16060. 1886.30 s [opt-env-conf-test] " ",
  16061. 1886.30 s [opt-env-conf-test] chunk $
  16062. 1886.30 s [opt-env-conf-test] T.pack $
  16063. 1886.30 s [opt-env-conf-test] show $
  16064. 1886.30 s [opt-env-conf-test] let go = \case
  16065. 1886.30 s [opt-env-conf-test] [] -> []
  16066. 1886.30 s [opt-env-conf-test] '-' : cs -> go cs
  16067. 1886.30 s [opt-env-conf-test] c : cs -> c : cs
  16068. 1886.30 s [opt-env-conf-test] in go $ NE.toList s,
  16069. 1886.30 s [opt-env-conf-test] " instead."
  16070. 1886.30 s [opt-env-conf-test] ]
  16071. 1886.30 s [opt-env-conf-test] ]
  16072. 1886.30 s [opt-env-conf-test] - LintErrorNoReaderForArgument ->
  16073. 1886.30 s [opt-env-conf-test] - [ [ functionChunk "argument",
  16074. 1886.30 s [opt-env-conf-test] - " has no ",
  16075. 1886.30 s [opt-env-conf-test] - functionChunk "reader",
  16076. 1886.30 s [opt-env-conf-test] - "."
  16077. 1886.30 s [opt-env-conf-test] - ]
  16078. 1886.30 s [opt-env-conf-test] - ]
  16079. 1886.30 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  16080. 1886.30 s [opt-env-conf-test] [ [ functionChunk "argument",
  16081. 1886.30 s [opt-env-conf-test] " has no ",
  16082. 1886.30 s [opt-env-conf-test] functionChunk "metavar",
  16083. 1886.30 s [opt-env-conf-test] "."
  16084. 1886.30 s [opt-env-conf-test] ]
  16085. 1886.30 s [opt-env-conf-test] ]
  16086. 1886.30 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  16087. 1886.30 s [opt-env-conf-test] [ [ functionChunk "option",
  16088. 1886.31 s [opt-env-conf-test] " or ",
  16089. 1886.31 s [opt-env-conf-test] functionChunk "name",
  16090. 1886.31 s [opt-env-conf-test] " has no ",
  16091. 1886.31 s [opt-env-conf-test] functionChunk "reader",
  16092. 1886.31 s [opt-env-conf-test] "."
  16093. 1886.31 s [opt-env-conf-test] ]
  16094. 1886.31 s [opt-env-conf-test] ]
  16095. 1886.31 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  16096. 1886.31 s [opt-env-conf-test] [ [ functionChunk "option",
  16097. 1886.31 s [opt-env-conf-test] " has no ",
  16098. 1886.31 s [opt-env-conf-test] functionChunk "long",
  16099. 1886.31 s [opt-env-conf-test] " or ",
  16100. 1886.31 s [opt-env-conf-test] functionChunk "short",
  16101. 1886.31 s [opt-env-conf-test] "."
  16102. 1886.31 s [opt-env-conf-test] ]
  16103. 1886.31 s [opt-env-conf-test] ]
  16104. 1886.31 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  16105. 1886.31 s [opt-env-conf-test] [ [ functionChunk "option",
  16106. 1886.31 s [opt-env-conf-test] " or ",
  16107. 1886.31 s [opt-env-conf-test] functionChunk "name",
  16108. 1886.31 s [opt-env-conf-test] " has no ",
  16109. 1886.31 s [opt-env-conf-test] functionChunk "metavar",
  16110. 1886.31 s [opt-env-conf-test] "."
  16111. 1886.31 s [opt-env-conf-test] ]
  16112. 1886.31 s [opt-env-conf-test] ]
  16113. 1886.31 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  16114. 1886.31 s [opt-env-conf-test] [ [ functionChunk "switch",
  16115. 1886.31 s [opt-env-conf-test] " has no ",
  16116. 1886.31 s [opt-env-conf-test] functionChunk "long",
  16117. 1886.31 s [opt-env-conf-test] " or ",
  16118. 1886.31 s [opt-env-conf-test] functionChunk "short",
  16119. 1886.31 s [opt-env-conf-test] "."
  16120. 1886.31 s [opt-env-conf-test] ]
  16121. 1886.31 s [opt-env-conf-test] ]
  16122. 1886.31 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  16123. 1886.31 s [opt-env-conf-test] [ [ functionChunk "long",
  16124. 1886.31 s [opt-env-conf-test] " or ",
  16125. 1886.31 s [opt-env-conf-test] functionChunk "short",
  16126. 1886.31 s [opt-env-conf-test] " has no ",
  16127. 1886.31 s [opt-env-conf-test] functionChunk "option",
  16128. 1886.31 s [opt-env-conf-test] " or ",
  16129. 1886.31 s [opt-env-conf-test] functionChunk "switch",
  16130. 1886.31 s [opt-env-conf-test] "."
  16131. 1886.31 s [opt-env-conf-test] ]
  16132. 1886.31 s [opt-env-conf-test] ]
  16133. 1886.31 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  16134. 1886.31 s [opt-env-conf-test] [ [ functionChunk "env",
  16135. 1886.31 s [opt-env-conf-test] " or ",
  16136. 1886.31 s [opt-env-conf-test] functionChunk "name",
  16137. 1886.31 s [opt-env-conf-test] " has no ",
  16138. 1886.31 s [opt-env-conf-test] functionChunk "reader",
  16139. 1886.31 s [opt-env-conf-test] "."
  16140. 1886.31 s [opt-env-conf-test] ]
  16141. 1886.31 s [opt-env-conf-test] ]
  16142. 1886.31 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  16143. 1886.31 s [opt-env-conf-test] [ [ functionChunk "env",
  16144. 1886.32 s [opt-env-conf-test] " or ",
  16145. 1886.32 s [opt-env-conf-test] functionChunk "name",
  16146. 1886.32 s [opt-env-conf-test] " has no ",
  16147. 1886.32 s [opt-env-conf-test] functionChunk "metavar",
  16148. 1886.32 s [opt-env-conf-test] "."
  16149. 1886.32 s [opt-env-conf-test] ]
  16150. 1886.32 s [opt-env-conf-test] ]
  16151. 1886.32 s [opt-env-conf-test] LintErrorNoCommands ->
  16152. 1887.12 s [opt-env-conf-test] [ [ functionChunk "commands",
  16153. 1887.13 s [opt-env-conf-test] " was called with an empty list."
  16154. 1887.13 s [opt-env-conf-test] ]
  16155. 1887.13 s [opt-env-conf-test] ]
  16156. 1887.13 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16157. 1887.13 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  16158. 1887.13 s [opt-env-conf-test] " was called with an unknown command: ",
  16159. 1887.13 s [opt-env-conf-test] commandChunk c
  16160. 1887.13 s [opt-env-conf-test] ]
  16161. 1887.13 s [opt-env-conf-test] ]
  16162. 1887.13 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  16163. 1887.13 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  16164. 1887.13 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  16165. 1887.13 s [opt-env-conf-test] ]
  16166. 1887.13 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  16167. 1887.13 s [opt-env-conf-test] [ [ functionChunk "conf",
  16168. 1887.13 s [opt-env-conf-test] " or ",
  16169. 1887.13 s [opt-env-conf-test] functionChunk "name",
  16170. 1887.13 s [opt-env-conf-test] " was called with no way to load configuration."
  16171. 1887.13 s [opt-env-conf-test] ],
  16172. 1887.13 s [opt-env-conf-test] [ "You can load configuration with ",
  16173. 1887.13 s [opt-env-conf-test] functionChunk "withConfig",
  16174. 1887.13 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  16175. 1887.13 s [opt-env-conf-test] functionChunk "withoutConfig",
  16176. 1887.13 s [opt-env-conf-test] "."
  16177. 1887.13 s [opt-env-conf-test] ]
  16178. 1887.13 s [opt-env-conf-test] ]
  16179. 1887.13 s [opt-env-conf-test] LintErrorManyInfinite ->
  16180. 1887.14 s [opt-env-conf-test] [ [ functionChunk "many",
  16181. 1887.14 s [opt-env-conf-test] " or ",
  16182. 1887.14 s [opt-env-conf-test] functionChunk "some",
  16183. 1887.14 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  16184. 1887.14 s [opt-env-conf-test] ],
  16185. 1887.14 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16186. 1887.14 s [opt-env-conf-test] ],
  16187. 1887.14 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16188. 1887.14 s [opt-env-conf-test] ]
  16189. 1887.14 s [opt-env-conf-test]
  16190. 1887.14 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  16191. 1887.14 s [opt-env-conf-test] @@ -221,13 +221,8 @@
  16192. 1887.14 s [opt-env-conf-test] ]
  16193. 1887.14 s [opt-env-conf-test] ]
  16194. 1887.14 s [opt-env-conf-test] LintErrorManyInfinite ->
  16195. 1887.14 s [opt-env-conf-test] - [ [ functionChunk "many",
  16196. 1887.14 s [opt-env-conf-test] - " or ",
  16197. 1887.14 s [opt-env-conf-test] - functionChunk "some",
  16198. 1887.14 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  16199. 1887.14 s [opt-env-conf-test] - ],
  16200. 1887.14 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16201. 1887.14 s [opt-env-conf-test] ],
  16202. 1887.14 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16203. 1887.14 s [opt-env-conf-test] ]
  16204. 1887.14 s [opt-env-conf-test]
  16205. 1887.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  16206. 1887.14 s [opt-env-conf-test] @@ -66,168 +66,166 @@
  16207. 1887.14 s [opt-env-conf-test] renderLintError LintError {..} =
  16208. 1887.14 s [opt-env-conf-test] concat
  16209. 1887.14 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  16210. 1887.14 s [opt-env-conf-test] case lintErrorMessage of
  16211. 1887.14 s [opt-env-conf-test] - LintErrorUndocumented ->
  16212. 1887.14 s [opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
  16213. 1887.14 s [opt-env-conf-test] LintErrorEmptySetting ->
  16214. 1887.14 s [opt-env-conf-test] concat
  16215. 1887.14 s [opt-env-conf-test] [ [ [ "This ",
  16216. 1887.14 s [opt-env-conf-test] functionChunk "setting",
  16217. 1887.14 s [opt-env-conf-test] " parses nothing."
  16218. 1887.14 s [opt-env-conf-test] ]
  16219. 1887.14 s [opt-env-conf-test] ],
  16220. 1887.14 s [opt-env-conf-test] [ [ "Add an ",
  16221. 1887.14 s [opt-env-conf-test] functionChunk "argument",
  16222. 1887.14 s [opt-env-conf-test] ", ",
  16223. 1887.14 s [opt-env-conf-test] functionChunk "switch",
  16224. 1887.14 s [opt-env-conf-test] ", ",
  16225. 1887.14 s [opt-env-conf-test] functionChunk "option",
  16226. 1887.14 s [opt-env-conf-test] ", ",
  16227. 1887.14 s [opt-env-conf-test] functionChunk "env",
  16228. 1887.14 s [opt-env-conf-test] ", ",
  16229. 1887.14 s [opt-env-conf-test] functionChunk "conf",
  16230. 1887.14 s [opt-env-conf-test] ", or ",
  16231. 1887.14 s [opt-env-conf-test] functionChunk "value",
  16232. 1887.14 s [opt-env-conf-test] "."
  16233. 1887.14 s [opt-env-conf-test] ]
  16234. 1887.14 s [opt-env-conf-test] ]
  16235. 1887.14 s [opt-env-conf-test] ]
  16236. 1887.15 s [opt-env-conf-test] LintErrorDashInShort ->
  16237. 1887.15 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  16238. 1887.15 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  16239. 1887.15 s [opt-env-conf-test] ]
  16240. 1887.15 s [opt-env-conf-test] LintErrorDashInLong s ->
  16241. 1887.15 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  16242. 1887.15 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  16243. 1887.15 s [opt-env-conf-test] [ "Try ",
  16244. 1887.15 s [opt-env-conf-test] functionChunk "long",
  16245. 1887.15 s [opt-env-conf-test] " ",
  16246. 1887.15 s [opt-env-conf-test] chunk $
  16247. 1887.15 s [opt-env-conf-test] T.pack $
  16248. 1887.15 s [opt-env-conf-test] show $
  16249. 1887.15 s [opt-env-conf-test] let go = \case
  16250. 1887.15 s [opt-env-conf-test] [] -> []
  16251. 1887.15 s [opt-env-conf-test] '-' : cs -> go cs
  16252. 1887.15 s [opt-env-conf-test] c : cs -> c : cs
  16253. 1887.15 s [opt-env-conf-test] in go $ NE.toList s,
  16254. 1887.15 s [opt-env-conf-test] " instead."
  16255. 1887.15 s [opt-env-conf-test] ]
  16256. 1887.15 s [opt-env-conf-test] ]
  16257. 1887.15 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  16258. 1887.15 s [opt-env-conf-test] [ [ functionChunk "argument",
  16259. 1887.15 s [opt-env-conf-test] " has no ",
  16260. 1887.15 s [opt-env-conf-test] functionChunk "reader",
  16261. 1887.15 s [opt-env-conf-test] "."
  16262. 1887.15 s [opt-env-conf-test] ]
  16263. 1887.15 s [opt-env-conf-test] ]
  16264. 1887.15 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  16265. 1887.15 s [opt-env-conf-test] [ [ functionChunk "argument",
  16266. 1887.15 s [opt-env-conf-test] " has no ",
  16267. 1887.15 s [opt-env-conf-test] functionChunk "metavar",
  16268. 1887.15 s [opt-env-conf-test] "."
  16269. 1887.15 s [opt-env-conf-test] ]
  16270. 1887.15 s [opt-env-conf-test] ]
  16271. 1887.15 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  16272. 1887.15 s [opt-env-conf-test] [ [ functionChunk "option",
  16273. 1887.15 s [opt-env-conf-test] " or ",
  16274. 1887.15 s [opt-env-conf-test] functionChunk "name",
  16275. 1887.15 s [opt-env-conf-test] " has no ",
  16276. 1887.15 s [opt-env-conf-test] functionChunk "reader",
  16277. 1887.15 s [opt-env-conf-test] "."
  16278. 1887.15 s [opt-env-conf-test] ]
  16279. 1887.15 s [opt-env-conf-test] ]
  16280. 1887.15 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  16281. 1887.15 s [opt-env-conf-test] [ [ functionChunk "option",
  16282. 1887.15 s [opt-env-conf-test] " has no ",
  16283. 1887.15 s [opt-env-conf-test] functionChunk "long",
  16284. 1887.15 s [opt-env-conf-test] " or ",
  16285. 1887.15 s [opt-env-conf-test] functionChunk "short",
  16286. 1887.15 s [opt-env-conf-test] "."
  16287. 1887.15 s [opt-env-conf-test] ]
  16288. 1887.15 s [opt-env-conf-test] ]
  16289. 1887.15 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  16290. 1887.15 s [opt-env-conf-test] [ [ functionChunk "option",
  16291. 1887.15 s [opt-env-conf-test] " or ",
  16292. 1887.15 s [opt-env-conf-test] functionChunk "name",
  16293. 1887.15 s [opt-env-conf-test] " has no ",
  16294. 1887.15 s [opt-env-conf-test] functionChunk "metavar",
  16295. 1887.15 s [opt-env-conf-test] "."
  16296. 1887.15 s [opt-env-conf-test] ]
  16297. 1887.15 s [opt-env-conf-test] ]
  16298. 1887.15 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  16299. 1887.15 s [opt-env-conf-test] [ [ functionChunk "switch",
  16300. 1887.15 s [opt-env-conf-test] " has no ",
  16301. 1887.15 s [opt-env-conf-test] functionChunk "long",
  16302. 1887.15 s [opt-env-conf-test] " or ",
  16303. 1887.15 s [opt-env-conf-test] functionChunk "short",
  16304. 1887.15 s [opt-env-conf-test] "."
  16305. 1887.15 s [opt-env-conf-test] ]
  16306. 1887.15 s [opt-env-conf-test] ]
  16307. 1887.15 s [opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
  16308. 1887.15 s [opt-env-conf-test] [ [ functionChunk "long",
  16309. 1887.15 s [opt-env-conf-test] " or ",
  16310. 1887.15 s [opt-env-conf-test] functionChunk "short",
  16311. 1887.15 s [opt-env-conf-test] " has no ",
  16312. 1887.15 s [opt-env-conf-test] functionChunk "option",
  16313. 1887.15 s [opt-env-conf-test] " or ",
  16314. 1887.15 s [opt-env-conf-test] functionChunk "switch",
  16315. 1887.15 s [opt-env-conf-test] "."
  16316. 1887.15 s [opt-env-conf-test] ]
  16317. 1887.15 s [opt-env-conf-test] ]
  16318. 1887.15 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  16319. 1887.15 s [opt-env-conf-test] [ [ functionChunk "env",
  16320. 1887.15 s [opt-env-conf-test] " or ",
  16321. 1887.15 s [opt-env-conf-test] functionChunk "name",
  16322. 1887.15 s [opt-env-conf-test] " has no ",
  16323. 1887.15 s [opt-env-conf-test] functionChunk "reader",
  16324. 1887.15 s [opt-env-conf-test] "."
  16325. 1887.15 s [opt-env-conf-test] ]
  16326. 1887.15 s [opt-env-conf-test] ]
  16327. 1887.15 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  16328. 1887.15 s [opt-env-conf-test] [ [ functionChunk "env",
  16329. 1887.15 s [opt-env-conf-test] " or ",
  16330. 1887.15 s [opt-env-conf-test] functionChunk "name",
  16331. 1887.15 s [opt-env-conf-test] " has no ",
  16332. 1887.16 s [opt-env-conf-test] functionChunk "metavar",
  16333. 1887.16 s [opt-env-conf-test] "."
  16334. 1887.16 s [opt-env-conf-test] ]
  16335. 1887.16 s [opt-env-conf-test] ]
  16336. 1887.16 s [opt-env-conf-test] LintErrorNoCommands ->
  16337. 1887.16 s [opt-env-conf-test] [ [ functionChunk "commands",
  16338. 1890.88 s [opt-env-conf-test] " was called with an empty list."
  16339. 1890.88 s [opt-env-conf-test] ]
  16340. 1890.88 s [opt-env-conf-test] ]
  16341. 1890.97 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16342. 1890.97 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  16343. 1890.97 s [opt-env-conf-test] " was called with an unknown command: ",
  16344. 1890.97 s [opt-env-conf-test] commandChunk c
  16345. 1890.97 s [opt-env-conf-test] ]
  16346. 1890.97 s [opt-env-conf-test] ]
  16347. 1890.97 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  16348. 1890.97 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  16349. 1890.97 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  16350. 1890.97 s [opt-env-conf-test] ]
  16351. 1890.97 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  16352. 1890.97 s [opt-env-conf-test] [ [ functionChunk "conf",
  16353. 1890.97 s [opt-env-conf-test] " or ",
  16354. 1890.97 s [opt-env-conf-test] functionChunk "name",
  16355. 1890.97 s [opt-env-conf-test] " was called with no way to load configuration."
  16356. 1890.97 s [opt-env-conf-test] ],
  16357. 1890.98 s [opt-env-conf-test] [ "You can load configuration with ",
  16358. 1890.98 s [opt-env-conf-test] functionChunk "withConfig",
  16359. 1890.98 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  16360. 1890.98 s [opt-env-conf-test] functionChunk "withoutConfig",
  16361. 1890.98 s [opt-env-conf-test] "."
  16362. 1890.98 s [opt-env-conf-test] ]
  16363. 1890.98 s [opt-env-conf-test] ]
  16364. 1890.98 s [opt-env-conf-test] LintErrorManyInfinite ->
  16365. 1890.98 s [opt-env-conf-test] [ [ functionChunk "many",
  16366. 1890.98 s [opt-env-conf-test] " or ",
  16367. 1890.98 s [opt-env-conf-test] functionChunk "some",
  16368. 1890.98 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  16369. 1890.98 s [opt-env-conf-test] ],
  16370. 1890.98 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16371. 1890.98 s [opt-env-conf-test] ],
  16372. 1890.98 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16373. 1890.98 s [opt-env-conf-test] ]
  16374. 1890.98 s [opt-env-conf-test]
  16375. 1890.98 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  16376. 1890.98 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  16377. 1890.98 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16378. 1890.98 s [opt-env-conf-test] (Live o : rest) -> case o of
  16379. 1890.98 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16380. 1890.98 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16381. 1890.98 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds True cs of
  16382. 1890.98 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16383. 1890.98 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16384. 1890.98 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16385. 1890.99 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  16386. 1890.99 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  16387. 1890.99 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  16388. 1890.99 s [opt-env-conf-test] c1 <- go p1
  16389. 1890.99 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  16390. 1890.99 s [opt-env-conf-test] - pure $ c1 || c2
  16391. 1890.99 s [opt-env-conf-test] + pure $ False || c2
  16392. 1890.99 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  16393. 1890.99 s [opt-env-conf-test] case settingHelp of
  16394. 1890.99 s [opt-env-conf-test] Nothing ->
  16395. 1890.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  16396. 1890.99 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  16397. 1890.99 s [opt-env-conf-test] consumeSwitch dasheds as = do
  16398. 1890.99 s [opt-env-conf-test] case go (argsBefore as) of
  16399. 1890.99 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  16400. 1890.99 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  16401. 1890.99 s [opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
  16402. 1890.99 s [opt-env-conf-test] - Nothing -> Nothing
  16403. 1890.99 s [opt-env-conf-test] where
  16404. 1890.99 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  16405. 1890.99 s [opt-env-conf-test] go = \case
  16406. 1890.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
  16407. 1890.99 s [opt-env-conf-test] @@ -321,9 +321,8 @@
  16408. 1890.99 s [opt-env-conf-test] consumeSwitch dasheds as = do
  16409. 1890.99 s [opt-env-conf-test] case go (argsBefore as) of
  16410. 1890.99 s [opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
  16411. 1890.99 s [opt-env-conf-test] Nothing -> case go (argsAfter as) of
  16412. 1890.99 s [opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
  16413. 1890.99 s [opt-env-conf-test] Nothing -> Nothing
  16414. 1890.99 s [opt-env-conf-test] where
  16415. 1890.99 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
  16416. 1890.99 s [opt-env-conf-test] go = \case
  16417. 1890.99 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
  16418. 1890.99 s [opt-env-conf-test] @@ -221,13 +221,7 @@
  16419. 1890.99 s [opt-env-conf-test] ]
  16420. 1890.99 s [opt-env-conf-test] ]
  16421. 1890.99 s [opt-env-conf-test] LintErrorManyInfinite ->
  16422. 1890.99 s [opt-env-conf-test] - [ [ functionChunk "many",
  16423. 1891.00 s [opt-env-conf-test] - " or ",
  16424. 1891.00 s [opt-env-conf-test] - functionChunk "some",
  16425. 1891.00 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  16426. 1891.00 s [opt-env-conf-test] - ],
  16427. 1891.00 s [opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
  16428. 1891.00 s [opt-env-conf-test] ],
  16429. 1891.00 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16430. 1891.00 s [opt-env-conf-test] ]
  16431. 1891.00 s [opt-env-conf-test]
  16432. 1891.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  16433. 1891.00 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  16434. 1891.00 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  16435. 1891.00 s [opt-env-conf-test] c1 <- go p1
  16436. 1891.00 s [opt-env-conf-test] c2 <- go p2
  16437. 1891.00 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  16438. 1891.00 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  16439. 1891.00 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  16440. 1891.00 s [opt-env-conf-test] ParserMany mLoc p -> do
  16441. 1891.00 s [opt-env-conf-test] c <- go p
  16442. 1891.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:21-23
  16443. 1891.00 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  16444. 1891.00 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  16445. 1891.00 s [opt-env-conf-test] c1 <- go p1
  16446. 1891.00 s [opt-env-conf-test] c2 <- go p2
  16447. 1891.00 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  16448. 1891.00 s [opt-env-conf-test] + pure (c1 && not (c2)) -- TODO: is this right?
  16449. 1891.00 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  16450. 1891.00 s [opt-env-conf-test] ParserMany mLoc p -> do
  16451. 1891.00 s [opt-env-conf-test] c <- go p
  16452. 1891.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:266:14-15
  16453. 1891.00 s [opt-env-conf-test] @@ -263,7 +263,7 @@
  16454. 1891.00 s [opt-env-conf-test] when (not c) $
  16455. 1891.00 s [opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
  16456. 1891.00 s [opt-env-conf-test] validationTFailure LintErrorManyInfinite
  16457. 1891.00 s [opt-env-conf-test] - pure c
  16458. 1891.00 s [opt-env-conf-test] + pure not (c)
  16459. 1891.00 s [opt-env-conf-test] ParserSome mLoc p -> do
  16460. 1891.00 s [opt-env-conf-test] c <- go p
  16461. 1891.00 s [opt-env-conf-test] when (not c) $
  16462. 1891.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
  16463. 1891.00 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16464. 1891.00 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16465. 1891.00 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16466. 1891.00 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16467. 1891.00 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16468. 1891.00 s [opt-env-conf-test] + let rest' = if not (needTombstone) then Dead : rest else rest
  16469. 1891.00 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16470. 1891.00 s [opt-env-conf-test] _ -> do
  16471. 1891.00 s [opt-env-conf-test] os <- go rest
  16472. 1891.00 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
  16473. 1891.00 s [opt-env-conf-test] @@ -66,168 +66,157 @@
  16474. 1891.01 s [opt-env-conf-test] renderLintError LintError {..} =
  16475. 1891.01 s [opt-env-conf-test] concat
  16476. 1891.01 s [opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
  16477. 1891.01 s [opt-env-conf-test] case lintErrorMessage of
  16478. 1891.01 s [opt-env-conf-test] LintErrorUndocumented ->
  16479. 1891.01 s [opt-env-conf-test] [["missing ", functionChunk "help", "."]]
  16480. 1891.01 s [opt-env-conf-test] LintErrorEmptySetting ->
  16481. 1891.01 s [opt-env-conf-test] concat
  16482. 1891.01 s [opt-env-conf-test] [ [ [ "This ",
  16483. 1891.01 s [opt-env-conf-test] functionChunk "setting",
  16484. 1891.01 s [opt-env-conf-test] " parses nothing."
  16485. 1891.01 s [opt-env-conf-test] ]
  16486. 1891.01 s [opt-env-conf-test] ],
  16487. 1891.01 s [opt-env-conf-test] [ [ "Add an ",
  16488. 1891.01 s [opt-env-conf-test] functionChunk "argument",
  16489. 1891.01 s [opt-env-conf-test] ", ",
  16490. 1891.01 s [opt-env-conf-test] functionChunk "switch",
  16491. 1891.01 s [opt-env-conf-test] ", ",
  16492. 1891.01 s [opt-env-conf-test] functionChunk "option",
  16493. 1891.01 s [opt-env-conf-test] ", ",
  16494. 1891.01 s [opt-env-conf-test] functionChunk "env",
  16495. 1891.01 s [opt-env-conf-test] ", ",
  16496. 1891.01 s [opt-env-conf-test] functionChunk "conf",
  16497. 1891.01 s [opt-env-conf-test] ", or ",
  16498. 1891.01 s [opt-env-conf-test] functionChunk "value",
  16499. 1891.01 s [opt-env-conf-test] "."
  16500. 1891.01 s [opt-env-conf-test] ]
  16501. 1891.01 s [opt-env-conf-test] ]
  16502. 1891.01 s [opt-env-conf-test] ]
  16503. 1891.01 s [opt-env-conf-test] LintErrorDashInShort ->
  16504. 1891.01 s [opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
  16505. 1891.01 s [opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
  16506. 1891.01 s [opt-env-conf-test] ]
  16507. 1891.01 s [opt-env-conf-test] LintErrorDashInLong s ->
  16508. 1891.01 s [opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
  16509. 1891.01 s [opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
  16510. 1891.01 s [opt-env-conf-test] [ "Try ",
  16511. 1891.01 s [opt-env-conf-test] functionChunk "long",
  16512. 1891.01 s [opt-env-conf-test] " ",
  16513. 1891.01 s [opt-env-conf-test] chunk $
  16514. 1891.01 s [opt-env-conf-test] T.pack $
  16515. 1891.01 s [opt-env-conf-test] show $
  16516. 1891.01 s [opt-env-conf-test] let go = \case
  16517. 1891.01 s [opt-env-conf-test] [] -> []
  16518. 1891.01 s [opt-env-conf-test] '-' : cs -> go cs
  16519. 1891.01 s [opt-env-conf-test] c : cs -> c : cs
  16520. 1891.01 s [opt-env-conf-test] in go $ NE.toList s,
  16521. 1891.01 s [opt-env-conf-test] " instead."
  16522. 1891.01 s [opt-env-conf-test] ]
  16523. 1891.01 s [opt-env-conf-test] ]
  16524. 1891.01 s [opt-env-conf-test] LintErrorNoReaderForArgument ->
  16525. 1891.02 s [opt-env-conf-test] [ [ functionChunk "argument",
  16526. 1891.02 s [opt-env-conf-test] " has no ",
  16527. 1891.02 s [opt-env-conf-test] functionChunk "reader",
  16528. 1891.02 s [opt-env-conf-test] "."
  16529. 1891.02 s [opt-env-conf-test] ]
  16530. 1891.02 s [opt-env-conf-test] ]
  16531. 1891.02 s [opt-env-conf-test] LintErrorNoMetavarForArgument ->
  16532. 1891.02 s [opt-env-conf-test] [ [ functionChunk "argument",
  16533. 1891.02 s [opt-env-conf-test] " has no ",
  16534. 1891.02 s [opt-env-conf-test] functionChunk "metavar",
  16535. 1891.02 s [opt-env-conf-test] "."
  16536. 1891.02 s [opt-env-conf-test] ]
  16537. 1891.02 s [opt-env-conf-test] ]
  16538. 1891.02 s [opt-env-conf-test] LintErrorNoReaderForOption ->
  16539. 1891.02 s [opt-env-conf-test] [ [ functionChunk "option",
  16540. 1891.02 s [opt-env-conf-test] " or ",
  16541. 1891.02 s [opt-env-conf-test] functionChunk "name",
  16542. 1891.02 s [opt-env-conf-test] " has no ",
  16543. 1891.02 s [opt-env-conf-test] functionChunk "reader",
  16544. 1891.02 s [opt-env-conf-test] "."
  16545. 1891.02 s [opt-env-conf-test] ]
  16546. 1891.02 s [opt-env-conf-test] ]
  16547. 1891.02 s [opt-env-conf-test] LintErrorNoDashedForOption ->
  16548. 1891.02 s [opt-env-conf-test] [ [ functionChunk "option",
  16549. 1891.02 s [opt-env-conf-test] " has no ",
  16550. 1891.02 s [opt-env-conf-test] functionChunk "long",
  16551. 1891.02 s [opt-env-conf-test] " or ",
  16552. 1891.02 s [opt-env-conf-test] functionChunk "short",
  16553. 1891.02 s [opt-env-conf-test] "."
  16554. 1891.02 s [opt-env-conf-test] ]
  16555. 1891.02 s [opt-env-conf-test] ]
  16556. 1891.02 s [opt-env-conf-test] LintErrorNoMetavarForOption ->
  16557. 1891.02 s [opt-env-conf-test] [ [ functionChunk "option",
  16558. 1891.02 s [opt-env-conf-test] " or ",
  16559. 1891.02 s [opt-env-conf-test] functionChunk "name",
  16560. 1891.02 s [opt-env-conf-test] " has no ",
  16561. 1891.02 s [opt-env-conf-test] functionChunk "metavar",
  16562. 1891.02 s [opt-env-conf-test] "."
  16563. 1891.02 s [opt-env-conf-test] ]
  16564. 1891.02 s [opt-env-conf-test] ]
  16565. 1891.02 s [opt-env-conf-test] LintErrorNoDashedForSwitch ->
  16566. 1891.02 s [opt-env-conf-test] [ [ functionChunk "switch",
  16567. 1891.02 s [opt-env-conf-test] " has no ",
  16568. 1891.02 s [opt-env-conf-test] functionChunk "long",
  16569. 1891.02 s [opt-env-conf-test] " or ",
  16570. 1891.02 s [opt-env-conf-test] functionChunk "short",
  16571. 1891.02 s [opt-env-conf-test] "."
  16572. 1891.02 s [opt-env-conf-test] ]
  16573. 1891.02 s [opt-env-conf-test] ]
  16574. 1891.02 s [opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
  16575. 1891.02 s [opt-env-conf-test] - [ [ functionChunk "long",
  16576. 1891.02 s [opt-env-conf-test] - " or ",
  16577. 1891.02 s [opt-env-conf-test] - functionChunk "short",
  16578. 1891.02 s [opt-env-conf-test] - " has no ",
  16579. 1891.02 s [opt-env-conf-test] - functionChunk "option",
  16580. 1891.02 s [opt-env-conf-test] - " or ",
  16581. 1891.02 s [opt-env-conf-test] - functionChunk "switch",
  16582. 1891.02 s [opt-env-conf-test] - "."
  16583. 1891.02 s [opt-env-conf-test] - ]
  16584. 1891.02 s [opt-env-conf-test] - ]
  16585. 1891.02 s [opt-env-conf-test] LintErrorNoReaderForEnvVar ->
  16586. 1891.02 s [opt-env-conf-test] [ [ functionChunk "env",
  16587. 1891.02 s [opt-env-conf-test] " or ",
  16588. 1891.02 s [opt-env-conf-test] functionChunk "name",
  16589. 1891.02 s [opt-env-conf-test] " has no ",
  16590. 1891.02 s [opt-env-conf-test] functionChunk "reader",
  16591. 1891.02 s [opt-env-conf-test] "."
  16592. 1891.03 s [opt-env-conf-test] ]
  16593. 1891.03 s [opt-env-conf-test] ]
  16594. 1891.03 s [opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
  16595. 1891.03 s [opt-env-conf-test] [ [ functionChunk "env",
  16596. 1891.03 s [opt-env-conf-test] " or ",
  16597. 1891.03 s [opt-env-conf-test] functionChunk "name",
  16598. 1891.03 s [opt-env-conf-test] " has no ",
  16599. 1891.03 s [opt-env-conf-test] functionChunk "metavar",
  16600. 1891.03 s [opt-env-conf-test] "."
  16601. 1891.03 s [opt-env-conf-test] ]
  16602. 1891.03 s [opt-env-conf-test] ]
  16603. 1891.03 s [opt-env-conf-test] LintErrorNoCommands ->
  16604. 1896.81 s [opt-env-conf-test] [ [ functionChunk "commands",
  16605. 1896.83 s [opt-env-conf-test] " was called with an empty list."
  16606. 1896.83 s [opt-env-conf-test] ]
  16607. 1896.83 s [opt-env-conf-test] ]
  16608. 1896.83 s [opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
  16609. 1896.83 s [opt-env-conf-test] [ [ functionChunk "defaultCommand",
  16610. 1896.83 s [opt-env-conf-test] " was called with an unknown command: ",
  16611. 1896.83 s [opt-env-conf-test] commandChunk c
  16612. 1896.83 s [opt-env-conf-test] ]
  16613. 1896.83 s [opt-env-conf-test] ]
  16614. 1896.83 s [opt-env-conf-test] LintErrorUnreadableExample e ->
  16615. 1896.83 s [opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
  16616. 1896.83 s [opt-env-conf-test] ["Example: ", chunk $ T.pack e]
  16617. 1896.83 s [opt-env-conf-test] ]
  16618. 1896.83 s [opt-env-conf-test] LintErrorConfigWithoutLoad ->
  16619. 1896.83 s [opt-env-conf-test] [ [ functionChunk "conf",
  16620. 1896.83 s [opt-env-conf-test] " or ",
  16621. 1896.83 s [opt-env-conf-test] functionChunk "name",
  16622. 1896.84 s [opt-env-conf-test] " was called with no way to load configuration."
  16623. 1896.84 s [opt-env-conf-test] ],
  16624. 1896.84 s [opt-env-conf-test] [ "You can load configuration with ",
  16625. 1896.84 s [opt-env-conf-test] functionChunk "withConfig",
  16626. 1896.84 s [opt-env-conf-test] ", or explicitly not load any configuration with ",
  16627. 1896.84 s [opt-env-conf-test] functionChunk "withoutConfig",
  16628. 1896.84 s [opt-env-conf-test] "."
  16629. 1896.84 s [opt-env-conf-test] ]
  16630. 1896.84 s [opt-env-conf-test] ]
  16631. 1896.84 s [opt-env-conf-test] LintErrorManyInfinite ->
  16632. 1896.84 s [opt-env-conf-test] [ [ functionChunk "many",
  16633. 1896.84 s [opt-env-conf-test] " or ",
  16634. 1896.84 s [opt-env-conf-test] functionChunk "some",
  16635. 1896.84 s [opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
  16636. 1896.84 s [opt-env-conf-test] ],
  16637. 1896.84 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16638. 1896.84 s [opt-env-conf-test] ],
  16639. 1896.84 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16640. 1896.84 s [opt-env-conf-test] ]
  16641. 1896.84 s [opt-env-conf-test]
  16642. 1896.84 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  16643. 1896.84 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16644. 1896.84 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16645. 1896.84 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16646. 1896.84 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16647. 1896.84 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16648. 1896.84 s [opt-env-conf-test] + in Just $ Live (ArgDashed True cs') : rest'
  16649. 1896.84 s [opt-env-conf-test] _ -> do
  16650. 1896.84 s [opt-env-conf-test] os <- go rest
  16651. 1896.84 s [opt-env-conf-test] pure $ Live o : os
  16652. 1896.84 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:254:21-23
  16653. 1896.84 s [opt-env-conf-test] @@ -251,7 +251,7 @@
  16654. 1896.84 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  16655. 1896.84 s [opt-env-conf-test] c1 <- go p1
  16656. 1896.84 s [opt-env-conf-test] c2 <- go p2
  16657. 1896.84 s [opt-env-conf-test] - pure (c1 || c2) -- TODO: is this right?
  16658. 1896.84 s [opt-env-conf-test] + pure (c1 || not (c2)) -- TODO: is this right?
  16659. 1896.84 s [opt-env-conf-test] ParserEmpty _ -> pure True
  16660. 1896.84 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  16661. 1896.84 s [opt-env-conf-test] c1 <- go p1
  16662. 1896.84 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
  16663. 1896.84 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16664. 1896.84 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16665. 1896.85 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16666. 1896.85 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16667. 1896.85 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16668. 1896.85 s [opt-env-conf-test] + in Just $ Live (ArgDashed not (isLong) cs') : rest'
  16669. 1896.85 s [opt-env-conf-test] _ -> do
  16670. 1896.85 s [opt-env-conf-test] os <- go rest
  16671. 1896.85 s [opt-env-conf-test] pure $ Live o : os
  16672. 1896.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16673. 1896.85 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  16674. 1896.85 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16675. 1896.85 s [opt-env-conf-test] (Live o : rest) -> case o of
  16676. 1896.85 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16677. 1896.85 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16678. 1896.85 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16679. 1896.85 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  16680. 1896.85 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16681. 1896.85 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16682. 1896.85 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16683. 1896.85 s [opt-env-conf-test] _ -> do
  16684. 1896.85 s [opt-env-conf-test] os <- go rest
  16685. 1896.85 s [opt-env-conf-test] pure $ Live o : os
  16686. 1896.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16687. 1896.85 s [opt-env-conf-test] @@ -331,12 +331,9 @@
  16688. 1896.85 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16689. 1896.85 s [opt-env-conf-test] (Live o : rest) -> case o of
  16690. 1896.85 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16691. 1896.85 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16692. 1896.85 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16693. 1896.85 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16694. 1896.85 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  16695. 1896.85 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16696. 1896.85 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16697. 1896.85 s [opt-env-conf-test] _ -> do
  16698. 1896.85 s [opt-env-conf-test] os <- go rest
  16699. 1896.85 s [opt-env-conf-test] pure $ Live o : os
  16700. 1896.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16701. 1896.85 s [opt-env-conf-test] @@ -329,17 +329,16 @@
  16702. 1896.85 s [opt-env-conf-test] go = \case
  16703. 1896.85 s [opt-env-conf-test] [] -> Nothing
  16704. 1896.85 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16705. 1896.85 s [opt-env-conf-test] (Live o : rest) -> case o of
  16706. 1896.85 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  16707. 1896.85 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16708. 1896.85 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16709. 1896.85 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16710. 1896.85 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16711. 1896.85 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16712. 1896.85 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16713. 1896.85 s [opt-env-conf-test] _ -> do
  16714. 1896.85 s [opt-env-conf-test] os <- go rest
  16715. 1896.85 s [opt-env-conf-test] pure $ Live o : os
  16716. 1896.85 s [opt-env-conf-test]
  16717. 1896.85 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16718. 1896.85 s [opt-env-conf-test] -- character because then we need a tombstone.
  16719. 1896.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16720. 1896.85 s [opt-env-conf-test] @@ -329,17 +329,11 @@
  16721. 1896.85 s [opt-env-conf-test] go = \case
  16722. 1896.85 s [opt-env-conf-test] [] -> Nothing
  16723. 1896.85 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16724. 1896.85 s [opt-env-conf-test] (Live o : rest) -> case o of
  16725. 1896.85 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16726. 1896.85 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16727. 1896.85 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  16728. 1896.85 s [opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
  16729. 1896.85 s [opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
  16730. 1896.85 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16731. 1896.86 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16732. 1896.86 s [opt-env-conf-test] _ -> do
  16733. 1896.86 s [opt-env-conf-test] os <- go rest
  16734. 1896.86 s [opt-env-conf-test] pure $ Live o : os
  16735. 1896.86 s [opt-env-conf-test]
  16736. 1896.86 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16737. 1896.86 s [opt-env-conf-test] -- character because then we need a tombstone.
  16738. 1896.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
  16739. 1896.86 s [opt-env-conf-test] @@ -329,17 +329,14 @@
  16740. 1896.86 s [opt-env-conf-test] go = \case
  16741. 1896.86 s [opt-env-conf-test] [] -> Nothing
  16742. 1896.86 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16743. 1896.86 s [opt-env-conf-test] (Live o : rest) -> case o of
  16744. 1896.86 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16745. 1896.86 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16746. 1896.86 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16747. 1896.86 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16748. 1896.86 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16749. 1896.86 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16750. 1896.86 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16751. 1896.86 s [opt-env-conf-test] - _ -> do
  16752. 1896.86 s [opt-env-conf-test] - os <- go rest
  16753. 1896.86 s [opt-env-conf-test] - pure $ Live o : os
  16754. 1896.86 s [opt-env-conf-test]
  16755. 1896.86 s [opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
  16756. 1896.86 s [opt-env-conf-test] -- character because then we need a tombstone.
  16757. 1896.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  16758. 1896.86 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  16759. 1896.86 s [opt-env-conf-test] where
  16760. 1896.86 s [opt-env-conf-test] go acc ne =
  16761. 1896.86 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  16762. 1896.86 s [opt-env-conf-test] in case mRest of
  16763. 1896.86 s [opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
  16764. 1896.86 s [opt-env-conf-test] Just rest -> go (a : acc) rest
  16765. 1896.86 s [opt-env-conf-test]
  16766. 1896.86 s [opt-env-conf-test] -- | Consume a switch.
  16767. 1896.86 s [opt-env-conf-test] --
  16768. 1896.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
  16769. 1896.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  16770. 1896.86 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16771. 1896.86 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16772. 1896.86 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16773. 1896.86 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  16774. 1896.86 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  16775. 1896.86 s [opt-env-conf-test] _ -> do
  16776. 1896.86 s [opt-env-conf-test] os <- go rest
  16777. 1896.86 s [opt-env-conf-test] pure $ Live o : os
  16778. 1896.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
  16779. 1896.86 s [opt-env-conf-test] @@ -306,9 +306,8 @@
  16780. 1896.86 s [opt-env-conf-test] where
  16781. 1896.86 s [opt-env-conf-test] go acc ne =
  16782. 1896.86 s [opt-env-conf-test] let (a, mRest) = NE.uncons ne
  16783. 1896.86 s [opt-env-conf-test] in case mRest of
  16784. 1896.86 s [opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
  16785. 1896.86 s [opt-env-conf-test] - Just rest -> go (a : acc) rest
  16786. 1896.86 s [opt-env-conf-test]
  16787. 1896.86 s [opt-env-conf-test] -- | Consume a switch.
  16788. 1896.86 s [opt-env-conf-test] --
  16789. 1896.86 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  16790. 1896.86 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16791. 1896.86 s [opt-env-conf-test] NonEmpty Char ->
  16792. 1896.86 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16793. 1896.86 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16794. 1905.76 s [opt-env-conf-test] - if isLong
  16795. 1905.79 s [opt-env-conf-test] + if True
  16796. 1905.79 s [opt-env-conf-test] then
  16797. 1905.79 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16798. 1905.79 s [opt-env-conf-test] then Just Nothing
  16799. 1905.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
  16800. 1905.79 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16801. 1905.79 s [opt-env-conf-test] NonEmpty Char ->
  16802. 1905.79 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16803. 1905.79 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16804. 1905.79 s [opt-env-conf-test] - if isLong
  16805. 1905.79 s [opt-env-conf-test] + if False
  16806. 1905.79 s [opt-env-conf-test] then
  16807. 1905.79 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16808. 1905.79 s [opt-env-conf-test] then Just Nothing
  16809. 1905.79 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
  16810. 1905.79 s [opt-env-conf-test] @@ -290,7 +290,7 @@
  16811. 1905.79 s [opt-env-conf-test] NonEmpty Char ->
  16812. 1905.79 s [opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
  16813. 1905.79 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16814. 1905.79 s [opt-env-conf-test] - if isLong
  16815. 1905.79 s [opt-env-conf-test] + if not (isLong)
  16816. 1905.79 s [opt-env-conf-test] then
  16817. 1905.79 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16818. 1905.79 s [opt-env-conf-test] then Just Nothing
  16819. 1905.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
  16820. 1905.79 s [opt-env-conf-test] @@ -277,7 +277,7 @@
  16821. 1905.79 s [opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
  16822. 1905.79 s [opt-env-conf-test] else do
  16823. 1905.79 s [opt-env-conf-test] for_ mDefault $ \d ->
  16824. 1905.79 s [opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
  16825. 1905.79 s [opt-env-conf-test] + when True $
  16826. 1905.79 s [opt-env-conf-test] validationTFailure $
  16827. 1905.79 s [opt-env-conf-test] LintError mLoc $
  16828. 1905.79 s [opt-env-conf-test] LintErrorUnknownDefaultCommand d
  16829. 1905.79 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  16830. 1905.79 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  16831. 1905.79 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  16832. 1905.79 s [opt-env-conf-test] if isLong
  16833. 1905.79 s [opt-env-conf-test] then
  16834. 1905.79 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  16835. 1905.79 s [opt-env-conf-test] + if True
  16836. 1905.79 s [opt-env-conf-test] then Just Nothing
  16837. 1905.79 s [opt-env-conf-test] else Nothing
  16838. 1905.80 s [opt-env-conf-test] else
  16839. 1905.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  16840. 1905.80 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  16841. 1905.80 s [opt-env-conf-test] ParserAp p1 p2 -> do
  16842. 1905.80 s [opt-env-conf-test] c1 <- go p1
  16843. 1905.80 s [opt-env-conf-test] c2 <- go p2
  16844. 1905.80 s [opt-env-conf-test] - pure (c1 || c2)
  16845. 1905.80 s [opt-env-conf-test] + pure (c1 || False)
  16846. 1905.80 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  16847. 1905.80 s [opt-env-conf-test] c1 <- go p1
  16848. 1905.80 s [opt-env-conf-test] c2 <- go p2
  16849. 1905.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
  16850. 1905.80 s [opt-env-conf-test] @@ -331,12 +331,11 @@
  16851. 1905.80 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16852. 1905.80 s [opt-env-conf-test] (Live o : rest) -> case o of
  16853. 1905.80 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16854. 1905.80 s [opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16855. 1905.80 s [opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
  16856. 1905.80 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16857. 1905.80 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16858. 1905.80 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  16859. 1905.80 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16860. 1905.80 s [opt-env-conf-test] _ -> do
  16861. 1905.80 s [opt-env-conf-test] os <- go rest
  16862. 1905.80 s [opt-env-conf-test] pure $ Live o : os
  16863. 1905.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  16864. 1905.80 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16865. 1905.80 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16866. 1905.80 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16867. 1905.80 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16868. 1905.80 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16869. 1905.80 s [opt-env-conf-test] + let rest' = if True then Dead : rest else rest
  16870. 1905.80 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16871. 1905.80 s [opt-env-conf-test] _ -> do
  16872. 1905.80 s [opt-env-conf-test] os <- go rest
  16873. 1905.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
  16874. 1905.80 s [opt-env-conf-test] @@ -335,7 +335,7 @@
  16875. 1905.80 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16876. 1905.80 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16877. 1905.80 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16878. 1905.80 s [opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
  16879. 1905.80 s [opt-env-conf-test] + let rest' = if False then Dead : rest else rest
  16880. 1905.80 s [opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
  16881. 1905.80 s [opt-env-conf-test] _ -> do
  16882. 1905.80 s [opt-env-conf-test] os <- go rest
  16883. 1905.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
  16884. 1905.80 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  16885. 1905.80 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  16886. 1905.80 s [opt-env-conf-test] (Live o : rest) -> case o of
  16887. 1905.80 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  16888. 1905.80 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  16889. 1905.80 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds False cs of
  16890. 1905.80 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  16891. 1905.80 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  16892. 1905.80 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  16893. 1905.80 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
  16894. 1905.80 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  16895. 1905.80 s [opt-env-conf-test] if isLong
  16896. 1905.80 s [opt-env-conf-test] then
  16897. 1905.80 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  16898. 1905.80 s [opt-env-conf-test] - then Just Nothing
  16899. 1905.80 s [opt-env-conf-test] + then Nothing
  16900. 1905.80 s [opt-env-conf-test] else Nothing
  16901. 1905.80 s [opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
  16902. 1905.80 s [opt-env-conf-test]
  16903. 1905.80 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  16904. 1905.80 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  16905. 1905.80 s [opt-env-conf-test] else Nothing
  16906. 1905.80 s [opt-env-conf-test] else
  16907. 1905.80 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16908. 1905.80 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  16909. 1905.80 s [opt-env-conf-test] + in if True
  16910. 1905.80 s [opt-env-conf-test] then Just mRest
  16911. 1905.80 s [opt-env-conf-test] else Nothing
  16912. 1905.80 s [opt-env-conf-test]
  16913. 1905.80 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
  16914. 1905.80 s [opt-env-conf-test] @@ -221,11 +221,10 @@
  16915. 1905.80 s [opt-env-conf-test] ]
  16916. 1905.80 s [opt-env-conf-test] ]
  16917. 1905.80 s [opt-env-conf-test] LintErrorManyInfinite ->
  16918. 1905.80 s [opt-env-conf-test] [ [ functionChunk "many",
  16919. 1905.80 s [opt-env-conf-test] " or ",
  16920. 1905.80 s [opt-env-conf-test] functionChunk "some",
  16921. 1905.80 s [opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
  16922. 1905.80 s [opt-env-conf-test] ],
  16923. 1905.81 s [opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
  16924. 1905.81 s [opt-env-conf-test] ],
  16925. 1905.81 s [opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
  16926. 1905.81 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
  16927. 1905.81 s [opt-env-conf-test] @@ -298,7 +298,7 @@
  16928. 1905.81 s [opt-env-conf-test] else
  16929. 1905.81 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  16930. 1905.81 s [opt-env-conf-test] in if DashedShort c `elem` dasheds
  16931. 1905.81 s [opt-env-conf-test] - then Just mRest
  16932. 1905.81 s [opt-env-conf-test] + then Nothing
  16933. 1905.81 s [opt-env-conf-test] else Nothing
  16934. 1905.81 s [opt-env-conf-test]
  16935. 1905.81 s [opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
  16936. 1905.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
  16937. 1905.81 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16938. 1905.81 s [opt-env-conf-test] Maybe String
  16939. 1905.81 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16940. 1905.81 s [opt-env-conf-test] (c :| rest)
  16941. 1905.81 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16942. 1905.81 s [opt-env-conf-test] + | c `elem` dasheds && not (True) ->
  16943. 1905.81 s [opt-env-conf-test] Just rest
  16944. 1905.81 s [opt-env-conf-test] _ -> Nothing
  16945. 1905.81 s [opt-env-conf-test]
  16946. 1905.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
  16947. 1905.81 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16948. 1905.81 s [opt-env-conf-test] Maybe String
  16949. 1905.81 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16950. 1905.81 s [opt-env-conf-test] (c :| rest)
  16951. 1905.81 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16952. 1905.81 s [opt-env-conf-test] + | c `elem` dasheds && not (not (null rest)) ->
  16953. 1905.81 s [opt-env-conf-test] Just rest
  16954. 1905.81 s [opt-env-conf-test] _ -> Nothing
  16955. 1905.81 s [opt-env-conf-test]
  16956. 1905.81 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
  16957. 1905.81 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16958. 1905.81 s [opt-env-conf-test] Maybe String
  16959. 1905.81 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16960. 1905.81 s [opt-env-conf-test] (c :| rest)
  16961. 1905.81 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16962. 1905.81 s [opt-env-conf-test] + | c `elem` dasheds && not not ((null rest)) ->
  16963. 1905.81 s [opt-env-conf-test] Just rest
  16964. 1905.81 s [opt-env-conf-test] _ -> Nothing
  16965. 1905.81 s [opt-env-conf-test]
  16966. 1905.81 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
  16967. 1905.81 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16968. 1905.81 s [opt-env-conf-test] Maybe String
  16969. 1905.81 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16970. 1913.96 s [opt-env-conf-test] (c :| rest)
  16971. 1913.96 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16972. 1913.99 s [opt-env-conf-test] + | True ->
  16973. 1913.99 s [opt-env-conf-test] Just rest
  16974. 1913.99 s [opt-env-conf-test] _ -> Nothing
  16975. 1913.99 s [opt-env-conf-test]
  16976. 1913.99 s [opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
  16977. 1913.99 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16978. 1913.99 s [opt-env-conf-test] Maybe String
  16979. 1913.99 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16980. 1913.99 s [opt-env-conf-test] (c :| rest)
  16981. 1913.99 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16982. 1913.99 s [opt-env-conf-test] + | c `elem` dasheds || not (null rest) ->
  16983. 1913.99 s [opt-env-conf-test] Just rest
  16984. 1913.99 s [opt-env-conf-test] _ -> Nothing
  16985. 1913.99 s [opt-env-conf-test]
  16986. 1913.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
  16987. 1913.99 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16988. 1913.99 s [opt-env-conf-test] Maybe String
  16989. 1913.99 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  16990. 1913.99 s [opt-env-conf-test] (c :| rest)
  16991. 1913.99 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  16992. 1913.99 s [opt-env-conf-test] + | not (c `elem` dasheds && not (null rest)) ->
  16993. 1913.99 s [opt-env-conf-test] Just rest
  16994. 1913.99 s [opt-env-conf-test] _ -> Nothing
  16995. 1913.99 s [opt-env-conf-test]
  16996. 1913.99 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
  16997. 1913.99 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  16998. 1914.00 s [opt-env-conf-test] Maybe String
  16999. 1914.00 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17000. 1914.00 s [opt-env-conf-test] (c :| rest)
  17001. 1914.00 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17002. 1914.00 s [opt-env-conf-test] + | c `elem` dasheds && not (not (null rest)) ->
  17003. 1914.00 s [opt-env-conf-test] Just rest
  17004. 1914.00 s [opt-env-conf-test] _ -> Nothing
  17005. 1914.00 s [opt-env-conf-test]
  17006. 1914.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
  17007. 1914.00 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17008. 1914.00 s [opt-env-conf-test] Maybe String
  17009. 1914.00 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17010. 1914.00 s [opt-env-conf-test] (c :| rest)
  17011. 1914.00 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17012. 1914.00 s [opt-env-conf-test] + | c `elem` dasheds && not True ->
  17013. 1914.00 s [opt-env-conf-test] Just rest
  17014. 1914.00 s [opt-env-conf-test] _ -> Nothing
  17015. 1914.00 s [opt-env-conf-test]
  17016. 1914.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
  17017. 1914.00 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17018. 1914.00 s [opt-env-conf-test] Maybe String
  17019. 1914.00 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17020. 1914.00 s [opt-env-conf-test] (c :| rest)
  17021. 1914.00 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17022. 1914.00 s [opt-env-conf-test] + | c `elem` dasheds && True ->
  17023. 1914.00 s [opt-env-conf-test] Just rest
  17024. 1914.00 s [opt-env-conf-test] _ -> Nothing
  17025. 1914.00 s [opt-env-conf-test]
  17026. 1914.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
  17027. 1914.00 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  17028. 1914.00 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  17029. 1914.00 s [opt-env-conf-test] if isLong
  17030. 1914.00 s [opt-env-conf-test] then
  17031. 1914.00 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  17032. 1914.00 s [opt-env-conf-test] + if not (DashedLong cs `elem` dasheds)
  17033. 1914.00 s [opt-env-conf-test] then Just Nothing
  17034. 1914.00 s [opt-env-conf-test] else Nothing
  17035. 1914.00 s [opt-env-conf-test] else
  17036. 1914.00 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
  17037. 1914.00 s [opt-env-conf-test] @@ -293,7 +293,7 @@
  17038. 1914.00 s [opt-env-conf-test] if isLong
  17039. 1914.00 s [opt-env-conf-test] then
  17040. 1914.00 s [opt-env-conf-test] if DashedLong cs `elem` dasheds
  17041. 1914.00 s [opt-env-conf-test] - then Just Nothing
  17042. 1914.00 s [opt-env-conf-test] + then Nothing
  17043. 1914.00 s [opt-env-conf-test] else Nothing
  17044. 1914.00 s [opt-env-conf-test] else
  17045. 1914.00 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17046. 1914.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
  17047. 1914.00 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  17048. 1914.00 s [opt-env-conf-test] else Nothing
  17049. 1914.00 s [opt-env-conf-test] else
  17050. 1914.00 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17051. 1914.00 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  17052. 1914.00 s [opt-env-conf-test] + in if not (DashedShort c `elem` dasheds)
  17053. 1914.00 s [opt-env-conf-test] then Just mRest
  17054. 1914.00 s [opt-env-conf-test] else Nothing
  17055. 1914.00 s [opt-env-conf-test]
  17056. 1914.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
  17057. 1914.00 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17058. 1914.00 s [opt-env-conf-test] Maybe String
  17059. 1914.00 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17060. 1914.00 s [opt-env-conf-test] (c :| rest)
  17061. 1914.00 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17062. 1914.01 s [opt-env-conf-test] + | True && not (null rest) ->
  17063. 1914.01 s [opt-env-conf-test] Just rest
  17064. 1914.01 s [opt-env-conf-test] _ -> Nothing
  17065. 1914.01 s [opt-env-conf-test]
  17066. 1914.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
  17067. 1914.01 s [opt-env-conf-test] @@ -297,7 +297,7 @@
  17068. 1914.01 s [opt-env-conf-test] else Nothing
  17069. 1914.01 s [opt-env-conf-test] else
  17070. 1914.01 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  17071. 1914.01 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  17072. 1914.01 s [opt-env-conf-test] + in if False
  17073. 1914.01 s [opt-env-conf-test] then Just mRest
  17074. 1914.01 s [opt-env-conf-test] else Nothing
  17075. 1914.01 s [opt-env-conf-test]
  17076. 1914.01 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
  17077. 1914.01 s [opt-env-conf-test] @@ -279,7 +279,7 @@
  17078. 1914.01 s [opt-env-conf-test] Maybe String
  17079. 1914.01 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17080. 1914.01 s [opt-env-conf-test] (c :| rest)
  17081. 1914.01 s [opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
  17082. 1914.01 s [opt-env-conf-test] + | not (c `elem` dasheds) && not (null rest) ->
  17083. 1914.01 s [opt-env-conf-test] Just rest
  17084. 1914.01 s [opt-env-conf-test] _ -> Nothing
  17085. 1914.01 s [opt-env-conf-test]
  17086. 1914.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  17087. 1914.01 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  17088. 1914.01 s [opt-env-conf-test] ParserAp p1 p2 -> do
  17089. 1914.01 s [opt-env-conf-test] c1 <- go p1
  17090. 1914.01 s [opt-env-conf-test] c2 <- go p2
  17091. 1914.01 s [opt-env-conf-test] - pure (c1 || c2)
  17092. 1914.01 s [opt-env-conf-test] + pure (c1 || True)
  17093. 1914.01 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  17094. 1914.01 s [opt-env-conf-test] c1 <- go p1
  17095. 1914.01 s [opt-env-conf-test] c2 <- go p2
  17096. 1914.01 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
  17097. 1914.01 s [opt-env-conf-test] @@ -147,7 +147,7 @@
  17098. 1914.01 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17099. 1914.01 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17100. 1914.01 s [opt-env-conf-test] -- A single dash is always an argument
  17101. 1914.01 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17102. 1914.01 s [opt-env-conf-test] + ArgBareDash -> [(Nothing, consumed)]
  17103. 1914.01 s [opt-env-conf-test] -- Bare double-dash
  17104. 1914.01 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17105. 1914.01 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17106. 1914.01 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
  17107. 1914.01 s [opt-env-conf-test] @@ -151,7 +151,7 @@
  17108. 1914.01 s [opt-env-conf-test] -- Bare double-dash
  17109. 1914.01 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17110. 1914.01 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17111. 1914.01 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17112. 1914.01 s [opt-env-conf-test] + [] -> [(Nothing, consumed)]
  17113. 1914.01 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17114. 1914.01 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17115. 1914.01 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17116. 1914.01 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
  17117. 1914.01 s [opt-env-conf-test] @@ -165,7 +165,7 @@
  17118. 1914.01 s [opt-env-conf-test] let go = \case
  17119. 1914.01 s [opt-env-conf-test] [] -> Nothing
  17120. 1914.01 s [opt-env-conf-test] (Dead : rest) -> go rest
  17121. 1914.02 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17122. 1914.02 s [opt-env-conf-test] + (Live a' : rest) -> Nothing
  17123. 1914.02 s [opt-env-conf-test] in case go afters of
  17124. 1914.02 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17125. 1914.02 s [opt-env-conf-test] Just (firstLive, rest) ->
  17126. 1914.02 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
  17127. 1914.02 s [opt-env-conf-test] @@ -145,7 +145,7 @@
  17128. 1914.02 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17129. 1914.02 s [opt-env-conf-test] Live a -> case a of
  17130. 1914.02 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17131. 1914.02 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17132. 1914.02 s [opt-env-conf-test] + ArgPlain plain -> [(Nothing, consumed)]
  17133. 1914.02 s [opt-env-conf-test] -- A single dash is always an argument
  17134. 1914.02 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17135. 1914.02 s [opt-env-conf-test] -- Bare double-dash
  17136. 1914.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  17137. 1914.02 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  17138. 1914.02 s [opt-env-conf-test] [] -> Nothing
  17139. 1915.45 s [opt-env-conf-test] (Dead : rest) -> go rest
  17140. 1915.45 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17141. 1915.45 s [opt-env-conf-test] in case go afters of
  17142. 1915.45 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17143. 1915.45 s [opt-env-conf-test] Just (firstLive, rest) ->
  17144. 1915.45 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17145. 1915.45 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17146. 1915.45 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17147. 1915.45 s [opt-env-conf-test] -- arguments.
  17148. 1915.45 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17149. 1915.45 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17150. 1915.45 s [opt-env-conf-test] )
  17151. 1915.45 s [opt-env-conf-test] ]
  17152. 1915.45 s [opt-env-conf-test] ArgDashed {} ->
  17153. 1915.45 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17154. 1915.45 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17155. 1915.45 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
  17156. 1915.45 s [opt-env-conf-test] @@ -258,7 +258,7 @@
  17157. 1915.46 s [opt-env-conf-test] ParserEmpty _ -> True
  17158. 1915.46 s [opt-env-conf-test] ParserAlt _ _ -> False
  17159. 1915.46 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  17160. 1915.46 s [opt-env-conf-test] - ParserSome _ p -> isEmpty p
  17161. 1915.46 s [opt-env-conf-test] + ParserSome _ p -> True
  17162. 1915.46 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  17163. 1915.46 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  17164. 1915.46 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  17165. 1915.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  17166. 1915.46 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  17167. 1915.46 s [opt-env-conf-test] -- A single dash is always an argument
  17168. 1915.46 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17169. 1915.46 s [opt-env-conf-test] -- Bare double-dash
  17170. 1915.46 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17171. 1915.46 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17172. 1915.46 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17173. 1915.46 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17174. 1915.46 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17175. 1915.46 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17176. 1915.46 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17177. 1915.46 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17178. 1915.46 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17179. 1915.46 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17180. 1915.46 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17181. 1915.46 s [opt-env-conf-test] -- pop the args as they come.
  17182. 1915.46 s [opt-env-conf-test] _ ->
  17183. 1915.46 s [opt-env-conf-test] let go = \case
  17184. 1915.46 s [opt-env-conf-test] [] -> Nothing
  17185. 1915.46 s [opt-env-conf-test] (Dead : rest) -> go rest
  17186. 1915.46 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17187. 1915.46 s [opt-env-conf-test] in case go afters of
  17188. 1915.46 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17189. 1915.46 s [opt-env-conf-test] Just (firstLive, rest) ->
  17190. 1915.46 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17191. 1915.46 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17192. 1915.46 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17193. 1915.46 s [opt-env-conf-test] -- arguments.
  17194. 1915.46 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17195. 1915.46 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17196. 1915.46 s [opt-env-conf-test] )
  17197. 1915.46 s [opt-env-conf-test] ]
  17198. 1915.46 s [opt-env-conf-test] ArgDashed {} ->
  17199. 1922.71 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17200. 1922.74 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17201. 1922.74 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
  17202. 1922.74 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17203. 1922.74 s [opt-env-conf-test] renderArg = \case
  17204. 1922.74 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17205. 1922.74 s [opt-env-conf-test] ArgBareDash -> "-"
  17206. 1922.74 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17207. 1922.74 s [opt-env-conf-test] + ArgDashed l cs -> (if not (l) then "--" else "-") <> NE.toList cs
  17208. 1922.74 s [opt-env-conf-test] ArgPlain a -> a
  17209. 1922.74 s [opt-env-conf-test]
  17210. 1922.74 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17211. 1922.74 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  17212. 1922.74 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  17213. 1922.74 s [opt-env-conf-test] -- things like a default command.
  17214. 1922.74 s [opt-env-conf-test] let addConsumeNothing = \case
  17215. 1922.74 s [opt-env-conf-test] [] -> [(Nothing, as)]
  17216. 1922.74 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  17217. 1922.74 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  17218. 1922.74 s [opt-env-conf-test] Nothing -> r
  17219. 1922.74 s [opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
  17220. 1922.74 s [opt-env-conf-test]
  17221. 1922.74 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17222. 1922.74 s [opt-env-conf-test] [] -> []
  17223. 1922.74 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  17224. 1922.74 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17225. 1922.74 s [opt-env-conf-test] renderArg = \case
  17226. 1922.75 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17227. 1922.75 s [opt-env-conf-test] ArgBareDash -> "-"
  17228. 1922.75 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17229. 1922.75 s [opt-env-conf-test] + ArgDashed l cs -> (if True then "--" else "-") <> NE.toList cs
  17230. 1922.75 s [opt-env-conf-test] ArgPlain a -> a
  17231. 1922.75 s [opt-env-conf-test]
  17232. 1922.75 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17233. 1922.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
  17234. 1922.75 s [opt-env-conf-test] @@ -86,7 +86,7 @@
  17235. 1922.75 s [opt-env-conf-test] renderArg = \case
  17236. 1922.75 s [opt-env-conf-test] ArgBareDoubleDash -> "--"
  17237. 1922.75 s [opt-env-conf-test] ArgBareDash -> "-"
  17238. 1922.75 s [opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
  17239. 1922.75 s [opt-env-conf-test] + ArgDashed l cs -> (if False then "--" else "-") <> NE.toList cs
  17240. 1922.75 s [opt-env-conf-test] ArgPlain a -> a
  17241. 1922.75 s [opt-env-conf-test]
  17242. 1922.75 s [opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
  17243. 1922.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17244. 1922.75 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17245. 1922.75 s [opt-env-conf-test] NonEmpty Char ->
  17246. 1922.75 s [opt-env-conf-test] Maybe String
  17247. 1922.75 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17248. 1922.75 s [opt-env-conf-test] - if isLong
  17249. 1922.75 s [opt-env-conf-test] + if False
  17250. 1922.75 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17251. 1922.75 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17252. 1922.75 s [opt-env-conf-test]
  17253. 1922.75 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
  17254. 1922.75 s [opt-env-conf-test] @@ -130,10 +130,9 @@
  17255. 1922.75 s [opt-env-conf-test] -- things like a default command.
  17256. 1922.75 s [opt-env-conf-test] let addConsumeNothing = \case
  17257. 1922.75 s [opt-env-conf-test] [] -> [(Nothing, as)]
  17258. 1922.75 s [opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
  17259. 1922.75 s [opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
  17260. 1922.75 s [opt-env-conf-test] - Nothing -> r
  17261. 1922.75 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17262. 1922.75 s [opt-env-conf-test]
  17263. 1922.75 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17264. 1922.75 s [opt-env-conf-test] [] -> []
  17265. 1922.75 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
  17266. 1922.75 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17267. 1922.75 s [opt-env-conf-test] NonEmpty Char ->
  17268. 1922.75 s [opt-env-conf-test] Maybe String
  17269. 1922.75 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17270. 1922.75 s [opt-env-conf-test] - if isLong
  17271. 1922.75 s [opt-env-conf-test] + if True
  17272. 1922.75 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17273. 1922.75 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17274. 1922.75 s [opt-env-conf-test]
  17275. 1922.75 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
  17276. 1922.75 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  17277. 1922.75 s [opt-env-conf-test] NonEmpty Char ->
  17278. 1922.75 s [opt-env-conf-test] Maybe String
  17279. 1922.75 s [opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
  17280. 1922.75 s [opt-env-conf-test] - if isLong
  17281. 1922.75 s [opt-env-conf-test] + if not (isLong)
  17282. 1922.75 s [opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
  17283. 1922.75 s [opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  17284. 1922.75 s [opt-env-conf-test]
  17285. 1922.75 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
  17286. 1922.76 s [opt-env-conf-test] @@ -280,7 +280,7 @@
  17287. 1922.76 s [opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
  17288. 1922.76 s [opt-env-conf-test] (c :| rest)
  17289. 1922.76 s [opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
  17290. 1922.76 s [opt-env-conf-test] - Just rest
  17291. 1922.76 s [opt-env-conf-test] + Nothing
  17292. 1922.76 s [opt-env-conf-test] _ -> Nothing
  17293. 1922.76 s [opt-env-conf-test]
  17294. 1922.76 s [opt-env-conf-test] -- Can consume only the last in a folded dashed
  17295. 1922.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  17296. 1922.76 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  17297. 1922.76 s [opt-env-conf-test] ]
  17298. 1922.76 s [opt-env-conf-test] _ ->
  17299. 1922.76 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17300. 1922.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17301. 1922.76 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17302. 1922.76 s [opt-env-conf-test] ]
  17303. 1922.76 s [opt-env-conf-test] )
  17304. 1922.76 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
  17305. 1922.76 s [opt-env-conf-test] @@ -203,7 +203,7 @@
  17306. 1922.76 s [opt-env-conf-test] _ ->
  17307. 1922.76 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17308. 1922.76 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17309. 1922.76 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17310. 1922.76 s [opt-env-conf-test] + (Nothing, consumed)
  17311. 1922.76 s [opt-env-conf-test] ]
  17312. 1922.76 s [opt-env-conf-test] )
  17313. 1922.76 s [opt-env-conf-test]
  17314. 1922.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  17315. 1922.76 s [opt-env-conf-test] @@ -202,9 +202,7 @@
  17316. 1922.76 s [opt-env-conf-test] ]
  17317. 1922.76 s [opt-env-conf-test] _ ->
  17318. 1922.76 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17319. 1922.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17320. 1922.76 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17321. 1922.76 s [opt-env-conf-test] ]
  17322. 1922.76 s [opt-env-conf-test] )
  17323. 1922.76 s [opt-env-conf-test]
  17324. 1922.76 s [opt-env-conf-test] -- | Consume an option.
  17325. 1922.76 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
  17326. 1922.76 s [opt-env-conf-test] @@ -202,9 +202,8 @@
  17327. 1922.76 s [opt-env-conf-test] ]
  17328. 1922.76 s [opt-env-conf-test] _ ->
  17329. 1922.76 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17330. 1922.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17331. 1922.76 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17332. 1922.76 s [opt-env-conf-test] ]
  17333. 1922.76 s [opt-env-conf-test] )
  17334. 1922.76 s [opt-env-conf-test]
  17335. 1922.76 s [opt-env-conf-test] -- | Consume an option.
  17336. 1922.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  17337. 1922.76 s [opt-env-conf-test] @@ -195,16 +195,12 @@
  17338. 1922.76 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17339. 1922.76 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17340. 1922.76 s [opt-env-conf-test] -- * The dashed is an argument
  17341. 1922.76 s [opt-env-conf-test] ( case a' of
  17342. 1922.76 s [opt-env-conf-test] - ArgDashed {} ->
  17343. 1922.76 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17344. 1922.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17345. 1922.76 s [opt-env-conf-test] - ]
  17346. 1922.76 s [opt-env-conf-test] _ ->
  17347. 1922.76 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17348. 1922.76 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17349. 1922.76 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17350. 1922.76 s [opt-env-conf-test] ]
  17351. 1922.76 s [opt-env-conf-test] )
  17352. 1922.76 s [opt-env-conf-test]
  17353. 1922.76 s [opt-env-conf-test] -- | Consume an option.
  17354. 1922.77 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
  17355. 1922.77 s [opt-env-conf-test] @@ -195,16 +195,11 @@
  17356. 1922.77 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17357. 1922.77 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17358. 1922.77 s [opt-env-conf-test] -- * The dashed is an argument
  17359. 1922.77 s [opt-env-conf-test] ( case a' of
  17360. 1922.77 s [opt-env-conf-test] ArgDashed {} ->
  17361. 1922.77 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17362. 1922.77 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17363. 1922.77 s [opt-env-conf-test] ]
  17364. 1922.77 s [opt-env-conf-test] - _ ->
  17365. 1925.26 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17366. 1925.26 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17367. 1925.26 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17368. 1925.26 s [opt-env-conf-test] - ]
  17369. 1925.26 s [opt-env-conf-test] )
  17370. 1925.26 s [opt-env-conf-test]
  17371. 1925.26 s [opt-env-conf-test] -- | Consume an option.
  17372. 1925.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17373. 1925.27 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17374. 1925.27 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17375. 1925.27 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17376. 1925.27 s [opt-env-conf-test] ]
  17377. 1925.27 s [opt-env-conf-test] in case afters of
  17378. 1925.27 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17379. 1925.27 s [opt-env-conf-test] - [] -> switchCase
  17380. 1925.27 s [opt-env-conf-test] (Dead : _) -> switchCase
  17381. 1925.27 s [opt-env-conf-test] (Live a' : rest) ->
  17382. 1925.27 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17383. 1925.27 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17384. 1925.27 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17385. 1925.27 s [opt-env-conf-test] -- * The dashed is an argument
  17386. 1925.27 s [opt-env-conf-test] ( case a' of
  17387. 1925.27 s [opt-env-conf-test] ArgDashed {} ->
  17388. 1925.27 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17389. 1925.27 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17390. 1925.27 s [opt-env-conf-test] ]
  17391. 1925.27 s [opt-env-conf-test] _ ->
  17392. 1925.27 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17393. 1925.27 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17394. 1925.27 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17395. 1925.27 s [opt-env-conf-test] ]
  17396. 1925.27 s [opt-env-conf-test] )
  17397. 1925.27 s [opt-env-conf-test]
  17398. 1925.27 s [opt-env-conf-test] -- | Consume an option.
  17399. 1925.27 s [opt-env-conf-test] --
  17400. 1925.27 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  17401. 1925.27 s [opt-env-conf-test] @@ -186,26 +186,25 @@
  17402. 1925.27 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17403. 1925.27 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17404. 1925.27 s [opt-env-conf-test] ]
  17405. 1925.27 s [opt-env-conf-test] in case afters of
  17406. 1925.27 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17407. 1925.27 s [opt-env-conf-test] [] -> switchCase
  17408. 1925.27 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17409. 1925.27 s [opt-env-conf-test] (Live a' : rest) ->
  17410. 1925.27 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17411. 1925.27 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17412. 1925.27 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17413. 1925.27 s [opt-env-conf-test] -- * The dashed is an argument
  17414. 1925.27 s [opt-env-conf-test] ( case a' of
  17415. 1925.28 s [opt-env-conf-test] ArgDashed {} ->
  17416. 1925.28 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17417. 1925.28 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17418. 1925.28 s [opt-env-conf-test] ]
  17419. 1925.28 s [opt-env-conf-test] _ ->
  17420. 1925.28 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17421. 1925.28 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17422. 1925.28 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17423. 1925.28 s [opt-env-conf-test] ]
  17424. 1925.28 s [opt-env-conf-test] )
  17425. 1925.28 s [opt-env-conf-test]
  17426. 1925.28 s [opt-env-conf-test] -- | Consume an option.
  17427. 1925.28 s [opt-env-conf-test] --
  17428. 1925.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17429. 1925.28 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  17430. 1925.28 s [opt-env-conf-test] in case firstArg of
  17431. 1925.28 s [opt-env-conf-test] -- Skip any dead argument
  17432. 1925.28 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17433. 1925.28 s [opt-env-conf-test] Live a -> case a of
  17434. 1925.28 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17435. 1925.28 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17436. 1925.28 s [opt-env-conf-test] -- A single dash is always an argument
  17437. 1925.28 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17438. 1925.28 s [opt-env-conf-test] -- Bare double-dash
  17439. 1925.28 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17440. 1925.28 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17441. 1925.28 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17442. 1925.28 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17443. 1925.28 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17444. 1925.28 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17445. 1925.28 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17446. 1925.28 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17447. 1925.28 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17448. 1925.28 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17449. 1925.28 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17450. 1925.28 s [opt-env-conf-test] -- pop the args as they come.
  17451. 1925.28 s [opt-env-conf-test] _ ->
  17452. 1925.28 s [opt-env-conf-test] let go = \case
  17453. 1925.28 s [opt-env-conf-test] [] -> Nothing
  17454. 1925.28 s [opt-env-conf-test] (Dead : rest) -> go rest
  17455. 1925.28 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17456. 1925.28 s [opt-env-conf-test] in case go afters of
  17457. 1925.28 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17458. 1925.28 s [opt-env-conf-test] Just (firstLive, rest) ->
  17459. 1925.28 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17460. 1925.28 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17461. 1925.28 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17462. 1925.28 s [opt-env-conf-test] -- arguments.
  17463. 1925.40 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17464. 1925.40 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17465. 1925.40 s [opt-env-conf-test] )
  17466. 1925.40 s [opt-env-conf-test] ]
  17467. 1925.40 s [opt-env-conf-test] ArgDashed {} ->
  17468. 1925.40 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17469. 1925.40 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17470. 1925.40 s [opt-env-conf-test] -- * The dashed is an argument
  17471. 1925.40 s [opt-env-conf-test] -- TODO we need to continue looking too
  17472. 1925.40 s [opt-env-conf-test] let switchCase =
  17473. 1925.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17474. 1925.40 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17475. 1925.40 s [opt-env-conf-test] ]
  17476. 1925.40 s [opt-env-conf-test] in case afters of
  17477. 1925.40 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17478. 1925.40 s [opt-env-conf-test] [] -> switchCase
  17479. 1925.40 s [opt-env-conf-test] (Dead : _) -> switchCase
  17480. 1925.40 s [opt-env-conf-test] (Live a' : rest) ->
  17481. 1925.40 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17482. 1925.40 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17483. 1925.40 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17484. 1925.40 s [opt-env-conf-test] -- * The dashed is an argument
  17485. 1925.40 s [opt-env-conf-test] ( case a' of
  17486. 1925.40 s [opt-env-conf-test] ArgDashed {} ->
  17487. 1925.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17488. 1925.40 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17489. 1925.40 s [opt-env-conf-test] ]
  17490. 1925.40 s [opt-env-conf-test] _ ->
  17491. 1925.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17492. 1925.40 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17493. 1925.40 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17494. 1925.40 s [opt-env-conf-test] ]
  17495. 1925.40 s [opt-env-conf-test] )
  17496. 1925.40 s [opt-env-conf-test]
  17497. 1925.41 s [opt-env-conf-test] -- | Consume an option.
  17498. 1925.41 s [opt-env-conf-test] --
  17499. 1925.41 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17500. 1925.41 s [opt-env-conf-test] @@ -143,69 +143,41 @@
  17501. 1925.41 s [opt-env-conf-test] in case firstArg of
  17502. 1925.41 s [opt-env-conf-test] -- Skip any dead argument
  17503. 1925.41 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17504. 1925.41 s [opt-env-conf-test] Live a -> case a of
  17505. 1925.41 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17506. 1925.41 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17507. 1925.41 s [opt-env-conf-test] -- A single dash is always an argument
  17508. 1925.41 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17509. 1925.41 s [opt-env-conf-test] -- Bare double-dash
  17510. 1925.41 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17511. 1925.41 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17512. 1925.41 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17513. 1925.41 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17514. 1925.41 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17515. 1925.41 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17516. 1925.41 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17517. 1925.41 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17518. 1925.41 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17519. 1925.41 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17520. 1925.41 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17521. 1925.41 s [opt-env-conf-test] - -- pop the args as they come.
  17522. 1925.41 s [opt-env-conf-test] - _ ->
  17523. 1925.41 s [opt-env-conf-test] - let go = \case
  17524. 1925.41 s [opt-env-conf-test] - [] -> Nothing
  17525. 1925.41 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17526. 1925.41 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17527. 1925.41 s [opt-env-conf-test] - in case go afters of
  17528. 1925.41 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17529. 1925.41 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17530. 1925.41 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17531. 1925.41 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17532. 1925.41 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17533. 1925.41 s [opt-env-conf-test] - -- arguments.
  17534. 1925.41 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17535. 1925.41 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17536. 1925.41 s [opt-env-conf-test] - )
  17537. 1925.41 s [opt-env-conf-test] - ]
  17538. 1925.41 s [opt-env-conf-test] ArgDashed {} ->
  17539. 1925.41 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17540. 1925.41 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17541. 1925.41 s [opt-env-conf-test] -- * The dashed is an argument
  17542. 1925.41 s [opt-env-conf-test] -- TODO we need to continue looking too
  17543. 1925.41 s [opt-env-conf-test] let switchCase =
  17544. 1925.41 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17545. 1925.41 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17546. 1925.41 s [opt-env-conf-test] ]
  17547. 1925.41 s [opt-env-conf-test] in case afters of
  17548. 1925.41 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17549. 1925.42 s [opt-env-conf-test] [] -> switchCase
  17550. 1925.42 s [opt-env-conf-test] (Dead : _) -> switchCase
  17551. 1925.42 s [opt-env-conf-test] (Live a' : rest) ->
  17552. 1925.42 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17553. 1925.42 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17554. 1925.42 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17555. 1925.42 s [opt-env-conf-test] -- * The dashed is an argument
  17556. 1925.42 s [opt-env-conf-test] ( case a' of
  17557. 1925.42 s [opt-env-conf-test] ArgDashed {} ->
  17558. 1925.42 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17559. 1925.42 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17560. 1925.42 s [opt-env-conf-test] ]
  17561. 1925.42 s [opt-env-conf-test] _ ->
  17562. 1925.42 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17563. 1925.42 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17564. 1925.42 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17565. 1925.53 s [opt-env-conf-test] ]
  17566. 1925.53 s [opt-env-conf-test] )
  17567. 1925.53 s [opt-env-conf-test]
  17568. 1925.53 s [opt-env-conf-test] -- | Consume an option.
  17569. 1925.53 s [opt-env-conf-test] --
  17570. 1925.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17571. 1925.53 s [opt-env-conf-test] @@ -143,69 +143,68 @@
  17572. 1925.53 s [opt-env-conf-test] in case firstArg of
  17573. 1925.53 s [opt-env-conf-test] -- Skip any dead argument
  17574. 1925.53 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17575. 1925.53 s [opt-env-conf-test] Live a -> case a of
  17576. 1925.53 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17577. 1925.53 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17578. 1925.53 s [opt-env-conf-test] -- A single dash is always an argument
  17579. 1925.53 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17580. 1925.53 s [opt-env-conf-test] -- Bare double-dash
  17581. 1925.53 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17582. 1925.53 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17583. 1925.53 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17584. 1925.53 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17585. 1925.53 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17586. 1925.53 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17587. 1925.53 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17588. 1925.53 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17589. 1925.53 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17590. 1925.53 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17591. 1925.53 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17592. 1925.53 s [opt-env-conf-test] -- pop the args as they come.
  17593. 1925.53 s [opt-env-conf-test] _ ->
  17594. 1925.53 s [opt-env-conf-test] let go = \case
  17595. 1925.54 s [opt-env-conf-test] [] -> Nothing
  17596. 1925.54 s [opt-env-conf-test] (Dead : rest) -> go rest
  17597. 1925.54 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17598. 1925.54 s [opt-env-conf-test] in case go afters of
  17599. 1925.54 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17600. 1925.54 s [opt-env-conf-test] Just (firstLive, rest) ->
  17601. 1925.54 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17602. 1925.54 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17603. 1925.54 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17604. 1925.54 s [opt-env-conf-test] -- arguments.
  17605. 1926.13 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17606. 1926.14 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17607. 1926.14 s [opt-env-conf-test] )
  17608. 1926.14 s [opt-env-conf-test] ]
  17609. 1926.14 s [opt-env-conf-test] ArgDashed {} ->
  17610. 1926.14 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17611. 1926.14 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17612. 1926.14 s [opt-env-conf-test] -- * The dashed is an argument
  17613. 1926.14 s [opt-env-conf-test] -- TODO we need to continue looking too
  17614. 1926.14 s [opt-env-conf-test] let switchCase =
  17615. 1926.14 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17616. 1926.14 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17617. 1926.14 s [opt-env-conf-test] ]
  17618. 1926.14 s [opt-env-conf-test] in case afters of
  17619. 1926.14 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17620. 1926.14 s [opt-env-conf-test] [] -> switchCase
  17621. 1926.14 s [opt-env-conf-test] (Dead : _) -> switchCase
  17622. 1926.14 s [opt-env-conf-test] (Live a' : rest) ->
  17623. 1926.14 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17624. 1926.14 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17625. 1926.14 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17626. 1926.14 s [opt-env-conf-test] -- * The dashed is an argument
  17627. 1926.14 s [opt-env-conf-test] ( case a' of
  17628. 1926.14 s [opt-env-conf-test] ArgDashed {} ->
  17629. 1926.14 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17630. 1926.14 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17631. 1926.14 s [opt-env-conf-test] ]
  17632. 1926.14 s [opt-env-conf-test] _ ->
  17633. 1926.14 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17634. 1926.14 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17635. 1926.14 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17636. 1926.14 s [opt-env-conf-test] ]
  17637. 1926.14 s [opt-env-conf-test] )
  17638. 1926.14 s [opt-env-conf-test]
  17639. 1926.14 s [opt-env-conf-test] -- | Consume an option.
  17640. 1926.14 s [opt-env-conf-test] --
  17641. 1926.14 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  17642. 1926.14 s [opt-env-conf-test] @@ -140,72 +140,71 @@
  17643. 1926.14 s [opt-env-conf-test] (firstArg : afters) ->
  17644. 1926.14 s [opt-env-conf-test] let befores = argsBefore as
  17645. 1926.14 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17646. 1926.14 s [opt-env-conf-test] in case firstArg of
  17647. 1926.14 s [opt-env-conf-test] -- Skip any dead argument
  17648. 1926.14 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  17649. 1926.14 s [opt-env-conf-test] Live a -> case a of
  17650. 1926.14 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17651. 1926.14 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17652. 1926.14 s [opt-env-conf-test] -- A single dash is always an argument
  17653. 1926.14 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17654. 1926.14 s [opt-env-conf-test] -- Bare double-dash
  17655. 1926.14 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17656. 1926.14 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17657. 1926.15 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17658. 1926.15 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17659. 1926.15 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17660. 1926.15 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17661. 1926.15 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17662. 1926.15 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17663. 1926.15 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17664. 1926.15 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17665. 1926.15 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17666. 1926.15 s [opt-env-conf-test] -- pop the args as they come.
  17667. 1926.15 s [opt-env-conf-test] _ ->
  17668. 1926.15 s [opt-env-conf-test] let go = \case
  17669. 1926.15 s [opt-env-conf-test] [] -> Nothing
  17670. 1926.15 s [opt-env-conf-test] (Dead : rest) -> go rest
  17671. 1926.15 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17672. 1926.15 s [opt-env-conf-test] in case go afters of
  17673. 1926.15 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17674. 1926.15 s [opt-env-conf-test] Just (firstLive, rest) ->
  17675. 1926.15 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17676. 1926.15 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17677. 1926.39 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17678. 1926.39 s [opt-env-conf-test] -- arguments.
  17679. 1926.39 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17680. 1926.39 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17681. 1926.39 s [opt-env-conf-test] )
  17682. 1926.39 s [opt-env-conf-test] ]
  17683. 1926.39 s [opt-env-conf-test] ArgDashed {} ->
  17684. 1926.39 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17685. 1926.39 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17686. 1926.39 s [opt-env-conf-test] -- * The dashed is an argument
  17687. 1926.39 s [opt-env-conf-test] -- TODO we need to continue looking too
  17688. 1926.40 s [opt-env-conf-test] let switchCase =
  17689. 1926.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17690. 1926.40 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17691. 1926.40 s [opt-env-conf-test] ]
  17692. 1926.40 s [opt-env-conf-test] in case afters of
  17693. 1926.40 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17694. 1926.40 s [opt-env-conf-test] [] -> switchCase
  17695. 1926.40 s [opt-env-conf-test] (Dead : _) -> switchCase
  17696. 1926.40 s [opt-env-conf-test] (Live a' : rest) ->
  17697. 1926.40 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17698. 1926.40 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17699. 1926.40 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17700. 1926.40 s [opt-env-conf-test] -- * The dashed is an argument
  17701. 1926.40 s [opt-env-conf-test] ( case a' of
  17702. 1926.40 s [opt-env-conf-test] ArgDashed {} ->
  17703. 1926.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17704. 1926.40 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17705. 1926.40 s [opt-env-conf-test] ]
  17706. 1926.40 s [opt-env-conf-test] _ ->
  17707. 1926.40 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17708. 1926.40 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17709. 1926.40 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17710. 1926.40 s [opt-env-conf-test] ]
  17711. 1926.40 s [opt-env-conf-test] )
  17712. 1926.40 s [opt-env-conf-test]
  17713. 1926.40 s [opt-env-conf-test] -- | Consume an option.
  17714. 1926.40 s [opt-env-conf-test] --
  17715. 1926.40 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
  17716. 1926.40 s [opt-env-conf-test] @@ -143,69 +143,40 @@
  17717. 1926.40 s [opt-env-conf-test] in case firstArg of
  17718. 1926.40 s [opt-env-conf-test] -- Skip any dead argument
  17719. 1926.40 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17720. 1926.40 s [opt-env-conf-test] Live a -> case a of
  17721. 1926.40 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17722. 1926.40 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17723. 1926.40 s [opt-env-conf-test] -- A single dash is always an argument
  17724. 1926.40 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17725. 1926.40 s [opt-env-conf-test] -- Bare double-dash
  17726. 1926.40 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17727. 1926.40 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17728. 1926.40 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17729. 1926.40 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17730. 1926.40 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17731. 1926.40 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17732. 1926.41 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17733. 1926.41 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17734. 1926.41 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17735. 1926.41 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17736. 1926.41 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17737. 1926.41 s [opt-env-conf-test] -- pop the args as they come.
  17738. 1926.41 s [opt-env-conf-test] _ ->
  17739. 1926.41 s [opt-env-conf-test] let go = \case
  17740. 1926.41 s [opt-env-conf-test] [] -> Nothing
  17741. 1926.41 s [opt-env-conf-test] (Dead : rest) -> go rest
  17742. 1926.41 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17743. 1926.41 s [opt-env-conf-test] in case go afters of
  17744. 1926.41 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17745. 1926.41 s [opt-env-conf-test] Just (firstLive, rest) ->
  17746. 1926.41 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17747. 1926.41 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17748. 1926.41 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17749. 1926.41 s [opt-env-conf-test] -- arguments.
  17750. 1926.41 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17751. 1926.41 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17752. 1926.41 s [opt-env-conf-test] )
  17753. 1926.41 s [opt-env-conf-test] ]
  17754. 1926.41 s [opt-env-conf-test] - ArgDashed {} ->
  17755. 1926.41 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17756. 1926.41 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17757. 1926.41 s [opt-env-conf-test] - -- * The dashed is an argument
  17758. 1926.41 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17759. 1926.41 s [opt-env-conf-test] - let switchCase =
  17760. 1926.41 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17761. 1926.41 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17762. 1926.41 s [opt-env-conf-test] - ]
  17763. 1926.41 s [opt-env-conf-test] - in case afters of
  17764. 1926.41 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17765. 1926.41 s [opt-env-conf-test] - [] -> switchCase
  17766. 1926.41 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17767. 1926.41 s [opt-env-conf-test] - (Live a' : rest) ->
  17768. 1926.41 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17769. 1926.41 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17770. 1926.41 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17771. 1926.41 s [opt-env-conf-test] - -- * The dashed is an argument
  17772. 1926.41 s [opt-env-conf-test] - ( case a' of
  17773. 1926.41 s [opt-env-conf-test] - ArgDashed {} ->
  17774. 1926.41 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17775. 1926.41 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17776. 1926.41 s [opt-env-conf-test] - ]
  17777. 1926.41 s [opt-env-conf-test] - _ ->
  17778. 1926.41 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17779. 1926.41 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17780. 1926.41 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17781. 1927.16 s [opt-env-conf-test] - ]
  17782. 1927.16 s [opt-env-conf-test] - )
  17783. 1927.16 s [opt-env-conf-test]
  17784. 1927.16 s [opt-env-conf-test] -- | Consume an option.
  17785. 1927.16 s [opt-env-conf-test] --
  17786. 1927.16 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
  17787. 1927.16 s [opt-env-conf-test] @@ -140,72 +140,9 @@
  17788. 1927.17 s [opt-env-conf-test] (firstArg : afters) ->
  17789. 1927.17 s [opt-env-conf-test] let befores = argsBefore as
  17790. 1927.17 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17791. 1927.17 s [opt-env-conf-test] in case firstArg of
  17792. 1927.17 s [opt-env-conf-test] -- Skip any dead argument
  17793. 1927.17 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17794. 1927.17 s [opt-env-conf-test] - Live a -> case a of
  17795. 1927.17 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  17796. 1927.17 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17797. 1927.17 s [opt-env-conf-test] - -- A single dash is always an argument
  17798. 1927.17 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17799. 1927.17 s [opt-env-conf-test] - -- Bare double-dash
  17800. 1927.17 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17801. 1927.17 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17802. 1927.17 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17803. 1927.17 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17804. 1927.17 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17805. 1927.17 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17806. 1927.17 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17807. 1927.17 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17808. 1927.17 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17809. 1927.17 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17810. 1927.17 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17811. 1927.17 s [opt-env-conf-test] - -- pop the args as they come.
  17812. 1927.17 s [opt-env-conf-test] - _ ->
  17813. 1927.17 s [opt-env-conf-test] - let go = \case
  17814. 1927.18 s [opt-env-conf-test] - [] -> Nothing
  17815. 1927.18 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17816. 1927.18 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17817. 1927.18 s [opt-env-conf-test] - in case go afters of
  17818. 1927.18 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17819. 1927.18 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17820. 1927.18 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17821. 1927.18 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17822. 1927.18 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17823. 1927.18 s [opt-env-conf-test] - -- arguments.
  17824. 1927.18 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17825. 1927.18 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17826. 1927.18 s [opt-env-conf-test] - )
  17827. 1927.18 s [opt-env-conf-test] - ]
  17828. 1927.18 s [opt-env-conf-test] - ArgDashed {} ->
  17829. 1927.18 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17830. 1927.18 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17831. 1927.18 s [opt-env-conf-test] - -- * The dashed is an argument
  17832. 1927.18 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17833. 1927.18 s [opt-env-conf-test] - let switchCase =
  17834. 1927.18 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17835. 1927.18 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17836. 1927.18 s [opt-env-conf-test] - ]
  17837. 1927.18 s [opt-env-conf-test] - in case afters of
  17838. 1927.18 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17839. 1927.18 s [opt-env-conf-test] - [] -> switchCase
  17840. 1927.18 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17841. 1927.18 s [opt-env-conf-test] - (Live a' : rest) ->
  17842. 1927.18 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  17843. 1927.18 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  17844. 1927.18 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  17845. 1927.18 s [opt-env-conf-test] - -- * The dashed is an argument
  17846. 1927.19 s [opt-env-conf-test] - ( case a' of
  17847. 1927.19 s [opt-env-conf-test] - ArgDashed {} ->
  17848. 1927.19 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  17849. 1927.76 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17850. 1927.76 s [opt-env-conf-test] - ]
  17851. 1927.86 s [opt-env-conf-test] - _ ->
  17852. 1927.86 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17853. 1927.86 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17854. 1927.86 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  17855. 1927.86 s [opt-env-conf-test] - ]
  17856. 1927.86 s [opt-env-conf-test] - )
  17857. 1927.86 s [opt-env-conf-test]
  17858. 1927.86 s [opt-env-conf-test] -- | Consume an option.
  17859. 1927.86 s [opt-env-conf-test] --
  17860. 1927.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  17861. 1927.86 s [opt-env-conf-test] @@ -135,77 +135,76 @@
  17862. 1927.86 s [opt-env-conf-test] Nothing -> r
  17863. 1927.86 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17864. 1927.86 s [opt-env-conf-test]
  17865. 1927.86 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17866. 1927.86 s [opt-env-conf-test] - [] -> []
  17867. 1927.86 s [opt-env-conf-test] (firstArg : afters) ->
  17868. 1927.86 s [opt-env-conf-test] let befores = argsBefore as
  17869. 1927.86 s [opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
  17870. 1927.86 s [opt-env-conf-test] in case firstArg of
  17871. 1927.86 s [opt-env-conf-test] -- Skip any dead argument
  17872. 1927.86 s [opt-env-conf-test] Dead -> consumeArgument consumed
  17873. 1927.86 s [opt-env-conf-test] Live a -> case a of
  17874. 1927.86 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  17875. 1927.86 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  17876. 1927.86 s [opt-env-conf-test] -- A single dash is always an argument
  17877. 1927.87 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  17878. 1927.87 s [opt-env-conf-test] -- Bare double-dash
  17879. 1927.87 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  17880. 1927.87 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  17881. 1927.87 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  17882. 1927.87 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  17883. 1927.87 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  17884. 1927.87 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  17885. 1927.87 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17886. 1927.87 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  17887. 1927.87 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  17888. 1927.87 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  17889. 1927.87 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  17890. 1927.87 s [opt-env-conf-test] -- pop the args as they come.
  17891. 1927.87 s [opt-env-conf-test] _ ->
  17892. 1927.87 s [opt-env-conf-test] let go = \case
  17893. 1927.87 s [opt-env-conf-test] [] -> Nothing
  17894. 1927.87 s [opt-env-conf-test] (Dead : rest) -> go rest
  17895. 1927.87 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  17896. 1927.87 s [opt-env-conf-test] in case go afters of
  17897. 1927.87 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  17898. 1927.87 s [opt-env-conf-test] Just (firstLive, rest) ->
  17899. 1927.87 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  17900. 1927.87 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  17901. 1927.87 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  17902. 1927.87 s [opt-env-conf-test] -- arguments.
  17903. 1927.87 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  17904. 1927.87 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  17905. 1927.87 s [opt-env-conf-test] )
  17906. 1927.87 s [opt-env-conf-test] ]
  17907. 1927.87 s [opt-env-conf-test] ArgDashed {} ->
  17908. 1927.87 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  17909. 1927.87 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  17910. 1927.87 s [opt-env-conf-test] -- * The dashed is an argument
  17911. 1927.87 s [opt-env-conf-test] -- TODO we need to continue looking too
  17912. 1927.87 s [opt-env-conf-test] let switchCase =
  17913. 1927.87 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  17914. 1927.87 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17915. 1927.87 s [opt-env-conf-test] ]
  17916. 1927.87 s [opt-env-conf-test] in case afters of
  17917. 1927.87 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  17918. 1927.87 s [opt-env-conf-test] [] -> switchCase
  17919. 1927.87 s [opt-env-conf-test] (Dead : _) -> switchCase
  17920. 1927.87 s [opt-env-conf-test] (Live a' : rest) ->
  17921. 1927.88 s [opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
  17922. 1927.88 s [opt-env-conf-test] -- * The dashed is an option and the live is the value
  17923. 1927.88 s [opt-env-conf-test] -- * The dashed is a switch and the live is an argument
  17924. 1927.88 s [opt-env-conf-test] -- * The dashed is an argument
  17925. 1927.88 s [opt-env-conf-test] ( case a' of
  17926. 1927.88 s [opt-env-conf-test] ArgDashed {} ->
  17927. 1927.88 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  17928. 1927.88 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  17929. 1927.88 s [opt-env-conf-test] ]
  17930. 1927.88 s [opt-env-conf-test] _ ->
  17931. 1927.88 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  17932. 1927.88 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  17933. 1927.88 s [opt-env-conf-test] (Just (renderArg a), consumed)
  17934. 1927.88 s [opt-env-conf-test] ]
  17935. 1927.88 s [opt-env-conf-test] )
  17936. 1927.88 s [opt-env-conf-test]
  17937. 1927.88 s [opt-env-conf-test] -- | Consume an option.
  17938. 1927.88 s [opt-env-conf-test] --
  17939. 1927.88 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
  17940. 1927.88 s [opt-env-conf-test] @@ -135,77 +135,8 @@
  17941. 1927.88 s [opt-env-conf-test] Nothing -> r
  17942. 1927.88 s [opt-env-conf-test] Just _ -> t : addConsumeNothing rest
  17943. 1927.88 s [opt-env-conf-test]
  17944. 1927.88 s [opt-env-conf-test] addConsumeNothing $ case argsAfter as of
  17945. 1927.88 s [opt-env-conf-test] [] -> []
  17946. 1927.88 s [opt-env-conf-test] - (firstArg : afters) ->
  17947. 1927.88 s [opt-env-conf-test] - let befores = argsBefore as
  17948. 1927.88 s [opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
  17949. 1927.88 s [opt-env-conf-test] - in case firstArg of
  17950. 1927.88 s [opt-env-conf-test] - -- Skip any dead argument
  17951. 1927.88 s [opt-env-conf-test] - Dead -> consumeArgument consumed
  17952. 1927.88 s [opt-env-conf-test] - Live a -> case a of
  17953. 1927.88 s [opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
  17954. 1927.88 s [opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
  17955. 1927.88 s [opt-env-conf-test] - -- A single dash is always an argument
  17956. 1927.89 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  17957. 1927.89 s [opt-env-conf-test] - -- Bare double-dash
  17958. 1927.89 s [opt-env-conf-test] - ArgBareDoubleDash -> case afters of
  17959. 1927.89 s [opt-env-conf-test] - -- If it's the last argument, consume it as an argument
  17960. 1927.89 s [opt-env-conf-test] - [] -> [(Just "--", consumed)]
  17961. 1927.89 s [opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
  17962. 1927.89 s [opt-env-conf-test] - -- means we've been parsing bare args and are now done.
  17963. 1927.89 s [opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
  17964. 1927.89 s [opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  17965. 1927.89 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  17966. 1927.89 s [opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
  17967. 1927.89 s [opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
  17968. 1927.89 s [opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
  17969. 1927.89 s [opt-env-conf-test] - -- pop the args as they come.
  17970. 1927.89 s [opt-env-conf-test] - _ ->
  17971. 1927.89 s [opt-env-conf-test] - let go = \case
  17972. 1927.89 s [opt-env-conf-test] - [] -> Nothing
  17973. 1927.89 s [opt-env-conf-test] - (Dead : rest) -> go rest
  17974. 1927.89 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  17975. 1927.89 s [opt-env-conf-test] - in case go afters of
  17976. 1927.89 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  17977. 1927.89 s [opt-env-conf-test] - Just (firstLive, rest) ->
  17978. 1927.89 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  17979. 1927.89 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  17980. 1927.89 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  17981. 1927.89 s [opt-env-conf-test] - -- arguments.
  17982. 1927.89 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  17983. 1927.89 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  17984. 1927.89 s [opt-env-conf-test] - )
  17985. 1927.89 s [opt-env-conf-test] - ]
  17986. 1927.89 s [opt-env-conf-test] - ArgDashed {} ->
  17987. 1927.89 s [opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
  17988. 1927.89 s [opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
  17989. 1927.89 s [opt-env-conf-test] - -- * The dashed is an argument
  17990. 1927.89 s [opt-env-conf-test] - -- TODO we need to continue looking too
  17991. 1927.89 s [opt-env-conf-test] - let switchCase =
  17992. 1927.89 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
  17993. 1927.89 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  17994. 1927.89 s [opt-env-conf-test] - ]
  17995. 1927.89 s [opt-env-conf-test] - in case afters of
  17996. 1927.89 s [opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
  17997. 1927.89 s [opt-env-conf-test] - [] -> switchCase
  17998. 1927.89 s [opt-env-conf-test] - (Dead : _) -> switchCase
  17999. 1927.89 s [opt-env-conf-test] - (Live a' : rest) ->
  18000. 1927.89 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  18001. 1927.89 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  18002. 1927.89 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  18003. 1927.89 s [opt-env-conf-test] - -- * The dashed is an argument
  18004. 1927.89 s [opt-env-conf-test] - ( case a' of
  18005. 1933.81 s [opt-env-conf-test] - ArgDashed {} ->
  18006. 1933.81 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  18007. 1933.84 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18008. 1933.84 s [opt-env-conf-test] - ]
  18009. 1933.84 s [opt-env-conf-test] - _ ->
  18010. 1933.84 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18011. 1933.84 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18012. 1933.84 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  18013. 1933.84 s [opt-env-conf-test] - ]
  18014. 1933.84 s [opt-env-conf-test] - )
  18015. 1933.84 s [opt-env-conf-test]
  18016. 1933.84 s [opt-env-conf-test] -- | Consume an option.
  18017. 1933.84 s [opt-env-conf-test] --
  18018. 1933.84 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
  18019. 1933.84 s [opt-env-conf-test] @@ -223,7 +223,7 @@
  18020. 1933.84 s [opt-env-conf-test] Nothing ->
  18021. 1933.84 s [opt-env-conf-test] -- TODO option value on the border
  18022. 1933.84 s [opt-env-conf-test] case go (argsAfter as) of
  18023. 1933.84 s [opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  18024. 1933.84 s [opt-env-conf-test] + Just (val, newAfters) -> Nothing
  18025. 1933.84 s [opt-env-conf-test] Nothing -> Nothing
  18026. 1933.84 s [opt-env-conf-test] where
  18027. 1933.84 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  18028. 1933.84 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
  18029. 1933.84 s [opt-env-conf-test] @@ -219,7 +219,7 @@
  18030. 1933.84 s [opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
  18031. 1933.84 s [opt-env-conf-test] consumeOption dasheds as = do
  18032. 1933.84 s [opt-env-conf-test] case go (argsBefore as) of
  18033. 1933.84 s [opt-env-conf-test] - Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  18034. 1933.85 s [opt-env-conf-test] + Just (val, newBefores) -> Nothing
  18035. 1933.85 s [opt-env-conf-test] Nothing ->
  18036. 1933.85 s [opt-env-conf-test] -- TODO option value on the border
  18037. 1933.85 s [opt-env-conf-test] case go (argsAfter as) of
  18038. 1933.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  18039. 1933.85 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  18040. 1933.85 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  18041. 1933.85 s [opt-env-conf-test] Nothing ->
  18042. 1933.85 s [opt-env-conf-test] -- TODO option value on the border
  18043. 1933.85 s [opt-env-conf-test] case go (argsAfter as) of
  18044. 1933.85 s [opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  18045. 1933.85 s [opt-env-conf-test] - Nothing -> Nothing
  18046. 1933.85 s [opt-env-conf-test] where
  18047. 1933.85 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  18048. 1933.85 s [opt-env-conf-test] go = \case
  18049. 1933.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
  18050. 1933.85 s [opt-env-conf-test] @@ -222,9 +222,8 @@
  18051. 1933.85 s [opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
  18052. 1933.85 s [opt-env-conf-test] Nothing ->
  18053. 1933.85 s [opt-env-conf-test] -- TODO option value on the border
  18054. 1933.85 s [opt-env-conf-test] case go (argsAfter as) of
  18055. 1933.85 s [opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
  18056. 1933.85 s [opt-env-conf-test] Nothing -> Nothing
  18057. 1933.85 s [opt-env-conf-test] where
  18058. 1933.85 s [opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
  18059. 1933.85 s [opt-env-conf-test] go = \case
  18060. 1933.85 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
  18061. 1933.85 s [opt-env-conf-test] @@ -186,26 +186,10 @@
  18062. 1933.85 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  18063. 1933.85 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  18064. 1933.85 s [opt-env-conf-test] ]
  18065. 1933.85 s [opt-env-conf-test] in case afters of
  18066. 1933.85 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  18067. 1933.85 s [opt-env-conf-test] [] -> switchCase
  18068. 1933.85 s [opt-env-conf-test] (Dead : _) -> switchCase
  18069. 1933.85 s [opt-env-conf-test] - (Live a' : rest) ->
  18070. 1933.85 s [opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
  18071. 1933.85 s [opt-env-conf-test] - -- * The dashed is an option and the live is the value
  18072. 1933.85 s [opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
  18073. 1933.85 s [opt-env-conf-test] - -- * The dashed is an argument
  18074. 1933.85 s [opt-env-conf-test] - ( case a' of
  18075. 1933.85 s [opt-env-conf-test] - ArgDashed {} ->
  18076. 1933.85 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
  18077. 1933.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18078. 1933.85 s [opt-env-conf-test] - ]
  18079. 1933.85 s [opt-env-conf-test] - _ ->
  18080. 1933.85 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18081. 1933.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18082. 1933.85 s [opt-env-conf-test] - (Just (renderArg a), consumed)
  18083. 1933.85 s [opt-env-conf-test] - ]
  18084. 1933.85 s [opt-env-conf-test] - )
  18085. 1933.85 s [opt-env-conf-test]
  18086. 1933.85 s [opt-env-conf-test] -- | Consume an option.
  18087. 1933.85 s [opt-env-conf-test] --
  18088. 1933.85 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
  18089. 1933.85 s [opt-env-conf-test] @@ -202,7 +202,7 @@
  18090. 1933.85 s [opt-env-conf-test] ]
  18091. 1933.85 s [opt-env-conf-test] _ ->
  18092. 1933.85 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18093. 1933.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18094. 1933.85 s [opt-env-conf-test] + ++ [ (Nothing, Args (befores ++ [Live a, Dead]) rest),
  18095. 1933.85 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18096. 1933.85 s [opt-env-conf-test] ]
  18097. 1933.85 s [opt-env-conf-test] )
  18098. 1933.85 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  18099. 1933.85 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  18100. 1933.85 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  18101. 1933.85 s [opt-env-conf-test] ]
  18102. 1933.85 s [opt-env-conf-test] _ ->
  18103. 1933.85 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18104. 1933.85 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18105. 1933.85 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18106. 1933.85 s [opt-env-conf-test] ]
  18107. 1933.85 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
  18108. 1933.85 s [opt-env-conf-test] @@ -198,7 +198,7 @@
  18109. 1933.85 s [opt-env-conf-test] ( case a' of
  18110. 1933.85 s [opt-env-conf-test] ArgDashed {} ->
  18111. 1933.85 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
  18112. 1933.85 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18113. 1933.86 s [opt-env-conf-test] + ++ [ (Nothing, consumed)
  18114. 1933.86 s [opt-env-conf-test] ]
  18115. 1933.86 s [opt-env-conf-test] _ ->
  18116. 1933.86 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18117. 1933.86 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  18118. 1933.86 s [opt-env-conf-test] @@ -149,34 +149,18 @@
  18119. 1933.86 s [opt-env-conf-test] -- A single dash is always an argument
  18120. 1933.86 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  18121. 1933.86 s [opt-env-conf-test] -- Bare double-dash
  18122. 1933.86 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  18123. 1933.86 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  18124. 1933.86 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  18125. 1933.86 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  18126. 1933.86 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  18127. 1933.86 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  18128. 1933.86 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  18129. 1933.86 s [opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
  18130. 1933.86 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  18131. 1933.86 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  18132. 1933.86 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  18133. 1933.86 s [opt-env-conf-test] -- pop the args as they come.
  18134. 1933.86 s [opt-env-conf-test] - _ ->
  18135. 1933.86 s [opt-env-conf-test] - let go = \case
  18136. 1933.86 s [opt-env-conf-test] - [] -> Nothing
  18137. 1933.86 s [opt-env-conf-test] - (Dead : rest) -> go rest
  18138. 1933.86 s [opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
  18139. 1933.86 s [opt-env-conf-test] - in case go afters of
  18140. 1933.86 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  18141. 1933.86 s [opt-env-conf-test] - Just (firstLive, rest) ->
  18142. 1933.86 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  18143. 1933.86 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  18144. 1933.86 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  18145. 1933.86 s [opt-env-conf-test] - -- arguments.
  18146. 1933.86 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  18147. 1933.86 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  18148. 1933.86 s [opt-env-conf-test] - )
  18149. 1934.42 s [opt-env-conf-test] - ]
  18150. 1934.42 s [opt-env-conf-test] ArgDashed {} ->
  18151. 1934.42 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18152. 1934.42 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18153. 1934.42 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  18154. 1934.42 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  18155. 1934.42 s [opt-env-conf-test] -- A single dash is always an argument
  18156. 1934.42 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  18157. 1934.42 s [opt-env-conf-test] -- Bare double-dash
  18158. 1934.42 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  18159. 1934.42 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  18160. 1934.42 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  18161. 1934.42 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  18162. 1934.43 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  18163. 1934.43 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  18164. 1934.43 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  18165. 1934.43 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  18166. 1934.43 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  18167. 1934.43 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  18168. 1934.43 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  18169. 1934.43 s [opt-env-conf-test] -- pop the args as they come.
  18170. 1934.43 s [opt-env-conf-test] _ ->
  18171. 1934.43 s [opt-env-conf-test] let go = \case
  18172. 1934.43 s [opt-env-conf-test] [] -> Nothing
  18173. 1934.43 s [opt-env-conf-test] (Dead : rest) -> go rest
  18174. 1934.43 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  18175. 1934.43 s [opt-env-conf-test] in case go afters of
  18176. 1934.43 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  18177. 1934.43 s [opt-env-conf-test] Just (firstLive, rest) ->
  18178. 1934.43 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  18179. 1934.43 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  18180. 1934.43 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  18181. 1934.43 s [opt-env-conf-test] -- arguments.
  18182. 1934.43 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  18183. 1934.43 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  18184. 1934.43 s [opt-env-conf-test] )
  18185. 1934.43 s [opt-env-conf-test] ]
  18186. 1934.43 s [opt-env-conf-test] ArgDashed {} ->
  18187. 1941.98 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18188. 1942.01 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18189. 1942.01 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
  18190. 1942.01 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  18191. 1942.01 s [opt-env-conf-test] Nothing ->
  18192. 1942.01 s [opt-env-conf-test] case rest of
  18193. 1942.01 s [opt-env-conf-test] (Live v : rest') ->
  18194. 1942.01 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18195. 1942.01 s [opt-env-conf-test] + case consumeDashedOption dasheds not (isLong) cs of
  18196. 1942.01 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18197. 1942.01 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18198. 1942.01 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18199. 1942.01 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
  18200. 1942.01 s [opt-env-conf-test] @@ -244,7 +244,7 @@
  18201. 1942.01 s [opt-env-conf-test] (Live v : rest') ->
  18202. 1942.01 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18203. 1942.01 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18204. 1942.01 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18205. 1942.01 s [opt-env-conf-test] + Just Nothing -> Nothing
  18206. 1942.01 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18207. 1942.01 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18208. 1942.01 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18209. 1942.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
  18210. 1942.02 s [opt-env-conf-test] @@ -202,7 +202,6 @@
  18211. 1942.02 s [opt-env-conf-test] ]
  18212. 1942.02 s [opt-env-conf-test] _ ->
  18213. 1942.02 s [opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18214. 1942.02 s [opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18215. 1942.02 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18216. 1942.02 s [opt-env-conf-test] ]
  18217. 1942.02 s [opt-env-conf-test] )
  18218. 1942.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  18219. 1942.02 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18220. 1942.02 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18221. 1942.02 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18222. 1942.02 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18223. 1942.02 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18224. 1942.02 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed True cs') : Dead : rest')
  18225. 1942.02 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18226. 1942.02 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18227. 1942.02 s [opt-env-conf-test]
  18228. 1942.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
  18229. 1942.02 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18230. 1942.02 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18231. 1942.02 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18232. 1942.02 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18233. 1942.02 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18234. 1942.02 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  18235. 1942.02 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18236. 1942.02 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18237. 1942.02 s [opt-env-conf-test]
  18238. 1942.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
  18239. 1942.02 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18240. 1942.02 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18241. 1942.02 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18242. 1942.03 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18243. 1942.03 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18244. 1942.03 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed not (isLong) cs') : Dead : rest')
  18245. 1942.03 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18246. 1942.03 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18247. 1942.03 s [opt-env-conf-test]
  18248. 1942.03 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  18249. 1942.03 s [opt-env-conf-test] @@ -201,7 +201,6 @@
  18250. 1942.03 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  18251. 1942.03 s [opt-env-conf-test] ]
  18252. 1942.03 s [opt-env-conf-test] _ ->
  18253. 1942.03 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  18254. 1942.03 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  18255. 1942.03 s [opt-env-conf-test] (Just (renderArg a), consumed)
  18256. 1942.03 s [opt-env-conf-test] ]
  18257. 1942.03 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
  18258. 1942.03 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  18259. 1942.03 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18260. 1942.03 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18261. 1942.03 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18262. 1942.03 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18263. 1942.03 s [opt-env-conf-test] + Just (Just cs') -> Nothing
  18264. 1942.03 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18265. 1942.03 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18266. 1942.03 s [opt-env-conf-test]
  18267. 1942.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  18268. 1942.03 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  18269. 1942.03 s [opt-env-conf-test] Nothing ->
  18270. 1942.03 s [opt-env-conf-test] case rest of
  18271. 1942.03 s [opt-env-conf-test] (Live v : rest') ->
  18272. 1942.03 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18273. 1942.04 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18274. 1942.04 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18275. 1942.04 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18276. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18277. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18278. 1942.04 s [opt-env-conf-test]
  18279. 1942.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  18280. 1942.04 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  18281. 1942.04 s [opt-env-conf-test] Nothing ->
  18282. 1942.04 s [opt-env-conf-test] case rest of
  18283. 1942.04 s [opt-env-conf-test] (Live v : rest') ->
  18284. 1942.04 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18285. 1942.04 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18286. 1942.04 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18287. 1942.04 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18288. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18289. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18290. 1942.04 s [opt-env-conf-test]
  18291. 1942.04 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
  18292. 1942.04 s [opt-env-conf-test] @@ -184,7 +184,7 @@
  18293. 1942.04 s [opt-env-conf-test] -- TODO we need to continue looking too
  18294. 1942.04 s [opt-env-conf-test] let switchCase =
  18295. 1942.04 s [opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
  18296. 1942.04 s [opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
  18297. 1942.04 s [opt-env-conf-test] + ++ [ (Nothing, consumed)
  18298. 1942.04 s [opt-env-conf-test] ]
  18299. 1942.04 s [opt-env-conf-test] in case afters of
  18300. 1942.04 s [opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
  18301. 1942.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
  18302. 1942.04 s [opt-env-conf-test] @@ -242,10 +242,9 @@
  18303. 1942.04 s [opt-env-conf-test] Nothing ->
  18304. 1942.04 s [opt-env-conf-test] case rest of
  18305. 1942.04 s [opt-env-conf-test] (Live v : rest') ->
  18306. 1942.04 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18307. 1942.04 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18308. 1942.04 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18309. 1942.04 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18310. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18311. 1942.04 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18312. 1942.04 s [opt-env-conf-test]
  18313. 1942.04 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  18314. 1942.04 s [opt-env-conf-test] @@ -240,13 +240,8 @@
  18315. 1947.95 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18316. 1947.95 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18317. 1947.98 s [opt-env-conf-test] Nothing ->
  18318. 1947.98 s [opt-env-conf-test] case rest of
  18319. 1947.98 s [opt-env-conf-test] - (Live v : rest') ->
  18320. 1947.98 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18321. 1947.98 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18322. 1947.98 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18323. 1947.98 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18324. 1947.98 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18325. 1947.98 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18326. 1947.98 s [opt-env-conf-test]
  18327. 1947.98 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18328. 1947.98 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
  18329. 1947.98 s [opt-env-conf-test] @@ -240,13 +240,12 @@
  18330. 1947.98 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18331. 1947.98 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18332. 1947.98 s [opt-env-conf-test] Nothing ->
  18333. 1947.98 s [opt-env-conf-test] case rest of
  18334. 1947.98 s [opt-env-conf-test] (Live v : rest') ->
  18335. 1947.98 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18336. 1947.98 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18337. 1947.98 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18338. 1947.98 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18339. 1947.98 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18340. 1947.99 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18341. 1947.99 s [opt-env-conf-test]
  18342. 1947.99 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18343. 1947.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18344. 1947.99 s [opt-env-conf-test] @@ -237,16 +237,15 @@
  18345. 1947.99 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18346. 1947.99 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18347. 1947.99 s [opt-env-conf-test] ArgDashed isLong cs ->
  18348. 1947.99 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18349. 1947.99 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18350. 1947.99 s [opt-env-conf-test] Nothing ->
  18351. 1947.99 s [opt-env-conf-test] case rest of
  18352. 1947.99 s [opt-env-conf-test] (Live v : rest') ->
  18353. 1947.99 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18354. 1947.99 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18355. 1947.99 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18356. 1947.99 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18357. 1947.99 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18358. 1947.99 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18359. 1947.99 s [opt-env-conf-test]
  18360. 1947.99 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18361. 1947.99 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
  18362. 1947.99 s [opt-env-conf-test] @@ -237,16 +237,8 @@
  18363. 1947.99 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18364. 1947.99 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18365. 1947.99 s [opt-env-conf-test] ArgDashed isLong cs ->
  18366. 1947.99 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18367. 1947.99 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18368. 1947.99 s [opt-env-conf-test] - Nothing ->
  18369. 1947.99 s [opt-env-conf-test] - case rest of
  18370. 1947.99 s [opt-env-conf-test] - (Live v : rest') ->
  18371. 1947.99 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18372. 1947.99 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18373. 1947.99 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18374. 1947.99 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18375. 1948.00 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18376. 1948.00 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18377. 1948.00 s [opt-env-conf-test]
  18378. 1948.00 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18379. 1948.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  18380. 1948.00 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  18381. 1948.00 s [opt-env-conf-test] Nothing ->
  18382. 1948.00 s [opt-env-conf-test] case rest of
  18383. 1948.00 s [opt-env-conf-test] (Live v : rest') ->
  18384. 1948.00 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18385. 1948.00 s [opt-env-conf-test] + case consumeDashedOption dasheds False cs of
  18386. 1948.00 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18387. 1948.00 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18388. 1948.00 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18389. 1948.00 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
  18390. 1948.00 s [opt-env-conf-test] @@ -238,7 +238,7 @@
  18391. 1948.00 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18392. 1948.00 s [opt-env-conf-test] ArgDashed isLong cs ->
  18393. 1948.00 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18394. 1948.00 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18395. 1948.00 s [opt-env-conf-test] + Just v -> Nothing
  18396. 1948.00 s [opt-env-conf-test] Nothing ->
  18397. 1948.00 s [opt-env-conf-test] case rest of
  18398. 1948.00 s [opt-env-conf-test] (Live v : rest') ->
  18399. 1948.00 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
  18400. 1948.00 s [opt-env-conf-test] @@ -242,7 +242,7 @@
  18401. 1948.00 s [opt-env-conf-test] Nothing ->
  18402. 1948.00 s [opt-env-conf-test] case rest of
  18403. 1948.00 s [opt-env-conf-test] (Live v : rest') ->
  18404. 1948.00 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18405. 1948.00 s [opt-env-conf-test] + case consumeDashedOption dasheds True cs of
  18406. 1948.00 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18407. 1948.00 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18408. 1948.00 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18409. 1948.00 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
  18410. 1948.00 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  18411. 1948.00 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18412. 1948.00 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18413. 1948.00 s [opt-env-conf-test] ArgDashed isLong cs ->
  18414. 1948.00 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18415. 1948.00 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds not (isLong) cs of
  18416. 1948.01 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18417. 1948.01 s [opt-env-conf-test] Nothing ->
  18418. 1948.01 s [opt-env-conf-test] case rest of
  18419. 1948.01 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18420. 1948.01 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18421. 1948.01 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18422. 1948.01 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18423. 1948.01 s [opt-env-conf-test] (Live k : rest) ->
  18424. 1948.01 s [opt-env-conf-test] case k of
  18425. 1948.01 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18426. 1948.01 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18427. 1948.01 s [opt-env-conf-test] ArgDashed isLong cs ->
  18428. 1948.01 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18429. 1948.01 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18430. 1948.01 s [opt-env-conf-test] Nothing ->
  18431. 1948.01 s [opt-env-conf-test] case rest of
  18432. 1948.01 s [opt-env-conf-test] (Live v : rest') ->
  18433. 1948.01 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18434. 1948.01 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18435. 1948.01 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18436. 1948.01 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18437. 1948.01 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18438. 1948.01 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18439. 1948.01 s [opt-env-conf-test]
  18440. 1948.01 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18441. 1948.01 s [opt-env-conf-test] [Dashed] ->
  18442. 1948.01 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  18443. 1948.01 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  18444. 1948.01 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18445. 1948.01 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18446. 1948.01 s [opt-env-conf-test] ArgDashed isLong cs ->
  18447. 1948.01 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18448. 1948.02 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds False cs of
  18449. 1948.02 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18450. 1948.02 s [opt-env-conf-test] Nothing ->
  18451. 1948.02 s [opt-env-conf-test] case rest of
  18452. 1948.02 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
  18453. 1948.02 s [opt-env-conf-test] @@ -237,7 +237,7 @@
  18454. 1948.02 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18455. 1948.02 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18456. 1948.02 s [opt-env-conf-test] ArgDashed isLong cs ->
  18457. 1948.02 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18458. 1948.02 s [opt-env-conf-test] + case consumeDashedShorthandOption dasheds True cs of
  18459. 1948.02 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18460. 1948.02 s [opt-env-conf-test] Nothing ->
  18461. 1948.02 s [opt-env-conf-test] case rest of
  18462. 1948.02 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
  18463. 1948.02 s [opt-env-conf-test] @@ -79,7 +79,7 @@
  18464. 1948.02 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18465. 1955.26 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18466. 1955.29 s [opt-env-conf-test] Nothing -> ArgBareDash
  18467. 1955.29 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18468. 1955.29 s [opt-env-conf-test] + Just ne -> ArgDashed True ne
  18469. 1955.29 s [opt-env-conf-test] s -> ArgPlain s
  18470. 1955.29 s [opt-env-conf-test]
  18471. 1955.29 s [opt-env-conf-test] renderArg :: Arg -> String
  18472. 1955.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18473. 1955.29 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18474. 1955.29 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18475. 1955.29 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18476. 1955.29 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18477. 1955.29 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18478. 1955.29 s [opt-env-conf-test] - Nothing -> ArgBareDash
  18479. 1955.29 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18480. 1955.29 s [opt-env-conf-test] s -> ArgPlain s
  18481. 1955.29 s [opt-env-conf-test]
  18482. 1955.29 s [opt-env-conf-test] renderArg :: Arg -> String
  18483. 1955.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
  18484. 1955.29 s [opt-env-conf-test] @@ -77,9 +77,8 @@
  18485. 1955.29 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18486. 1955.29 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18487. 1955.29 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18488. 1955.29 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18489. 1955.29 s [opt-env-conf-test] Nothing -> ArgBareDash
  18490. 1955.29 s [opt-env-conf-test] - Just ne -> ArgDashed False ne
  18491. 1955.29 s [opt-env-conf-test] s -> ArgPlain s
  18492. 1955.29 s [opt-env-conf-test]
  18493. 1955.29 s [opt-env-conf-test] renderArg :: Arg -> String
  18494. 1955.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18495. 1955.30 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18496. 1955.30 s [opt-env-conf-test]
  18497. 1955.30 s [opt-env-conf-test] parseArg :: String -> Arg
  18498. 1955.30 s [opt-env-conf-test] parseArg = \case
  18499. 1955.30 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18500. 1955.30 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18501. 1955.30 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18502. 1955.30 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18503. 1955.30 s [opt-env-conf-test] Nothing -> ArgBareDash
  18504. 1955.30 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18505. 1955.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18506. 1955.30 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18507. 1955.30 s [opt-env-conf-test] instance Validity Dashed
  18508. 1955.30 s [opt-env-conf-test]
  18509. 1955.30 s [opt-env-conf-test] instance IsString Dashed where
  18510. 1955.30 s [opt-env-conf-test] fromString s = case fromString s of
  18511. 1955.30 s [opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
  18512. 1955.30 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18513. 1955.30 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18514. 1955.30 s [opt-env-conf-test]
  18515. 1955.30 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18516. 1955.30 s [opt-env-conf-test] renderDashed = \case
  18517. 1955.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18518. 1955.30 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18519. 1955.30 s [opt-env-conf-test] instance Validity Dashed
  18520. 1955.30 s [opt-env-conf-test]
  18521. 1955.30 s [opt-env-conf-test] instance IsString Dashed where
  18522. 1955.30 s [opt-env-conf-test] fromString s = case fromString s of
  18523. 1955.30 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18524. 1955.30 s [opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
  18525. 1955.30 s [opt-env-conf-test] _ -> error "Invalid dashed"
  18526. 1955.30 s [opt-env-conf-test]
  18527. 1955.30 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18528. 1955.30 s [opt-env-conf-test] renderDashed = \case
  18529. 1955.30 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  18530. 1955.30 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  18531. 1955.30 s [opt-env-conf-test] instance Validity Dashed
  18532. 1955.30 s [opt-env-conf-test]
  18533. 1955.30 s [opt-env-conf-test] instance IsString Dashed where
  18534. 1955.30 s [opt-env-conf-test] fromString s = case fromString s of
  18535. 1955.30 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  18536. 1955.30 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  18537. 1955.30 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  18538. 1955.30 s [opt-env-conf-test]
  18539. 1955.30 s [opt-env-conf-test] renderDashed :: Dashed -> String
  18540. 1955.30 s [opt-env-conf-test] renderDashed = \case
  18541. 1955.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  18542. 1955.30 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18543. 1955.30 s [opt-env-conf-test] mconcat
  18544. 1955.30 s [opt-env-conf-test] [ genericValidate arg,
  18545. 1955.30 s [opt-env-conf-test] case arg of
  18546. 1955.30 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18547. 1955.30 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  18548. 1955.30 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18549. 1955.31 s [opt-env-conf-test] ('-' : _) -> False
  18550. 1955.31 s [opt-env-conf-test] _ -> True
  18551. 1955.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18552. 1955.31 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  18553. 1955.31 s [opt-env-conf-test] validate arg =
  18554. 1955.31 s [opt-env-conf-test] mconcat
  18555. 1955.31 s [opt-env-conf-test] [ genericValidate arg,
  18556. 1955.31 s [opt-env-conf-test] case arg of
  18557. 1955.31 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18558. 1955.31 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18559. 1955.31 s [opt-env-conf-test] - ('-' : _) -> False
  18560. 1955.31 s [opt-env-conf-test] - _ -> True
  18561. 1955.31 s [opt-env-conf-test] _ -> valid
  18562. 1955.31 s [opt-env-conf-test] ]
  18563. 1955.31 s [opt-env-conf-test]
  18564. 1955.31 s [opt-env-conf-test] instance IsString Arg where
  18565. 1955.31 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
  18566. 1955.31 s [opt-env-conf-test] @@ -76,7 +76,7 @@
  18567. 1955.31 s [opt-env-conf-test] parseArg = \case
  18568. 1955.31 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18569. 1955.31 s [opt-env-conf-test] Nothing -> ArgBareDoubleDash
  18570. 1955.31 s [opt-env-conf-test] - Just ne -> ArgDashed True ne
  18571. 1955.31 s [opt-env-conf-test] + Just ne -> ArgDashed False ne
  18572. 1955.31 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18573. 1955.31 s [opt-env-conf-test] Nothing -> ArgBareDash
  18574. 1955.31 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18575. 1955.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  18576. 1955.31 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  18577. 1955.31 s [opt-env-conf-test] [ genericValidate arg,
  18578. 1955.31 s [opt-env-conf-test] case arg of
  18579. 1955.31 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18580. 1955.31 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18581. 1955.31 s [opt-env-conf-test] - ('-' : _) -> False
  18582. 1955.31 s [opt-env-conf-test] _ -> True
  18583. 1955.31 s [opt-env-conf-test] _ -> valid
  18584. 1955.31 s [opt-env-conf-test] ]
  18585. 1955.31 s [opt-env-conf-test]
  18586. 1955.31 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
  18587. 1955.31 s [opt-env-conf-test] @@ -74,9 +74,8 @@
  18588. 1955.31 s [opt-env-conf-test]
  18589. 1955.31 s [opt-env-conf-test] parseArg :: String -> Arg
  18590. 1955.31 s [opt-env-conf-test] parseArg = \case
  18591. 1955.31 s [opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
  18592. 1955.32 s [opt-env-conf-test] - Nothing -> ArgBareDoubleDash
  18593. 1955.32 s [opt-env-conf-test] Just ne -> ArgDashed True ne
  18594. 1955.32 s [opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
  18595. 1955.32 s [opt-env-conf-test] Nothing -> ArgBareDash
  18596. 1955.32 s [opt-env-conf-test] Just ne -> ArgDashed False ne
  18597. 1955.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  18598. 1955.32 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  18599. 1955.32 s [opt-env-conf-test] [ genericValidate arg,
  18600. 1955.32 s [opt-env-conf-test] case arg of
  18601. 1955.32 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18602. 1955.32 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18603. 1955.32 s [opt-env-conf-test] ('-' : _) -> False
  18604. 1955.32 s [opt-env-conf-test] - _ -> True
  18605. 1955.32 s [opt-env-conf-test] _ -> valid
  18606. 1955.32 s [opt-env-conf-test] ]
  18607. 1955.32 s [opt-env-conf-test]
  18608. 1955.32 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
  18609. 1955.32 s [opt-env-conf-test] @@ -384,7 +384,7 @@
  18610. 1955.32 s [opt-env-conf-test] live =
  18611. 1955.32 s [opt-env-conf-test] mapMaybe
  18612. 1955.32 s [opt-env-conf-test] ( \case
  18613. 1955.32 s [opt-env-conf-test] - Live a -> Just (renderArg a)
  18614. 1955.32 s [opt-env-conf-test] + Live a -> Nothing
  18615. 1955.32 s [opt-env-conf-test] Dead -> Nothing
  18616. 1955.32 s [opt-env-conf-test] )
  18617. 1955.32 s [opt-env-conf-test]
  18618. 1955.32 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18619. 1955.32 s [opt-env-conf-test] @@ -233,21 +233,10 @@
  18620. 1955.32 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18621. 1955.32 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18622. 1955.32 s [opt-env-conf-test] (Live k : rest) ->
  18623. 1955.33 s [opt-env-conf-test] case k of
  18624. 1955.33 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18625. 1955.33 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18626. 1955.33 s [opt-env-conf-test] - ArgDashed isLong cs ->
  18627. 1955.33 s [opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
  18628. 1955.33 s [opt-env-conf-test] - Just v -> Just (v, Dead : rest)
  18629. 1955.33 s [opt-env-conf-test] - Nothing ->
  18630. 1955.33 s [opt-env-conf-test] - case rest of
  18631. 1955.33 s [opt-env-conf-test] - (Live v : rest') ->
  18632. 1955.33 s [opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
  18633. 1955.33 s [opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
  18634. 1955.33 s [opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
  18635. 1955.33 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18636. 1955.33 s [opt-env-conf-test] - _ -> second (Live k :) <$> go rest
  18637. 1955.33 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18638. 1955.33 s [opt-env-conf-test]
  18639. 1955.33 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18640. 1955.33 s [opt-env-conf-test] [Dashed] ->
  18641. 1955.33 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18642. 1955.33 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  18643. 1955.33 s [opt-env-conf-test] validate arg =
  18644. 1955.33 s [opt-env-conf-test] mconcat
  18645. 1955.33 s [opt-env-conf-test] [ genericValidate arg,
  18646. 1955.33 s [opt-env-conf-test] case arg of
  18647. 1955.33 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18648. 1955.33 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18649. 1955.33 s [opt-env-conf-test] ('-' : _) -> False
  18650. 1955.33 s [opt-env-conf-test] _ -> True
  18651. 1955.33 s [opt-env-conf-test] _ -> valid
  18652. 1955.33 s [opt-env-conf-test] ]
  18653. 1955.33 s [opt-env-conf-test]
  18654. 1955.33 s [opt-env-conf-test] instance IsString Arg where
  18655. 1955.34 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
  18656. 1955.34 s [opt-env-conf-test] @@ -233,21 +233,20 @@
  18657. 1955.34 s [opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
  18658. 1955.34 s [opt-env-conf-test] -- If we find a live key, try to consume it.
  18659. 1955.34 s [opt-env-conf-test] (Live k : rest) ->
  18660. 1955.34 s [opt-env-conf-test] case k of
  18661. 1955.34 s [opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
  18662. 1955.34 s [opt-env-conf-test] - ArgBareDoubleDash -> Nothing
  18663. 1955.34 s [opt-env-conf-test] ArgDashed isLong cs ->
  18664. 1955.34 s [opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
  18665. 1955.34 s [opt-env-conf-test] Just v -> Just (v, Dead : rest)
  18666. 1955.34 s [opt-env-conf-test] Nothing ->
  18667. 1955.34 s [opt-env-conf-test] case rest of
  18668. 1955.34 s [opt-env-conf-test] (Live v : rest') ->
  18669. 1955.34 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  18670. 1955.34 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  18671. 1955.34 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  18672. 1961.25 s [opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  18673. 1961.25 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18674. 1961.28 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  18675. 1961.28 s [opt-env-conf-test]
  18676. 1961.28 s [opt-env-conf-test] consumeDashedShorthandOption ::
  18677. 1961.28 s [opt-env-conf-test] [Dashed] ->
  18678. 1961.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  18679. 1961.28 s [opt-env-conf-test] @@ -166,17 +166,8 @@
  18680. 1961.28 s [opt-env-conf-test] [] -> Nothing
  18681. 1961.28 s [opt-env-conf-test] (Dead : rest) -> go rest
  18682. 1961.28 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  18683. 1961.28 s [opt-env-conf-test] in case go afters of
  18684. 1961.28 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  18685. 1961.28 s [opt-env-conf-test] - Just (firstLive, rest) ->
  18686. 1961.28 s [opt-env-conf-test] - -- We need to leave the dead argument there so that
  18687. 1961.28 s [opt-env-conf-test] - -- we don't consume the double-dash as an argument
  18688. 1961.28 s [opt-env-conf-test] - -- after consuming all the arguments after it as bare
  18689. 1961.28 s [opt-env-conf-test] - -- arguments.
  18690. 1961.28 s [opt-env-conf-test] - [ ( Just $ renderArg firstLive,
  18691. 1961.28 s [opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
  18692. 1961.28 s [opt-env-conf-test] - )
  18693. 1961.29 s [opt-env-conf-test] - ]
  18694. 1961.29 s [opt-env-conf-test] ArgDashed {} ->
  18695. 1961.29 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  18696. 1961.29 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  18697. 1961.29 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
  18698. 1961.29 s [opt-env-conf-test] @@ -292,7 +292,7 @@
  18699. 1961.29 s [opt-env-conf-test] consumeDashedOption dasheds isLong cs =
  18700. 1961.29 s [opt-env-conf-test] if isLong
  18701. 1961.29 s [opt-env-conf-test] then
  18702. 1961.29 s [opt-env-conf-test] - if DashedLong cs `elem` dasheds
  18703. 1961.29 s [opt-env-conf-test] + if False
  18704. 1961.29 s [opt-env-conf-test] then Just Nothing
  18705. 1961.29 s [opt-env-conf-test] else Nothing
  18706. 1961.29 s [opt-env-conf-test] else
  18707. 1961.29 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
  18708. 1961.29 s [opt-env-conf-test] @@ -331,7 +331,7 @@
  18709. 1961.29 s [opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
  18710. 1961.29 s [opt-env-conf-test] (Live o : rest) -> case o of
  18711. 1961.29 s [opt-env-conf-test] ArgBareDoubleDash -> Nothing
  18712. 1961.29 s [opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
  18713. 1961.29 s [opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds not (isLong) cs of
  18714. 1961.29 s [opt-env-conf-test] Nothing -> (Live o :) <$> go rest
  18715. 1961.29 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  18716. 1961.29 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  18717. 1961.29 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
  18718. 1961.29 s [opt-env-conf-test] @@ -1170,7 +1170,7 @@
  18719. 1961.29 s [opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
  18720. 1961.29 s [opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
  18721. 1961.29 s [opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
  18722. 1961.29 s [opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
  18723. 1961.29 s [opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing True caps f (go p)
  18724. 1961.29 s [opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
  18725. 1961.29 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
  18726. 1961.29 s [opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
  18727. 1961.29 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
  18728. 1961.29 s [opt-env-conf-test] @@ -683,7 +683,7 @@
  18729. 1961.29 s [opt-env-conf-test]
  18730. 1961.29 s [opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
  18731. 1961.29 s [opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
  18732. 1961.29 s [opt-env-conf-test] -checkMapIOForgivable = ParserCheck mLoc True Set.empty
  18733. 1961.29 s [opt-env-conf-test] +checkMapIOForgivable = ParserCheck mLoc False Set.empty
  18734. 1961.29 s [opt-env-conf-test] where
  18735. 1961.29 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  18736. 1961.29 s [opt-env-conf-test]
  18737. 1961.29 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
  18738. 1961.29 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  18739. 1961.29 s [opt-env-conf-test] [ genericValidate arg,
  18740. 1961.29 s [opt-env-conf-test] case arg of
  18741. 1961.29 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18742. 1961.29 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18743. 1961.29 s [opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ not (case s of
  18744. 1961.29 s [opt-env-conf-test] ('-' : _) -> False
  18745. 1961.29 s [opt-env-conf-test] - _ -> True
  18746. 1961.29 s [opt-env-conf-test] + _ -> True)
  18747. 1961.29 s [opt-env-conf-test] _ -> valid
  18748. 1961.29 s [opt-env-conf-test] ]
  18749. 1961.29 s [opt-env-conf-test]
  18750. 1961.29 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  18751. 1961.29 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  18752. 1961.29 s [opt-env-conf-test] validate arg =
  18753. 1961.29 s [opt-env-conf-test] mconcat
  18754. 1961.29 s [opt-env-conf-test] [ genericValidate arg,
  18755. 1961.29 s [opt-env-conf-test] case arg of
  18756. 1961.29 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18757. 1961.29 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18758. 1961.29 s [opt-env-conf-test] ('-' : _) -> False
  18759. 1961.30 s [opt-env-conf-test] _ -> True
  18760. 1961.30 s [opt-env-conf-test] - _ -> valid
  18761. 1961.30 s [opt-env-conf-test] ]
  18762. 1961.30 s [opt-env-conf-test]
  18763. 1961.30 s [opt-env-conf-test] instance IsString Arg where
  18764. 1961.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  18765. 1961.30 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  18766. 1961.30 s [opt-env-conf-test] instance Validity Arg where
  18767. 1961.30 s [opt-env-conf-test] validate arg =
  18768. 1961.30 s [opt-env-conf-test] mconcat
  18769. 1961.30 s [opt-env-conf-test] - [ genericValidate arg,
  18770. 1961.30 s [opt-env-conf-test] case arg of
  18771. 1961.30 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18772. 1961.30 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18773. 1961.30 s [opt-env-conf-test] ('-' : _) -> False
  18774. 1961.30 s [opt-env-conf-test] _ -> True
  18775. 1961.30 s [opt-env-conf-test] _ -> valid
  18776. 1961.30 s [opt-env-conf-test] ]
  18777. 1961.30 s [opt-env-conf-test]
  18778. 1961.30 s [opt-env-conf-test] instance IsString Arg where
  18779. 1961.30 s [opt-env-conf-test] fromString = parseArg
  18780. 1961.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  18781. 1961.30 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  18782. 1961.30 s [opt-env-conf-test] [ genericValidate arg,
  18783. 1961.30 s [opt-env-conf-test] case arg of
  18784. 1961.30 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18785. 1961.30 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18786. 1961.30 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
  18787. 1961.30 s [opt-env-conf-test] ('-' : _) -> False
  18788. 1961.30 s [opt-env-conf-test] _ -> True
  18789. 1961.30 s [opt-env-conf-test] _ -> valid
  18790. 1961.30 s [opt-env-conf-test] ]
  18791. 1961.30 s [opt-env-conf-test]
  18792. 1961.30 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
  18793. 1961.30 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  18794. 1961.30 s [opt-env-conf-test] [ genericValidate arg,
  18795. 1961.30 s [opt-env-conf-test] case arg of
  18796. 1961.30 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18797. 1961.30 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  18798. 1961.30 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
  18799. 1961.30 s [opt-env-conf-test] ('-' : _) -> False
  18800. 1961.30 s [opt-env-conf-test] _ -> True
  18801. 1961.30 s [opt-env-conf-test] _ -> valid
  18802. 1961.30 s [opt-env-conf-test] ]
  18803. 1961.30 s [opt-env-conf-test]
  18804. 1961.30 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
  18805. 1961.30 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  18806. 1961.30 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18807. 1961.30 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18808. 1961.30 s [opt-env-conf-test] ('-' : _) -> False
  18809. 1961.30 s [opt-env-conf-test] - _ -> True
  18810. 1961.30 s [opt-env-conf-test] + _ -> False
  18811. 1961.30 s [opt-env-conf-test] _ -> valid
  18812. 1961.30 s [opt-env-conf-test] ]
  18813. 1961.30 s [opt-env-conf-test]
  18814. 1961.30 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  18815. 1961.30 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  18816. 1961.30 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18817. 1961.30 s [opt-env-conf-test] ]
  18818. 1961.30 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18819. 1961.31 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  18820. 1961.31 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18821. 1961.31 s [opt-env-conf-test] [ "Missing argument: "
  18822. 1961.31 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18823. 1961.31 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  18824. 1961.31 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  18825. 1961.31 s [opt-env-conf-test] ["Missing command, available commands:"]
  18826. 1961.31 s [opt-env-conf-test] : availableCommandsLines cs
  18827. 1961.31 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18828. 1964.01 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18829. 1964.01 s [opt-env-conf-test] [fore blue "available commands:"]
  18830. 1964.01 s [opt-env-conf-test] ]
  18831. 1964.01 s [opt-env-conf-test] ++ availableCommandsLines cs
  18832. 1964.01 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18833. 1964.01 s [opt-env-conf-test] @@ -124,9 +124,7 @@
  18834. 1964.01 s [opt-env-conf-test] ["Missing command, available commands:"]
  18835. 1964.01 s [opt-env-conf-test] : availableCommandsLines cs
  18836. 1964.01 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18837. 1964.01 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18838. 1964.01 s [opt-env-conf-test] - [fore blue "available commands:"]
  18839. 1964.01 s [opt-env-conf-test] ]
  18840. 1964.01 s [opt-env-conf-test] ++ availableCommandsLines cs
  18841. 1964.01 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18842. 1964.01 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18843. 1964.01 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
  18844. 1964.01 s [opt-env-conf-test] @@ -124,9 +124,8 @@
  18845. 1964.01 s [opt-env-conf-test] ["Missing command, available commands:"]
  18846. 1964.01 s [opt-env-conf-test] : availableCommandsLines cs
  18847. 1964.01 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18848. 1964.01 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18849. 1964.01 s [opt-env-conf-test] [fore blue "available commands:"]
  18850. 1964.01 s [opt-env-conf-test] ]
  18851. 1964.01 s [opt-env-conf-test] ++ availableCommandsLines cs
  18852. 1964.02 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18853. 1964.02 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."],
  18854. 1964.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18855. 1964.02 s [opt-env-conf-test] @@ -129,9 +129,7 @@
  18856. 1964.02 s [opt-env-conf-test] ]
  18857. 1964.02 s [opt-env-conf-test] ++ availableCommandsLines cs
  18858. 1964.02 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18859. 1964.02 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."],
  18860. 1964.02 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  18861. 1964.02 s [opt-env-conf-test] ]
  18862. 1964.02 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18863. 1964.02 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18864. 1964.02 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18865. 1964.02 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
  18866. 1964.02 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  18867. 1964.02 s [opt-env-conf-test] mconcat
  18868. 1964.02 s [opt-env-conf-test] [ genericValidate arg,
  18869. 1964.02 s [opt-env-conf-test] case arg of
  18870. 1964.02 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  18871. 1964.02 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ not (c /= '-')
  18872. 1964.02 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  18873. 1964.02 s [opt-env-conf-test] ('-' : _) -> False
  18874. 1964.02 s [opt-env-conf-test] _ -> True
  18875. 1964.02 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
  18876. 1964.02 s [opt-env-conf-test] @@ -129,9 +129,8 @@
  18877. 1964.02 s [opt-env-conf-test] ]
  18878. 1964.02 s [opt-env-conf-test] ++ availableCommandsLines cs
  18879. 1964.02 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18880. 1964.02 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."],
  18881. 1964.02 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18882. 1964.02 s [opt-env-conf-test] ]
  18883. 1964.02 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18884. 1964.02 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18885. 1964.02 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18886. 1964.02 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18887. 1964.02 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18888. 1964.02 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18889. 1964.02 s [opt-env-conf-test] renderError ParseError {..} =
  18890. 1964.02 s [opt-env-conf-test] concat
  18891. 1964.03 s [opt-env-conf-test] [ case parseErrorMessage of
  18892. 1964.03 s [opt-env-conf-test] - ParseErrorEmpty ->
  18893. 1964.03 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18894. 1964.03 s [opt-env-conf-test] ParseErrorEmptySetting ->
  18895. 1964.03 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  18896. 1964.03 s [opt-env-conf-test] ParseErrorNoReaders ->
  18897. 1964.03 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18898. 1964.03 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18899. 1964.03 s [opt-env-conf-test] ]
  18900. 1964.03 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18901. 1964.03 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18902. 1964.03 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18903. 1964.03 s [opt-env-conf-test] [ "Missing argument: "
  18904. 1964.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18905. 1964.03 s [opt-env-conf-test] ]
  18906. 1964.03 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18907. 1964.03 s [opt-env-conf-test] ["Failed to read argument: "]
  18908. 1964.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18909. 1964.03 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18910. 1964.03 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18911. 1964.03 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18912. 1964.03 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18913. 1964.03 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18914. 1964.03 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18915. 1964.03 s [opt-env-conf-test] ["Failed to read option: "]
  18916. 1964.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18917. 1964.03 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18918. 1964.03 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18919. 1964.03 s [opt-env-conf-test] ["Missing env var: "]
  18920. 1964.03 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18921. 1964.03 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18922. 1964.03 s [opt-env-conf-test] ["Failed to read env var: "]
  18923. 1964.03 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18924. 1964.03 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18925. 1964.03 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18926. 1964.03 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18927. 1964.03 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18928. 1964.79 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18929. 1964.79 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18930. 1964.79 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18931. 1964.79 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18932. 1964.79 s [opt-env-conf-test] ["Missing command, available commands:"]
  18933. 1964.80 s [opt-env-conf-test] : availableCommandsLines cs
  18934. 1964.80 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  18935. 1964.80 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  18936. 1964.80 s [opt-env-conf-test] [fore blue "available commands:"]
  18937. 1964.80 s [opt-env-conf-test] ]
  18938. 1964.80 s [opt-env-conf-test] ++ availableCommandsLines cs
  18939. 1964.80 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  18940. 1964.80 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  18941. 1964.80 s [opt-env-conf-test] ["The following settings have been parsed:"]
  18942. 1964.80 s [opt-env-conf-test] ]
  18943. 1964.80 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  18944. 1964.80 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  18945. 1964.80 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  18946. 1964.80 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  18947. 1964.80 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  18948. 1964.80 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  18949. 1964.80 s [opt-env-conf-test] ]
  18950. 1964.80 s [opt-env-conf-test]
  18951. 1964.80 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  18952. 1964.80 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  18953. 1964.80 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  18954. 1964.80 s [opt-env-conf-test] renderError ParseError {..} =
  18955. 1964.80 s [opt-env-conf-test] concat
  18956. 1964.80 s [opt-env-conf-test] [ case parseErrorMessage of
  18957. 1964.80 s [opt-env-conf-test] ParseErrorEmpty ->
  18958. 1964.80 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  18959. 1964.81 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  18960. 1964.81 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  18961. 1964.81 s [opt-env-conf-test] ParseErrorNoReaders ->
  18962. 1964.81 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  18963. 1964.81 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  18964. 1964.81 s [opt-env-conf-test] ]
  18965. 1964.81 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  18966. 1964.81 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  18967. 1964.81 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  18968. 1964.81 s [opt-env-conf-test] [ "Missing argument: "
  18969. 1964.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  18970. 1964.81 s [opt-env-conf-test] ]
  18971. 1964.81 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  18972. 1964.81 s [opt-env-conf-test] ["Failed to read argument: "]
  18973. 1964.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18974. 1964.81 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18975. 1964.81 s [opt-env-conf-test] ParseErrorMissingOption o ->
  18976. 1964.81 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18977. 1964.81 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  18978. 1964.81 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  18979. 1964.81 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  18980. 1964.81 s [opt-env-conf-test] ["Failed to read option: "]
  18981. 1964.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  18982. 1964.81 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18983. 1964.81 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  18984. 1964.81 s [opt-env-conf-test] ["Missing env var: "]
  18985. 1964.81 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18986. 1964.81 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  18987. 1964.81 s [opt-env-conf-test] ["Failed to read env var: "]
  18988. 1964.81 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  18989. 1964.81 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  18990. 1964.81 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  18991. 1964.81 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  18992. 1964.81 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  18993. 1967.75 s [opt-env-conf-test] ["Failed to parse configuration: "]
  18994. 1967.75 s [opt-env-conf-test] : maybe [] renderConfDoc md
  18995. 1967.81 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  18996. 1967.81 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  18997. 1967.81 s [opt-env-conf-test] ["Missing command, available commands:"]
  18998. 1967.81 s [opt-env-conf-test] : availableCommandsLines cs
  18999. 1967.81 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19000. 1967.82 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19001. 1967.82 s [opt-env-conf-test] [fore blue "available commands:"]
  19002. 1967.82 s [opt-env-conf-test] ]
  19003. 1967.82 s [opt-env-conf-test] ++ availableCommandsLines cs
  19004. 1967.82 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19005. 1967.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."],
  19006. 1967.82 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19007. 1967.82 s [opt-env-conf-test] ]
  19008. 1967.82 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19009. 1967.82 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19010. 1967.82 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19011. 1967.82 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19012. 1967.82 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19013. 1967.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19014. 1967.82 s [opt-env-conf-test] ]
  19015. 1967.82 s [opt-env-conf-test]
  19016. 1967.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  19017. 1967.82 s [opt-env-conf-test] @@ -86,9 +86,7 @@
  19018. 1967.82 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19019. 1967.82 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19020. 1967.82 s [opt-env-conf-test] ParseErrorNoReaders ->
  19021. 1967.82 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  19022. 1967.82 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  19023. 1967.82 s [opt-env-conf-test] ]
  19024. 1967.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19025. 1967.82 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19026. 1967.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19027. 1967.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  19028. 1967.82 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  19029. 1967.82 s [opt-env-conf-test]
  19030. 1967.82 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  19031. 1967.82 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  19032. 1967.82 s [opt-env-conf-test] [ commandChunk commandDocArgument,
  19033. 1967.82 s [opt-env-conf-test] ": ",
  19034. 1967.82 s [opt-env-conf-test] - helpChunk commandDocHelp
  19035. 1967.82 s [opt-env-conf-test] ]
  19036. 1967.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
  19037. 1967.82 s [opt-env-conf-test] @@ -90,7 +90,6 @@
  19038. 1967.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19039. 1967.82 s [opt-env-conf-test] ]
  19040. 1967.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19041. 1967.82 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  19042. 1967.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19043. 1967.82 s [opt-env-conf-test] [ "Missing argument: "
  19044. 1967.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19045. 1967.82 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
  19046. 1967.82 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  19047. 1967.82 s [opt-env-conf-test] instance Validity Arg where
  19048. 1967.83 s [opt-env-conf-test] validate arg =
  19049. 1967.83 s [opt-env-conf-test] mconcat
  19050. 1967.83 s [opt-env-conf-test] - [ genericValidate arg,
  19051. 1967.83 s [opt-env-conf-test] - case arg of
  19052. 1967.83 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19053. 1967.83 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  19054. 1967.83 s [opt-env-conf-test] - ('-' : _) -> False
  19055. 1967.83 s [opt-env-conf-test] - _ -> True
  19056. 1967.83 s [opt-env-conf-test] - _ -> valid
  19057. 1967.83 s [opt-env-conf-test] ]
  19058. 1967.83 s [opt-env-conf-test]
  19059. 1967.83 s [opt-env-conf-test] instance IsString Arg where
  19060. 1967.83 s [opt-env-conf-test] fromString = parseArg
  19061. 1967.83 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
  19062. 1967.83 s [opt-env-conf-test] @@ -124,7 +124,6 @@
  19063. 1967.83 s [opt-env-conf-test] ["Missing command, available commands:"]
  19064. 1967.83 s [opt-env-conf-test] : availableCommandsLines cs
  19065. 1967.83 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19066. 1967.83 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19067. 1967.83 s [opt-env-conf-test] [fore blue "available commands:"]
  19068. 1967.83 s [opt-env-conf-test] ]
  19069. 1967.83 s [opt-env-conf-test] ++ availableCommandsLines cs
  19070. 1967.83 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19071. 1967.83 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19072. 1967.83 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19073. 1967.83 s [opt-env-conf-test] renderError ParseError {..} =
  19074. 1967.83 s [opt-env-conf-test] concat
  19075. 1967.83 s [opt-env-conf-test] [ case parseErrorMessage of
  19076. 1967.83 s [opt-env-conf-test] ParseErrorEmpty ->
  19077. 1967.83 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19078. 1967.83 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19079. 1967.83 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19080. 1967.83 s [opt-env-conf-test] ParseErrorNoReaders ->
  19081. 1967.83 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19082. 1967.83 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19083. 1967.83 s [opt-env-conf-test] ]
  19084. 1967.83 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  19085. 1967.83 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  19086. 1967.83 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19087. 1967.83 s [opt-env-conf-test] [ "Missing argument: "
  19088. 1967.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19089. 1967.83 s [opt-env-conf-test] ]
  19090. 1967.83 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19091. 1967.83 s [opt-env-conf-test] ["Failed to read argument: "]
  19092. 1967.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19093. 1967.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19094. 1967.83 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19095. 1967.83 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19096. 1967.83 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19097. 1967.83 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19098. 1967.83 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19099. 1967.83 s [opt-env-conf-test] ["Failed to read option: "]
  19100. 1967.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19101. 1967.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19102. 1967.83 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19103. 1967.83 s [opt-env-conf-test] ["Missing env var: "]
  19104. 1967.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19105. 1967.83 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19106. 1967.83 s [opt-env-conf-test] ["Failed to read env var: "]
  19107. 1967.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19108. 1967.83 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19109. 1967.83 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19110. 1967.83 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19111. 1967.83 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19112. 1967.92 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19113. 1967.92 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19114. 1967.92 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19115. 1967.92 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19116. 1967.92 s [opt-env-conf-test] ["Missing command, available commands:"]
  19117. 1967.92 s [opt-env-conf-test] : availableCommandsLines cs
  19118. 1967.92 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19119. 1967.92 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19120. 1967.92 s [opt-env-conf-test] [fore blue "available commands:"]
  19121. 1967.92 s [opt-env-conf-test] ]
  19122. 1967.92 s [opt-env-conf-test] ++ availableCommandsLines cs
  19123. 1967.92 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19124. 1967.92 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."],
  19125. 1967.92 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19126. 1967.92 s [opt-env-conf-test] ]
  19127. 1967.92 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19128. 1967.92 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19129. 1967.92 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19130. 1967.92 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19131. 1967.92 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19132. 1967.92 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19133. 1967.92 s [opt-env-conf-test] ]
  19134. 1967.92 s [opt-env-conf-test]
  19135. 1967.92 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19136. 1967.92 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19137. 1967.92 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19138. 1967.92 s [opt-env-conf-test] renderError ParseError {..} =
  19139. 1967.92 s [opt-env-conf-test] concat
  19140. 1967.93 s [opt-env-conf-test] [ case parseErrorMessage of
  19141. 1967.93 s [opt-env-conf-test] ParseErrorEmpty ->
  19142. 1967.93 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19143. 1967.93 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19144. 1967.93 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19145. 1967.93 s [opt-env-conf-test] - ParseErrorNoReaders ->
  19146. 1967.93 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  19147. 1967.93 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  19148. 1967.93 s [opt-env-conf-test] - ]
  19149. 1967.93 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19150. 1967.93 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19151. 1967.93 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19152. 1967.93 s [opt-env-conf-test] [ "Missing argument: "
  19153. 1967.93 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19154. 1967.93 s [opt-env-conf-test] ]
  19155. 1967.93 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19156. 1967.93 s [opt-env-conf-test] ["Failed to read argument: "]
  19157. 1967.93 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19158. 1967.93 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19159. 1967.93 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19160. 1967.93 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19161. 1967.93 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19162. 1967.93 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19163. 1967.93 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19164. 1967.93 s [opt-env-conf-test] ["Failed to read option: "]
  19165. 1967.93 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19166. 1967.93 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19167. 1967.93 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19168. 1967.93 s [opt-env-conf-test] ["Missing env var: "]
  19169. 1967.93 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19170. 1967.93 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19171. 1967.93 s [opt-env-conf-test] ["Failed to read env var: "]
  19172. 1967.93 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19173. 1967.93 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19174. 1967.93 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19175. 1967.93 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19176. 1967.93 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19177. 1968.59 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19178. 1968.59 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19179. 1968.59 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19180. 1968.59 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19181. 1968.59 s [opt-env-conf-test] ["Missing command, available commands:"]
  19182. 1968.59 s [opt-env-conf-test] : availableCommandsLines cs
  19183. 1968.59 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19184. 1968.59 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19185. 1968.59 s [opt-env-conf-test] [fore blue "available commands:"]
  19186. 1968.59 s [opt-env-conf-test] ]
  19187. 1968.59 s [opt-env-conf-test] ++ availableCommandsLines cs
  19188. 1968.59 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19189. 1968.59 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19190. 1968.59 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19191. 1968.59 s [opt-env-conf-test] ]
  19192. 1968.59 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19193. 1968.59 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19194. 1968.59 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19195. 1968.59 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19196. 1968.59 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19197. 1968.59 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19198. 1968.59 s [opt-env-conf-test] ]
  19199. 1968.59 s [opt-env-conf-test]
  19200. 1968.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19201. 1968.59 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19202. 1968.59 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19203. 1968.59 s [opt-env-conf-test] renderError ParseError {..} =
  19204. 1968.59 s [opt-env-conf-test] concat
  19205. 1968.59 s [opt-env-conf-test] [ case parseErrorMessage of
  19206. 1968.59 s [opt-env-conf-test] ParseErrorEmpty ->
  19207. 1968.59 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19208. 1968.60 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19209. 1968.60 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19210. 1968.60 s [opt-env-conf-test] ParseErrorNoReaders ->
  19211. 1968.60 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19212. 1968.60 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19213. 1968.60 s [opt-env-conf-test] ]
  19214. 1968.60 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19215. 1968.60 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19216. 1968.60 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19217. 1968.60 s [opt-env-conf-test] [ "Missing argument: "
  19218. 1968.60 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19219. 1968.60 s [opt-env-conf-test] ]
  19220. 1968.60 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19221. 1968.60 s [opt-env-conf-test] ["Failed to read argument: "]
  19222. 1968.60 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19223. 1968.60 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19224. 1968.60 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  19225. 1968.60 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19226. 1968.60 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19227. 1968.60 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19228. 1968.60 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19229. 1968.60 s [opt-env-conf-test] ["Failed to read option: "]
  19230. 1968.60 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19231. 1968.60 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19232. 1968.60 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19233. 1968.60 s [opt-env-conf-test] ["Missing env var: "]
  19234. 1968.60 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19235. 1968.60 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19236. 1968.60 s [opt-env-conf-test] ["Failed to read env var: "]
  19237. 1968.60 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19238. 1968.60 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19239. 1968.60 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19240. 1968.60 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19241. 1968.60 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19242. 1969.23 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19243. 1969.23 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19244. 1969.23 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19245. 1969.23 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19246. 1969.23 s [opt-env-conf-test] ["Missing command, available commands:"]
  19247. 1969.23 s [opt-env-conf-test] : availableCommandsLines cs
  19248. 1969.23 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19249. 1969.23 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19250. 1969.23 s [opt-env-conf-test] [fore blue "available commands:"]
  19251. 1969.23 s [opt-env-conf-test] ]
  19252. 1969.23 s [opt-env-conf-test] ++ availableCommandsLines cs
  19253. 1969.23 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19254. 1969.23 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."],
  19255. 1969.23 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19256. 1969.23 s [opt-env-conf-test] ]
  19257. 1969.23 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19258. 1969.23 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19259. 1969.23 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19260. 1969.23 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19261. 1969.23 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19262. 1969.23 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19263. 1969.23 s [opt-env-conf-test] ]
  19264. 1969.23 s [opt-env-conf-test]
  19265. 1969.23 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19266. 1969.23 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19267. 1969.23 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19268. 1969.23 s [opt-env-conf-test] renderError ParseError {..} =
  19269. 1969.23 s [opt-env-conf-test] concat
  19270. 1969.23 s [opt-env-conf-test] [ case parseErrorMessage of
  19271. 1969.23 s [opt-env-conf-test] ParseErrorEmpty ->
  19272. 1969.23 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19273. 1969.23 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19274. 1969.23 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19275. 1969.23 s [opt-env-conf-test] ParseErrorNoReaders ->
  19276. 1969.23 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19277. 1969.23 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19278. 1969.23 s [opt-env-conf-test] ]
  19279. 1969.23 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19280. 1969.23 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19281. 1969.23 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  19282. 1969.23 s [opt-env-conf-test] - [ "Missing argument: "
  19283. 1969.23 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  19284. 1969.23 s [opt-env-conf-test] - ]
  19285. 1969.23 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19286. 1969.23 s [opt-env-conf-test] ["Failed to read argument: "]
  19287. 1969.23 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19288. 1969.23 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19289. 1969.23 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19290. 1969.23 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19291. 1969.23 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19292. 1969.23 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19293. 1969.23 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19294. 1969.23 s [opt-env-conf-test] ["Failed to read option: "]
  19295. 1969.24 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19296. 1969.24 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19297. 1969.24 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19298. 1969.24 s [opt-env-conf-test] ["Missing env var: "]
  19299. 1969.24 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19300. 1969.24 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19301. 1969.24 s [opt-env-conf-test] ["Failed to read env var: "]
  19302. 1969.24 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19303. 1969.24 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19304. 1969.24 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19305. 1969.24 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19306. 1969.24 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19307. 1969.79 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19308. 1969.79 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19309. 1969.79 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19310. 1969.79 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19311. 1969.79 s [opt-env-conf-test] ["Missing command, available commands:"]
  19312. 1969.79 s [opt-env-conf-test] : availableCommandsLines cs
  19313. 1969.79 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19314. 1969.79 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19315. 1969.79 s [opt-env-conf-test] [fore blue "available commands:"]
  19316. 1969.79 s [opt-env-conf-test] ]
  19317. 1969.79 s [opt-env-conf-test] ++ availableCommandsLines cs
  19318. 1969.79 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19319. 1969.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."],
  19320. 1969.79 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19321. 1969.79 s [opt-env-conf-test] ]
  19322. 1969.79 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19323. 1969.79 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19324. 1969.79 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19325. 1969.79 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19326. 1969.79 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19327. 1969.79 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19328. 1969.79 s [opt-env-conf-test] ]
  19329. 1969.79 s [opt-env-conf-test]
  19330. 1969.79 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19331. 1969.79 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19332. 1969.79 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19333. 1969.79 s [opt-env-conf-test] renderError ParseError {..} =
  19334. 1969.79 s [opt-env-conf-test] concat
  19335. 1969.79 s [opt-env-conf-test] [ case parseErrorMessage of
  19336. 1969.79 s [opt-env-conf-test] ParseErrorEmpty ->
  19337. 1969.79 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19338. 1969.79 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19339. 1969.79 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19340. 1969.79 s [opt-env-conf-test] ParseErrorNoReaders ->
  19341. 1969.79 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19342. 1969.79 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19343. 1969.79 s [opt-env-conf-test] ]
  19344. 1969.79 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19345. 1969.79 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19346. 1969.79 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19347. 1969.79 s [opt-env-conf-test] [ "Missing argument: "
  19348. 1969.80 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19349. 1969.80 s [opt-env-conf-test] ]
  19350. 1969.80 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  19351. 1969.80 s [opt-env-conf-test] - ["Failed to read argument: "]
  19352. 1969.80 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  19353. 1969.80 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19354. 1969.80 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19355. 1969.80 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19356. 1969.80 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19357. 1969.80 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19358. 1969.80 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19359. 1969.80 s [opt-env-conf-test] ["Failed to read option: "]
  19360. 1969.80 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19361. 1969.80 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19362. 1969.80 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19363. 1969.80 s [opt-env-conf-test] ["Missing env var: "]
  19364. 1969.80 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19365. 1969.80 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19366. 1969.80 s [opt-env-conf-test] ["Failed to read env var: "]
  19367. 1969.80 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19368. 1969.80 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19369. 1969.80 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19370. 1969.80 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19371. 1969.80 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19372. 1970.60 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19373. 1970.60 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19374. 1970.60 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19375. 1970.60 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19376. 1970.60 s [opt-env-conf-test] ["Missing command, available commands:"]
  19377. 1970.60 s [opt-env-conf-test] : availableCommandsLines cs
  19378. 1970.60 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19379. 1970.60 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19380. 1970.60 s [opt-env-conf-test] [fore blue "available commands:"]
  19381. 1970.60 s [opt-env-conf-test] ]
  19382. 1970.60 s [opt-env-conf-test] ++ availableCommandsLines cs
  19383. 1970.60 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19384. 1970.60 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."],
  19385. 1970.60 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19386. 1970.60 s [opt-env-conf-test] ]
  19387. 1970.60 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19388. 1970.60 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19389. 1970.60 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19390. 1970.60 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19391. 1970.60 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19392. 1970.60 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19393. 1970.60 s [opt-env-conf-test] ]
  19394. 1970.60 s [opt-env-conf-test]
  19395. 1970.60 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
  19396. 1970.60 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  19397. 1970.60 s [opt-env-conf-test] case arg of
  19398. 1970.61 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19399. 1970.61 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  19400. 1970.61 s [opt-env-conf-test] - ('-' : _) -> False
  19401. 1970.61 s [opt-env-conf-test] + ('-' : _) -> True
  19402. 1970.61 s [opt-env-conf-test] _ -> True
  19403. 1970.61 s [opt-env-conf-test] _ -> valid
  19404. 1970.61 s [opt-env-conf-test] ]
  19405. 1970.61 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
  19406. 1970.61 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  19407. 1970.61 s [opt-env-conf-test] mconcat
  19408. 1970.61 s [opt-env-conf-test] [ genericValidate arg,
  19409. 1970.61 s [opt-env-conf-test] case arg of
  19410. 1970.61 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  19411. 1970.61 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ False
  19412. 1970.61 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  19413. 1970.61 s [opt-env-conf-test] ('-' : _) -> False
  19414. 1970.61 s [opt-env-conf-test] _ -> True
  19415. 1970.61 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19416. 1970.61 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19417. 1970.61 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19418. 1970.61 s [opt-env-conf-test] renderError ParseError {..} =
  19419. 1970.61 s [opt-env-conf-test] concat
  19420. 1970.61 s [opt-env-conf-test] [ case parseErrorMessage of
  19421. 1970.61 s [opt-env-conf-test] ParseErrorEmpty ->
  19422. 1970.61 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19423. 1970.61 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19424. 1970.61 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19425. 1970.61 s [opt-env-conf-test] ParseErrorNoReaders ->
  19426. 1970.61 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19427. 1970.61 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19428. 1970.61 s [opt-env-conf-test] ]
  19429. 1970.62 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19430. 1970.62 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19431. 1970.62 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19432. 1970.62 s [opt-env-conf-test] [ "Missing argument: "
  19433. 1970.62 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19434. 1970.62 s [opt-env-conf-test] ]
  19435. 1970.62 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19436. 1970.62 s [opt-env-conf-test] ["Failed to read argument: "]
  19437. 1970.62 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19438. 1970.62 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19439. 1970.62 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19440. 1970.62 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19441. 1970.62 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19442. 1970.62 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19443. 1970.62 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19444. 1970.62 s [opt-env-conf-test] ["Failed to read option: "]
  19445. 1970.62 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19446. 1970.62 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19447. 1970.62 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19448. 1970.62 s [opt-env-conf-test] ["Missing env var: "]
  19449. 1970.62 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19450. 1970.62 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  19451. 1970.62 s [opt-env-conf-test] - ["Failed to read env var: "]
  19452. 1970.62 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19453. 1970.62 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19454. 1970.62 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19455. 1970.62 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19456. 1970.62 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19457. 1970.75 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19458. 1970.75 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19459. 1970.75 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19460. 1970.76 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19461. 1970.76 s [opt-env-conf-test] ["Missing command, available commands:"]
  19462. 1970.76 s [opt-env-conf-test] : availableCommandsLines cs
  19463. 1970.76 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19464. 1970.76 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19465. 1970.76 s [opt-env-conf-test] [fore blue "available commands:"]
  19466. 1970.76 s [opt-env-conf-test] ]
  19467. 1970.76 s [opt-env-conf-test] ++ availableCommandsLines cs
  19468. 1970.76 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19469. 1970.76 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."],
  19470. 1970.76 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19471. 1970.76 s [opt-env-conf-test] ]
  19472. 1970.76 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19473. 1970.76 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19474. 1970.76 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19475. 1970.76 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19476. 1970.76 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19477. 1970.76 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19478. 1970.76 s [opt-env-conf-test] ]
  19479. 1970.76 s [opt-env-conf-test]
  19480. 1970.76 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19481. 1970.76 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19482. 1970.76 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19483. 1970.76 s [opt-env-conf-test] renderError ParseError {..} =
  19484. 1970.76 s [opt-env-conf-test] concat
  19485. 1970.76 s [opt-env-conf-test] [ case parseErrorMessage of
  19486. 1970.76 s [opt-env-conf-test] ParseErrorEmpty ->
  19487. 1970.76 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19488. 1970.76 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19489. 1970.76 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19490. 1970.76 s [opt-env-conf-test] ParseErrorNoReaders ->
  19491. 1970.76 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19492. 1970.76 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19493. 1970.76 s [opt-env-conf-test] ]
  19494. 1970.76 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19495. 1970.76 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19496. 1970.76 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19497. 1970.76 s [opt-env-conf-test] [ "Missing argument: "
  19498. 1970.76 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19499. 1970.76 s [opt-env-conf-test] ]
  19500. 1970.76 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19501. 1970.76 s [opt-env-conf-test] ["Failed to read argument: "]
  19502. 1970.76 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19503. 1970.76 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19504. 1970.76 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19505. 1970.76 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19506. 1970.77 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19507. 1970.77 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19508. 1970.77 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19509. 1970.77 s [opt-env-conf-test] ["Failed to read option: "]
  19510. 1970.77 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19511. 1970.77 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19512. 1970.77 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19513. 1970.77 s [opt-env-conf-test] ["Missing env var: "]
  19514. 1970.77 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19515. 1970.77 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19516. 1970.77 s [opt-env-conf-test] ["Failed to read env var: "]
  19517. 1970.77 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19518. 1970.77 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19519. 1970.77 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19520. 1970.77 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19521. 1970.77 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19522. 1970.77 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19523. 1972.27 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19524. 1972.27 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19525. 1972.27 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19526. 1972.27 s [opt-env-conf-test] ["Missing command, available commands:"]
  19527. 1972.27 s [opt-env-conf-test] : availableCommandsLines cs
  19528. 1972.27 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19529. 1972.27 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19530. 1972.27 s [opt-env-conf-test] [fore blue "available commands:"]
  19531. 1972.27 s [opt-env-conf-test] ]
  19532. 1972.27 s [opt-env-conf-test] ++ availableCommandsLines cs
  19533. 1972.28 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19534. 1972.28 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."],
  19535. 1972.28 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19536. 1972.28 s [opt-env-conf-test] ]
  19537. 1972.28 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19538. 1972.28 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19539. 1972.28 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19540. 1972.28 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  19541. 1972.28 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19542. 1972.28 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19543. 1972.28 s [opt-env-conf-test] ]
  19544. 1972.28 s [opt-env-conf-test]
  19545. 1972.28 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19546. 1972.28 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19547. 1972.28 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19548. 1972.28 s [opt-env-conf-test] renderError ParseError {..} =
  19549. 1972.28 s [opt-env-conf-test] concat
  19550. 1972.28 s [opt-env-conf-test] [ case parseErrorMessage of
  19551. 1972.28 s [opt-env-conf-test] ParseErrorEmpty ->
  19552. 1972.28 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19553. 1972.28 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19554. 1972.28 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19555. 1972.28 s [opt-env-conf-test] ParseErrorNoReaders ->
  19556. 1972.28 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19557. 1972.28 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19558. 1972.28 s [opt-env-conf-test] ]
  19559. 1972.29 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19560. 1972.29 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19561. 1972.29 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19562. 1972.29 s [opt-env-conf-test] [ "Missing argument: "
  19563. 1972.29 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19564. 1972.29 s [opt-env-conf-test] ]
  19565. 1972.29 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19566. 1972.29 s [opt-env-conf-test] ["Failed to read argument: "]
  19567. 1972.29 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19568. 1972.29 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19569. 1972.29 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19570. 1972.29 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19571. 1972.29 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19572. 1972.29 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19573. 1972.29 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19574. 1972.29 s [opt-env-conf-test] ["Failed to read option: "]
  19575. 1972.29 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19576. 1972.29 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19577. 1972.29 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  19578. 1972.29 s [opt-env-conf-test] - ["Missing env var: "]
  19579. 1972.29 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  19580. 1972.29 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19581. 1972.29 s [opt-env-conf-test] ["Failed to read env var: "]
  19582. 1972.29 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19583. 1972.29 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19584. 1972.29 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19585. 1972.29 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19586. 1972.29 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19587. 1972.50 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19588. 1972.50 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19589. 1972.51 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19590. 1972.51 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19591. 1972.51 s [opt-env-conf-test] ["Missing command, available commands:"]
  19592. 1972.51 s [opt-env-conf-test] : availableCommandsLines cs
  19593. 1972.51 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19594. 1972.51 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19595. 1972.51 s [opt-env-conf-test] [fore blue "available commands:"]
  19596. 1972.51 s [opt-env-conf-test] ]
  19597. 1972.51 s [opt-env-conf-test] ++ availableCommandsLines cs
  19598. 1972.51 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19599. 1972.51 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."],
  19600. 1972.51 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19601. 1972.51 s [opt-env-conf-test] ]
  19602. 1972.51 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19603. 1972.51 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19604. 1972.51 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19605. 1972.51 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19606. 1972.51 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19607. 1972.51 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19608. 1972.51 s [opt-env-conf-test] ]
  19609. 1972.51 s [opt-env-conf-test]
  19610. 1972.51 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19611. 1972.51 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  19612. 1972.51 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19613. 1972.51 s [opt-env-conf-test] renderError ParseError {..} =
  19614. 1972.51 s [opt-env-conf-test] concat
  19615. 1972.51 s [opt-env-conf-test] [ case parseErrorMessage of
  19616. 1972.51 s [opt-env-conf-test] ParseErrorEmpty ->
  19617. 1972.51 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19618. 1972.51 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19619. 1972.51 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19620. 1972.51 s [opt-env-conf-test] ParseErrorNoReaders ->
  19621. 1972.52 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19622. 1972.52 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19623. 1972.52 s [opt-env-conf-test] ]
  19624. 1972.52 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19625. 1972.52 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19626. 1972.52 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19627. 1972.52 s [opt-env-conf-test] [ "Missing argument: "
  19628. 1972.52 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19629. 1972.52 s [opt-env-conf-test] ]
  19630. 1972.52 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19631. 1972.52 s [opt-env-conf-test] ["Failed to read argument: "]
  19632. 1972.52 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19633. 1972.52 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19634. 1972.52 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19635. 1972.52 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19636. 1972.52 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19637. 1972.52 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19638. 1972.52 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19639. 1972.52 s [opt-env-conf-test] ["Failed to read option: "]
  19640. 1972.52 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19641. 1972.52 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19642. 1972.52 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19643. 1972.52 s [opt-env-conf-test] ["Missing env var: "]
  19644. 1972.52 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19645. 1972.52 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19646. 1972.52 s [opt-env-conf-test] ["Failed to read env var: "]
  19647. 1972.52 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19648. 1972.52 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19649. 1972.52 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19650. 1972.52 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19651. 1972.52 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19652. 1972.52 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19653. 1973.34 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19654. 1973.45 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19655. 1973.45 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19656. 1973.45 s [opt-env-conf-test] ["Missing command, available commands:"]
  19657. 1973.45 s [opt-env-conf-test] : availableCommandsLines cs
  19658. 1973.45 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  19659. 1973.45 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19660. 1973.46 s [opt-env-conf-test] - [fore blue "available commands:"]
  19661. 1973.46 s [opt-env-conf-test] - ]
  19662. 1973.46 s [opt-env-conf-test] - ++ availableCommandsLines cs
  19663. 1973.46 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19664. 1973.46 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."],
  19665. 1973.46 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19666. 1973.46 s [opt-env-conf-test] ]
  19667. 1973.46 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19668. 1973.46 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19669. 1973.46 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19670. 1973.46 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19671. 1973.46 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19672. 1973.46 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19673. 1973.46 s [opt-env-conf-test] ]
  19674. 1973.46 s [opt-env-conf-test]
  19675. 1973.46 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19676. 1973.46 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19677. 1973.46 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19678. 1973.46 s [opt-env-conf-test] renderError ParseError {..} =
  19679. 1973.46 s [opt-env-conf-test] concat
  19680. 1973.46 s [opt-env-conf-test] [ case parseErrorMessage of
  19681. 1973.46 s [opt-env-conf-test] ParseErrorEmpty ->
  19682. 1973.46 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19683. 1973.46 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19684. 1973.46 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19685. 1973.47 s [opt-env-conf-test] ParseErrorNoReaders ->
  19686. 1973.47 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19687. 1973.47 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19688. 1973.47 s [opt-env-conf-test] ]
  19689. 1973.47 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19690. 1973.47 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19691. 1973.47 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19692. 1973.47 s [opt-env-conf-test] [ "Missing argument: "
  19693. 1973.47 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19694. 1973.47 s [opt-env-conf-test] ]
  19695. 1973.47 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19696. 1973.47 s [opt-env-conf-test] ["Failed to read argument: "]
  19697. 1973.47 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19698. 1973.47 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19699. 1973.47 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19700. 1973.47 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19701. 1973.47 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19702. 1973.47 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19703. 1973.47 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19704. 1973.47 s [opt-env-conf-test] ["Failed to read option: "]
  19705. 1973.47 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19706. 1973.47 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19707. 1973.47 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19708. 1973.47 s [opt-env-conf-test] ["Missing env var: "]
  19709. 1973.47 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19710. 1973.47 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19711. 1973.47 s [opt-env-conf-test] ["Failed to read env var: "]
  19712. 1973.47 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19713. 1973.47 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19714. 1973.47 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  19715. 1973.47 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  19716. 1973.47 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19717. 1974.02 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19718. 1974.02 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19719. 1974.02 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19720. 1974.02 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19721. 1974.02 s [opt-env-conf-test] ["Missing command, available commands:"]
  19722. 1974.02 s [opt-env-conf-test] : availableCommandsLines cs
  19723. 1974.02 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19724. 1974.02 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19725. 1974.02 s [opt-env-conf-test] [fore blue "available commands:"]
  19726. 1974.02 s [opt-env-conf-test] ]
  19727. 1974.02 s [opt-env-conf-test] ++ availableCommandsLines cs
  19728. 1974.02 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19729. 1974.03 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."],
  19730. 1974.03 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19731. 1974.03 s [opt-env-conf-test] ]
  19732. 1974.03 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19733. 1974.03 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19734. 1974.03 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19735. 1974.03 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19736. 1974.03 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19737. 1974.03 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19738. 1974.03 s [opt-env-conf-test] ]
  19739. 1974.03 s [opt-env-conf-test]
  19740. 1974.03 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19741. 1974.03 s [opt-env-conf-test] @@ -80,63 +80,58 @@
  19742. 1974.03 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19743. 1974.03 s [opt-env-conf-test] renderError ParseError {..} =
  19744. 1974.03 s [opt-env-conf-test] concat
  19745. 1974.03 s [opt-env-conf-test] [ case parseErrorMessage of
  19746. 1974.03 s [opt-env-conf-test] ParseErrorEmpty ->
  19747. 1974.03 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19748. 1974.03 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19749. 1974.03 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19750. 1974.03 s [opt-env-conf-test] ParseErrorNoReaders ->
  19751. 1974.03 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19752. 1974.03 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19753. 1974.03 s [opt-env-conf-test] ]
  19754. 1974.03 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19755. 1974.03 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19756. 1974.03 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19757. 1974.03 s [opt-env-conf-test] [ "Missing argument: "
  19758. 1974.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19759. 1974.03 s [opt-env-conf-test] ]
  19760. 1974.03 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19761. 1974.03 s [opt-env-conf-test] ["Failed to read argument: "]
  19762. 1974.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19763. 1974.03 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19764. 1974.03 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19765. 1974.03 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19766. 1974.03 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19767. 1974.03 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19768. 1974.03 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19769. 1974.03 s [opt-env-conf-test] ["Failed to read option: "]
  19770. 1974.03 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19771. 1974.03 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19772. 1974.03 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19773. 1974.03 s [opt-env-conf-test] ["Missing env var: "]
  19774. 1974.03 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19775. 1974.03 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19776. 1974.03 s [opt-env-conf-test] ["Failed to read env var: "]
  19777. 1974.03 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19778. 1974.03 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19779. 1974.03 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19780. 1974.03 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19781. 1974.03 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19782. 1974.03 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19783. 1974.18 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19784. 1974.19 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19785. 1974.19 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19786. 1974.19 s [opt-env-conf-test] ["Missing command, available commands:"]
  19787. 1974.19 s [opt-env-conf-test] : availableCommandsLines cs
  19788. 1974.19 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19789. 1974.19 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19790. 1974.19 s [opt-env-conf-test] [fore blue "available commands:"]
  19791. 1974.19 s [opt-env-conf-test] ]
  19792. 1974.19 s [opt-env-conf-test] ++ availableCommandsLines cs
  19793. 1974.19 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  19794. 1974.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."],
  19795. 1974.19 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  19796. 1974.19 s [opt-env-conf-test] - ]
  19797. 1974.19 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  19798. 1974.19 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19799. 1974.19 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19800. 1974.19 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19801. 1974.19 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19802. 1974.19 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19803. 1974.19 s [opt-env-conf-test] ]
  19804. 1974.19 s [opt-env-conf-test]
  19805. 1974.19 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19806. 1974.19 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  19807. 1974.19 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19808. 1974.19 s [opt-env-conf-test] renderError ParseError {..} =
  19809. 1974.19 s [opt-env-conf-test] concat
  19810. 1974.19 s [opt-env-conf-test] [ case parseErrorMessage of
  19811. 1974.19 s [opt-env-conf-test] ParseErrorEmpty ->
  19812. 1974.19 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19813. 1974.19 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19814. 1974.19 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19815. 1974.19 s [opt-env-conf-test] ParseErrorNoReaders ->
  19816. 1974.19 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19817. 1974.19 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19818. 1974.19 s [opt-env-conf-test] ]
  19819. 1974.19 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19820. 1974.19 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19821. 1974.19 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19822. 1974.19 s [opt-env-conf-test] [ "Missing argument: "
  19823. 1974.19 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19824. 1974.19 s [opt-env-conf-test] ]
  19825. 1974.19 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19826. 1974.19 s [opt-env-conf-test] ["Failed to read argument: "]
  19827. 1974.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19828. 1974.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19829. 1974.20 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19830. 1974.20 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19831. 1974.20 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19832. 1974.20 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19833. 1974.20 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19834. 1974.20 s [opt-env-conf-test] ["Failed to read option: "]
  19835. 1974.20 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19836. 1974.20 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19837. 1974.20 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19838. 1974.20 s [opt-env-conf-test] ["Missing env var: "]
  19839. 1974.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19840. 1974.20 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19841. 1974.20 s [opt-env-conf-test] ["Failed to read env var: "]
  19842. 1974.20 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19843. 1974.20 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19844. 1974.20 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19845. 1974.20 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19846. 1974.20 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19847. 1974.20 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19848. 1974.42 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19849. 1974.42 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19850. 1974.42 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19851. 1974.42 s [opt-env-conf-test] ["Missing command, available commands:"]
  19852. 1974.42 s [opt-env-conf-test] : availableCommandsLines cs
  19853. 1974.42 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19854. 1974.42 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19855. 1974.42 s [opt-env-conf-test] [fore blue "available commands:"]
  19856. 1974.42 s [opt-env-conf-test] ]
  19857. 1974.42 s [opt-env-conf-test] ++ availableCommandsLines cs
  19858. 1974.42 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19859. 1974.42 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."],
  19860. 1974.42 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19861. 1974.42 s [opt-env-conf-test] ]
  19862. 1974.42 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19863. 1974.42 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  19864. 1974.42 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19865. 1974.42 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19866. 1974.42 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19867. 1974.42 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19868. 1974.42 s [opt-env-conf-test] ]
  19869. 1974.42 s [opt-env-conf-test]
  19870. 1974.43 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19871. 1974.43 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  19872. 1974.43 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19873. 1974.43 s [opt-env-conf-test] renderError ParseError {..} =
  19874. 1974.43 s [opt-env-conf-test] concat
  19875. 1974.43 s [opt-env-conf-test] [ case parseErrorMessage of
  19876. 1974.43 s [opt-env-conf-test] ParseErrorEmpty ->
  19877. 1974.43 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19878. 1974.43 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19879. 1974.43 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19880. 1974.43 s [opt-env-conf-test] ParseErrorNoReaders ->
  19881. 1974.43 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19882. 1974.43 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19883. 1974.43 s [opt-env-conf-test] ]
  19884. 1974.43 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19885. 1974.43 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19886. 1974.43 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19887. 1974.43 s [opt-env-conf-test] [ "Missing argument: "
  19888. 1974.43 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19889. 1974.43 s [opt-env-conf-test] ]
  19890. 1974.43 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19891. 1974.43 s [opt-env-conf-test] ["Failed to read argument: "]
  19892. 1974.43 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19893. 1974.43 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19894. 1974.43 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19895. 1974.43 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19896. 1974.43 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19897. 1974.43 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19898. 1974.43 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19899. 1974.43 s [opt-env-conf-test] ["Failed to read option: "]
  19900. 1974.43 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19901. 1974.43 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19902. 1974.43 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19903. 1974.43 s [opt-env-conf-test] ["Missing env var: "]
  19904. 1974.43 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19905. 1974.43 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19906. 1974.43 s [opt-env-conf-test] ["Failed to read env var: "]
  19907. 1974.43 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19908. 1974.43 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19909. 1974.43 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19910. 1974.43 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19911. 1974.43 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  19912. 1974.58 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  19913. 1974.59 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  19914. 1974.59 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  19915. 1974.59 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  19916. 1974.59 s [opt-env-conf-test] ["Missing command, available commands:"]
  19917. 1974.59 s [opt-env-conf-test] : availableCommandsLines cs
  19918. 1974.59 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19919. 1974.59 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19920. 1974.59 s [opt-env-conf-test] [fore blue "available commands:"]
  19921. 1974.59 s [opt-env-conf-test] ]
  19922. 1974.59 s [opt-env-conf-test] ++ availableCommandsLines cs
  19923. 1974.59 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19924. 1974.59 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  19925. 1974.59 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19926. 1974.59 s [opt-env-conf-test] ]
  19927. 1974.59 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19928. 1974.59 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19929. 1974.59 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19930. 1974.59 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19931. 1974.59 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19932. 1974.59 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19933. 1974.59 s [opt-env-conf-test] ]
  19934. 1974.59 s [opt-env-conf-test]
  19935. 1974.59 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  19936. 1974.59 s [opt-env-conf-test] @@ -80,63 +80,60 @@
  19937. 1974.59 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  19938. 1974.59 s [opt-env-conf-test] renderError ParseError {..} =
  19939. 1974.59 s [opt-env-conf-test] concat
  19940. 1974.59 s [opt-env-conf-test] [ case parseErrorMessage of
  19941. 1974.59 s [opt-env-conf-test] ParseErrorEmpty ->
  19942. 1974.59 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  19943. 1974.59 s [opt-env-conf-test] ParseErrorEmptySetting ->
  19944. 1974.59 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  19945. 1974.59 s [opt-env-conf-test] ParseErrorNoReaders ->
  19946. 1974.59 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  19947. 1974.59 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  19948. 1974.59 s [opt-env-conf-test] ]
  19949. 1974.59 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  19950. 1974.59 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  19951. 1974.59 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  19952. 1974.59 s [opt-env-conf-test] [ "Missing argument: "
  19953. 1974.59 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  19954. 1974.60 s [opt-env-conf-test] ]
  19955. 1974.60 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  19956. 1974.60 s [opt-env-conf-test] ["Failed to read argument: "]
  19957. 1974.60 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19958. 1974.60 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19959. 1974.60 s [opt-env-conf-test] ParseErrorMissingOption o ->
  19960. 1974.60 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19961. 1974.60 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  19962. 1974.60 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  19963. 1974.60 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  19964. 1974.60 s [opt-env-conf-test] ["Failed to read option: "]
  19965. 1974.60 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  19966. 1974.60 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19967. 1974.60 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  19968. 1974.60 s [opt-env-conf-test] ["Missing env var: "]
  19969. 1974.60 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19970. 1974.60 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  19971. 1974.60 s [opt-env-conf-test] ["Failed to read env var: "]
  19972. 1974.60 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  19973. 1974.60 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  19974. 1974.60 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  19975. 1974.60 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  19976. 1974.60 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  19977. 1974.60 s [opt-env-conf-test] ["Failed to parse configuration: "]
  19978. 1975.34 s [opt-env-conf-test] : maybe [] renderConfDoc md
  19979. 1975.34 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  19980. 1975.34 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  19981. 1975.34 s [opt-env-conf-test] - ["Missing command, available commands:"]
  19982. 1975.34 s [opt-env-conf-test] - : availableCommandsLines cs
  19983. 1975.34 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  19984. 1975.34 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  19985. 1975.34 s [opt-env-conf-test] [fore blue "available commands:"]
  19986. 1975.34 s [opt-env-conf-test] ]
  19987. 1975.34 s [opt-env-conf-test] ++ availableCommandsLines cs
  19988. 1975.34 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  19989. 1975.34 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."],
  19990. 1975.34 s [opt-env-conf-test] ["The following settings have been parsed:"]
  19991. 1975.34 s [opt-env-conf-test] ]
  19992. 1975.34 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  19993. 1975.34 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  19994. 1975.34 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  19995. 1975.34 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  19996. 1975.34 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  19997. 1975.34 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  19998. 1975.34 s [opt-env-conf-test] ]
  19999. 1975.34 s [opt-env-conf-test]
  20000. 1975.34 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
  20001. 1975.34 s [opt-env-conf-test] @@ -50,7 +50,7 @@
  20002. 1975.34 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  20003. 1975.35 s [opt-env-conf-test] errorMessageIsForgivable = \case
  20004. 1975.35 s [opt-env-conf-test] ParseErrorEmpty -> True
  20005. 1975.35 s [opt-env-conf-test] - ParseErrorEmptySetting -> False
  20006. 1975.35 s [opt-env-conf-test] + ParseErrorEmptySetting -> True
  20007. 1975.35 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20008. 1975.35 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20009. 1975.35 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20010. 1975.35 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20011. 1975.35 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20012. 1975.35 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20013. 1975.35 s [opt-env-conf-test] renderError ParseError {..} =
  20014. 1975.35 s [opt-env-conf-test] concat
  20015. 1975.35 s [opt-env-conf-test] [ case parseErrorMessage of
  20016. 1975.35 s [opt-env-conf-test] ParseErrorEmpty ->
  20017. 1975.35 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20018. 1975.35 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20019. 1975.35 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20020. 1975.35 s [opt-env-conf-test] ParseErrorNoReaders ->
  20021. 1975.35 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20022. 1975.35 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20023. 1975.35 s [opt-env-conf-test] ]
  20024. 1975.35 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20025. 1975.35 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20026. 1975.35 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20027. 1975.35 s [opt-env-conf-test] [ "Missing argument: "
  20028. 1975.35 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20029. 1975.35 s [opt-env-conf-test] ]
  20030. 1975.35 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20031. 1975.35 s [opt-env-conf-test] ["Failed to read argument: "]
  20032. 1975.35 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20033. 1975.35 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20034. 1975.35 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20035. 1975.35 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20036. 1975.35 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20037. 1975.35 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20038. 1975.35 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  20039. 1975.35 s [opt-env-conf-test] - ["Failed to read option: "]
  20040. 1975.35 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20041. 1975.35 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20042. 1975.35 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20043. 1975.35 s [opt-env-conf-test] ["Missing env var: "]
  20044. 1975.35 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20045. 1975.35 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20046. 1975.36 s [opt-env-conf-test] ["Failed to read env var: "]
  20047. 1975.36 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20048. 1975.36 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20049. 1975.36 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20050. 1975.36 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20051. 1975.36 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20052. 1975.51 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20053. 1975.52 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20054. 1975.52 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20055. 1975.52 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20056. 1975.52 s [opt-env-conf-test] ["Missing command, available commands:"]
  20057. 1975.52 s [opt-env-conf-test] : availableCommandsLines cs
  20058. 1975.52 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20059. 1975.52 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20060. 1975.52 s [opt-env-conf-test] [fore blue "available commands:"]
  20061. 1975.52 s [opt-env-conf-test] ]
  20062. 1975.52 s [opt-env-conf-test] ++ availableCommandsLines cs
  20063. 1975.52 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20064. 1975.52 s [opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  20065. 1975.52 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20066. 1975.52 s [opt-env-conf-test] ]
  20067. 1975.52 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20068. 1975.52 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20069. 1975.52 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20070. 1975.52 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20071. 1975.52 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20072. 1975.52 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20073. 1975.52 s [opt-env-conf-test] ]
  20074. 1975.52 s [opt-env-conf-test]
  20075. 1975.52 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
  20076. 1975.52 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  20077. 1975.52 s [opt-env-conf-test] ParseErrorEmpty -> True
  20078. 1975.52 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20079. 1975.52 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20080. 1975.52 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  20081. 1975.53 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> not (forgivable)
  20082. 1975.53 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20083. 1975.53 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20084. 1975.53 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20085. 1975.53 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20086. 1975.53 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20087. 1975.53 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20088. 1975.53 s [opt-env-conf-test] renderError ParseError {..} =
  20089. 1975.53 s [opt-env-conf-test] concat
  20090. 1975.53 s [opt-env-conf-test] [ case parseErrorMessage of
  20091. 1975.53 s [opt-env-conf-test] ParseErrorEmpty ->
  20092. 1975.53 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20093. 1975.53 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20094. 1975.53 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20095. 1975.53 s [opt-env-conf-test] ParseErrorNoReaders ->
  20096. 1975.53 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20097. 1975.53 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20098. 1975.53 s [opt-env-conf-test] ]
  20099. 1975.53 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20100. 1975.53 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20101. 1975.53 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20102. 1975.53 s [opt-env-conf-test] [ "Missing argument: "
  20103. 1975.53 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20104. 1975.53 s [opt-env-conf-test] ]
  20105. 1975.53 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20106. 1975.53 s [opt-env-conf-test] ["Failed to read argument: "]
  20107. 1975.53 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20108. 1975.53 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20109. 1975.53 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20110. 1975.53 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20111. 1975.53 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20112. 1975.53 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20113. 1975.53 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20114. 1975.53 s [opt-env-conf-test] ["Failed to read option: "]
  20115. 1975.53 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20116. 1975.53 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20117. 1975.53 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20118. 1975.53 s [opt-env-conf-test] ["Missing env var: "]
  20119. 1975.53 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20120. 1975.53 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20121. 1975.53 s [opt-env-conf-test] ["Failed to read env var: "]
  20122. 1975.53 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20123. 1975.53 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20124. 1975.53 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20125. 1975.53 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20126. 1975.53 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20127. 1978.84 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20128. 1978.84 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20129. 1978.92 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20130. 1978.92 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20131. 1978.92 s [opt-env-conf-test] ["Missing command, available commands:"]
  20132. 1978.92 s [opt-env-conf-test] : availableCommandsLines cs
  20133. 1978.92 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20134. 1978.92 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20135. 1978.92 s [opt-env-conf-test] [fore blue "available commands:"]
  20136. 1978.92 s [opt-env-conf-test] ]
  20137. 1978.92 s [opt-env-conf-test] ++ availableCommandsLines cs
  20138. 1978.92 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20139. 1978.92 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."],
  20140. 1978.92 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20141. 1978.92 s [opt-env-conf-test] ]
  20142. 1978.92 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20143. 1978.92 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20144. 1978.92 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20145. 1978.92 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20146. 1978.93 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20147. 1978.93 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20148. 1978.93 s [opt-env-conf-test] ]
  20149. 1978.93 s [opt-env-conf-test]
  20150. 1978.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
  20151. 1978.93 s [opt-env-conf-test] @@ -86,9 +86,8 @@
  20152. 1978.93 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20153. 1978.93 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20154. 1978.93 s [opt-env-conf-test] ParseErrorNoReaders ->
  20155. 1978.93 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20156. 1978.93 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20157. 1978.93 s [opt-env-conf-test] ]
  20158. 1978.93 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20159. 1978.93 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20160. 1978.93 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20161. 1978.93 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
  20162. 1978.93 s [opt-env-conf-test] @@ -54,7 +54,7 @@
  20163. 1978.93 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20164. 1978.93 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20165. 1978.93 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20166. 1978.93 s [opt-env-conf-test] - ParseErrorArgumentRead _ _ -> False
  20167. 1978.93 s [opt-env-conf-test] + ParseErrorArgumentRead _ _ -> True
  20168. 1978.93 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20169. 1978.93 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20170. 1978.93 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20171. 1978.93 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  20172. 1978.93 s [opt-env-conf-test] @@ -142,7 +142,4 @@
  20173. 1978.93 s [opt-env-conf-test]
  20174. 1978.93 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  20175. 1978.93 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  20176. 1978.93 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  20177. 1978.93 s [opt-env-conf-test] - ": ",
  20178. 1978.93 s [opt-env-conf-test] - helpChunk commandDocHelp
  20179. 1978.94 s [opt-env-conf-test] ]
  20180. 1978.94 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
  20181. 1978.94 s [opt-env-conf-test] @@ -56,7 +56,7 @@
  20182. 1978.94 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20183. 1978.94 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20184. 1978.94 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20185. 1978.94 s [opt-env-conf-test] - ParseErrorOptionRead _ _ -> False
  20186. 1978.94 s [opt-env-conf-test] + ParseErrorOptionRead _ _ -> True
  20187. 1978.94 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20188. 1978.94 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20189. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20190. 1978.94 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
  20191. 1978.94 s [opt-env-conf-test] @@ -142,7 +142,6 @@
  20192. 1978.94 s [opt-env-conf-test]
  20193. 1978.94 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  20194. 1978.94 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  20195. 1978.94 s [opt-env-conf-test] - [ commandChunk commandDocArgument,
  20196. 1978.94 s [opt-env-conf-test] ": ",
  20197. 1978.94 s [opt-env-conf-test] helpChunk commandDocHelp
  20198. 1978.94 s [opt-env-conf-test] ]
  20199. 1978.94 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
  20200. 1978.94 s [opt-env-conf-test] @@ -58,7 +58,7 @@
  20201. 1978.94 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20202. 1978.94 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20203. 1978.94 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20204. 1978.94 s [opt-env-conf-test] - ParseErrorMissingEnvVar _ -> True
  20205. 1978.94 s [opt-env-conf-test] + ParseErrorMissingEnvVar _ -> False
  20206. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20207. 1978.94 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20208. 1978.94 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20209. 1978.94 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
  20210. 1978.94 s [opt-env-conf-test] @@ -59,7 +59,7 @@
  20211. 1978.94 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20212. 1978.94 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20213. 1978.94 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20214. 1978.94 s [opt-env-conf-test] - ParseErrorEnvRead _ _ -> False
  20215. 1978.94 s [opt-env-conf-test] + ParseErrorEnvRead _ _ -> True
  20216. 1978.94 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20217. 1978.94 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20218. 1978.94 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20219. 1978.94 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
  20220. 1978.94 s [opt-env-conf-test] @@ -60,7 +60,7 @@
  20221. 1978.94 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20222. 1978.94 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20223. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20224. 1978.94 s [opt-env-conf-test] - ParseErrorMissingConfVal _ -> True
  20225. 1978.94 s [opt-env-conf-test] + ParseErrorMissingConfVal _ -> False
  20226. 1978.94 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20227. 1978.94 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20228. 1978.94 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20229. 1978.94 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
  20230. 1978.94 s [opt-env-conf-test] @@ -61,7 +61,7 @@
  20231. 1978.94 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20232. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20233. 1978.94 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20234. 1978.94 s [opt-env-conf-test] - ParseErrorConfigRead _ _ -> False
  20235. 1978.94 s [opt-env-conf-test] + ParseErrorConfigRead _ _ -> True
  20236. 1978.94 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20237. 1978.94 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20238. 1978.94 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20239. 1978.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20240. 1978.94 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20241. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20242. 1978.94 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20243. 1978.94 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20244. 1978.94 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20245. 1978.94 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ True
  20246. 1978.94 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20247. 1978.94 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20248. 1978.94 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20249. 1978.94 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20250. 1978.94 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20251. 1978.94 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20252. 1978.94 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20253. 1978.94 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20254. 1978.94 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20255. 1978.94 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  20256. 1978.94 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20257. 1978.95 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20258. 1978.95 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20259. 1978.95 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
  20260. 1978.95 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20261. 1978.95 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20262. 1978.95 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20263. 1978.95 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20264. 1978.95 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20265. 1978.95 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ not (null cs)
  20266. 1978.95 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20267. 1978.95 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20268. 1978.95 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20269. 1978.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20270. 1978.95 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20271. 1978.95 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20272. 1978.95 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20273. 1978.95 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20274. 1978.95 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20275. 1978.95 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  20276. 1978.95 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20277. 1978.95 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20278. 1978.95 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20279. 1978.95 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
  20280. 1978.95 s [opt-env-conf-test] @@ -57,7 +57,7 @@
  20281. 1978.95 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20282. 1978.95 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20283. 1978.95 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20284. 1978.95 s [opt-env-conf-test] - ParseErrorMissingOption _ -> True
  20285. 1978.95 s [opt-env-conf-test] + ParseErrorMissingOption _ -> False
  20286. 1978.95 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20287. 1978.95 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20288. 1978.95 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20289. 1978.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  20290. 1978.95 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  20291. 1978.95 s [opt-env-conf-test] ParseErrorEmpty -> True
  20292. 1978.95 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20293. 1978.95 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20294. 1978.95 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  20295. 1978.95 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> False
  20296. 1978.95 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20297. 1978.95 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20298. 1978.95 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20299. 1978.95 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
  20300. 1978.95 s [opt-env-conf-test] @@ -55,7 +55,7 @@
  20301. 1978.95 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20302. 1978.95 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20303. 1978.95 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20304. 1978.95 s [opt-env-conf-test] - ParseErrorMissingSwitch _ -> True
  20305. 1978.95 s [opt-env-conf-test] + ParseErrorMissingSwitch _ -> False
  20306. 1978.95 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20307. 1978.95 s [opt-env-conf-test] ParseErrorMissingOption _ -> True
  20308. 1978.95 s [opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
  20309. 1978.95 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
  20310. 1978.95 s [opt-env-conf-test] @@ -53,7 +53,7 @@
  20311. 1978.95 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20312. 1978.95 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20313. 1978.95 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20314. 1978.95 s [opt-env-conf-test] - ParseErrorMissingArgument _ -> True
  20315. 1978.95 s [opt-env-conf-test] + ParseErrorMissingArgument _ -> False
  20316. 1978.95 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20317. 1978.95 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20318. 1978.95 s [opt-env-conf-test] ParseErrorOptionRead _ _ -> False
  20319. 1978.95 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
  20320. 1978.95 s [opt-env-conf-test] @@ -52,7 +52,7 @@
  20321. 1978.95 s [opt-env-conf-test] ParseErrorEmpty -> True
  20322. 1978.95 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20323. 1978.95 s [opt-env-conf-test] ParseErrorNoReaders -> False
  20324. 1978.95 s [opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
  20325. 1978.95 s [opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> True
  20326. 1978.95 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20327. 1978.95 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20328. 1978.95 s [opt-env-conf-test] ParseErrorMissingSwitch _ -> True
  20329. 1978.95 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  20330. 1978.95 s [opt-env-conf-test] @@ -80,65 +80,8 @@
  20331. 1978.95 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20332. 1978.95 s [opt-env-conf-test] renderError ParseError {..} =
  20333. 1978.95 s [opt-env-conf-test] concat
  20334. 1978.95 s [opt-env-conf-test] - [ case parseErrorMessage of
  20335. 1978.95 s [opt-env-conf-test] - ParseErrorEmpty ->
  20336. 1978.95 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20337. 1978.95 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20338. 1978.95 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20339. 1978.95 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20340. 1978.95 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20341. 1978.95 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20342. 1978.95 s [opt-env-conf-test] - ]
  20343. 1978.95 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  20344. 1978.95 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  20345. 1978.95 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  20346. 1978.95 s [opt-env-conf-test] - [ "Missing argument: "
  20347. 1978.95 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  20348. 1978.95 s [opt-env-conf-test] - ]
  20349. 1978.95 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  20350. 1978.95 s [opt-env-conf-test] - ["Failed to read argument: "]
  20351. 1978.95 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20352. 1978.95 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20353. 1978.95 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  20354. 1978.95 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20355. 1978.96 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20356. 1978.96 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20357. 1978.96 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  20358. 1978.96 s [opt-env-conf-test] - ["Failed to read option: "]
  20359. 1978.96 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20360. 1978.96 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20361. 1978.96 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  20362. 1978.96 s [opt-env-conf-test] - ["Missing env var: "]
  20363. 1978.96 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20364. 1978.96 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  20365. 1978.96 s [opt-env-conf-test] - ["Failed to read env var: "]
  20366. 1978.96 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20367. 1980.10 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20368. 1980.10 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  20369. 1980.10 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  20370. 1980.10 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  20371. 1980.10 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  20372. 1980.10 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  20373. 1980.10 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  20374. 1980.10 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  20375. 1980.10 s [opt-env-conf-test] - ["Missing command, available commands:"]
  20376. 1980.10 s [opt-env-conf-test] - : availableCommandsLines cs
  20377. 1980.10 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  20378. 1980.10 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20379. 1980.10 s [opt-env-conf-test] - [fore blue "available commands:"]
  20380. 1980.10 s [opt-env-conf-test] - ]
  20381. 1980.10 s [opt-env-conf-test] - ++ availableCommandsLines cs
  20382. 1980.10 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  20383. 1980.10 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."],
  20384. 1980.10 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  20385. 1980.10 s [opt-env-conf-test] - ]
  20386. 1980.10 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  20387. 1980.10 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  20388. 1980.10 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20389. 1980.10 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20390. 1980.10 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20391. 1980.10 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20392. 1980.10 s [opt-env-conf-test] ]
  20393. 1980.10 s [opt-env-conf-test]
  20394. 1980.10 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  20395. 1980.10 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  20396. 1980.10 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20397. 1980.10 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20398. 1980.10 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20399. 1980.11 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20400. 1980.11 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20401. 1980.11 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20402. 1980.11 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20403. 1980.11 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20404. 1980.11 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20405. 1980.11 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20406. 1980.11 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
  20407. 1980.11 s [opt-env-conf-test] @@ -51,7 +51,7 @@
  20408. 1980.11 s [opt-env-conf-test] errorMessageIsForgivable = \case
  20409. 1980.11 s [opt-env-conf-test] ParseErrorEmpty -> True
  20410. 1980.11 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  20411. 1980.11 s [opt-env-conf-test] - ParseErrorNoReaders -> False
  20412. 1980.11 s [opt-env-conf-test] + ParseErrorNoReaders -> True
  20413. 1980.11 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  20414. 1980.11 s [opt-env-conf-test] ParseErrorMissingArgument _ -> True
  20415. 1980.11 s [opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
  20416. 1980.11 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
  20417. 1980.11 s [opt-env-conf-test] @@ -80,65 +80,7 @@
  20418. 1980.11 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20419. 1980.11 s [opt-env-conf-test] renderError ParseError {..} =
  20420. 1980.11 s [opt-env-conf-test] concat
  20421. 1980.11 s [opt-env-conf-test] - [ case parseErrorMessage of
  20422. 1980.11 s [opt-env-conf-test] - ParseErrorEmpty ->
  20423. 1980.11 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20424. 1980.11 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20425. 1980.11 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20426. 1980.11 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20427. 1980.11 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20428. 1980.11 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20429. 1980.11 s [opt-env-conf-test] - ]
  20430. 1980.11 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  20431. 1980.11 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  20432. 1980.11 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  20433. 1980.11 s [opt-env-conf-test] - [ "Missing argument: "
  20434. 1980.11 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  20435. 1980.11 s [opt-env-conf-test] - ]
  20436. 1980.11 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  20437. 1980.11 s [opt-env-conf-test] - ["Failed to read argument: "]
  20438. 1980.11 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20439. 1980.11 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20440. 1980.11 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  20441. 1980.11 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20442. 1980.11 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20443. 1980.11 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20444. 1980.11 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  20445. 1980.11 s [opt-env-conf-test] - ["Failed to read option: "]
  20446. 1980.11 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  20447. 1980.11 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20448. 1980.11 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  20449. 1980.11 s [opt-env-conf-test] - ["Missing env var: "]
  20450. 1980.11 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20451. 1980.11 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  20452. 1980.11 s [opt-env-conf-test] - ["Failed to read env var: "]
  20453. 1980.11 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  20454. 1992.78 s [opt-env-conf-test] - Killed: 1235
  20455. 1992.78 s [opt-env-conf-test] (of which timed out: 1)
  20456. 1992.81 s [opt-env-conf-test] Survived: 294
  20457. 1992.81 s [opt-env-conf-test] Uncovered: 381
  20458. 1992.81 s [opt-env-conf-test]
  20459. 1992.81 s [opt-env-conf-test] Timed-out mutations:
  20460. 1992.81 s [opt-env-conf-test]
  20461. 1992.81 s [opt-env-conf-test] [timed out after 30.191452s]
  20462. 1992.81 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
  20463. 1992.81 s [opt-env-conf-test] @@ -269,7 +269,7 @@
  20464. 1992.81 s [opt-env-conf-test] Nothing -> pure Nothing
  20465. 1992.81 s [opt-env-conf-test] Just os -> do
  20466. 1992.81 s [opt-env-conf-test] after <- get
  20467. 1992.81 s [opt-env-conf-test] - if after == before
  20468. 1992.81 s [opt-env-conf-test] + if False
  20469. 1992.81 s [opt-env-conf-test] then -- State did not advance; return these completions.
  20470. 1992.81 s [opt-env-conf-test] pure $ Just os
  20471. 1992.81 s [opt-env-conf-test] else -- State advanced: something was consumed. Try the
  20472. 1992.81 s [opt-env-conf-test]
  20473. 1992.81 s [opt-env-conf-test] Surviving mutations:
  20474. 1992.81 s [opt-env-conf-test]
  20475. 1992.81 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
  20476. 1992.81 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  20477. 1992.81 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20478. 1992.81 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20479. 1992.81 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  20480. 1992.81 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  20481. 1992.81 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  20482. 1992.81 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20483. 1992.81 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20484. 1992.81 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  20485. 1992.81 s [opt-env-conf-test]
  20486. 1992.81 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
  20487. 1992.81 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20488. 1992.81 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20489. 1992.81 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20490. 1992.81 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20491. 1992.81 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20492. 1992.81 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  20493. 1992.81 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20494. 1992.81 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20495. 1992.81 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20496. 1992.81 s [opt-env-conf-test]
  20497. 1992.81 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
  20498. 1992.81 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20499. 1992.81 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  20500. 1992.81 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  20501. 1992.81 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  20502. 1992.81 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  20503. 1992.81 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  20504. 1992.81 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  20505. 1992.81 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  20506. 1992.81 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  20507. 1992.81 s [opt-env-conf-test]
  20508. 1992.81 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20509. 1992.81 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20510. 1992.81 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20511. 1992.81 s [opt-env-conf-test] renderError ParseError {..} =
  20512. 1992.81 s [opt-env-conf-test] concat
  20513. 1992.81 s [opt-env-conf-test] [ case parseErrorMessage of
  20514. 1992.81 s [opt-env-conf-test] ParseErrorEmpty ->
  20515. 1992.81 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20516. 1992.81 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20517. 1992.81 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20518. 1992.81 s [opt-env-conf-test] ParseErrorNoReaders ->
  20519. 1992.81 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20520. 1992.81 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20521. 1992.81 s [opt-env-conf-test] ]
  20522. 1992.81 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20523. 1992.81 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20524. 1992.81 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20525. 1992.81 s [opt-env-conf-test] [ "Missing argument: "
  20526. 1992.81 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20527. 1992.81 s [opt-env-conf-test] ]
  20528. 1992.82 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20529. 1992.82 s [opt-env-conf-test] ["Failed to read argument: "]
  20530. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20531. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20532. 1992.82 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20533. 1992.82 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20534. 1992.82 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20535. 1992.82 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20536. 1992.82 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20537. 1992.82 s [opt-env-conf-test] ["Failed to read option: "]
  20538. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20539. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20540. 1992.82 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20541. 1992.82 s [opt-env-conf-test] ["Missing env var: "]
  20542. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20543. 1992.82 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20544. 1992.82 s [opt-env-conf-test] ["Failed to read env var: "]
  20545. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20546. 1992.82 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20547. 1992.82 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20548. 1992.82 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20549. 1992.82 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20550. 1992.82 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20551. 1992.82 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20552. 1992.82 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20553. 1992.82 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20554. 1992.82 s [opt-env-conf-test] ["Missing command, available commands:"]
  20555. 1992.82 s [opt-env-conf-test] : availableCommandsLines cs
  20556. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20557. 1992.82 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20558. 1992.82 s [opt-env-conf-test] [fore blue "available commands:"]
  20559. 1992.82 s [opt-env-conf-test] ]
  20560. 1992.82 s [opt-env-conf-test] ++ availableCommandsLines cs
  20561. 1992.82 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20562. 1992.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."],
  20563. 1992.82 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20564. 1992.82 s [opt-env-conf-test] ]
  20565. 1992.82 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20566. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20567. 1992.82 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20568. 1992.82 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  20569. 1992.82 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20570. 1992.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20571. 1992.82 s [opt-env-conf-test] ]
  20572. 1992.82 s [opt-env-conf-test]
  20573. 1992.82 s [opt-env-conf-test]
  20574. 1992.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20575. 1992.82 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20576. 1992.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20577. 1992.82 s [opt-env-conf-test] renderError ParseError {..} =
  20578. 1992.82 s [opt-env-conf-test] concat
  20579. 1992.82 s [opt-env-conf-test] [ case parseErrorMessage of
  20580. 1992.82 s [opt-env-conf-test] ParseErrorEmpty ->
  20581. 1992.82 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20582. 1992.82 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20583. 1992.82 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20584. 1992.82 s [opt-env-conf-test] ParseErrorNoReaders ->
  20585. 1992.82 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20586. 1992.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20587. 1992.82 s [opt-env-conf-test] ]
  20588. 1992.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20589. 1992.82 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20590. 1992.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20591. 1992.82 s [opt-env-conf-test] [ "Missing argument: "
  20592. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20593. 1992.82 s [opt-env-conf-test] ]
  20594. 1992.82 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20595. 1992.82 s [opt-env-conf-test] ["Failed to read argument: "]
  20596. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20597. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20598. 1992.82 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20599. 1992.82 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20600. 1992.82 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20601. 1992.82 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20602. 1992.82 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20603. 1992.82 s [opt-env-conf-test] ["Failed to read option: "]
  20604. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20605. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20606. 1992.82 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20607. 1992.82 s [opt-env-conf-test] ["Missing env var: "]
  20608. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20609. 1992.82 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20610. 1992.82 s [opt-env-conf-test] ["Failed to read env var: "]
  20611. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20612. 1992.82 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20613. 1992.82 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20614. 1992.82 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20615. 1992.82 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  20616. 1992.82 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  20617. 1992.82 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  20618. 1992.82 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  20619. 1992.82 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20620. 1992.82 s [opt-env-conf-test] ["Missing command, available commands:"]
  20621. 1992.82 s [opt-env-conf-test] : availableCommandsLines cs
  20622. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20623. 1992.82 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20624. 1992.82 s [opt-env-conf-test] [fore blue "available commands:"]
  20625. 1992.82 s [opt-env-conf-test] ]
  20626. 1992.82 s [opt-env-conf-test] ++ availableCommandsLines cs
  20627. 1992.82 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20628. 1992.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."],
  20629. 1992.82 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20630. 1992.82 s [opt-env-conf-test] ]
  20631. 1992.82 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20632. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20633. 1992.82 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20634. 1992.82 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20635. 1992.82 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20636. 1992.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20637. 1992.82 s [opt-env-conf-test] ]
  20638. 1992.82 s [opt-env-conf-test]
  20639. 1992.82 s [opt-env-conf-test]
  20640. 1992.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20641. 1992.82 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20642. 1992.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20643. 1992.82 s [opt-env-conf-test] renderError ParseError {..} =
  20644. 1992.82 s [opt-env-conf-test] concat
  20645. 1992.82 s [opt-env-conf-test] [ case parseErrorMessage of
  20646. 1992.82 s [opt-env-conf-test] ParseErrorEmpty ->
  20647. 1992.82 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20648. 1992.82 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20649. 1992.82 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20650. 1992.82 s [opt-env-conf-test] ParseErrorNoReaders ->
  20651. 1992.82 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20652. 1992.82 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20653. 1992.82 s [opt-env-conf-test] ]
  20654. 1992.82 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20655. 1992.82 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20656. 1992.82 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20657. 1992.82 s [opt-env-conf-test] [ "Missing argument: "
  20658. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20659. 1992.82 s [opt-env-conf-test] ]
  20660. 1992.82 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20661. 1992.82 s [opt-env-conf-test] ["Failed to read argument: "]
  20662. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20663. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20664. 1992.82 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20665. 1992.82 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20666. 1992.82 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20667. 1992.82 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20668. 1992.82 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20669. 1992.82 s [opt-env-conf-test] ["Failed to read option: "]
  20670. 1992.82 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20671. 1992.82 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20672. 1992.82 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20673. 1992.82 s [opt-env-conf-test] ["Missing env var: "]
  20674. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20675. 1992.82 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20676. 1992.82 s [opt-env-conf-test] ["Failed to read env var: "]
  20677. 1992.82 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20678. 1992.82 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20679. 1992.82 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  20680. 1992.82 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  20681. 1992.82 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20682. 1992.82 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20683. 1992.82 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20684. 1992.82 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20685. 1992.82 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20686. 1992.82 s [opt-env-conf-test] ["Missing command, available commands:"]
  20687. 1992.82 s [opt-env-conf-test] : availableCommandsLines cs
  20688. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20689. 1992.82 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20690. 1992.82 s [opt-env-conf-test] [fore blue "available commands:"]
  20691. 1992.82 s [opt-env-conf-test] ]
  20692. 1992.82 s [opt-env-conf-test] ++ availableCommandsLines cs
  20693. 1992.82 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20694. 1992.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."],
  20695. 1992.82 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20696. 1992.82 s [opt-env-conf-test] ]
  20697. 1992.82 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20698. 1992.82 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20699. 1992.82 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20700. 1992.82 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20701. 1992.82 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20702. 1992.82 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20703. 1992.82 s [opt-env-conf-test] ]
  20704. 1992.82 s [opt-env-conf-test]
  20705. 1992.82 s [opt-env-conf-test]
  20706. 1992.82 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20707. 1992.82 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20708. 1992.82 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20709. 1992.82 s [opt-env-conf-test] renderError ParseError {..} =
  20710. 1992.82 s [opt-env-conf-test] concat
  20711. 1992.82 s [opt-env-conf-test] [ case parseErrorMessage of
  20712. 1992.82 s [opt-env-conf-test] ParseErrorEmpty ->
  20713. 1992.82 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20714. 1992.83 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20715. 1992.83 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20716. 1992.83 s [opt-env-conf-test] ParseErrorNoReaders ->
  20717. 1992.83 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20718. 1992.83 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20719. 1992.83 s [opt-env-conf-test] ]
  20720. 1992.83 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20721. 1992.83 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20722. 1992.83 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20723. 1992.83 s [opt-env-conf-test] [ "Missing argument: "
  20724. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20725. 1992.83 s [opt-env-conf-test] ]
  20726. 1992.83 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20727. 1992.83 s [opt-env-conf-test] ["Failed to read argument: "]
  20728. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20729. 1992.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20730. 1992.83 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20731. 1992.83 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20732. 1992.83 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  20733. 1992.83 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20734. 1992.83 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20735. 1992.83 s [opt-env-conf-test] ["Failed to read option: "]
  20736. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20737. 1992.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20738. 1992.83 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20739. 1992.83 s [opt-env-conf-test] ["Missing env var: "]
  20740. 1992.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20741. 1992.83 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20742. 1992.83 s [opt-env-conf-test] ["Failed to read env var: "]
  20743. 1992.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20744. 1992.83 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20745. 1992.83 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20746. 1992.83 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20747. 1992.83 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20748. 1992.83 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20749. 1992.83 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20750. 1992.83 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20751. 1992.83 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20752. 1992.83 s [opt-env-conf-test] ["Missing command, available commands:"]
  20753. 1992.83 s [opt-env-conf-test] : availableCommandsLines cs
  20754. 1992.83 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20755. 1992.83 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20756. 1992.83 s [opt-env-conf-test] [fore blue "available commands:"]
  20757. 1992.83 s [opt-env-conf-test] ]
  20758. 1992.83 s [opt-env-conf-test] ++ availableCommandsLines cs
  20759. 1992.83 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20760. 1992.83 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."],
  20761. 1992.83 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20762. 1992.83 s [opt-env-conf-test] ]
  20763. 1992.83 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20764. 1992.83 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20765. 1992.83 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20766. 1992.83 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20767. 1992.83 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20768. 1992.83 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20769. 1992.83 s [opt-env-conf-test] ]
  20770. 1992.83 s [opt-env-conf-test]
  20771. 1992.83 s [opt-env-conf-test]
  20772. 1992.83 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20773. 1992.83 s [opt-env-conf-test] @@ -80,63 +80,59 @@
  20774. 1992.83 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20775. 1992.83 s [opt-env-conf-test] renderError ParseError {..} =
  20776. 1992.83 s [opt-env-conf-test] concat
  20777. 1992.83 s [opt-env-conf-test] [ case parseErrorMessage of
  20778. 1992.83 s [opt-env-conf-test] ParseErrorEmpty ->
  20779. 1992.83 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20780. 1992.83 s [opt-env-conf-test] ParseErrorEmptySetting ->
  20781. 1992.83 s [opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
  20782. 1992.83 s [opt-env-conf-test] - ParseErrorNoReaders ->
  20783. 1992.83 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  20784. 1992.83 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  20785. 1992.83 s [opt-env-conf-test] - ]
  20786. 1992.83 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20787. 1992.83 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20788. 1992.83 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20789. 1992.83 s [opt-env-conf-test] [ "Missing argument: "
  20790. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20791. 1992.83 s [opt-env-conf-test] ]
  20792. 1992.83 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20793. 1992.83 s [opt-env-conf-test] ["Failed to read argument: "]
  20794. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20795. 1992.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20796. 1992.83 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20797. 1992.83 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20798. 1992.83 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20799. 1992.83 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20800. 1992.83 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20801. 1992.83 s [opt-env-conf-test] ["Failed to read option: "]
  20802. 1992.83 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20803. 1992.83 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20804. 1992.83 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20805. 1992.83 s [opt-env-conf-test] ["Missing env var: "]
  20806. 1992.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20807. 1992.83 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20808. 1992.83 s [opt-env-conf-test] ["Failed to read env var: "]
  20809. 1992.83 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20810. 1992.83 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20811. 1992.83 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20812. 1992.83 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20813. 1992.83 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20814. 1992.83 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20815. 1992.83 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20816. 1992.83 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20817. 1992.83 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20818. 1992.83 s [opt-env-conf-test] ["Missing command, available commands:"]
  20819. 1992.84 s [opt-env-conf-test] : availableCommandsLines cs
  20820. 1992.84 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20821. 1992.84 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20822. 1992.84 s [opt-env-conf-test] [fore blue "available commands:"]
  20823. 1992.84 s [opt-env-conf-test] ]
  20824. 1992.84 s [opt-env-conf-test] ++ availableCommandsLines cs
  20825. 1992.84 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20826. 1992.84 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."],
  20827. 1992.84 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20828. 1992.84 s [opt-env-conf-test] ]
  20829. 1992.84 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20830. 1992.84 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20831. 1992.84 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20832. 1992.84 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20833. 1992.84 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20834. 1992.84 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20835. 1992.84 s [opt-env-conf-test] ]
  20836. 1992.84 s [opt-env-conf-test]
  20837. 1992.84 s [opt-env-conf-test]
  20838. 1992.84 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  20839. 1992.84 s [opt-env-conf-test] @@ -80,63 +80,61 @@
  20840. 1992.84 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  20841. 1992.84 s [opt-env-conf-test] renderError ParseError {..} =
  20842. 1992.84 s [opt-env-conf-test] concat
  20843. 1992.84 s [opt-env-conf-test] [ case parseErrorMessage of
  20844. 1992.84 s [opt-env-conf-test] ParseErrorEmpty ->
  20845. 1992.84 s [opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
  20846. 1992.84 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  20847. 1992.84 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  20848. 1992.84 s [opt-env-conf-test] ParseErrorNoReaders ->
  20849. 1992.84 s [opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
  20850. 1992.84 s [opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
  20851. 1992.84 s [opt-env-conf-test] ]
  20852. 1992.84 s [opt-env-conf-test] ParseErrorCheckFailed _ err ->
  20853. 1992.84 s [opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
  20854. 1992.84 s [opt-env-conf-test] ParseErrorMissingArgument o ->
  20855. 1992.84 s [opt-env-conf-test] [ "Missing argument: "
  20856. 1992.84 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
  20857. 1992.84 s [opt-env-conf-test] ]
  20858. 1992.84 s [opt-env-conf-test] ParseErrorArgumentRead md errs ->
  20859. 1992.84 s [opt-env-conf-test] ["Failed to read argument: "]
  20860. 1992.84 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20861. 1992.84 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20862. 1992.84 s [opt-env-conf-test] ParseErrorMissingOption o ->
  20863. 1992.84 s [opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20864. 1992.84 s [opt-env-conf-test] ParseErrorMissingSwitch o ->
  20865. 1992.84 s [opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  20866. 1992.84 s [opt-env-conf-test] ParseErrorOptionRead md errs ->
  20867. 1992.84 s [opt-env-conf-test] ["Failed to read option: "]
  20868. 1992.84 s [opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
  20869. 1992.84 s [opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20870. 1992.84 s [opt-env-conf-test] ParseErrorMissingEnvVar md ->
  20871. 1992.84 s [opt-env-conf-test] ["Missing env var: "]
  20872. 1992.84 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20873. 1992.84 s [opt-env-conf-test] ParseErrorEnvRead md errs ->
  20874. 1992.84 s [opt-env-conf-test] ["Failed to read env var: "]
  20875. 1992.84 s [opt-env-conf-test] : maybe [] renderEnvDoc md
  20876. 1992.84 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  20877. 1992.84 s [opt-env-conf-test] ParseErrorMissingConfVal md ->
  20878. 1992.84 s [opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
  20879. 1992.84 s [opt-env-conf-test] ParseErrorConfigRead md s ->
  20880. 1992.84 s [opt-env-conf-test] ["Failed to parse configuration: "]
  20881. 1992.84 s [opt-env-conf-test] : maybe [] renderConfDoc md
  20882. 1992.84 s [opt-env-conf-test] ++ [[chunk $ T.pack s]]
  20883. 1992.84 s [opt-env-conf-test] ParseErrorMissingCommand cs ->
  20884. 1992.84 s [opt-env-conf-test] ["Missing command, available commands:"]
  20885. 1992.84 s [opt-env-conf-test] : availableCommandsLines cs
  20886. 1992.84 s [opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
  20887. 1992.84 s [opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  20888. 1992.84 s [opt-env-conf-test] [fore blue "available commands:"]
  20889. 1992.84 s [opt-env-conf-test] ]
  20890. 1992.84 s [opt-env-conf-test] ++ availableCommandsLines cs
  20891. 1992.84 s [opt-env-conf-test] ParseErrorAllOrNothing locs ->
  20892. 1992.84 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."],
  20893. 1992.84 s [opt-env-conf-test] ["The following settings have been parsed:"]
  20894. 1992.84 s [opt-env-conf-test] ]
  20895. 1992.84 s [opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
  20896. 1992.84 s [opt-env-conf-test] ParseErrorUnrecognised leftovers ->
  20897. 1992.84 s [opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  20898. 1992.84 s [opt-env-conf-test] ParseErrorMissingCapability cap ->
  20899. 1992.84 s [opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
  20900. 1992.84 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  20901. 1992.84 s [opt-env-conf-test] ]
  20902. 1992.84 s [opt-env-conf-test]
  20903. 1992.84 s [opt-env-conf-test]
  20904. 1992.84 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  20905. 1992.84 s [opt-env-conf-test] @@ -60,14 +60,13 @@
  20906. 1992.84 s [opt-env-conf-test] instance Validity Arg where
  20907. 1992.84 s [opt-env-conf-test] validate arg =
  20908. 1992.84 s [opt-env-conf-test] mconcat
  20909. 1992.84 s [opt-env-conf-test] - [ genericValidate arg,
  20910. 1992.84 s [opt-env-conf-test] case arg of
  20911. 1992.84 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20912. 1992.84 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20913. 1992.84 s [opt-env-conf-test] ('-' : _) -> False
  20914. 1992.84 s [opt-env-conf-test] _ -> True
  20915. 1992.84 s [opt-env-conf-test] _ -> valid
  20916. 1992.84 s [opt-env-conf-test] ]
  20917. 1992.84 s [opt-env-conf-test]
  20918. 1992.84 s [opt-env-conf-test] instance IsString Arg where
  20919. 1992.84 s [opt-env-conf-test] fromString = parseArg
  20920. 1992.84 s [opt-env-conf-test]
  20921. 1992.84 s [opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
  20922. 1992.84 s [opt-env-conf-test] @@ -60,14 +60,7 @@
  20923. 1992.84 s [opt-env-conf-test] instance Validity Arg where
  20924. 1992.84 s [opt-env-conf-test] validate arg =
  20925. 1992.84 s [opt-env-conf-test] mconcat
  20926. 1992.84 s [opt-env-conf-test] - [ genericValidate arg,
  20927. 1992.84 s [opt-env-conf-test] - case arg of
  20928. 1992.84 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20929. 1992.84 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20930. 1992.84 s [opt-env-conf-test] - ('-' : _) -> False
  20931. 1992.84 s [opt-env-conf-test] - _ -> True
  20932. 1992.84 s [opt-env-conf-test] - _ -> valid
  20933. 1992.84 s [opt-env-conf-test] ]
  20934. 1992.84 s [opt-env-conf-test]
  20935. 1992.84 s [opt-env-conf-test] instance IsString Arg where
  20936. 1992.84 s [opt-env-conf-test] fromString = parseArg
  20937. 1992.84 s [opt-env-conf-test]
  20938. 1992.84 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  20939. 1992.84 s [opt-env-conf-test] @@ -61,12 +61,9 @@
  20940. 1992.84 s [opt-env-conf-test] validate arg =
  20941. 1992.84 s [opt-env-conf-test] mconcat
  20942. 1992.84 s [opt-env-conf-test] [ genericValidate arg,
  20943. 1992.84 s [opt-env-conf-test] case arg of
  20944. 1992.84 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20945. 1992.84 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20946. 1992.84 s [opt-env-conf-test] - ('-' : _) -> False
  20947. 1992.84 s [opt-env-conf-test] - _ -> True
  20948. 1992.84 s [opt-env-conf-test] _ -> valid
  20949. 1992.84 s [opt-env-conf-test] ]
  20950. 1992.84 s [opt-env-conf-test]
  20951. 1992.84 s [opt-env-conf-test] instance IsString Arg where
  20952. 1992.84 s [opt-env-conf-test]
  20953. 1992.84 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
  20954. 1992.84 s [opt-env-conf-test] @@ -61,12 +61,11 @@
  20955. 1992.84 s [opt-env-conf-test] validate arg =
  20956. 1992.84 s [opt-env-conf-test] mconcat
  20957. 1992.84 s [opt-env-conf-test] [ genericValidate arg,
  20958. 1992.84 s [opt-env-conf-test] case arg of
  20959. 1992.84 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20960. 1992.84 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20961. 1992.84 s [opt-env-conf-test] ('-' : _) -> False
  20962. 1992.84 s [opt-env-conf-test] _ -> True
  20963. 1992.84 s [opt-env-conf-test] _ -> valid
  20964. 1992.84 s [opt-env-conf-test] ]
  20965. 1992.85 s [opt-env-conf-test]
  20966. 1992.85 s [opt-env-conf-test] instance IsString Arg where
  20967. 1992.85 s [opt-env-conf-test]
  20968. 1992.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
  20969. 1992.85 s [opt-env-conf-test] @@ -63,9 +63,8 @@
  20970. 1992.85 s [opt-env-conf-test] [ genericValidate arg,
  20971. 1992.85 s [opt-env-conf-test] case arg of
  20972. 1992.85 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20973. 1992.85 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  20974. 1992.85 s [opt-env-conf-test] - ('-' : _) -> False
  20975. 1992.85 s [opt-env-conf-test] _ -> True
  20976. 1992.85 s [opt-env-conf-test] _ -> valid
  20977. 1992.85 s [opt-env-conf-test] ]
  20978. 1992.85 s [opt-env-conf-test]
  20979. 1992.85 s [opt-env-conf-test]
  20980. 1992.85 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
  20981. 1992.85 s [opt-env-conf-test] @@ -63,9 +63,9 @@
  20982. 1992.85 s [opt-env-conf-test] [ genericValidate arg,
  20983. 1992.85 s [opt-env-conf-test] case arg of
  20984. 1992.85 s [opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20985. 1992.85 s [opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
  20986. 1992.85 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
  20987. 1992.85 s [opt-env-conf-test] ('-' : _) -> False
  20988. 1992.85 s [opt-env-conf-test] _ -> True
  20989. 1992.85 s [opt-env-conf-test] _ -> valid
  20990. 1992.85 s [opt-env-conf-test] ]
  20991. 1992.85 s [opt-env-conf-test]
  20992. 1992.85 s [opt-env-conf-test]
  20993. 1992.85 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
  20994. 1992.85 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  20995. 1992.85 s [opt-env-conf-test] mconcat
  20996. 1992.85 s [opt-env-conf-test] [ genericValidate arg,
  20997. 1992.85 s [opt-env-conf-test] case arg of
  20998. 1992.85 s [opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
  20999. 1992.85 s [opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ True
  21000. 1992.85 s [opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
  21001. 1992.85 s [opt-env-conf-test] ('-' : _) -> False
  21002. 1992.85 s [opt-env-conf-test] _ -> True
  21003. 1992.85 s [opt-env-conf-test]
  21004. 1992.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
  21005. 1992.85 s [opt-env-conf-test] @@ -396,10 +396,9 @@
  21006. 1992.85 s [opt-env-conf-test] instance Validity Dashed
  21007. 1992.85 s [opt-env-conf-test]
  21008. 1992.85 s [opt-env-conf-test] instance IsString Dashed where
  21009. 1992.85 s [opt-env-conf-test] fromString s = case fromString s of
  21010. 1992.85 s [opt-env-conf-test] ArgDashed True cs -> DashedLong cs
  21011. 1992.85 s [opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
  21012. 1992.85 s [opt-env-conf-test] - _ -> error "Invalid dashed"
  21013. 1992.85 s [opt-env-conf-test]
  21014. 1992.85 s [opt-env-conf-test] renderDashed :: Dashed -> String
  21015. 1992.85 s [opt-env-conf-test] renderDashed = \case
  21016. 1992.85 s [opt-env-conf-test]
  21017. 1992.85 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
  21018. 1992.85 s [opt-env-conf-test] @@ -245,7 +245,7 @@
  21019. 1992.85 s [opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
  21020. 1992.85 s [opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
  21021. 1992.85 s [opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
  21022. 1992.85 s [opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
  21023. 1992.85 s [opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed False cs') : Dead : rest')
  21024. 1992.85 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21025. 1992.85 s [opt-env-conf-test] _ -> second (Live k :) <$> go rest
  21026. 1992.85 s [opt-env-conf-test]
  21027. 1992.85 s [opt-env-conf-test]
  21028. 1992.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
  21029. 1992.85 s [opt-env-conf-test] @@ -149,34 +149,33 @@
  21030. 1992.85 s [opt-env-conf-test] -- A single dash is always an argument
  21031. 1992.85 s [opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
  21032. 1992.85 s [opt-env-conf-test] -- Bare double-dash
  21033. 1992.85 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  21034. 1992.85 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  21035. 1992.85 s [opt-env-conf-test] [] -> [(Just "--", consumed)]
  21036. 1992.85 s [opt-env-conf-test] -- If there's only a dead argument after the double dash, that
  21037. 1992.85 s [opt-env-conf-test] -- means we've been parsing bare args and are now done.
  21038. 1992.85 s [opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
  21039. 1992.85 s [opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
  21040. 1992.85 s [opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
  21041. 1992.85 s [opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
  21042. 1992.85 s [opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
  21043. 1992.85 s [opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
  21044. 1992.85 s [opt-env-conf-test] -- pop the args as they come.
  21045. 1992.85 s [opt-env-conf-test] _ ->
  21046. 1992.85 s [opt-env-conf-test] let go = \case
  21047. 1992.85 s [opt-env-conf-test] [] -> Nothing
  21048. 1992.85 s [opt-env-conf-test] (Dead : rest) -> go rest
  21049. 1992.85 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21050. 1992.85 s [opt-env-conf-test] in case go afters of
  21051. 1992.85 s [opt-env-conf-test] Nothing -> [(Nothing, as)]
  21052. 1992.85 s [opt-env-conf-test] Just (firstLive, rest) ->
  21053. 1992.85 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21054. 1992.85 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21055. 1992.85 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21056. 1992.85 s [opt-env-conf-test] -- arguments.
  21057. 1992.85 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21058. 1992.85 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21059. 1992.85 s [opt-env-conf-test] )
  21060. 1992.85 s [opt-env-conf-test] ]
  21061. 1992.85 s [opt-env-conf-test] ArgDashed {} ->
  21062. 1992.85 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21063. 1992.85 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21064. 1992.85 s [opt-env-conf-test]
  21065. 1992.85 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
  21066. 1992.85 s [opt-env-conf-test] @@ -166,17 +166,16 @@
  21067. 1992.85 s [opt-env-conf-test] [] -> Nothing
  21068. 1992.85 s [opt-env-conf-test] (Dead : rest) -> go rest
  21069. 1992.85 s [opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
  21070. 1992.85 s [opt-env-conf-test] in case go afters of
  21071. 1992.85 s [opt-env-conf-test] - Nothing -> [(Nothing, as)]
  21072. 1992.85 s [opt-env-conf-test] Just (firstLive, rest) ->
  21073. 1992.85 s [opt-env-conf-test] -- We need to leave the dead argument there so that
  21074. 1992.85 s [opt-env-conf-test] -- we don't consume the double-dash as an argument
  21075. 1992.85 s [opt-env-conf-test] -- after consuming all the arguments after it as bare
  21076. 1992.85 s [opt-env-conf-test] -- arguments.
  21077. 1992.86 s [opt-env-conf-test] [ ( Just $ renderArg firstLive,
  21078. 1992.86 s [opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
  21079. 1992.86 s [opt-env-conf-test] )
  21080. 1992.86 s [opt-env-conf-test] ]
  21081. 1992.86 s [opt-env-conf-test] ArgDashed {} ->
  21082. 1992.86 s [opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
  21083. 1992.86 s [opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
  21084. 1992.86 s [opt-env-conf-test]
  21085. 1992.86 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
  21086. 1992.86 s [opt-env-conf-test] @@ -147,7 +147,7 @@
  21087. 1992.86 s [opt-env-conf-test] -- Plain argument: that's the only option, consume it.
  21088. 1992.86 s [opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
  21089. 1992.86 s [opt-env-conf-test] -- A single dash is always an argument
  21090. 1992.86 s [opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
  21091. 1992.86 s [opt-env-conf-test] + ArgBareDash -> [(Nothing, consumed)]
  21092. 1992.86 s [opt-env-conf-test] -- Bare double-dash
  21093. 1992.86 s [opt-env-conf-test] ArgBareDoubleDash -> case afters of
  21094. 1992.86 s [opt-env-conf-test] -- If it's the last argument, consume it as an argument
  21095. 1992.86 s [opt-env-conf-test]
  21096. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
  21097. 1992.86 s [opt-env-conf-test] @@ -336,7 +336,7 @@
  21098. 1992.86 s [opt-env-conf-test] Just Nothing -> Just $ Dead : rest
  21099. 1992.86 s [opt-env-conf-test] Just (Just (cs', needTombstone)) ->
  21100. 1992.86 s [opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
  21101. 1992.86 s [opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
  21102. 1992.86 s [opt-env-conf-test] + in Just $ Live (ArgDashed False cs') : rest'
  21103. 1992.86 s [opt-env-conf-test] _ -> do
  21104. 1992.86 s [opt-env-conf-test] os <- go rest
  21105. 1992.86 s [opt-env-conf-test] pure $ Live o : os
  21106. 1992.86 s [opt-env-conf-test]
  21107. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
  21108. 1992.86 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  21109. 1992.86 s [opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
  21110. 1992.86 s [opt-env-conf-test] go (c :| rest) =
  21111. 1992.86 s [opt-env-conf-test] if c `elem` cs
  21112. 1992.86 s [opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
  21113. 1992.86 s [opt-env-conf-test] + then Just $ (\ne -> (ne, False)) <$> NE.nonEmpty rest
  21114. 1992.86 s [opt-env-conf-test] else do
  21115. 1992.86 s [opt-env-conf-test] rest' <- NE.nonEmpty rest
  21116. 1992.86 s [opt-env-conf-test] new <- go rest'
  21117. 1992.86 s [opt-env-conf-test]
  21118. 1992.86 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
  21119. 1992.86 s [opt-env-conf-test] @@ -41,7 +41,6 @@
  21120. 1992.86 s [opt-env-conf-test] exitSuccess
  21121. 1992.86 s [opt-env-conf-test] CheckSucceeded _ -> do
  21122. 1992.86 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  21123. 1992.86 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
  21124. 1992.86 s [opt-env-conf-test] exitSuccess
  21125. 1992.86 s [opt-env-conf-test]
  21126. 1992.86 s [opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
  21127. 1992.86 s [opt-env-conf-test]
  21128. 1992.86 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
  21129. 1992.86 s [opt-env-conf-test] @@ -77,7 +77,7 @@
  21130. 1992.86 s [opt-env-conf-test] Maybe JSON.Object ->
  21131. 1992.86 s [opt-env-conf-test] IO (CheckResult a)
  21132. 1992.86 s [opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
  21133. 1992.86 s [opt-env-conf-test] - errOrSets <- runParserOn capabilities (Just debugMode) p args envVars mConfig
  21134. 1992.86 s [opt-env-conf-test] + errOrSets <- runParserOn capabilities (Nothing) p args envVars mConfig
  21135. 1992.86 s [opt-env-conf-test] pure $ case errOrSets of
  21136. 1992.86 s [opt-env-conf-test] Right a -> CheckSucceeded a
  21137. 1992.86 s [opt-env-conf-test] Left errs ->
  21138. 1992.86 s [opt-env-conf-test]
  21139. 1992.86 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
  21140. 1992.86 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21141. 1992.86 s [opt-env-conf-test] Just (Rel rf) -> do
  21142. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21143. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21144. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21145. 1992.86 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  21146. 1992.86 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21147. 1992.86 s [opt-env-conf-test] pure
  21148. 1992.86 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21149. 1992.86 s [opt-env-conf-test]
  21150. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21151. 1992.86 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21152. 1992.86 s [opt-env-conf-test] Just (Rel rf) -> do
  21153. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21154. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21155. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21156. 1992.86 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21157. 1992.86 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21158. 1992.86 s [opt-env-conf-test] pure
  21159. 1992.86 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21160. 1992.86 s [opt-env-conf-test]
  21161. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  21162. 1992.86 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  21163. 1992.86 s [opt-env-conf-test] Just (Rel rf) -> do
  21164. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21165. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21166. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21167. 1992.86 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21168. 1992.86 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  21169. 1992.86 s [opt-env-conf-test] pure
  21170. 1992.86 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  21171. 1992.86 s [opt-env-conf-test]
  21172. 1992.86 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  21173. 1992.86 s [opt-env-conf-test] @@ -168,24 +168,19 @@
  21174. 1992.86 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21175. 1992.86 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21176. 1992.86 s [opt-env-conf-test]
  21177. 1992.86 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21178. 1992.86 s [opt-env-conf-test] Nothing -> pure []
  21179. 1992.86 s [opt-env-conf-test] - Just (Abs af) -> do
  21180. 1992.86 s [opt-env-conf-test] - let dir = parent af
  21181. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  21182. 1992.86 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  21183. 1992.86 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21184. 1992.86 s [opt-env-conf-test] Just (Rel rf) ->
  21185. 1992.86 s [opt-env-conf-test] if fp == "."
  21186. 1992.86 s [opt-env-conf-test] then do
  21187. 1992.86 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21188. 1992.86 s [opt-env-conf-test] pure (map fromRelDir ds)
  21189. 1992.86 s [opt-env-conf-test] else do
  21190. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21191. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21192. 1992.86 s [opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21193. 1992.86 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21194. 1992.86 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21195. 1992.86 s [opt-env-conf-test]
  21196. 1992.86 s [opt-env-conf-test] pure $
  21197. 1992.86 s [opt-env-conf-test] concat
  21198. 1992.86 s [opt-env-conf-test]
  21199. 1992.86 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
  21200. 1992.86 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21201. 1992.86 s [opt-env-conf-test] else do
  21202. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21203. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21204. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21205. 1992.86 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  21206. 1992.86 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21207. 1992.86 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21208. 1992.86 s [opt-env-conf-test]
  21209. 1992.86 s [opt-env-conf-test]
  21210. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21211. 1992.86 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21212. 1992.86 s [opt-env-conf-test] else do
  21213. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21214. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21215. 1992.86 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21216. 1992.86 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  21217. 1992.86 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21218. 1992.86 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21219. 1992.86 s [opt-env-conf-test]
  21220. 1992.86 s [opt-env-conf-test]
  21221. 1992.86 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  21222. 1992.86 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  21223. 1992.86 s [opt-env-conf-test] else do
  21224. 1992.86 s [opt-env-conf-test] let dir = parent rf
  21225. 1992.86 s [opt-env-conf-test] let ad = baseDir </> dir
  21226. 1992.87 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  21227. 1992.87 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  21228. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21229. 1992.87 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  21230. 1992.87 s [opt-env-conf-test]
  21231. 1992.87 s [opt-env-conf-test]
  21232. 1992.87 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  21233. 1992.87 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  21234. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  21235. 1992.87 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  21236. 1992.87 s [opt-env-conf-test] Just (Rel rf) ->
  21237. 1992.87 s [opt-env-conf-test] - if fp == "."
  21238. 1992.87 s [opt-env-conf-test] + if False
  21239. 1992.87 s [opt-env-conf-test] then do
  21240. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21241. 1992.87 s [opt-env-conf-test] pure (map fromRelDir ds)
  21242. 1992.87 s [opt-env-conf-test]
  21243. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  21244. 1992.87 s [opt-env-conf-test] @@ -154,19 +154,16 @@
  21245. 1992.87 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  21246. 1992.87 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21247. 1992.87 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21248. 1992.87 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21249. 1992.87 s [opt-env-conf-test] Nothing -> case fp of
  21250. 1992.87 s [opt-env-conf-test] [] -> do
  21251. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21252. 1992.87 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21253. 1992.87 s [opt-env-conf-test] _ -> pure []
  21254. 1992.87 s [opt-env-conf-test] - Just (Abs ad) -> do
  21255. 1992.87 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  21256. 1992.87 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21257. 1992.87 s [opt-env-conf-test] Just (Rel rd) -> do
  21258. 1992.87 s [opt-env-conf-test] let ad = baseDir </> rd
  21259. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21260. 1992.87 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  21261. 1992.87 s [opt-env-conf-test]
  21262. 1992.87 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  21263. 1992.87 s [opt-env-conf-test] Nothing -> pure []
  21264. 1992.87 s [opt-env-conf-test]
  21265. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  21266. 1992.87 s [opt-env-conf-test] @@ -155,11 +155,10 @@
  21267. 1992.87 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  21268. 1992.87 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  21269. 1992.87 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  21270. 1992.87 s [opt-env-conf-test] Nothing -> case fp of
  21271. 1992.87 s [opt-env-conf-test] [] -> do
  21272. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  21273. 1992.87 s [opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
  21274. 1992.87 s [opt-env-conf-test] - _ -> pure []
  21275. 1992.87 s [opt-env-conf-test] Just (Abs ad) -> do
  21276. 1992.87 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  21277. 1992.87 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  21278. 1992.87 s [opt-env-conf-test]
  21279. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21280. 1992.87 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21281. 1992.87 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21282. 1992.87 s [opt-env-conf-test]
  21283. 1992.87 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21284. 1992.87 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21285. 1992.87 s [opt-env-conf-test] [] -> []
  21286. 1992.87 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21287. 1992.87 s [opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21288. 1992.87 s [opt-env-conf-test]
  21289. 1992.87 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21290. 1992.87 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21291. 1992.87 s [opt-env-conf-test]
  21292. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
  21293. 1992.87 s [opt-env-conf-test] @@ -66,10 +66,9 @@
  21294. 1992.87 s [opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
  21295. 1992.87 s [opt-env-conf-test]
  21296. 1992.87 s [opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
  21297. 1992.87 s [opt-env-conf-test] exampleValuesChunks vals = case vals of
  21298. 1992.87 s [opt-env-conf-test] - [] -> []
  21299. 1992.87 s [opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
  21300. 1992.87 s [opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
  21301. 1992.87 s [opt-env-conf-test]
  21302. 1992.87 s [opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
  21303. 1992.87 s [opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
  21304. 1992.87 s [opt-env-conf-test]
  21305. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
  21306. 1992.87 s [opt-env-conf-test] @@ -84,9 +84,8 @@
  21307. 1992.87 s [opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
  21308. 1992.87 s [opt-env-conf-test]
  21309. 1992.87 s [opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
  21310. 1992.87 s [opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
  21311. 1992.87 s [opt-env-conf-test] - [] -> []
  21312. 1992.87 s [opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
  21313. 1992.87 s [opt-env-conf-test]
  21314. 1992.87 s [opt-env-conf-test] capabilityChunk :: Capability -> Chunk
  21315. 1992.87 s [opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
  21316. 1992.87 s [opt-env-conf-test]
  21317. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21318. 1992.87 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21319. 1992.87 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21320. 1992.87 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21321. 1992.87 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21322. 1992.87 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21323. 1992.87 s [opt-env-conf-test] (Nothing, _) -> o2
  21324. 1992.87 s [opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21325. 1992.87 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21326. 1992.87 s [opt-env-conf-test]
  21327. 1992.87 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21328. 1992.87 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21329. 1992.87 s [opt-env-conf-test]
  21330. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
  21331. 1992.87 s [opt-env-conf-test] @@ -85,10 +85,9 @@
  21332. 1992.87 s [opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
  21333. 1992.87 s [opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
  21334. 1992.87 s [opt-env-conf-test] combineOption :: Option -> Option -> Option
  21335. 1992.87 s [opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
  21336. 1992.87 s [opt-env-conf-test] - (Nothing, _) -> o2
  21337. 1992.87 s [opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
  21338. 1992.87 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21339. 1992.87 s [opt-env-conf-test]
  21340. 1992.87 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21341. 1992.87 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21342. 1992.87 s [opt-env-conf-test]
  21343. 1992.87 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
  21344. 1992.87 s [opt-env-conf-test] @@ -91,8 +91,7 @@
  21345. 1992.87 s [opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
  21346. 1992.87 s [opt-env-conf-test]
  21347. 1992.87 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21348. 1992.87 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21349. 1992.87 s [opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21350. 1992.88 s [opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
  21351. 1992.88 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21352. 1992.88 s [opt-env-conf-test] goCommand = go . commandParser
  21353. 1992.88 s [opt-env-conf-test]
  21354. 1992.88 s [opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
  21355. 1992.88 s [opt-env-conf-test] @@ -93,6 +93,5 @@
  21356. 1992.88 s [opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
  21357. 1992.88 s [opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
  21358. 1992.88 s [opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
  21359. 1992.88 s [opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
  21360. 1992.88 s [opt-env-conf-test] goCommand :: Command a -> Map Text Option
  21361. 1992.88 s [opt-env-conf-test] goCommand = go . commandParser
  21362. 1992.88 s [opt-env-conf-test]
  21363. 1992.88 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21364. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21365. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21366. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21367. 1992.88 s [opt-env-conf-test] and
  21368. 1992.88 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21369. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21370. 1992.88 s [opt-env-conf-test] - null settingConfigVals
  21371. 1992.88 s [opt-env-conf-test] ]
  21372. 1992.88 s [opt-env-conf-test]
  21373. 1992.88 s [opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
  21374. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,6 @@
  21375. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21376. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21377. 1992.88 s [opt-env-conf-test] and
  21378. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21379. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21380. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21381. 1992.88 s [opt-env-conf-test] ]
  21382. 1992.88 s [opt-env-conf-test]
  21383. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
  21384. 1992.88 s [opt-env-conf-test] @@ -339,5 +339,5 @@
  21385. 1992.88 s [opt-env-conf-test] and
  21386. 1992.88 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21387. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21388. 1992.88 s [opt-env-conf-test] - null settingConfigVals
  21389. 1992.88 s [opt-env-conf-test] + True
  21390. 1992.88 s [opt-env-conf-test] ]
  21391. 1992.88 s [opt-env-conf-test]
  21392. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
  21393. 1992.88 s [opt-env-conf-test] @@ -338,6 +338,6 @@
  21394. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21395. 1992.88 s [opt-env-conf-test] and
  21396. 1992.88 s [opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21397. 1992.88 s [opt-env-conf-test] - null settingEnvVars,
  21398. 1992.88 s [opt-env-conf-test] + True,
  21399. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21400. 1992.88 s [opt-env-conf-test] ]
  21401. 1992.88 s [opt-env-conf-test]
  21402. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
  21403. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21404. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21405. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21406. 1992.88 s [opt-env-conf-test] and
  21407. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21408. 1992.88 s [opt-env-conf-test] + [ True,
  21409. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21410. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21411. 1992.88 s [opt-env-conf-test] ]
  21412. 1992.88 s [opt-env-conf-test]
  21413. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
  21414. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21415. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21416. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21417. 1992.88 s [opt-env-conf-test] and
  21418. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21419. 1992.88 s [opt-env-conf-test] + [ settingTryArgument || True,
  21420. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21421. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21422. 1992.88 s [opt-env-conf-test] ]
  21423. 1992.88 s [opt-env-conf-test]
  21424. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
  21425. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21426. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21427. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21428. 1992.88 s [opt-env-conf-test] and
  21429. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21430. 1992.88 s [opt-env-conf-test] + [ settingTryArgument || settingTryOption || True,
  21431. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21432. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21433. 1992.88 s [opt-env-conf-test] ]
  21434. 1992.88 s [opt-env-conf-test]
  21435. 1992.88 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
  21436. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21437. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21438. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21439. 1992.88 s [opt-env-conf-test] and
  21440. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21441. 1992.88 s [opt-env-conf-test] + [ settingTryArgument || not (settingTryOption) || isJust settingSwitchValue,
  21442. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21443. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21444. 1992.88 s [opt-env-conf-test] ]
  21445. 1992.88 s [opt-env-conf-test]
  21446. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21447. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21448. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21449. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21450. 1992.88 s [opt-env-conf-test] and
  21451. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21452. 1992.88 s [opt-env-conf-test] + [ settingTryArgument || False || isJust settingSwitchValue,
  21453. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21454. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21455. 1992.88 s [opt-env-conf-test] ]
  21456. 1992.88 s [opt-env-conf-test]
  21457. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
  21458. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21459. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21460. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21461. 1992.88 s [opt-env-conf-test] and
  21462. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21463. 1992.88 s [opt-env-conf-test] + [ settingTryArgument || True || isJust settingSwitchValue,
  21464. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21465. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21466. 1992.88 s [opt-env-conf-test] ]
  21467. 1992.88 s [opt-env-conf-test]
  21468. 1992.88 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
  21469. 1992.88 s [opt-env-conf-test] @@ -337,7 +337,7 @@
  21470. 1992.88 s [opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
  21471. 1992.88 s [opt-env-conf-test] -- impossible for nothing to be consumed.
  21472. 1992.88 s [opt-env-conf-test] and
  21473. 1992.88 s [opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
  21474. 1992.88 s [opt-env-conf-test] + [ True || settingTryOption || isJust settingSwitchValue,
  21475. 1992.88 s [opt-env-conf-test] null settingEnvVars,
  21476. 1992.88 s [opt-env-conf-test] null settingConfigVals
  21477. 1992.88 s [opt-env-conf-test] ]
  21478. 1992.88 s [opt-env-conf-test]
  21479. 1992.88 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
  21480. 1992.88 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21481. 1992.88 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21482. 1992.88 s [opt-env-conf-test] c1 <- go p1
  21483. 1992.88 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21484. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21485. 1992.89 s [opt-env-conf-test] + pure $ not (c1 || c2)
  21486. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21487. 1992.89 s [opt-env-conf-test] case settingHelp of
  21488. 1992.89 s [opt-env-conf-test] Nothing ->
  21489. 1992.89 s [opt-env-conf-test]
  21490. 1992.89 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
  21491. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21492. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21493. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21494. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21495. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21496. 1992.89 s [opt-env-conf-test] + pure $ c1 && c2
  21497. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21498. 1992.89 s [opt-env-conf-test] case settingHelp of
  21499. 1992.89 s [opt-env-conf-test] Nothing ->
  21500. 1992.89 s [opt-env-conf-test]
  21501. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21502. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21503. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21504. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21505. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21506. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21507. 1992.89 s [opt-env-conf-test] + pure $ False
  21508. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21509. 1992.89 s [opt-env-conf-test] case settingHelp of
  21510. 1992.89 s [opt-env-conf-test] Nothing ->
  21511. 1992.89 s [opt-env-conf-test]
  21512. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
  21513. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21514. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21515. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21516. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21517. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21518. 1992.89 s [opt-env-conf-test] + pure $ True
  21519. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21520. 1992.89 s [opt-env-conf-test] case settingHelp of
  21521. 1992.89 s [opt-env-conf-test] Nothing ->
  21522. 1992.89 s [opt-env-conf-test]
  21523. 1992.89 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
  21524. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21525. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21526. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21527. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21528. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21529. 1992.89 s [opt-env-conf-test] + pure $ c1 || not (c2)
  21530. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21531. 1992.89 s [opt-env-conf-test] case settingHelp of
  21532. 1992.89 s [opt-env-conf-test] Nothing ->
  21533. 1992.89 s [opt-env-conf-test]
  21534. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21535. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21536. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21537. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21538. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21539. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21540. 1992.89 s [opt-env-conf-test] + pure $ c1 || False
  21541. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21542. 1992.89 s [opt-env-conf-test] case settingHelp of
  21543. 1992.89 s [opt-env-conf-test] Nothing ->
  21544. 1992.89 s [opt-env-conf-test]
  21545. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
  21546. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21547. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21548. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21549. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21550. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21551. 1992.89 s [opt-env-conf-test] + pure $ c1 || True
  21552. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21553. 1992.89 s [opt-env-conf-test] case settingHelp of
  21554. 1992.89 s [opt-env-conf-test] Nothing ->
  21555. 1992.89 s [opt-env-conf-test]
  21556. 1992.89 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
  21557. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21558. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21559. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21560. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21561. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21562. 1992.89 s [opt-env-conf-test] + pure $ not (c1) || c2
  21563. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21564. 1992.89 s [opt-env-conf-test] case settingHelp of
  21565. 1992.89 s [opt-env-conf-test] Nothing ->
  21566. 1992.89 s [opt-env-conf-test]
  21567. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21568. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21569. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21570. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21571. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21572. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21573. 1992.89 s [opt-env-conf-test] + pure $ False || c2
  21574. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21575. 1992.89 s [opt-env-conf-test] case settingHelp of
  21576. 1992.89 s [opt-env-conf-test] Nothing ->
  21577. 1992.89 s [opt-env-conf-test]
  21578. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
  21579. 1992.89 s [opt-env-conf-test] @@ -285,7 +285,7 @@
  21580. 1992.89 s [opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
  21581. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21582. 1992.89 s [opt-env-conf-test] c2 <- local (const True) (go p2)
  21583. 1992.89 s [opt-env-conf-test] - pure $ c1 || c2
  21584. 1992.89 s [opt-env-conf-test] + pure $ True || c2
  21585. 1992.89 s [opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
  21586. 1992.89 s [opt-env-conf-test] case settingHelp of
  21587. 1992.89 s [opt-env-conf-test] Nothing ->
  21588. 1992.89 s [opt-env-conf-test]
  21589. 1992.89 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
  21590. 1992.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21591. 1992.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21592. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21593. 1992.89 s [opt-env-conf-test] c2 <- go p2
  21594. 1992.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21595. 1992.89 s [opt-env-conf-test] + pure not ((c1 && c2)) -- TODO: is this right?
  21596. 1992.89 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21597. 1992.89 s [opt-env-conf-test] ParserMany mLoc p -> do
  21598. 1992.89 s [opt-env-conf-test] c <- go p
  21599. 1992.89 s [opt-env-conf-test]
  21600. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21601. 1992.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21602. 1992.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21603. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21604. 1992.89 s [opt-env-conf-test] c2 <- go p2
  21605. 1992.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21606. 1992.89 s [opt-env-conf-test] + pure False -- TODO: is this right?
  21607. 1992.89 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21608. 1992.89 s [opt-env-conf-test] ParserMany mLoc p -> do
  21609. 1992.89 s [opt-env-conf-test] c <- go p
  21610. 1992.89 s [opt-env-conf-test]
  21611. 1992.89 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
  21612. 1992.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21613. 1992.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21614. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21615. 1992.89 s [opt-env-conf-test] c2 <- go p2
  21616. 1992.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21617. 1992.89 s [opt-env-conf-test] + pure True -- TODO: is this right?
  21618. 1992.89 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21619. 1992.89 s [opt-env-conf-test] ParserMany mLoc p -> do
  21620. 1992.89 s [opt-env-conf-test] c <- go p
  21621. 1992.89 s [opt-env-conf-test]
  21622. 1992.89 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
  21623. 1992.89 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21624. 1992.89 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21625. 1992.89 s [opt-env-conf-test] c1 <- go p1
  21626. 1992.89 s [opt-env-conf-test] c2 <- go p2
  21627. 1992.89 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21628. 1992.90 s [opt-env-conf-test] + pure (not (c1 && c2)) -- TODO: is this right?
  21629. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21630. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21631. 1992.90 s [opt-env-conf-test] c <- go p
  21632. 1992.90 s [opt-env-conf-test]
  21633. 1992.90 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
  21634. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21635. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21636. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21637. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21638. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21639. 1992.90 s [opt-env-conf-test] + pure (c1 || c2) -- TODO: is this right?
  21640. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21641. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21642. 1992.90 s [opt-env-conf-test] c <- go p
  21643. 1992.90 s [opt-env-conf-test]
  21644. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21645. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21646. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21647. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21648. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21649. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21650. 1992.90 s [opt-env-conf-test] + pure (False) -- TODO: is this right?
  21651. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21652. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21653. 1992.90 s [opt-env-conf-test] c <- go p
  21654. 1992.90 s [opt-env-conf-test]
  21655. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
  21656. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21657. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21658. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21659. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21660. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21661. 1992.90 s [opt-env-conf-test] + pure (True) -- TODO: is this right?
  21662. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21663. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21664. 1992.90 s [opt-env-conf-test] c <- go p
  21665. 1992.90 s [opt-env-conf-test]
  21666. 1992.90 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
  21667. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21668. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21669. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21670. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21671. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21672. 1992.90 s [opt-env-conf-test] + pure (c1 && not (c2)) -- TODO: is this right?
  21673. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21674. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21675. 1992.90 s [opt-env-conf-test] c <- go p
  21676. 1992.90 s [opt-env-conf-test]
  21677. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21678. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21679. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21680. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21681. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21682. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21683. 1992.90 s [opt-env-conf-test] + pure (c1 && False) -- TODO: is this right?
  21684. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21685. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21686. 1992.90 s [opt-env-conf-test] c <- go p
  21687. 1992.90 s [opt-env-conf-test]
  21688. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
  21689. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21690. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21691. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21692. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21693. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21694. 1992.90 s [opt-env-conf-test] + pure (c1 && True) -- TODO: is this right?
  21695. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21696. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21697. 1992.90 s [opt-env-conf-test] c <- go p
  21698. 1992.90 s [opt-env-conf-test]
  21699. 1992.90 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
  21700. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21701. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21702. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21703. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21704. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21705. 1992.90 s [opt-env-conf-test] + pure (not (c1) && c2) -- TODO: is this right?
  21706. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21707. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21708. 1992.90 s [opt-env-conf-test] c <- go p
  21709. 1992.90 s [opt-env-conf-test]
  21710. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  21711. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21712. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21713. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21714. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21715. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21716. 1992.90 s [opt-env-conf-test] + pure (False && c2) -- TODO: is this right?
  21717. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21718. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21719. 1992.90 s [opt-env-conf-test] c <- go p
  21720. 1992.90 s [opt-env-conf-test]
  21721. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
  21722. 1992.90 s [opt-env-conf-test] @@ -256,7 +256,7 @@
  21723. 1992.90 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  21724. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21725. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21726. 1992.90 s [opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
  21727. 1992.90 s [opt-env-conf-test] + pure (True && c2) -- TODO: is this right?
  21728. 1992.90 s [opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
  21729. 1992.90 s [opt-env-conf-test] ParserMany mLoc p -> do
  21730. 1992.90 s [opt-env-conf-test] c <- go p
  21731. 1992.90 s [opt-env-conf-test]
  21732. 1992.90 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
  21733. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21734. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21735. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21736. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21737. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21738. 1992.90 s [opt-env-conf-test] + pure not ((c1 || c2))
  21739. 1992.90 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21740. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21741. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21742. 1992.90 s [opt-env-conf-test]
  21743. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  21744. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21745. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21746. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21747. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21748. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21749. 1992.90 s [opt-env-conf-test] + pure False
  21750. 1992.90 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21751. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21752. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21753. 1992.90 s [opt-env-conf-test]
  21754. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
  21755. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21756. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21757. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21758. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21759. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21760. 1992.90 s [opt-env-conf-test] + pure True
  21761. 1992.90 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21762. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21763. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21764. 1992.90 s [opt-env-conf-test]
  21765. 1992.90 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
  21766. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21767. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21768. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21769. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21770. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21771. 1992.90 s [opt-env-conf-test] + pure (not (c1 || c2))
  21772. 1992.90 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21773. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21774. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21775. 1992.90 s [opt-env-conf-test]
  21776. 1992.90 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
  21777. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21778. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21779. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21780. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21781. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21782. 1992.90 s [opt-env-conf-test] + pure (c1 && c2)
  21783. 1992.90 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21784. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21785. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21786. 1992.90 s [opt-env-conf-test]
  21787. 1992.90 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  21788. 1992.90 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21789. 1992.90 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21790. 1992.90 s [opt-env-conf-test] c1 <- go p1
  21791. 1992.90 s [opt-env-conf-test] c2 <- go p2
  21792. 1992.90 s [opt-env-conf-test] - pure (c1 || c2)
  21793. 1992.91 s [opt-env-conf-test] + pure (False)
  21794. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21795. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21796. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21797. 1992.91 s [opt-env-conf-test]
  21798. 1992.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
  21799. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21800. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21801. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21802. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21803. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21804. 1992.91 s [opt-env-conf-test] + pure (True)
  21805. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21806. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21807. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21808. 1992.91 s [opt-env-conf-test]
  21809. 1992.91 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
  21810. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21811. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21812. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21813. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21814. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21815. 1992.91 s [opt-env-conf-test] + pure (c1 || not (c2))
  21816. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21817. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21818. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21819. 1992.91 s [opt-env-conf-test]
  21820. 1992.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  21821. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21822. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21823. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21824. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21825. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21826. 1992.91 s [opt-env-conf-test] + pure (c1 || False)
  21827. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21828. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21829. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21830. 1992.91 s [opt-env-conf-test]
  21831. 1992.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
  21832. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21833. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21834. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21835. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21836. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21837. 1992.91 s [opt-env-conf-test] + pure (c1 || True)
  21838. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21839. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21840. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21841. 1992.91 s [opt-env-conf-test]
  21842. 1992.91 s [opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
  21843. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21844. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21845. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21846. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21847. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21848. 1992.91 s [opt-env-conf-test] + pure (not (c1) || c2)
  21849. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21850. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21851. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21852. 1992.91 s [opt-env-conf-test]
  21853. 1992.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  21854. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21855. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21856. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21857. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21858. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21859. 1992.91 s [opt-env-conf-test] + pure (False || c2)
  21860. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21861. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21862. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21863. 1992.91 s [opt-env-conf-test]
  21864. 1992.91 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
  21865. 1992.91 s [opt-env-conf-test] @@ -247,7 +247,7 @@
  21866. 1992.91 s [opt-env-conf-test] ParserAp p1 p2 -> do
  21867. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21868. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21869. 1992.91 s [opt-env-conf-test] - pure (c1 || c2)
  21870. 1992.91 s [opt-env-conf-test] + pure (True || c2)
  21871. 1992.91 s [opt-env-conf-test] ParserSelect p1 p2 -> do
  21872. 1992.91 s [opt-env-conf-test] c1 <- go p1
  21873. 1992.91 s [opt-env-conf-test] c2 <- go p2
  21874. 1992.91 s [opt-env-conf-test]
  21875. 1992.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
  21876. 1992.91 s [opt-env-conf-test] @@ -239,10 +239,9 @@
  21877. 1992.91 s [opt-env-conf-test]
  21878. 1992.91 s [opt-env-conf-test] instance Applicative Parser where
  21879. 1992.91 s [opt-env-conf-test] pure = ParserPure
  21880. 1992.91 s [opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
  21881. 1992.91 s [opt-env-conf-test] -- Homomorphism law for applicative
  21882. 1992.91 s [opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
  21883. 1992.91 s [opt-env-conf-test] _ -> ParserAp p1 p2
  21884. 1992.91 s [opt-env-conf-test]
  21885. 1992.91 s [opt-env-conf-test] instance Selective Parser where
  21886. 1992.91 s [opt-env-conf-test] select = ParserSelect
  21887. 1992.91 s [opt-env-conf-test]
  21888. 1992.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21889. 1992.91 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21890. 1992.91 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21891. 1992.91 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21892. 1992.91 s [opt-env-conf-test] ParserSetting _ _ -> False
  21893. 1992.91 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21894. 1992.91 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  21895. 1992.91 s [opt-env-conf-test] (True, False) -> p2
  21896. 1992.91 s [opt-env-conf-test] - (False, True) -> p1
  21897. 1992.91 s [opt-env-conf-test] (False, False) ->
  21898. 1992.91 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21899. 1992.91 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21900. 1992.91 s [opt-env-conf-test] -- alts to always be right-leaning
  21901. 1992.91 s [opt-env-conf-test] --
  21902. 1992.91 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21903. 1992.91 s [opt-env-conf-test] -- p
  21904. 1992.91 s [opt-env-conf-test] -- / \
  21905. 1992.91 s [opt-env-conf-test] -- p1 p2
  21906. 1992.91 s [opt-env-conf-test] -- / \
  21907. 1992.91 s [opt-env-conf-test] -- p3 p4
  21908. 1992.91 s [opt-env-conf-test] --
  21909. 1992.91 s [opt-env-conf-test] -- We need to rearrange it to
  21910. 1992.91 s [opt-env-conf-test] -- p
  21911. 1992.91 s [opt-env-conf-test] -- / \
  21912. 1992.91 s [opt-env-conf-test] -- p1 ++ p3 p4
  21913. 1992.91 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21914. 1992.91 s [opt-env-conf-test] go (go p1' p3') p4'
  21915. 1992.91 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21916. 1992.91 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21917. 1992.91 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21918. 1992.91 s [opt-env-conf-test] in go p1 p2
  21919. 1992.91 s [opt-env-conf-test] many = ParserMany Nothing
  21920. 1992.91 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21921. 1992.91 s [opt-env-conf-test]
  21922. 1992.91 s [opt-env-conf-test]
  21923. 1992.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21924. 1992.91 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21925. 1992.91 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21926. 1992.91 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21927. 1992.91 s [opt-env-conf-test] ParserSetting _ _ -> False
  21928. 1992.91 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21929. 1992.91 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  21930. 1992.91 s [opt-env-conf-test] - (True, False) -> p2
  21931. 1992.91 s [opt-env-conf-test] (False, True) -> p1
  21932. 1992.91 s [opt-env-conf-test] (False, False) ->
  21933. 1992.91 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21934. 1992.91 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21935. 1992.91 s [opt-env-conf-test] -- alts to always be right-leaning
  21936. 1992.91 s [opt-env-conf-test] --
  21937. 1992.91 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21938. 1992.91 s [opt-env-conf-test] -- p
  21939. 1992.91 s [opt-env-conf-test] -- / \
  21940. 1992.91 s [opt-env-conf-test] -- p1 p2
  21941. 1992.91 s [opt-env-conf-test] -- / \
  21942. 1992.91 s [opt-env-conf-test] -- p3 p4
  21943. 1992.91 s [opt-env-conf-test] --
  21944. 1992.91 s [opt-env-conf-test] -- We need to rearrange it to
  21945. 1992.91 s [opt-env-conf-test] -- p
  21946. 1992.91 s [opt-env-conf-test] -- / \
  21947. 1992.91 s [opt-env-conf-test] -- p1 ++ p3 p4
  21948. 1992.91 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21949. 1992.91 s [opt-env-conf-test] go (go p1' p3') p4'
  21950. 1992.91 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21951. 1992.91 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21952. 1992.91 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21953. 1992.91 s [opt-env-conf-test] in go p1 p2
  21954. 1992.91 s [opt-env-conf-test] many = ParserMany Nothing
  21955. 1992.91 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21956. 1992.91 s [opt-env-conf-test]
  21957. 1992.91 s [opt-env-conf-test]
  21958. 1992.91 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
  21959. 1992.91 s [opt-env-conf-test] @@ -264,32 +264,31 @@
  21960. 1992.91 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  21961. 1992.91 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  21962. 1992.91 s [opt-env-conf-test] ParserSetting _ _ -> False
  21963. 1992.91 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  21964. 1992.91 s [opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
  21965. 1992.91 s [opt-env-conf-test] (True, False) -> p2
  21966. 1992.91 s [opt-env-conf-test] (False, True) -> p1
  21967. 1992.91 s [opt-env-conf-test] (False, False) ->
  21968. 1992.91 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21969. 1992.91 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  21970. 1992.92 s [opt-env-conf-test] -- alts to always be right-leaning
  21971. 1992.92 s [opt-env-conf-test] --
  21972. 1992.92 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  21973. 1992.92 s [opt-env-conf-test] -- p
  21974. 1992.92 s [opt-env-conf-test] -- / \
  21975. 1992.92 s [opt-env-conf-test] -- p1 p2
  21976. 1992.92 s [opt-env-conf-test] -- / \
  21977. 1992.92 s [opt-env-conf-test] -- p3 p4
  21978. 1992.92 s [opt-env-conf-test] --
  21979. 1992.92 s [opt-env-conf-test] -- We need to rearrange it to
  21980. 1992.92 s [opt-env-conf-test] -- p
  21981. 1992.92 s [opt-env-conf-test] -- / \
  21982. 1992.92 s [opt-env-conf-test] -- p1 ++ p3 p4
  21983. 1992.92 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  21984. 1992.92 s [opt-env-conf-test] go (go p1' p3') p4'
  21985. 1992.92 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  21986. 1992.92 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  21987. 1992.92 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  21988. 1992.92 s [opt-env-conf-test] in go p1 p2
  21989. 1992.92 s [opt-env-conf-test] many = ParserMany Nothing
  21990. 1992.92 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  21991. 1992.92 s [opt-env-conf-test]
  21992. 1992.92 s [opt-env-conf-test]
  21993. 1992.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  21994. 1992.92 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  21995. 1992.92 s [opt-env-conf-test] (True, False) -> p2
  21996. 1992.92 s [opt-env-conf-test] (False, True) -> p1
  21997. 1992.92 s [opt-env-conf-test] (False, False) ->
  21998. 1992.92 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  21999. 1992.92 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22000. 1992.92 s [opt-env-conf-test] -- alts to always be right-leaning
  22001. 1992.92 s [opt-env-conf-test] --
  22002. 1992.92 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22003. 1992.92 s [opt-env-conf-test] -- p
  22004. 1992.92 s [opt-env-conf-test] -- / \
  22005. 1992.92 s [opt-env-conf-test] -- p1 p2
  22006. 1992.92 s [opt-env-conf-test] -- / \
  22007. 1992.92 s [opt-env-conf-test] -- p3 p4
  22008. 1992.92 s [opt-env-conf-test] --
  22009. 1992.92 s [opt-env-conf-test] -- We need to rearrange it to
  22010. 1992.92 s [opt-env-conf-test] -- p
  22011. 1992.92 s [opt-env-conf-test] -- / \
  22012. 1992.92 s [opt-env-conf-test] -- p1 ++ p3 p4
  22013. 1992.92 s [opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22014. 1992.92 s [opt-env-conf-test] go (go p1' p3') p4'
  22015. 1992.92 s [opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22016. 1992.92 s [opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22017. 1992.92 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22018. 1992.92 s [opt-env-conf-test] in go p1 p2
  22019. 1992.92 s [opt-env-conf-test] many = ParserMany Nothing
  22020. 1992.92 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22021. 1992.92 s [opt-env-conf-test]
  22022. 1992.92 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
  22023. 1992.92 s [opt-env-conf-test] @@ -269,26 +269,24 @@
  22024. 1992.92 s [opt-env-conf-test] (True, False) -> p2
  22025. 1992.92 s [opt-env-conf-test] (False, True) -> p1
  22026. 1992.92 s [opt-env-conf-test] (False, False) ->
  22027. 1992.92 s [opt-env-conf-test] let go p1' p2' = case (p1', p2') of
  22028. 1992.92 s [opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
  22029. 1992.92 s [opt-env-conf-test] -- alts to always be right-leaning
  22030. 1992.92 s [opt-env-conf-test] --
  22031. 1992.92 s [opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
  22032. 1992.92 s [opt-env-conf-test] -- p
  22033. 1992.92 s [opt-env-conf-test] -- / \
  22034. 1992.92 s [opt-env-conf-test] -- p1 p2
  22035. 1992.92 s [opt-env-conf-test] -- / \
  22036. 1992.92 s [opt-env-conf-test] -- p3 p4
  22037. 1992.92 s [opt-env-conf-test] --
  22038. 1992.92 s [opt-env-conf-test] -- We need to rearrange it to
  22039. 1992.92 s [opt-env-conf-test] -- p
  22040. 1992.92 s [opt-env-conf-test] -- / \
  22041. 1992.92 s [opt-env-conf-test] -- p1 ++ p3 p4
  22042. 1992.92 s [opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
  22043. 1992.92 s [opt-env-conf-test] - go (go p1' p3') p4'
  22044. 1992.92 s [opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
  22045. 1992.92 s [opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
  22046. 1992.92 s [opt-env-conf-test] _ -> ParserAlt p1' p2'
  22047. 1992.92 s [opt-env-conf-test] in go p1 p2
  22048. 1992.92 s [opt-env-conf-test] many = ParserMany Nothing
  22049. 1992.92 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22050. 1992.92 s [opt-env-conf-test]
  22051. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
  22052. 1992.92 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22053. 1992.92 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22054. 1992.92 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22055. 1992.92 s [opt-env-conf-test] ParserSetting _ _ -> False
  22056. 1992.92 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22057. 1992.92 s [opt-env-conf-test] + in case (isEmpty p1, False) of
  22058. 1992.92 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22059. 1992.92 s [opt-env-conf-test] (True, False) -> p2
  22060. 1992.92 s [opt-env-conf-test] (False, True) -> p1
  22061. 1992.92 s [opt-env-conf-test]
  22062. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
  22063. 1992.92 s [opt-env-conf-test] @@ -264,7 +264,7 @@
  22064. 1992.92 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22065. 1992.92 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22066. 1992.92 s [opt-env-conf-test] ParserSetting _ _ -> False
  22067. 1992.92 s [opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
  22068. 1992.92 s [opt-env-conf-test] + in case (False, isEmpty p2) of
  22069. 1992.92 s [opt-env-conf-test] (True, True) -> ParserEmpty Nothing
  22070. 1992.92 s [opt-env-conf-test] (True, False) -> p2
  22071. 1992.92 s [opt-env-conf-test] (False, True) -> p1
  22072. 1992.92 s [opt-env-conf-test]
  22073. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
  22074. 1992.92 s [opt-env-conf-test] @@ -261,7 +261,7 @@
  22075. 1992.92 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22076. 1992.92 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22077. 1992.92 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22078. 1992.92 s [opt-env-conf-test] - ParserCommands _ _ cs -> null cs
  22079. 1992.92 s [opt-env-conf-test] + ParserCommands _ _ cs -> False
  22080. 1992.92 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22081. 1992.92 s [opt-env-conf-test] ParserSetting _ _ -> False
  22082. 1992.92 s [opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
  22083. 1992.92 s [opt-env-conf-test]
  22084. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
  22085. 1992.92 s [opt-env-conf-test] @@ -260,7 +260,7 @@
  22086. 1992.92 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22087. 1992.92 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22088. 1992.92 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22089. 1992.92 s [opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
  22090. 1992.92 s [opt-env-conf-test] + ParserCheck _ _ _ _ p -> False
  22091. 1992.92 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22092. 1992.92 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22093. 1992.92 s [opt-env-conf-test] ParserSetting _ _ -> False
  22094. 1992.92 s [opt-env-conf-test]
  22095. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
  22096. 1992.92 s [opt-env-conf-test] @@ -259,7 +259,7 @@
  22097. 1992.92 s [opt-env-conf-test] ParserAlt _ _ -> False
  22098. 1992.92 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22099. 1992.92 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22100. 1992.92 s [opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
  22101. 1992.92 s [opt-env-conf-test] + ParserAllOrNothing _ p -> False
  22102. 1992.92 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22103. 1992.92 s [opt-env-conf-test] ParserCommands _ _ cs -> null cs
  22104. 1992.92 s [opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
  22105. 1992.92 s [opt-env-conf-test]
  22106. 1992.92 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
  22107. 1992.92 s [opt-env-conf-test] @@ -257,7 +257,7 @@
  22108. 1992.92 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22109. 1992.92 s [opt-env-conf-test] ParserEmpty _ -> True
  22110. 1992.92 s [opt-env-conf-test] ParserAlt _ _ -> False
  22111. 1992.92 s [opt-env-conf-test] - ParserMany _ p -> isEmpty p
  22112. 1992.92 s [opt-env-conf-test] + ParserMany _ p -> False
  22113. 1992.92 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22114. 1992.92 s [opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
  22115. 1992.92 s [opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
  22116. 1992.92 s [opt-env-conf-test]
  22117. 1992.92 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
  22118. 1992.92 s [opt-env-conf-test] @@ -255,7 +255,7 @@
  22119. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22120. 1992.93 s [opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
  22121. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22122. 1992.93 s [opt-env-conf-test] - ParserEmpty _ -> True
  22123. 1992.93 s [opt-env-conf-test] + ParserEmpty _ -> False
  22124. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22125. 1992.93 s [opt-env-conf-test] ParserMany _ p -> isEmpty p
  22126. 1992.93 s [opt-env-conf-test] ParserSome _ p -> isEmpty p
  22127. 1992.93 s [opt-env-conf-test]
  22128. 1992.93 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
  22129. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22130. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22131. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22132. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22133. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22134. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf || isEmpty pa
  22135. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22136. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22137. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22138. 1992.93 s [opt-env-conf-test]
  22139. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
  22140. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22141. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22142. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22143. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22144. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22145. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> False
  22146. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22147. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22148. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22149. 1992.93 s [opt-env-conf-test]
  22150. 1992.93 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
  22151. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22152. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22153. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22154. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22155. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22156. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && not (isEmpty pa)
  22157. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22158. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22159. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22160. 1992.93 s [opt-env-conf-test]
  22161. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22162. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22163. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22164. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22165. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22166. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22167. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && False
  22168. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22169. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22170. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22171. 1992.93 s [opt-env-conf-test]
  22172. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
  22173. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22174. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22175. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22176. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22177. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22178. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && True
  22179. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22180. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22181. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22182. 1992.93 s [opt-env-conf-test]
  22183. 1992.93 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
  22184. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22185. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22186. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22187. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22188. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22189. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> not (isEmpty pf) && isEmpty pa
  22190. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22191. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22192. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22193. 1992.93 s [opt-env-conf-test]
  22194. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22195. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22196. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22197. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22198. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22199. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22200. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  22201. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22202. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22203. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22204. 1992.93 s [opt-env-conf-test]
  22205. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  22206. 1992.93 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  22207. 1992.93 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  22208. 1992.93 s [opt-env-conf-test] isEmpty = \case
  22209. 1992.93 s [opt-env-conf-test] ParserPure _ -> False
  22210. 1992.93 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  22211. 1992.93 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  22212. 1992.93 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  22213. 1992.93 s [opt-env-conf-test] ParserEmpty _ -> True
  22214. 1992.93 s [opt-env-conf-test] ParserAlt _ _ -> False
  22215. 1992.93 s [opt-env-conf-test]
  22216. 1992.93 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
  22217. 1992.93 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  22218. 1992.93 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  22219. 1992.93 s [opt-env-conf-test]
  22220. 1992.93 s [opt-env-conf-test] showParserABit :: Parser a -> String
  22221. 1992.93 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  22222. 1992.93 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  22223. 1992.93 s [opt-env-conf-test]
  22224. 1992.93 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  22225. 1992.93 s [opt-env-conf-test] showParserPrec = go
  22226. 1992.93 s [opt-env-conf-test]
  22227. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  22228. 1992.93 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22229. 1992.93 s [opt-env-conf-test] . showString " "
  22230. 1992.93 s [opt-env-conf-test] . go 11 p2
  22231. 1992.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  22232. 1992.93 s [opt-env-conf-test] - showParen (d > 10) $
  22233. 1992.93 s [opt-env-conf-test] + showParen True $
  22234. 1992.93 s [opt-env-conf-test] showString "Setting "
  22235. 1992.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  22236. 1992.93 s [opt-env-conf-test] . showString " "
  22237. 1992.93 s [opt-env-conf-test]
  22238. 1992.93 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  22239. 1992.93 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22240. 1992.93 s [opt-env-conf-test] . showString " "
  22241. 1992.93 s [opt-env-conf-test] . go 11 p2
  22242. 1992.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  22243. 1992.93 s [opt-env-conf-test] - showParen (d > 10) $
  22244. 1992.93 s [opt-env-conf-test] + showParen (True) $
  22245. 1992.93 s [opt-env-conf-test] showString "Setting "
  22246. 1992.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  22247. 1992.93 s [opt-env-conf-test] . showString " "
  22248. 1992.93 s [opt-env-conf-test]
  22249. 1992.93 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
  22250. 1992.93 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22251. 1992.93 s [opt-env-conf-test] . showString " "
  22252. 1992.93 s [opt-env-conf-test] . go 11 p2
  22253. 1992.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  22254. 1992.93 s [opt-env-conf-test] - showParen (d > 10) $
  22255. 1992.93 s [opt-env-conf-test] + showParen (d >= 10) $
  22256. 1992.93 s [opt-env-conf-test] showString "Setting "
  22257. 1992.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  22258. 1992.93 s [opt-env-conf-test] . showString " "
  22259. 1992.93 s [opt-env-conf-test]
  22260. 1992.93 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22261. 1992.93 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22262. 1992.93 s [opt-env-conf-test] . showString " "
  22263. 1992.93 s [opt-env-conf-test] . go 11 p2
  22264. 1992.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  22265. 1992.93 s [opt-env-conf-test] - showParen (d > 10) $
  22266. 1992.93 s [opt-env-conf-test] + showParen (d > -10) $
  22267. 1992.93 s [opt-env-conf-test] showString "Setting "
  22268. 1992.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  22269. 1992.93 s [opt-env-conf-test] . showString " "
  22270. 1992.93 s [opt-env-conf-test]
  22271. 1992.93 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22272. 1992.93 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22273. 1992.93 s [opt-env-conf-test] . showString " "
  22274. 1992.93 s [opt-env-conf-test] . go 11 p2
  22275. 1992.93 s [opt-env-conf-test] ParserSetting mLoc p ->
  22276. 1992.93 s [opt-env-conf-test] - showParen (d > 10) $
  22277. 1992.93 s [opt-env-conf-test] + showParen (d > 1) $
  22278. 1992.93 s [opt-env-conf-test] showString "Setting "
  22279. 1992.93 s [opt-env-conf-test] . showsPrec 11 mLoc
  22280. 1992.93 s [opt-env-conf-test] . showString " "
  22281. 1992.93 s [opt-env-conf-test]
  22282. 1992.93 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  22283. 1992.94 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  22284. 1992.94 s [opt-env-conf-test] . showString " "
  22285. 1992.94 s [opt-env-conf-test] . go 11 p2
  22286. 1992.94 s [opt-env-conf-test] ParserSetting mLoc p ->
  22287. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22288. 1992.94 s [opt-env-conf-test] + showParen (d > 0) $
  22289. 1992.94 s [opt-env-conf-test] showString "Setting "
  22290. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22291. 1992.94 s [opt-env-conf-test] . showString " "
  22292. 1992.94 s [opt-env-conf-test]
  22293. 1992.94 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
  22294. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22295. 1992.94 s [opt-env-conf-test] showCommandABit
  22296. 1992.94 s [opt-env-conf-test] cs
  22297. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22298. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22299. 1992.94 s [opt-env-conf-test] + showParen not ((d > 10)) $
  22300. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22301. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22302. 1992.94 s [opt-env-conf-test] . showString " "
  22303. 1992.94 s [opt-env-conf-test]
  22304. 1992.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22305. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22306. 1992.94 s [opt-env-conf-test] showCommandABit
  22307. 1992.94 s [opt-env-conf-test] cs
  22308. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22309. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22310. 1992.94 s [opt-env-conf-test] + showParen False $
  22311. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22312. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22313. 1992.94 s [opt-env-conf-test] . showString " "
  22314. 1992.94 s [opt-env-conf-test]
  22315. 1992.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  22316. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22317. 1992.94 s [opt-env-conf-test] showCommandABit
  22318. 1992.94 s [opt-env-conf-test] cs
  22319. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22320. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22321. 1992.94 s [opt-env-conf-test] + showParen True $
  22322. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22323. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22324. 1992.94 s [opt-env-conf-test] . showString " "
  22325. 1992.94 s [opt-env-conf-test]
  22326. 1992.94 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
  22327. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22328. 1992.94 s [opt-env-conf-test] showCommandABit
  22329. 1992.94 s [opt-env-conf-test] cs
  22330. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22331. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22332. 1992.94 s [opt-env-conf-test] + showParen (not (d > 10)) $
  22333. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22334. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22335. 1992.94 s [opt-env-conf-test] . showString " "
  22336. 1992.94 s [opt-env-conf-test]
  22337. 1992.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22338. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22339. 1992.94 s [opt-env-conf-test] showCommandABit
  22340. 1992.94 s [opt-env-conf-test] cs
  22341. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22342. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22343. 1992.94 s [opt-env-conf-test] + showParen (False) $
  22344. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22345. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22346. 1992.94 s [opt-env-conf-test] . showString " "
  22347. 1992.94 s [opt-env-conf-test]
  22348. 1992.94 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  22349. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22350. 1992.94 s [opt-env-conf-test] showCommandABit
  22351. 1992.94 s [opt-env-conf-test] cs
  22352. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22353. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22354. 1992.94 s [opt-env-conf-test] + showParen (True) $
  22355. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22356. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22357. 1992.94 s [opt-env-conf-test] . showString " "
  22358. 1992.94 s [opt-env-conf-test]
  22359. 1992.94 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22360. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22361. 1992.94 s [opt-env-conf-test] showCommandABit
  22362. 1992.94 s [opt-env-conf-test] cs
  22363. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22364. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22365. 1992.94 s [opt-env-conf-test] + showParen (d >= 10) $
  22366. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22367. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22368. 1992.94 s [opt-env-conf-test] . showString " "
  22369. 1992.94 s [opt-env-conf-test]
  22370. 1992.94 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22371. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22372. 1992.94 s [opt-env-conf-test] showCommandABit
  22373. 1992.94 s [opt-env-conf-test] cs
  22374. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22375. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22376. 1992.94 s [opt-env-conf-test] + showParen (d <= 10) $
  22377. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22378. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22379. 1992.94 s [opt-env-conf-test] . showString " "
  22380. 1992.94 s [opt-env-conf-test]
  22381. 1992.94 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
  22382. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22383. 1992.94 s [opt-env-conf-test] showCommandABit
  22384. 1992.94 s [opt-env-conf-test] cs
  22385. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22386. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22387. 1992.94 s [opt-env-conf-test] + showParen (d < 10) $
  22388. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22389. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22390. 1992.94 s [opt-env-conf-test] . showString " "
  22391. 1992.94 s [opt-env-conf-test]
  22392. 1992.94 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22393. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22394. 1992.94 s [opt-env-conf-test] showCommandABit
  22395. 1992.94 s [opt-env-conf-test] cs
  22396. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22397. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22398. 1992.94 s [opt-env-conf-test] + showParen (d > -10) $
  22399. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22400. 1992.94 s [opt-env-conf-test] . showsPrec 11 mLoc
  22401. 1992.94 s [opt-env-conf-test] . showString " "
  22402. 1992.94 s [opt-env-conf-test]
  22403. 1992.94 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22404. 1992.94 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22405. 1992.94 s [opt-env-conf-test] showCommandABit
  22406. 1992.94 s [opt-env-conf-test] cs
  22407. 1992.94 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22408. 1992.94 s [opt-env-conf-test] - showParen (d > 10) $
  22409. 1992.94 s [opt-env-conf-test] + showParen (d > 1) $
  22410. 1992.94 s [opt-env-conf-test] showString "WithConfig _ "
  22411. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22412. 1992.95 s [opt-env-conf-test] . showString " "
  22413. 1992.95 s [opt-env-conf-test]
  22414. 1992.95 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  22415. 1992.95 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  22416. 1992.95 s [opt-env-conf-test] showCommandABit
  22417. 1992.95 s [opt-env-conf-test] cs
  22418. 1992.95 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  22419. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22420. 1992.95 s [opt-env-conf-test] + showParen (d > 0) $
  22421. 1992.95 s [opt-env-conf-test] showString "WithConfig _ "
  22422. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22423. 1992.95 s [opt-env-conf-test] . showString " "
  22424. 1992.95 s [opt-env-conf-test]
  22425. 1992.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  22426. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22427. 1992.95 s [opt-env-conf-test] . showString " _ "
  22428. 1992.95 s [opt-env-conf-test] . go 11 p
  22429. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22430. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22431. 1992.95 s [opt-env-conf-test] + showParen True $
  22432. 1992.95 s [opt-env-conf-test] showString "Commands "
  22433. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22434. 1992.95 s [opt-env-conf-test] . showString " "
  22435. 1992.95 s [opt-env-conf-test]
  22436. 1992.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  22437. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22438. 1992.95 s [opt-env-conf-test] . showString " _ "
  22439. 1992.95 s [opt-env-conf-test] . go 11 p
  22440. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22441. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22442. 1992.95 s [opt-env-conf-test] + showParen (True) $
  22443. 1992.95 s [opt-env-conf-test] showString "Commands "
  22444. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22445. 1992.95 s [opt-env-conf-test] . showString " "
  22446. 1992.95 s [opt-env-conf-test]
  22447. 1992.95 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
  22448. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22449. 1992.95 s [opt-env-conf-test] . showString " _ "
  22450. 1992.95 s [opt-env-conf-test] . go 11 p
  22451. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22452. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22453. 1992.95 s [opt-env-conf-test] + showParen (d >= 10) $
  22454. 1992.95 s [opt-env-conf-test] showString "Commands "
  22455. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22456. 1992.95 s [opt-env-conf-test] . showString " "
  22457. 1992.95 s [opt-env-conf-test]
  22458. 1992.95 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22459. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22460. 1992.95 s [opt-env-conf-test] . showString " _ "
  22461. 1992.95 s [opt-env-conf-test] . go 11 p
  22462. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22463. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22464. 1992.95 s [opt-env-conf-test] + showParen (d > -10) $
  22465. 1992.95 s [opt-env-conf-test] showString "Commands "
  22466. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22467. 1992.95 s [opt-env-conf-test] . showString " "
  22468. 1992.95 s [opt-env-conf-test]
  22469. 1992.95 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22470. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22471. 1992.95 s [opt-env-conf-test] . showString " _ "
  22472. 1992.95 s [opt-env-conf-test] . go 11 p
  22473. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22474. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22475. 1992.95 s [opt-env-conf-test] + showParen (d > 1) $
  22476. 1992.95 s [opt-env-conf-test] showString "Commands "
  22477. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22478. 1992.95 s [opt-env-conf-test] . showString " "
  22479. 1992.95 s [opt-env-conf-test]
  22480. 1992.95 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  22481. 1992.95 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  22482. 1992.95 s [opt-env-conf-test] . showString " _ "
  22483. 1992.95 s [opt-env-conf-test] . go 11 p
  22484. 1992.95 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  22485. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22486. 1992.95 s [opt-env-conf-test] + showParen (d > 0) $
  22487. 1992.95 s [opt-env-conf-test] showString "Commands "
  22488. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22489. 1992.95 s [opt-env-conf-test] . showString " "
  22490. 1992.95 s [opt-env-conf-test]
  22491. 1992.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  22492. 1992.95 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22493. 1992.95 s [opt-env-conf-test] . showString " "
  22494. 1992.95 s [opt-env-conf-test] . go 11 p
  22495. 1992.95 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22496. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22497. 1992.95 s [opt-env-conf-test] + showParen True $
  22498. 1992.95 s [opt-env-conf-test] showString "Check "
  22499. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22500. 1992.95 s [opt-env-conf-test] . showString " "
  22501. 1992.95 s [opt-env-conf-test]
  22502. 1992.95 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  22503. 1992.95 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22504. 1992.95 s [opt-env-conf-test] . showString " "
  22505. 1992.95 s [opt-env-conf-test] . go 11 p
  22506. 1992.95 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22507. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22508. 1992.95 s [opt-env-conf-test] + showParen (True) $
  22509. 1992.95 s [opt-env-conf-test] showString "Check "
  22510. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22511. 1992.95 s [opt-env-conf-test] . showString " "
  22512. 1992.95 s [opt-env-conf-test]
  22513. 1992.95 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
  22514. 1992.95 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22515. 1992.95 s [opt-env-conf-test] . showString " "
  22516. 1992.95 s [opt-env-conf-test] . go 11 p
  22517. 1992.95 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22518. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22519. 1992.95 s [opt-env-conf-test] + showParen (d >= 10) $
  22520. 1992.95 s [opt-env-conf-test] showString "Check "
  22521. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22522. 1992.95 s [opt-env-conf-test] . showString " "
  22523. 1992.95 s [opt-env-conf-test]
  22524. 1992.95 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22525. 1992.95 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22526. 1992.95 s [opt-env-conf-test] . showString " "
  22527. 1992.95 s [opt-env-conf-test] . go 11 p
  22528. 1992.95 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22529. 1992.95 s [opt-env-conf-test] - showParen (d > 10) $
  22530. 1992.95 s [opt-env-conf-test] + showParen (d > -10) $
  22531. 1992.95 s [opt-env-conf-test] showString "Check "
  22532. 1992.95 s [opt-env-conf-test] . showsPrec 11 mLoc
  22533. 1992.95 s [opt-env-conf-test] . showString " "
  22534. 1992.95 s [opt-env-conf-test]
  22535. 1992.96 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22536. 1992.96 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22537. 1992.96 s [opt-env-conf-test] . showString " "
  22538. 1992.96 s [opt-env-conf-test] . go 11 p
  22539. 1992.96 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22540. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22541. 1992.96 s [opt-env-conf-test] + showParen (d > 1) $
  22542. 1992.96 s [opt-env-conf-test] showString "Check "
  22543. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22544. 1992.96 s [opt-env-conf-test] . showString " "
  22545. 1992.96 s [opt-env-conf-test]
  22546. 1992.96 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  22547. 1992.96 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  22548. 1992.96 s [opt-env-conf-test] . showString " "
  22549. 1992.96 s [opt-env-conf-test] . go 11 p
  22550. 1992.96 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  22551. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22552. 1992.96 s [opt-env-conf-test] + showParen (d > 0) $
  22553. 1992.96 s [opt-env-conf-test] showString "Check "
  22554. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22555. 1992.96 s [opt-env-conf-test] . showString " "
  22556. 1992.96 s [opt-env-conf-test]
  22557. 1992.96 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  22558. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22559. 1992.96 s [opt-env-conf-test] . showString " "
  22560. 1992.96 s [opt-env-conf-test] . go 11 p
  22561. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22562. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22563. 1992.96 s [opt-env-conf-test] + showParen True $
  22564. 1992.96 s [opt-env-conf-test] showString "Some "
  22565. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22566. 1992.96 s [opt-env-conf-test] . showString " "
  22567. 1992.96 s [opt-env-conf-test]
  22568. 1992.96 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  22569. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22570. 1992.96 s [opt-env-conf-test] . showString " "
  22571. 1992.96 s [opt-env-conf-test] . go 11 p
  22572. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22573. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22574. 1992.96 s [opt-env-conf-test] + showParen (True) $
  22575. 1992.96 s [opt-env-conf-test] showString "Some "
  22576. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22577. 1992.96 s [opt-env-conf-test] . showString " "
  22578. 1992.96 s [opt-env-conf-test]
  22579. 1992.96 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
  22580. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22581. 1992.96 s [opt-env-conf-test] . showString " "
  22582. 1992.96 s [opt-env-conf-test] . go 11 p
  22583. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22584. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22585. 1992.96 s [opt-env-conf-test] + showParen (d >= 10) $
  22586. 1992.96 s [opt-env-conf-test] showString "Some "
  22587. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22588. 1992.96 s [opt-env-conf-test] . showString " "
  22589. 1992.96 s [opt-env-conf-test]
  22590. 1992.96 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22591. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22592. 1992.96 s [opt-env-conf-test] . showString " "
  22593. 1992.96 s [opt-env-conf-test] . go 11 p
  22594. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22595. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22596. 1992.96 s [opt-env-conf-test] + showParen (d > -10) $
  22597. 1992.96 s [opt-env-conf-test] showString "Some "
  22598. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22599. 1992.96 s [opt-env-conf-test] . showString " "
  22600. 1992.96 s [opt-env-conf-test]
  22601. 1992.96 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22602. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22603. 1992.96 s [opt-env-conf-test] . showString " "
  22604. 1992.96 s [opt-env-conf-test] . go 11 p
  22605. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22606. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22607. 1992.96 s [opt-env-conf-test] + showParen (d > 1) $
  22608. 1992.96 s [opt-env-conf-test] showString "Some "
  22609. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22610. 1992.96 s [opt-env-conf-test] . showString " "
  22611. 1992.96 s [opt-env-conf-test]
  22612. 1992.96 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  22613. 1992.96 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  22614. 1992.96 s [opt-env-conf-test] . showString " "
  22615. 1992.96 s [opt-env-conf-test] . go 11 p
  22616. 1992.96 s [opt-env-conf-test] ParserSome mLoc p ->
  22617. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22618. 1992.96 s [opt-env-conf-test] + showParen (d > 0) $
  22619. 1992.96 s [opt-env-conf-test] showString "Some "
  22620. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22621. 1992.96 s [opt-env-conf-test] . showString " "
  22622. 1992.96 s [opt-env-conf-test]
  22623. 1992.96 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  22624. 1992.96 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22625. 1992.96 s [opt-env-conf-test] . showString " "
  22626. 1992.96 s [opt-env-conf-test] . go 11 p2
  22627. 1992.96 s [opt-env-conf-test] ParserMany mLoc p ->
  22628. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22629. 1992.96 s [opt-env-conf-test] + showParen True $
  22630. 1992.96 s [opt-env-conf-test] showString "Many "
  22631. 1992.96 s [opt-env-conf-test] . showsPrec 11 mLoc
  22632. 1992.96 s [opt-env-conf-test] . showString " "
  22633. 1992.96 s [opt-env-conf-test]
  22634. 1992.96 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  22635. 1992.96 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22636. 1992.96 s [opt-env-conf-test] . showString " "
  22637. 1992.96 s [opt-env-conf-test] . go 11 p2
  22638. 1992.96 s [opt-env-conf-test] ParserMany mLoc p ->
  22639. 1992.96 s [opt-env-conf-test] - showParen (d > 10) $
  22640. 1992.96 s [opt-env-conf-test] + showParen (True) $
  22641. 1992.96 s [opt-env-conf-test] showString "Many "
  22642. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22643. 1992.97 s [opt-env-conf-test] . showString " "
  22644. 1992.97 s [opt-env-conf-test]
  22645. 1992.97 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
  22646. 1992.97 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22647. 1992.97 s [opt-env-conf-test] . showString " "
  22648. 1992.97 s [opt-env-conf-test] . go 11 p2
  22649. 1992.97 s [opt-env-conf-test] ParserMany mLoc p ->
  22650. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22651. 1992.97 s [opt-env-conf-test] + showParen (d >= 10) $
  22652. 1992.97 s [opt-env-conf-test] showString "Many "
  22653. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22654. 1992.97 s [opt-env-conf-test] . showString " "
  22655. 1992.97 s [opt-env-conf-test]
  22656. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22657. 1992.97 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22658. 1992.97 s [opt-env-conf-test] . showString " "
  22659. 1992.97 s [opt-env-conf-test] . go 11 p2
  22660. 1992.97 s [opt-env-conf-test] ParserMany mLoc p ->
  22661. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22662. 1992.97 s [opt-env-conf-test] + showParen (d > -10) $
  22663. 1992.97 s [opt-env-conf-test] showString "Many "
  22664. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22665. 1992.97 s [opt-env-conf-test] . showString " "
  22666. 1992.97 s [opt-env-conf-test]
  22667. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22668. 1992.97 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22669. 1992.97 s [opt-env-conf-test] . showString " "
  22670. 1992.97 s [opt-env-conf-test] . go 11 p2
  22671. 1992.97 s [opt-env-conf-test] ParserMany mLoc p ->
  22672. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22673. 1992.97 s [opt-env-conf-test] + showParen (d > 1) $
  22674. 1992.97 s [opt-env-conf-test] showString "Many "
  22675. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22676. 1992.97 s [opt-env-conf-test] . showString " "
  22677. 1992.97 s [opt-env-conf-test]
  22678. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  22679. 1992.97 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  22680. 1992.97 s [opt-env-conf-test] . showString " "
  22681. 1992.97 s [opt-env-conf-test] . go 11 p2
  22682. 1992.97 s [opt-env-conf-test] ParserMany mLoc p ->
  22683. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22684. 1992.97 s [opt-env-conf-test] + showParen (d > 0) $
  22685. 1992.97 s [opt-env-conf-test] showString "Many "
  22686. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22687. 1992.97 s [opt-env-conf-test] . showString " "
  22688. 1992.97 s [opt-env-conf-test]
  22689. 1992.97 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  22690. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22691. 1992.97 s [opt-env-conf-test] showString "Empty "
  22692. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22693. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22694. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22695. 1992.97 s [opt-env-conf-test] + showParen True $
  22696. 1992.97 s [opt-env-conf-test] showString "Alt "
  22697. 1992.97 s [opt-env-conf-test] . go 11 p1
  22698. 1992.97 s [opt-env-conf-test] . showString " "
  22699. 1992.97 s [opt-env-conf-test]
  22700. 1992.97 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  22701. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22702. 1992.97 s [opt-env-conf-test] showString "Empty "
  22703. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22704. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22705. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22706. 1992.97 s [opt-env-conf-test] + showParen (True) $
  22707. 1992.97 s [opt-env-conf-test] showString "Alt "
  22708. 1992.97 s [opt-env-conf-test] . go 11 p1
  22709. 1992.97 s [opt-env-conf-test] . showString " "
  22710. 1992.97 s [opt-env-conf-test]
  22711. 1992.97 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
  22712. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22713. 1992.97 s [opt-env-conf-test] showString "Empty "
  22714. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22715. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22716. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22717. 1992.97 s [opt-env-conf-test] + showParen (d >= 10) $
  22718. 1992.97 s [opt-env-conf-test] showString "Alt "
  22719. 1992.97 s [opt-env-conf-test] . go 11 p1
  22720. 1992.97 s [opt-env-conf-test] . showString " "
  22721. 1992.97 s [opt-env-conf-test]
  22722. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22723. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22724. 1992.97 s [opt-env-conf-test] showString "Empty "
  22725. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22726. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22727. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22728. 1992.97 s [opt-env-conf-test] + showParen (d > -10) $
  22729. 1992.97 s [opt-env-conf-test] showString "Alt "
  22730. 1992.97 s [opt-env-conf-test] . go 11 p1
  22731. 1992.97 s [opt-env-conf-test] . showString " "
  22732. 1992.97 s [opt-env-conf-test]
  22733. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22734. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22735. 1992.97 s [opt-env-conf-test] showString "Empty "
  22736. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22737. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22738. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22739. 1992.97 s [opt-env-conf-test] + showParen (d > 1) $
  22740. 1992.97 s [opt-env-conf-test] showString "Alt "
  22741. 1992.97 s [opt-env-conf-test] . go 11 p1
  22742. 1992.97 s [opt-env-conf-test] . showString " "
  22743. 1992.97 s [opt-env-conf-test]
  22744. 1992.97 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  22745. 1992.97 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  22746. 1992.97 s [opt-env-conf-test] showString "Empty "
  22747. 1992.97 s [opt-env-conf-test] . showsPrec 11 mLoc
  22748. 1992.97 s [opt-env-conf-test] ParserAlt p1 p2 ->
  22749. 1992.97 s [opt-env-conf-test] - showParen (d > 10) $
  22750. 1992.97 s [opt-env-conf-test] + showParen (d > 0) $
  22751. 1992.97 s [opt-env-conf-test] showString "Alt "
  22752. 1992.97 s [opt-env-conf-test] . go 11 p1
  22753. 1992.97 s [opt-env-conf-test] . showString " "
  22754. 1992.97 s [opt-env-conf-test]
  22755. 1992.97 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  22756. 1992.97 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22757. 1992.98 s [opt-env-conf-test] go d = \case
  22758. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22759. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22760. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22761. 1992.98 s [opt-env-conf-test] + showParen True $
  22762. 1992.98 s [opt-env-conf-test] showString "Ap "
  22763. 1992.98 s [opt-env-conf-test] . go 11 pf
  22764. 1992.98 s [opt-env-conf-test] . showString " "
  22765. 1992.98 s [opt-env-conf-test]
  22766. 1992.98 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  22767. 1992.98 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22768. 1992.98 s [opt-env-conf-test] go d = \case
  22769. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22770. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22771. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22772. 1992.98 s [opt-env-conf-test] + showParen (True) $
  22773. 1992.98 s [opt-env-conf-test] showString "Ap "
  22774. 1992.98 s [opt-env-conf-test] . go 11 pf
  22775. 1992.98 s [opt-env-conf-test] . showString " "
  22776. 1992.98 s [opt-env-conf-test]
  22777. 1992.98 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
  22778. 1992.98 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22779. 1992.98 s [opt-env-conf-test] go d = \case
  22780. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22781. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22782. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22783. 1992.98 s [opt-env-conf-test] + showParen (d >= 10) $
  22784. 1992.98 s [opt-env-conf-test] showString "Ap "
  22785. 1992.98 s [opt-env-conf-test] . go 11 pf
  22786. 1992.98 s [opt-env-conf-test] . showString " "
  22787. 1992.98 s [opt-env-conf-test]
  22788. 1992.98 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22789. 1992.98 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22790. 1992.98 s [opt-env-conf-test] go d = \case
  22791. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22792. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22793. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22794. 1992.98 s [opt-env-conf-test] + showParen (d > -10) $
  22795. 1992.98 s [opt-env-conf-test] showString "Ap "
  22796. 1992.98 s [opt-env-conf-test] . go 11 pf
  22797. 1992.98 s [opt-env-conf-test] . showString " "
  22798. 1992.98 s [opt-env-conf-test]
  22799. 1992.98 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22800. 1992.98 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22801. 1992.98 s [opt-env-conf-test] go d = \case
  22802. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22803. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22804. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22805. 1992.98 s [opt-env-conf-test] + showParen (d > 1) $
  22806. 1992.98 s [opt-env-conf-test] showString "Ap "
  22807. 1992.98 s [opt-env-conf-test] . go 11 pf
  22808. 1992.98 s [opt-env-conf-test] . showString " "
  22809. 1992.98 s [opt-env-conf-test]
  22810. 1992.98 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  22811. 1992.98 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  22812. 1992.98 s [opt-env-conf-test] go d = \case
  22813. 1992.98 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22814. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22815. 1992.98 s [opt-env-conf-test] - showParen (d > 10) $
  22816. 1992.98 s [opt-env-conf-test] + showParen (d > 0) $
  22817. 1992.98 s [opt-env-conf-test] showString "Ap "
  22818. 1992.98 s [opt-env-conf-test] . go 11 pf
  22819. 1992.98 s [opt-env-conf-test] . showString " "
  22820. 1992.98 s [opt-env-conf-test]
  22821. 1992.98 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  22822. 1992.98 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22823. 1992.98 s [opt-env-conf-test] where
  22824. 1992.98 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22825. 1992.98 s [opt-env-conf-test] go d = \case
  22826. 1992.98 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22827. 1992.98 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  22828. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22829. 1992.98 s [opt-env-conf-test] showParen (d > 10) $
  22830. 1992.98 s [opt-env-conf-test] showString "Ap "
  22831. 1992.98 s [opt-env-conf-test]
  22832. 1992.98 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  22833. 1992.98 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22834. 1992.98 s [opt-env-conf-test] where
  22835. 1992.98 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22836. 1992.98 s [opt-env-conf-test] go d = \case
  22837. 1992.98 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22838. 1992.98 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  22839. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22840. 1992.98 s [opt-env-conf-test] showParen (d > 10) $
  22841. 1992.98 s [opt-env-conf-test] showString "Ap "
  22842. 1992.98 s [opt-env-conf-test]
  22843. 1992.98 s [opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
  22844. 1992.98 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22845. 1992.98 s [opt-env-conf-test] where
  22846. 1992.98 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22847. 1992.98 s [opt-env-conf-test] go d = \case
  22848. 1992.98 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22849. 1992.98 s [opt-env-conf-test] + ParserPure _ -> showParen (d >= 10) $ showString "Pure _"
  22850. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22851. 1992.98 s [opt-env-conf-test] showParen (d > 10) $
  22852. 1992.98 s [opt-env-conf-test] showString "Ap "
  22853. 1992.98 s [opt-env-conf-test]
  22854. 1992.98 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22855. 1992.98 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22856. 1992.98 s [opt-env-conf-test] where
  22857. 1992.98 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22858. 1992.98 s [opt-env-conf-test] go d = \case
  22859. 1992.98 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22860. 1992.98 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  22861. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22862. 1992.98 s [opt-env-conf-test] showParen (d > 10) $
  22863. 1992.98 s [opt-env-conf-test] showString "Ap "
  22864. 1992.98 s [opt-env-conf-test]
  22865. 1992.98 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22866. 1992.98 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22867. 1992.98 s [opt-env-conf-test] where
  22868. 1992.98 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22869. 1992.98 s [opt-env-conf-test] go d = \case
  22870. 1992.98 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22871. 1992.98 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  22872. 1992.98 s [opt-env-conf-test] ParserAp pf pa ->
  22873. 1992.98 s [opt-env-conf-test] showParen (d > 10) $
  22874. 1992.98 s [opt-env-conf-test] showString "Ap "
  22875. 1992.99 s [opt-env-conf-test]
  22876. 1992.99 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  22877. 1992.99 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  22878. 1992.99 s [opt-env-conf-test] where
  22879. 1992.99 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  22880. 1992.99 s [opt-env-conf-test] go d = \case
  22881. 1992.99 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  22882. 1992.99 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  22883. 1992.99 s [opt-env-conf-test] ParserAp pf pa ->
  22884. 1992.99 s [opt-env-conf-test] showParen (d > 10) $
  22885. 1992.99 s [opt-env-conf-test] showString "Ap "
  22886. 1992.99 s [opt-env-conf-test]
  22887. 1992.99 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22888. 1992.99 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22889. 1992.99 s [opt-env-conf-test] where
  22890. 1992.99 s [opt-env-conf-test] go p =
  22891. 1992.99 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22892. 1992.99 s [opt-env-conf-test] in case p of
  22893. 1992.99 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22894. 1992.99 s [opt-env-conf-test] ParserAp {} -> p'
  22895. 1992.99 s [opt-env-conf-test] ParserSelect {} -> p'
  22896. 1992.99 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22897. 1992.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22898. 1992.99 s [opt-env-conf-test] ParserMany {} -> p'
  22899. 1992.99 s [opt-env-conf-test] ParserSome {} -> p'
  22900. 1992.99 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22901. 1992.99 s [opt-env-conf-test] ParserCheck {} -> p'
  22902. 1992.99 s [opt-env-conf-test] ParserCommands {} -> p'
  22903. 1992.99 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  22904. 1992.99 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22905. 1992.99 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22906. 1992.99 s [opt-env-conf-test] Just _ -> p
  22907. 1992.99 s [opt-env-conf-test]
  22908. 1992.99 s [opt-env-conf-test] -- | Try a list of parsers in order
  22909. 1992.99 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22910. 1992.99 s [opt-env-conf-test]
  22911. 1992.99 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22912. 1992.99 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22913. 1992.99 s [opt-env-conf-test] where
  22914. 1992.99 s [opt-env-conf-test] go p =
  22915. 1992.99 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22916. 1992.99 s [opt-env-conf-test] in case p of
  22917. 1992.99 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22918. 1992.99 s [opt-env-conf-test] ParserAp {} -> p'
  22919. 1992.99 s [opt-env-conf-test] ParserSelect {} -> p'
  22920. 1992.99 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22921. 1992.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22922. 1992.99 s [opt-env-conf-test] ParserMany {} -> p'
  22923. 1992.99 s [opt-env-conf-test] ParserSome {} -> p'
  22924. 1992.99 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22925. 1992.99 s [opt-env-conf-test] ParserCheck {} -> p'
  22926. 1992.99 s [opt-env-conf-test] - ParserCommands {} -> p'
  22927. 1992.99 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22928. 1992.99 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22929. 1992.99 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22930. 1992.99 s [opt-env-conf-test] Just _ -> p
  22931. 1992.99 s [opt-env-conf-test]
  22932. 1992.99 s [opt-env-conf-test] -- | Try a list of parsers in order
  22933. 1992.99 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22934. 1992.99 s [opt-env-conf-test]
  22935. 1992.99 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22936. 1992.99 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22937. 1992.99 s [opt-env-conf-test] where
  22938. 1992.99 s [opt-env-conf-test] go p =
  22939. 1992.99 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22940. 1992.99 s [opt-env-conf-test] in case p of
  22941. 1992.99 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22942. 1992.99 s [opt-env-conf-test] ParserAp {} -> p'
  22943. 1992.99 s [opt-env-conf-test] ParserSelect {} -> p'
  22944. 1992.99 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22945. 1992.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22946. 1992.99 s [opt-env-conf-test] ParserMany {} -> p'
  22947. 1992.99 s [opt-env-conf-test] ParserSome {} -> p'
  22948. 1992.99 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22949. 1992.99 s [opt-env-conf-test] - ParserCheck {} -> p'
  22950. 1992.99 s [opt-env-conf-test] ParserCommands {} -> p'
  22951. 1992.99 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22952. 1992.99 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22953. 1992.99 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22954. 1992.99 s [opt-env-conf-test] Just _ -> p
  22955. 1992.99 s [opt-env-conf-test]
  22956. 1992.99 s [opt-env-conf-test] -- | Try a list of parsers in order
  22957. 1992.99 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22958. 1992.99 s [opt-env-conf-test]
  22959. 1992.99 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22960. 1992.99 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22961. 1992.99 s [opt-env-conf-test] where
  22962. 1992.99 s [opt-env-conf-test] go p =
  22963. 1992.99 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22964. 1992.99 s [opt-env-conf-test] in case p of
  22965. 1992.99 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22966. 1992.99 s [opt-env-conf-test] ParserAp {} -> p'
  22967. 1992.99 s [opt-env-conf-test] ParserSelect {} -> p'
  22968. 1992.99 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22969. 1992.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22970. 1992.99 s [opt-env-conf-test] ParserMany {} -> p'
  22971. 1992.99 s [opt-env-conf-test] ParserSome {} -> p'
  22972. 1992.99 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  22973. 1992.99 s [opt-env-conf-test] ParserCheck {} -> p'
  22974. 1992.99 s [opt-env-conf-test] ParserCommands {} -> p'
  22975. 1992.99 s [opt-env-conf-test] ParserWithConfig {} -> p'
  22976. 1992.99 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  22977. 1992.99 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  22978. 1992.99 s [opt-env-conf-test] Just _ -> p
  22979. 1992.99 s [opt-env-conf-test]
  22980. 1992.99 s [opt-env-conf-test] -- | Try a list of parsers in order
  22981. 1992.99 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  22982. 1992.99 s [opt-env-conf-test]
  22983. 1992.99 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  22984. 1992.99 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  22985. 1992.99 s [opt-env-conf-test] where
  22986. 1992.99 s [opt-env-conf-test] go p =
  22987. 1992.99 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  22988. 1992.99 s [opt-env-conf-test] in case p of
  22989. 1992.99 s [opt-env-conf-test] ParserPure a -> ParserPure a
  22990. 1992.99 s [opt-env-conf-test] ParserAp {} -> p'
  22991. 1992.99 s [opt-env-conf-test] ParserSelect {} -> p'
  22992. 1992.99 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  22993. 1992.99 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  22994. 1993.00 s [opt-env-conf-test] ParserMany {} -> p'
  22995. 1993.00 s [opt-env-conf-test] - ParserSome {} -> p'
  22996. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  22997. 1993.00 s [opt-env-conf-test] ParserCheck {} -> p'
  22998. 1993.00 s [opt-env-conf-test] ParserCommands {} -> p'
  22999. 1993.00 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23000. 1993.00 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23001. 1993.00 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23002. 1993.00 s [opt-env-conf-test] Just _ -> p
  23003. 1993.00 s [opt-env-conf-test]
  23004. 1993.00 s [opt-env-conf-test] -- | Try a list of parsers in order
  23005. 1993.00 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23006. 1993.00 s [opt-env-conf-test]
  23007. 1993.00 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23008. 1993.00 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23009. 1993.00 s [opt-env-conf-test] where
  23010. 1993.00 s [opt-env-conf-test] go p =
  23011. 1993.00 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23012. 1993.00 s [opt-env-conf-test] in case p of
  23013. 1993.00 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23014. 1993.00 s [opt-env-conf-test] ParserAp {} -> p'
  23015. 1993.00 s [opt-env-conf-test] ParserSelect {} -> p'
  23016. 1993.00 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23017. 1993.00 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23018. 1993.00 s [opt-env-conf-test] - ParserMany {} -> p'
  23019. 1993.00 s [opt-env-conf-test] ParserSome {} -> p'
  23020. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23021. 1993.00 s [opt-env-conf-test] ParserCheck {} -> p'
  23022. 1993.00 s [opt-env-conf-test] ParserCommands {} -> p'
  23023. 1993.00 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23024. 1993.00 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23025. 1993.00 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23026. 1993.00 s [opt-env-conf-test] Just _ -> p
  23027. 1993.00 s [opt-env-conf-test]
  23028. 1993.00 s [opt-env-conf-test] -- | Try a list of parsers in order
  23029. 1993.00 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23030. 1993.00 s [opt-env-conf-test]
  23031. 1993.00 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23032. 1993.00 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23033. 1993.00 s [opt-env-conf-test] where
  23034. 1993.00 s [opt-env-conf-test] go p =
  23035. 1993.00 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23036. 1993.00 s [opt-env-conf-test] in case p of
  23037. 1993.00 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23038. 1993.00 s [opt-env-conf-test] ParserAp {} -> p'
  23039. 1993.00 s [opt-env-conf-test] ParserSelect {} -> p'
  23040. 1993.00 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  23041. 1993.00 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23042. 1993.00 s [opt-env-conf-test] ParserMany {} -> p'
  23043. 1993.00 s [opt-env-conf-test] ParserSome {} -> p'
  23044. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23045. 1993.00 s [opt-env-conf-test] ParserCheck {} -> p'
  23046. 1993.00 s [opt-env-conf-test] ParserCommands {} -> p'
  23047. 1993.00 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23048. 1993.00 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23049. 1993.00 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23050. 1993.00 s [opt-env-conf-test] Just _ -> p
  23051. 1993.00 s [opt-env-conf-test]
  23052. 1993.00 s [opt-env-conf-test] -- | Try a list of parsers in order
  23053. 1993.00 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23054. 1993.00 s [opt-env-conf-test]
  23055. 1993.00 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23056. 1993.00 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23057. 1993.00 s [opt-env-conf-test] where
  23058. 1993.00 s [opt-env-conf-test] go p =
  23059. 1993.00 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23060. 1993.00 s [opt-env-conf-test] in case p of
  23061. 1993.00 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23062. 1993.00 s [opt-env-conf-test] ParserAp {} -> p'
  23063. 1993.00 s [opt-env-conf-test] - ParserSelect {} -> p'
  23064. 1993.00 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23065. 1993.00 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23066. 1993.00 s [opt-env-conf-test] ParserMany {} -> p'
  23067. 1993.00 s [opt-env-conf-test] ParserSome {} -> p'
  23068. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23069. 1993.00 s [opt-env-conf-test] ParserCheck {} -> p'
  23070. 1993.00 s [opt-env-conf-test] ParserCommands {} -> p'
  23071. 1993.00 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23072. 1993.00 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23073. 1993.00 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23074. 1993.00 s [opt-env-conf-test] Just _ -> p
  23075. 1993.00 s [opt-env-conf-test]
  23076. 1993.00 s [opt-env-conf-test] -- | Try a list of parsers in order
  23077. 1993.00 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23078. 1993.00 s [opt-env-conf-test]
  23079. 1993.00 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23080. 1993.00 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23081. 1993.00 s [opt-env-conf-test] where
  23082. 1993.00 s [opt-env-conf-test] go p =
  23083. 1993.00 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23084. 1993.00 s [opt-env-conf-test] in case p of
  23085. 1993.00 s [opt-env-conf-test] ParserPure a -> ParserPure a
  23086. 1993.00 s [opt-env-conf-test] - ParserAp {} -> p'
  23087. 1993.00 s [opt-env-conf-test] ParserSelect {} -> p'
  23088. 1993.00 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23089. 1993.00 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23090. 1993.00 s [opt-env-conf-test] ParserMany {} -> p'
  23091. 1993.00 s [opt-env-conf-test] ParserSome {} -> p'
  23092. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23093. 1993.00 s [opt-env-conf-test] ParserCheck {} -> p'
  23094. 1993.00 s [opt-env-conf-test] ParserCommands {} -> p'
  23095. 1993.00 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23096. 1993.00 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23097. 1993.00 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23098. 1993.00 s [opt-env-conf-test] Just _ -> p
  23099. 1993.00 s [opt-env-conf-test]
  23100. 1993.00 s [opt-env-conf-test] -- | Try a list of parsers in order
  23101. 1993.00 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23102. 1993.00 s [opt-env-conf-test]
  23103. 1993.00 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  23104. 1993.00 s [opt-env-conf-test] @@ -547,21 +547,20 @@
  23105. 1993.00 s [opt-env-conf-test] where
  23106. 1993.00 s [opt-env-conf-test] go p =
  23107. 1993.00 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  23108. 1993.00 s [opt-env-conf-test] in case p of
  23109. 1993.00 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  23110. 1993.00 s [opt-env-conf-test] ParserAp {} -> p'
  23111. 1993.00 s [opt-env-conf-test] ParserSelect {} -> p'
  23112. 1993.00 s [opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
  23113. 1993.00 s [opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  23114. 1993.00 s [opt-env-conf-test] ParserMany {} -> p'
  23115. 1993.00 s [opt-env-conf-test] ParserSome {} -> p'
  23116. 1993.00 s [opt-env-conf-test] ParserAllOrNothing {} -> p'
  23117. 1993.01 s [opt-env-conf-test] ParserCheck {} -> p'
  23118. 1993.01 s [opt-env-conf-test] ParserCommands {} -> p'
  23119. 1993.01 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23120. 1993.01 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23121. 1993.01 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23122. 1993.01 s [opt-env-conf-test] Just _ -> p
  23123. 1993.01 s [opt-env-conf-test]
  23124. 1993.01 s [opt-env-conf-test] -- | Try a list of parsers in order
  23125. 1993.01 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23126. 1993.01 s [opt-env-conf-test]
  23127. 1993.01 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  23128. 1993.01 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  23129. 1993.01 s [opt-env-conf-test] ParserCheck {} -> p'
  23130. 1993.01 s [opt-env-conf-test] ParserCommands {} -> p'
  23131. 1993.01 s [opt-env-conf-test] ParserWithConfig {} -> p'
  23132. 1993.01 s [opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
  23133. 1993.01 s [opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  23134. 1993.01 s [opt-env-conf-test] - Just _ -> p
  23135. 1993.01 s [opt-env-conf-test]
  23136. 1993.01 s [opt-env-conf-test] -- | Try a list of parsers in order
  23137. 1993.01 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  23138. 1993.01 s [opt-env-conf-test]
  23139. 1993.01 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  23140. 1993.01 s [opt-env-conf-test] @@ -599,9 +599,8 @@
  23141. 1993.01 s [opt-env-conf-test] checkMapMaybe func p =
  23142. 1993.01 s [opt-env-conf-test] withFrozenCallStack $
  23143. 1993.01 s [opt-env-conf-test] checkMapEither
  23144. 1993.01 s [opt-env-conf-test] ( \a -> case func a of
  23145. 1993.01 s [opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
  23146. 1993.01 s [opt-env-conf-test] - Just b -> Right b
  23147. 1993.01 s [opt-env-conf-test] )
  23148. 1993.01 s [opt-env-conf-test] p
  23149. 1993.01 s [opt-env-conf-test]
  23150. 1993.01 s [opt-env-conf-test]
  23151. 1993.01 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  23152. 1993.01 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  23153. 1993.01 s [opt-env-conf-test] put as'
  23154. 1993.01 s [opt-env-conf-test] pure $ Just []
  23155. 1993.01 s [opt-env-conf-test] else do
  23156. 1993.01 s [opt-env-conf-test] - if settingTryOption
  23157. 1993.01 s [opt-env-conf-test] + if True
  23158. 1993.01 s [opt-env-conf-test] then do
  23159. 1993.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
  23160. 1993.01 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  23161. 1993.01 s [opt-env-conf-test]
  23162. 1993.01 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  23163. 1993.01 s [opt-env-conf-test] @@ -432,11 +432,10 @@
  23164. 1993.01 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  23165. 1993.01 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  23166. 1993.01 s [opt-env-conf-test] -- completer if we are at the end.
  23167. 1993.01 s [opt-env-conf-test] case possibilities of
  23168. 1993.01 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  23169. 1993.01 s [opt-env-conf-test] (_, as') : _ -> do
  23170. 1993.01 s [opt-env-conf-test] put as'
  23171. 1993.01 s [opt-env-conf-test] completeWithCompleterAtEnd
  23172. 1993.01 s [opt-env-conf-test] else
  23173. 1993.01 s [opt-env-conf-test] if isJust settingSwitchValue
  23174. 1993.01 s [opt-env-conf-test] then do
  23175. 1993.01 s [opt-env-conf-test]
  23176. 1993.01 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
  23177. 1993.01 s [opt-env-conf-test] @@ -434,9 +434,8 @@
  23178. 1993.01 s [opt-env-conf-test] -- completer if we are at the end.
  23179. 1993.01 s [opt-env-conf-test] case possibilities of
  23180. 1993.01 s [opt-env-conf-test] [] -> completeWithCompleterAtEnd
  23181. 1993.01 s [opt-env-conf-test] (_, as') : _ -> do
  23182. 1993.01 s [opt-env-conf-test] - put as'
  23183. 1993.01 s [opt-env-conf-test] completeWithCompleterAtEnd
  23184. 1993.02 s [opt-env-conf-test] else
  23185. 1993.02 s [opt-env-conf-test] if isJust settingSwitchValue
  23186. 1993.02 s [opt-env-conf-test] then do
  23187. 1993.02 s [opt-env-conf-test]
  23188. 1993.02 s [opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
  23189. 1993.02 s [opt-env-conf-test] @@ -395,7 +395,7 @@
  23190. 1993.02 s [opt-env-conf-test] pure Completion {..}
  23191. 1993.02 s [opt-env-conf-test] let completeWithCompleterAtEnd = do
  23192. 1993.02 s [opt-env-conf-test] as <- get
  23193. 1993.02 s [opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
  23194. 1993.02 s [opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ Nothing
  23195. 1993.02 s [opt-env-conf-test] let completeWithDasheds = do
  23196. 1993.02 s [opt-env-conf-test] let isLong = \case
  23197. 1993.02 s [opt-env-conf-test] DashedLong _ -> True
  23198. 1993.02 s [opt-env-conf-test]
  23199. 1993.02 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
  23200. 1993.02 s [opt-env-conf-test] @@ -251,9 +251,8 @@
  23201. 1993.02 s [opt-env-conf-test] before <- get
  23202. 1993.02 s [opt-env-conf-test] mA <- func
  23203. 1993.02 s [opt-env-conf-test] case mA of
  23204. 1993.02 s [opt-env-conf-test] Nothing -> do
  23205. 1993.02 s [opt-env-conf-test] - put before
  23206. 1993.02 s [opt-env-conf-test] pure Nothing
  23207. 1993.02 s [opt-env-conf-test] Just a -> pure (Just a)
  23208. 1993.02 s [opt-env-conf-test]
  23209. 1993.02 s [opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
  23210. 1993.02 s [opt-env-conf-test]
  23211. 1993.02 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23212. 1993.02 s [opt-env-conf-test] @@ -125,42 +125,41 @@
  23213. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23214. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23215. 1993.02 s [opt-env-conf-test] exitFailure
  23216. 1993.02 s [opt-env-conf-test] Right i -> case i of
  23217. 1993.02 s [opt-env-conf-test] ShowVersion -> do
  23218. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23219. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23220. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23221. 1993.02 s [opt-env-conf-test] exitSuccess
  23222. 1993.02 s [opt-env-conf-test] RenderMan -> do
  23223. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23224. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23225. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23226. 1993.02 s [opt-env-conf-test] exitSuccess
  23227. 1993.02 s [opt-env-conf-test] RenderDocumentation -> do
  23228. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23229. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23230. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23231. 1993.02 s [opt-env-conf-test] exitSuccess
  23232. 1993.02 s [opt-env-conf-test] RenderNixosOptions -> do
  23233. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23234. 1993.02 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23235. 1993.02 s [opt-env-conf-test] exitSuccess
  23236. 1993.02 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23237. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23238. 1993.02 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23239. 1993.02 s [opt-env-conf-test] exitSuccess
  23240. 1993.02 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23241. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23242. 1993.02 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23243. 1993.02 s [opt-env-conf-test] exitSuccess
  23244. 1993.02 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23245. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23246. 1993.02 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23247. 1993.02 s [opt-env-conf-test] exitSuccess
  23248. 1993.02 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23249. 1993.02 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23250. 1993.02 s [opt-env-conf-test] exitSuccess
  23251. 1993.02 s [opt-env-conf-test] - ParsedNormally a -> pure a
  23252. 1993.02 s [opt-env-conf-test]
  23253. 1993.02 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.
  23254. 1993.02 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23255. 1993.02 s [opt-env-conf-test]
  23256. 1993.02 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23257. 1993.02 s [opt-env-conf-test] @@ -125,42 +125,39 @@
  23258. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23259. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23260. 1993.02 s [opt-env-conf-test] exitFailure
  23261. 1993.02 s [opt-env-conf-test] Right i -> case i of
  23262. 1993.02 s [opt-env-conf-test] ShowVersion -> do
  23263. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23264. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23265. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23266. 1993.02 s [opt-env-conf-test] exitSuccess
  23267. 1993.02 s [opt-env-conf-test] RenderMan -> do
  23268. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23269. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23270. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23271. 1993.02 s [opt-env-conf-test] exitSuccess
  23272. 1993.02 s [opt-env-conf-test] RenderDocumentation -> do
  23273. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23274. 1993.02 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23275. 1993.02 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23276. 1993.02 s [opt-env-conf-test] exitSuccess
  23277. 1993.02 s [opt-env-conf-test] RenderNixosOptions -> do
  23278. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23279. 1993.02 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23280. 1993.02 s [opt-env-conf-test] exitSuccess
  23281. 1993.02 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23282. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23283. 1993.02 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23284. 1993.02 s [opt-env-conf-test] exitSuccess
  23285. 1993.02 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23286. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23287. 1993.02 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23288. 1993.02 s [opt-env-conf-test] exitSuccess
  23289. 1993.02 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23290. 1993.02 s [opt-env-conf-test] progname <- getProgName
  23291. 1993.02 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23292. 1993.02 s [opt-env-conf-test] exitSuccess
  23293. 1993.03 s [opt-env-conf-test] - CompletionQuery enriched index ws -> do
  23294. 1993.03 s [opt-env-conf-test] - runCompletionQuery p' enriched index ws
  23295. 1993.03 s [opt-env-conf-test] - exitSuccess
  23296. 1993.03 s [opt-env-conf-test] ParsedNormally a -> pure a
  23297. 1993.03 s [opt-env-conf-test]
  23298. 1993.03 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.
  23299. 1993.03 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23300. 1993.03 s [opt-env-conf-test]
  23301. 1993.03 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23302. 1993.03 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23303. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23304. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23305. 1993.03 s [opt-env-conf-test] exitFailure
  23306. 1993.03 s [opt-env-conf-test] Right i -> case i of
  23307. 1993.03 s [opt-env-conf-test] ShowVersion -> do
  23308. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23309. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23310. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23311. 1993.03 s [opt-env-conf-test] exitSuccess
  23312. 1993.03 s [opt-env-conf-test] RenderMan -> do
  23313. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23314. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23315. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23316. 1993.03 s [opt-env-conf-test] exitSuccess
  23317. 1993.03 s [opt-env-conf-test] RenderDocumentation -> do
  23318. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23319. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23320. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23321. 1993.03 s [opt-env-conf-test] exitSuccess
  23322. 1993.03 s [opt-env-conf-test] RenderNixosOptions -> do
  23323. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23324. 1993.03 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23325. 1993.03 s [opt-env-conf-test] exitSuccess
  23326. 1993.03 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23327. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23328. 1993.03 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23329. 1993.03 s [opt-env-conf-test] exitSuccess
  23330. 1993.03 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23331. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23332. 1993.03 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23333. 1993.03 s [opt-env-conf-test] - exitSuccess
  23334. 1993.03 s [opt-env-conf-test] - FishCompletionScript progPath -> do
  23335. 1993.03 s [opt-env-conf-test] - progname <- getProgName
  23336. 1993.03 s [opt-env-conf-test] - generateFishCompletionScript progPath progname
  23337. 1993.03 s [opt-env-conf-test] exitSuccess
  23338. 1993.03 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23339. 1993.03 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23340. 1993.03 s [opt-env-conf-test] exitSuccess
  23341. 1993.03 s [opt-env-conf-test] ParsedNormally a -> pure a
  23342. 1993.03 s [opt-env-conf-test]
  23343. 1993.03 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.
  23344. 1993.03 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23345. 1993.03 s [opt-env-conf-test]
  23346. 1993.03 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23347. 1993.03 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23348. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23349. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23350. 1993.03 s [opt-env-conf-test] exitFailure
  23351. 1993.03 s [opt-env-conf-test] Right i -> case i of
  23352. 1993.03 s [opt-env-conf-test] ShowVersion -> do
  23353. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23354. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23355. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23356. 1993.03 s [opt-env-conf-test] exitSuccess
  23357. 1993.03 s [opt-env-conf-test] RenderMan -> do
  23358. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23359. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23360. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23361. 1993.03 s [opt-env-conf-test] exitSuccess
  23362. 1993.03 s [opt-env-conf-test] RenderDocumentation -> do
  23363. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23364. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23365. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23366. 1993.03 s [opt-env-conf-test] exitSuccess
  23367. 1993.03 s [opt-env-conf-test] RenderNixosOptions -> do
  23368. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23369. 1993.03 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23370. 1993.03 s [opt-env-conf-test] exitSuccess
  23371. 1993.03 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23372. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23373. 1993.03 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23374. 1993.03 s [opt-env-conf-test] - exitSuccess
  23375. 1993.03 s [opt-env-conf-test] - ZshCompletionScript progPath -> do
  23376. 1993.03 s [opt-env-conf-test] - progname <- getProgName
  23377. 1993.03 s [opt-env-conf-test] - generateZshCompletionScript progPath progname
  23378. 1993.03 s [opt-env-conf-test] exitSuccess
  23379. 1993.03 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23380. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23381. 1993.03 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23382. 1993.03 s [opt-env-conf-test] exitSuccess
  23383. 1993.03 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23384. 1993.03 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23385. 1993.03 s [opt-env-conf-test] exitSuccess
  23386. 1993.03 s [opt-env-conf-test] ParsedNormally a -> pure a
  23387. 1993.03 s [opt-env-conf-test]
  23388. 1993.03 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.
  23389. 1993.03 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23390. 1993.03 s [opt-env-conf-test]
  23391. 1993.03 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23392. 1993.03 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23393. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23394. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23395. 1993.03 s [opt-env-conf-test] exitFailure
  23396. 1993.03 s [opt-env-conf-test] Right i -> case i of
  23397. 1993.03 s [opt-env-conf-test] ShowVersion -> do
  23398. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23399. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23400. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23401. 1993.03 s [opt-env-conf-test] exitSuccess
  23402. 1993.03 s [opt-env-conf-test] RenderMan -> do
  23403. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23404. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23405. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23406. 1993.03 s [opt-env-conf-test] exitSuccess
  23407. 1993.03 s [opt-env-conf-test] RenderDocumentation -> do
  23408. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23409. 1993.03 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23410. 1993.03 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23411. 1993.03 s [opt-env-conf-test] exitSuccess
  23412. 1993.03 s [opt-env-conf-test] RenderNixosOptions -> do
  23413. 1993.03 s [opt-env-conf-test] progname <- getProgName
  23414. 1993.03 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23415. 1993.03 s [opt-env-conf-test] - exitSuccess
  23416. 1993.03 s [opt-env-conf-test] - BashCompletionScript progPath -> do
  23417. 1993.03 s [opt-env-conf-test] - progname <- getProgName
  23418. 1993.04 s [opt-env-conf-test] - generateBashCompletionScript progPath progname
  23419. 1993.04 s [opt-env-conf-test] exitSuccess
  23420. 1993.04 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23421. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23422. 1993.04 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23423. 1993.04 s [opt-env-conf-test] exitSuccess
  23424. 1993.04 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23425. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23426. 1993.04 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23427. 1993.04 s [opt-env-conf-test] exitSuccess
  23428. 1993.04 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23429. 1993.04 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23430. 1993.04 s [opt-env-conf-test] exitSuccess
  23431. 1993.04 s [opt-env-conf-test] ParsedNormally a -> pure a
  23432. 1993.04 s [opt-env-conf-test]
  23433. 1993.04 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.
  23434. 1993.04 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23435. 1993.04 s [opt-env-conf-test]
  23436. 1993.04 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23437. 1993.04 s [opt-env-conf-test] @@ -125,42 +125,38 @@
  23438. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23439. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23440. 1993.04 s [opt-env-conf-test] exitFailure
  23441. 1993.04 s [opt-env-conf-test] Right i -> case i of
  23442. 1993.04 s [opt-env-conf-test] ShowVersion -> do
  23443. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23444. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23445. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23446. 1993.04 s [opt-env-conf-test] exitSuccess
  23447. 1993.04 s [opt-env-conf-test] RenderMan -> do
  23448. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23449. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23450. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23451. 1993.04 s [opt-env-conf-test] exitSuccess
  23452. 1993.04 s [opt-env-conf-test] RenderDocumentation -> do
  23453. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23454. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23455. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23456. 1993.04 s [opt-env-conf-test] - exitSuccess
  23457. 1993.04 s [opt-env-conf-test] - RenderNixosOptions -> do
  23458. 1993.04 s [opt-env-conf-test] - progname <- getProgName
  23459. 1993.04 s [opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23460. 1993.04 s [opt-env-conf-test] exitSuccess
  23461. 1993.04 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23462. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23463. 1993.04 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23464. 1993.04 s [opt-env-conf-test] exitSuccess
  23465. 1993.04 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23466. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23467. 1993.04 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23468. 1993.04 s [opt-env-conf-test] exitSuccess
  23469. 1993.04 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23470. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23471. 1993.04 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23472. 1993.04 s [opt-env-conf-test] exitSuccess
  23473. 1993.04 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23474. 1993.04 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23475. 1993.04 s [opt-env-conf-test] exitSuccess
  23476. 1993.04 s [opt-env-conf-test] ParsedNormally a -> pure a
  23477. 1993.04 s [opt-env-conf-test]
  23478. 1993.04 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.
  23479. 1993.04 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23480. 1993.04 s [opt-env-conf-test]
  23481. 1993.04 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23482. 1993.04 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23483. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23484. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23485. 1993.04 s [opt-env-conf-test] exitFailure
  23486. 1993.04 s [opt-env-conf-test] Right i -> case i of
  23487. 1993.04 s [opt-env-conf-test] ShowVersion -> do
  23488. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23489. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23490. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23491. 1993.04 s [opt-env-conf-test] exitSuccess
  23492. 1993.04 s [opt-env-conf-test] RenderMan -> do
  23493. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23494. 1993.04 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23495. 1993.04 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23496. 1993.04 s [opt-env-conf-test] exitSuccess
  23497. 1993.04 s [opt-env-conf-test] - RenderDocumentation -> do
  23498. 1993.04 s [opt-env-conf-test] - progname <- getProgName
  23499. 1993.04 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23500. 1993.04 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23501. 1993.04 s [opt-env-conf-test] - exitSuccess
  23502. 1993.04 s [opt-env-conf-test] RenderNixosOptions -> do
  23503. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23504. 1993.04 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23505. 1993.04 s [opt-env-conf-test] exitSuccess
  23506. 1993.04 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23507. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23508. 1993.04 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23509. 1993.04 s [opt-env-conf-test] exitSuccess
  23510. 1993.04 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23511. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23512. 1993.04 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23513. 1993.04 s [opt-env-conf-test] exitSuccess
  23514. 1993.04 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23515. 1993.04 s [opt-env-conf-test] progname <- getProgName
  23516. 1993.04 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23517. 1993.04 s [opt-env-conf-test] exitSuccess
  23518. 1993.04 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23519. 1993.04 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23520. 1993.05 s [opt-env-conf-test] exitSuccess
  23521. 1993.05 s [opt-env-conf-test] ParsedNormally a -> pure a
  23522. 1993.05 s [opt-env-conf-test]
  23523. 1993.05 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.
  23524. 1993.05 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23525. 1993.05 s [opt-env-conf-test]
  23526. 1993.05 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
  23527. 1993.05 s [opt-env-conf-test] @@ -125,42 +125,37 @@
  23528. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23529. 1993.05 s [opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
  23530. 1993.05 s [opt-env-conf-test] exitFailure
  23531. 1993.05 s [opt-env-conf-test] Right i -> case i of
  23532. 1993.05 s [opt-env-conf-test] ShowVersion -> do
  23533. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23534. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23535. 1993.05 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23536. 1993.05 s [opt-env-conf-test] exitSuccess
  23537. 1993.05 s [opt-env-conf-test] - RenderMan -> do
  23538. 1993.05 s [opt-env-conf-test] - progname <- getProgName
  23539. 1993.05 s [opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
  23540. 1993.05 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
  23541. 1993.05 s [opt-env-conf-test] - exitSuccess
  23542. 1993.05 s [opt-env-conf-test] RenderDocumentation -> do
  23543. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23544. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23545. 1993.05 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
  23546. 1993.05 s [opt-env-conf-test] exitSuccess
  23547. 1993.05 s [opt-env-conf-test] RenderNixosOptions -> do
  23548. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23549. 1993.05 s [opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
  23550. 1993.05 s [opt-env-conf-test] exitSuccess
  23551. 1993.05 s [opt-env-conf-test] BashCompletionScript progPath -> do
  23552. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23553. 1993.05 s [opt-env-conf-test] generateBashCompletionScript progPath progname
  23554. 1993.05 s [opt-env-conf-test] exitSuccess
  23555. 1993.05 s [opt-env-conf-test] ZshCompletionScript progPath -> do
  23556. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23557. 1993.05 s [opt-env-conf-test] generateZshCompletionScript progPath progname
  23558. 1993.05 s [opt-env-conf-test] exitSuccess
  23559. 1993.05 s [opt-env-conf-test] FishCompletionScript progPath -> do
  23560. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23561. 1993.05 s [opt-env-conf-test] generateFishCompletionScript progPath progname
  23562. 1993.05 s [opt-env-conf-test] exitSuccess
  23563. 1993.05 s [opt-env-conf-test] CompletionQuery enriched index ws -> do
  23564. 1993.05 s [opt-env-conf-test] runCompletionQuery p' enriched index ws
  23565. 1993.05 s [opt-env-conf-test] exitSuccess
  23566. 1993.05 s [opt-env-conf-test] ParsedNormally a -> pure a
  23567. 1993.05 s [opt-env-conf-test]
  23568. 1993.05 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.
  23569. 1993.05 s [opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
  23570. 1993.05 s [opt-env-conf-test]
  23571. 1993.05 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
  23572. 1993.05 s [opt-env-conf-test] @@ -129,7 +129,6 @@
  23573. 1993.05 s [opt-env-conf-test] ShowVersion -> do
  23574. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23575. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23576. 1993.05 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
  23577. 1993.05 s [opt-env-conf-test] exitSuccess
  23578. 1993.05 s [opt-env-conf-test] RenderMan -> do
  23579. 1993.05 s [opt-env-conf-test] progname <- getProgName
  23580. 1993.05 s [opt-env-conf-test]
  23581. 1993.05 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
  23582. 1993.05 s [opt-env-conf-test] @@ -123,7 +123,6 @@
  23583. 1993.05 s [opt-env-conf-test] case errOrResult of
  23584. 1993.05 s [opt-env-conf-test] Left errs -> do
  23585. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
  23586. 1993.05 s [opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
  23587. 1993.05 s [opt-env-conf-test] exitFailure
  23588. 1993.05 s [opt-env-conf-test] Right i -> case i of
  23589. 1993.05 s [opt-env-conf-test] ShowVersion -> do
  23590. 1993.05 s [opt-env-conf-test]
  23591. 1993.05 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
  23592. 1993.05 s [opt-env-conf-test] @@ -97,9 +97,6 @@
  23593. 1993.05 s [opt-env-conf-test] exitFailure
  23594. 1993.05 s [opt-env-conf-test] Right mCommandDoc -> do
  23595. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23596. 1993.05 s [opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  23597. 1993.05 s [opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
  23598. 1993.05 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  23599. 1993.05 s [opt-env-conf-test] exitSuccess
  23600. 1993.05 s [opt-env-conf-test] else do
  23601. 1993.05 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  23602. 1993.05 s [opt-env-conf-test]
  23603. 1993.05 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
  23604. 1993.05 s [opt-env-conf-test] @@ -97,9 +97,8 @@
  23605. 1993.05 s [opt-env-conf-test] exitFailure
  23606. 1993.05 s [opt-env-conf-test] Right mCommandDoc -> do
  23607. 1993.05 s [opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
  23608. 1993.05 s [opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
  23609. 1993.05 s [opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
  23610. 1993.05 s [opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
  23611. 1993.05 s [opt-env-conf-test] exitSuccess
  23612. 1993.05 s [opt-env-conf-test] else do
  23613. 1993.05 s [opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
  23614. 1993.05 s [opt-env-conf-test]
  23615. 1993.05 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
  23616. 1993.05 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23617. 1993.05 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23618. 1993.05 s [opt-env-conf-test]
  23619. 1993.05 s [opt-env-conf-test] mDebugMode <-
  23620. 1993.05 s [opt-env-conf-test] - if debugMode
  23621. 1993.05 s [opt-env-conf-test] + if not (debugMode)
  23622. 1993.05 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23623. 1993.05 s [opt-env-conf-test] else pure Nothing
  23624. 1993.05 s [opt-env-conf-test]
  23625. 1993.05 s [opt-env-conf-test]
  23626. 1993.05 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23627. 1993.05 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23628. 1993.05 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23629. 1993.05 s [opt-env-conf-test]
  23630. 1993.05 s [opt-env-conf-test] mDebugMode <-
  23631. 1993.05 s [opt-env-conf-test] - if debugMode
  23632. 1993.05 s [opt-env-conf-test] + if False
  23633. 1993.05 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23634. 1993.05 s [opt-env-conf-test] else pure Nothing
  23635. 1993.05 s [opt-env-conf-test]
  23636. 1993.05 s [opt-env-conf-test]
  23637. 1993.05 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
  23638. 1993.05 s [opt-env-conf-test] @@ -80,7 +80,7 @@
  23639. 1993.05 s [opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
  23640. 1993.05 s [opt-env-conf-test]
  23641. 1993.05 s [opt-env-conf-test] mDebugMode <-
  23642. 1993.05 s [opt-env-conf-test] - if debugMode
  23643. 1993.06 s [opt-env-conf-test] + if True
  23644. 1993.06 s [opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
  23645. 1993.06 s [opt-env-conf-test] else pure Nothing
  23646. 1993.06 s [opt-env-conf-test]
  23647. 1993.06 s [opt-env-conf-test]
  23648. 1993.06 s [opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
  23649. 1993.06 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23650. 1993.06 s [opt-env-conf-test] | x == arg -> (True, xs)
  23651. 1993.06 s [opt-env-conf-test] | otherwise ->
  23652. 1993.06 s [opt-env-conf-test] let (found, rest) = go xs
  23653. 1993.06 s [opt-env-conf-test] - in (found, x : rest)
  23654. 1993.06 s [opt-env-conf-test] + in (not (found), x : rest)
  23655. 1993.06 s [opt-env-conf-test]
  23656. 1993.06 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23657. 1993.06 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23658. 1993.06 s [opt-env-conf-test]
  23659. 1993.06 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
  23660. 1993.06 s [opt-env-conf-test] @@ -172,7 +172,7 @@
  23661. 1993.06 s [opt-env-conf-test] | x == arg -> (True, xs)
  23662. 1993.06 s [opt-env-conf-test] | otherwise ->
  23663. 1993.06 s [opt-env-conf-test] let (found, rest) = go xs
  23664. 1993.06 s [opt-env-conf-test] - in (found, x : rest)
  23665. 1993.06 s [opt-env-conf-test] + in (False, x : rest)
  23666. 1993.06 s [opt-env-conf-test]
  23667. 1993.06 s [opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
  23668. 1993.06 s [opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
  23669. 1993.06 s [opt-env-conf-test]
  23670. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
  23671. 1993.06 s [opt-env-conf-test] @@ -196,13 +196,12 @@
  23672. 1993.06 s [opt-env-conf-test] [] -> (caps, [])
  23673. 1993.06 s [opt-env-conf-test] (x : xs) ->
  23674. 1993.06 s [opt-env-conf-test] let t = T.pack x
  23675. 1993.06 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  23676. 1993.06 s [opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
  23677. 1993.06 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23678. 1993.06 s [opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
  23679. 1993.06 s [opt-env-conf-test] Nothing ->
  23680. 1993.06 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23681. 1993.06 s [opt-env-conf-test] in (finalCaps, x : rest)
  23682. 1993.06 s [opt-env-conf-test]
  23683. 1993.06 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23684. 1993.06 s [opt-env-conf-test] -- is supposed to.
  23685. 1993.06 s [opt-env-conf-test]
  23686. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
  23687. 1993.06 s [opt-env-conf-test] @@ -198,11 +198,10 @@
  23688. 1993.06 s [opt-env-conf-test] let t = T.pack x
  23689. 1993.06 s [opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
  23690. 1993.06 s [opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
  23691. 1993.06 s [opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
  23692. 1993.06 s [opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
  23693. 1993.06 s [opt-env-conf-test] Nothing ->
  23694. 1993.06 s [opt-env-conf-test] let (finalCaps, rest) = go caps xs
  23695. 1993.06 s [opt-env-conf-test] in (finalCaps, x : rest)
  23696. 1993.06 s [opt-env-conf-test]
  23697. 1993.06 s [opt-env-conf-test] -- Internal structure to help us do what the framework
  23698. 1993.06 s [opt-env-conf-test] -- is supposed to.
  23699. 1993.06 s [opt-env-conf-test]
  23700. 1993.06 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
  23701. 1993.06 s [opt-env-conf-test] @@ -437,21 +437,20 @@
  23702. 1993.06 s [opt-env-conf-test] Just (a, _) -> do
  23703. 1993.06 s [opt-env-conf-test] debug ["set to default value"]
  23704. 1993.06 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23705. 1993.06 s [opt-env-conf-test] Nothing -> do
  23706. 1993.06 s [opt-env-conf-test] let parseResultError e res = case res of
  23707. 1993.06 s [opt-env-conf-test] NotRun -> Nothing
  23708. 1993.06 s [opt-env-conf-test] NotFound -> Just e
  23709. 1993.06 s [opt-env-conf-test] Found _ -> Nothing -- Should not happen.
  23710. 1993.06 s [opt-env-conf-test] - debug ["not found"]
  23711. 1993.06 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23712. 1993.06 s [opt-env-conf-test] NE.nonEmpty $
  23713. 1993.06 s [opt-env-conf-test] catMaybes
  23714. 1993.06 s [opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
  23715. 1993.06 s [opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
  23716. 1993.06 s [opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
  23717. 1993.06 s [opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
  23718. 1993.06 s [opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
  23719. 1993.06 s [opt-env-conf-test] ]
  23720. 1993.06 s [opt-env-conf-test]
  23721. 1993.06 s [opt-env-conf-test] withCapabilities ::
  23722. 1993.06 s [opt-env-conf-test] Maybe SrcLoc ->
  23723. 1993.06 s [opt-env-conf-test]
  23724. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
  23725. 1993.06 s [opt-env-conf-test] @@ -438,10 +438,9 @@
  23726. 1993.06 s [opt-env-conf-test] debug ["set to default value"]
  23727. 1993.06 s [opt-env-conf-test] pure a -- Don't mark as parsed
  23728. 1993.06 s [opt-env-conf-test] Nothing -> do
  23729. 1993.06 s [opt-env-conf-test] let parseResultError e res = case res of
  23730. 1993.06 s [opt-env-conf-test] NotRun -> Nothing
  23731. 1993.06 s [opt-env-conf-test] NotFound -> Just e
  23732. 1993.06 s [opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
  23733. 1993.06 s [opt-env-conf-test] debug ["not found"]
  23734. 1993.06 s [opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
  23735. 1993.06 s [opt-env-conf-test] NE.nonEmpty $
  23736. 1993.06 s [opt-env-conf-test]
  23737. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
  23738. 1993.06 s [opt-env-conf-test] @@ -393,30 +393,29 @@
  23739. 1993.06 s [opt-env-conf-test] case mO' of
  23740. 1993.06 s [opt-env-conf-test] Nothing -> pure Nothing
  23741. 1993.06 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23742. 1993.06 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23743. 1993.06 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23744. 1993.06 s [opt-env-conf-test] Right mV -> case mV of
  23745. 1993.06 s [opt-env-conf-test] Nothing -> do
  23746. 1993.06 s [opt-env-conf-test] debug
  23747. 1993.06 s [opt-env-conf-test] [ "could not set based on config value, not configured: ",
  23748. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23749. 1993.06 s [opt-env-conf-test] ]
  23750. 1993.06 s [opt-env-conf-test] pure Nothing
  23751. 1993.06 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23752. 1993.06 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23753. 1993.06 s [opt-env-conf-test] Right mA -> case mA of
  23754. 1993.06 s [opt-env-conf-test] Nothing -> do
  23755. 1993.06 s [opt-env-conf-test] debug
  23756. 1993.06 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23757. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23758. 1993.06 s [opt-env-conf-test] ]
  23759. 1993.06 s [opt-env-conf-test] pure Nothing
  23760. 1993.06 s [opt-env-conf-test] Just a -> do
  23761. 1993.06 s [opt-env-conf-test] debug
  23762. 1993.06 s [opt-env-conf-test] [ "set based on config value: ",
  23763. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show v
  23764. 1993.06 s [opt-env-conf-test] ]
  23765. 1993.06 s [opt-env-conf-test] pure $ Just a
  23766. 1993.06 s [opt-env-conf-test] let toRes = \case
  23767. 1993.06 s [opt-env-conf-test] Nothing -> NotFound
  23768. 1993.06 s [opt-env-conf-test] Just a -> Found a
  23769. 1993.06 s [opt-env-conf-test]
  23770. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
  23771. 1993.06 s [opt-env-conf-test] @@ -402,21 +402,20 @@
  23772. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23773. 1993.06 s [opt-env-conf-test] ]
  23774. 1993.06 s [opt-env-conf-test] pure Nothing
  23775. 1993.06 s [opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
  23776. 1993.06 s [opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23777. 1993.06 s [opt-env-conf-test] Right mA -> case mA of
  23778. 1993.06 s [opt-env-conf-test] Nothing -> do
  23779. 1993.06 s [opt-env-conf-test] debug
  23780. 1993.06 s [opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
  23781. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
  23782. 1993.06 s [opt-env-conf-test] ]
  23783. 1993.06 s [opt-env-conf-test] pure Nothing
  23784. 1993.06 s [opt-env-conf-test] Just a -> do
  23785. 1993.06 s [opt-env-conf-test] debug
  23786. 1993.06 s [opt-env-conf-test] [ "set based on config value: ",
  23787. 1993.06 s [opt-env-conf-test] chunk $ T.pack $ show v
  23788. 1993.06 s [opt-env-conf-test] ]
  23789. 1993.06 s [opt-env-conf-test] pure $ Just a
  23790. 1993.06 s [opt-env-conf-test] let toRes = \case
  23791. 1993.06 s [opt-env-conf-test] Nothing -> NotFound
  23792. 1993.06 s [opt-env-conf-test] Just a -> Found a
  23793. 1993.06 s [opt-env-conf-test]
  23794. 1993.06 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
  23795. 1993.06 s [opt-env-conf-test] @@ -390,9 +390,8 @@
  23796. 1993.06 s [opt-env-conf-test] Just v -> Just <$> parseJSON v
  23797. 1993.06 s [opt-env-conf-test] Just neRest -> do
  23798. 1993.06 s [opt-env-conf-test] mO' <- o .:? Key.fromString k
  23799. 1993.06 s [opt-env-conf-test] case mO' of
  23800. 1993.06 s [opt-env-conf-test] - Nothing -> pure Nothing
  23801. 1993.06 s [opt-env-conf-test] Just o' -> jsonParser o' neRest
  23802. 1993.06 s [opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
  23803. 1993.06 s [opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
  23804. 1993.06 s [opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  23805. 1993.06 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  23806. 1993.06 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  23807. 1993.06 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  23808. 1993.06 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  23809. 1993.06 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  23810. 1993.06 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  23811. 1993.06 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  23812. 1993.06 s [opt-env-conf-test] - ["Missing command, available commands:"]
  23813. 1993.06 s [opt-env-conf-test] - : availableCommandsLines cs
  23814. 1993.07 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  23815. 1993.07 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  23816. 1993.07 s [opt-env-conf-test] - [fore blue "available commands:"]
  23817. 1993.07 s [opt-env-conf-test] - ]
  23818. 1993.07 s [opt-env-conf-test] - ++ availableCommandsLines cs
  23819. 1993.07 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  23820. 1993.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."],
  23821. 1993.07 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  23822. 1993.07 s [opt-env-conf-test] - ]
  23823. 1993.07 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  23824. 1993.07 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  23825. 1993.07 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  23826. 1993.07 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  23827. 1993.07 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  23828. 1993.07 s [opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  23829. 1993.07 s [opt-env-conf-test] ]
  23830. 1993.07 s [opt-env-conf-test]
  23831. 1993.07 s [opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
  23832. 1993.07 s [opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
  23833. 1993.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
  23834. 1993.07 s [opt-env-conf-test] @@ -49,7 +49,7 @@
  23835. 1993.07 s [opt-env-conf-test]
  23836. 1993.07 s [opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
  23837. 1993.07 s [opt-env-conf-test] errorMessageIsForgivable = \case
  23838. 1993.07 s [opt-env-conf-test] - ParseErrorEmpty -> True
  23839. 1993.07 s [opt-env-conf-test] + ParseErrorEmpty -> False
  23840. 1993.07 s [opt-env-conf-test] ParseErrorEmptySetting -> False
  23841. 1993.07 s [opt-env-conf-test] ParseErrorNoReaders -> False
  23842. 1993.07 s [opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
  23843. 1993.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
  23844. 1993.07 s [opt-env-conf-test] @@ -66,7 +66,7 @@
  23845. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23846. 1993.07 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  23847. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  23848. 1993.07 s [opt-env-conf-test] - ParseErrorMissingCapability _ -> False
  23849. 1993.07 s [opt-env-conf-test] + ParseErrorMissingCapability _ -> True
  23850. 1993.07 s [opt-env-conf-test]
  23851. 1993.07 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  23852. 1993.07 s [opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
  23853. 1993.07 s [opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
  23854. 1993.07 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  23855. 1993.07 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  23856. 1993.07 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  23857. 1993.07 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  23858. 1993.07 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  23859. 1993.07 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not (not $ null cs)
  23860. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23861. 1993.07 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  23862. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  23863. 1993.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
  23864. 1993.07 s [opt-env-conf-test] @@ -64,7 +64,7 @@
  23865. 1993.07 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  23866. 1993.07 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  23867. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23868. 1993.07 s [opt-env-conf-test] - ParseErrorAllOrNothing _ -> False
  23869. 1993.07 s [opt-env-conf-test] + ParseErrorAllOrNothing _ -> True
  23870. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  23871. 1993.07 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  23872. 1993.07 s [opt-env-conf-test]
  23873. 1993.07 s [opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
  23874. 1993.07 s [opt-env-conf-test] @@ -71,7 +71,7 @@
  23875. 1993.07 s [opt-env-conf-test] runListTLazy = fmap g . unListT
  23876. 1993.07 s [opt-env-conf-test] where
  23877. 1993.07 s [opt-env-conf-test] g MNil = Nothing
  23878. 1993.07 s [opt-env-conf-test] - g (x `MCons` xs) = Just (x, ListT xs)
  23879. 1993.07 s [opt-env-conf-test] + g (x `MCons` xs) = Nothing
  23880. 1993.07 s [opt-env-conf-test]
  23881. 1993.07 s [opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
  23882. 1993.07 s [opt-env-conf-test] runListTComplete = unListT >=> go
  23883. 1993.07 s [opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
  23884. 1993.07 s [opt-env-conf-test] @@ -65,7 +65,7 @@
  23885. 1993.07 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  23886. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23887. 1993.07 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  23888. 1993.07 s [opt-env-conf-test] - ParseErrorUnrecognised _ -> False
  23889. 1993.07 s [opt-env-conf-test] + ParseErrorUnrecognised _ -> True
  23890. 1993.07 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  23891. 1993.07 s [opt-env-conf-test]
  23892. 1993.07 s [opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
  23893. 1993.07 s [opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
  23894. 1993.07 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  23895. 1993.07 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  23896. 1993.07 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  23897. 1993.07 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  23898. 1993.07 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  23899. 1993.07 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> False
  23900. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  23901. 1993.07 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  23902. 1993.07 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  23903. 1993.07 s [opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
  23904. 1993.07 s [opt-env-conf-test] @@ -700,9 +700,8 @@
  23905. 1993.07 s [opt-env-conf-test] [] -> (Nothing, [])
  23906. 1993.07 s [opt-env-conf-test] (b : bs) ->
  23907. 1993.07 s [opt-env-conf-test] let (mDefault, cs) = go bs
  23908. 1993.07 s [opt-env-conf-test] in case b of
  23909. 1993.07 s [opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
  23910. 1993.07 s [opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
  23911. 1993.07 s [opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
  23912. 1993.07 s [opt-env-conf-test]
  23913. 1993.07 s [opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
  23914. 1993.07 s [opt-env-conf-test] Right mV -> case mV of
  23915. 1993.07 s [opt-env-conf-test]
  23916. 1993.07 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
  23917. 1993.07 s [opt-env-conf-test] @@ -221,15 +221,14 @@
  23918. 1993.07 s [opt-env-conf-test] Just c -> do
  23919. 1993.07 s [opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
  23920. 1993.07 s [opt-env-conf-test] go $ commandParser c
  23921. 1993.07 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23922. 1993.07 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23923. 1993.07 s [opt-env-conf-test] ppIndent $ do
  23924. 1993.07 s [opt-env-conf-test] debug ["loading config"]
  23925. 1993.07 s [opt-env-conf-test] mNewConfig <- ppIndent $ go pc
  23926. 1993.07 s [opt-env-conf-test] debug ["with loaded config"]
  23927. 1993.07 s [opt-env-conf-test] ppIndent $
  23928. 1993.07 s [opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
  23929. 1993.07 s [opt-env-conf-test] go pa
  23930. 1993.07 s [opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
  23931. 1993.07 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  23932. 1993.07 s [opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
  23933. 1993.07 s [opt-env-conf-test]
  23934. 1993.07 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
  23935. 1993.07 s [opt-env-conf-test] @@ -218,9 +218,8 @@
  23936. 1993.07 s [opt-env-conf-test] Just s -> do
  23937. 1993.07 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23938. 1993.07 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23939. 1993.07 s [opt-env-conf-test] Just c -> do
  23940. 1993.07 s [opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
  23941. 1993.07 s [opt-env-conf-test] go $ commandParser c
  23942. 1993.07 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  23943. 1993.07 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  23944. 1993.07 s [opt-env-conf-test] ppIndent $ do
  23945. 1993.07 s [opt-env-conf-test]
  23946. 1993.07 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
  23947. 1993.07 s [opt-env-conf-test] @@ -212,9 +212,8 @@
  23948. 1993.07 s [opt-env-conf-test] find ((== d) . commandArg) cs
  23949. 1993.07 s [opt-env-conf-test] case mDefaultCommand of
  23950. 1993.07 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
  23951. 1993.07 s [opt-env-conf-test] Just dc -> do
  23952. 1993.07 s [opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
  23953. 1993.07 s [opt-env-conf-test] go $ commandParser dc
  23954. 1993.07 s [opt-env-conf-test] Just s -> do
  23955. 1993.07 s [opt-env-conf-test] case find ((== s) . commandArg) cs of
  23956. 1993.07 s [opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
  23957. 1993.07 s [opt-env-conf-test]
  23958. 1993.07 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
  23959. 1993.07 s [opt-env-conf-test] @@ -192,9 +192,8 @@
  23960. 1993.07 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
  23961. 1993.07 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23962. 1993.07 s [opt-env-conf-test] case errOrB of
  23963. 1993.07 s [opt-env-conf-test] Left err -> do
  23964. 1993.07 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23965. 1993.07 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23966. 1993.07 s [opt-env-conf-test] Right b -> do
  23967. 1993.07 s [opt-env-conf-test] debug ["succeeded"]
  23968. 1993.07 s [opt-env-conf-test] pure b
  23969. 1993.07 s [opt-env-conf-test]
  23970. 1993.07 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
  23971. 1993.07 s [opt-env-conf-test] @@ -194,7 +194,7 @@
  23972. 1993.07 s [opt-env-conf-test] case errOrB of
  23973. 1993.07 s [opt-env-conf-test] Left err -> do
  23974. 1993.07 s [opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23975. 1993.07 s [opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
  23976. 1993.07 s [opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed False err
  23977. 1993.07 s [opt-env-conf-test] Right b -> do
  23978. 1993.07 s [opt-env-conf-test] debug ["succeeded"]
  23979. 1993.07 s [opt-env-conf-test] pure b
  23980. 1993.07 s [opt-env-conf-test]
  23981. 1993.07 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  23982. 1993.07 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  23983. 1993.07 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23984. 1993.07 s [opt-env-conf-test] case errOrB of
  23985. 1993.07 s [opt-env-conf-test] Left err -> do
  23986. 1993.07 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23987. 1993.07 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23988. 1993.07 s [opt-env-conf-test] Right b -> do
  23989. 1993.07 s [opt-env-conf-test] debug ["succeeded"]
  23990. 1993.07 s [opt-env-conf-test]
  23991. 1993.07 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
  23992. 1993.07 s [opt-env-conf-test] @@ -193,7 +193,6 @@
  23993. 1993.07 s [opt-env-conf-test] errOrB <- liftIO $ f a
  23994. 1993.07 s [opt-env-conf-test] case errOrB of
  23995. 1993.07 s [opt-env-conf-test] Left err -> do
  23996. 1993.07 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  23997. 1993.07 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  23998. 1993.07 s [opt-env-conf-test] Right b -> do
  23999. 1993.07 s [opt-env-conf-test] debug ["succeeded"]
  24000. 1993.07 s [opt-env-conf-test]
  24001. 1993.07 s [opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
  24002. 1993.07 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  24003. 1993.07 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24004. 1993.07 s [opt-env-conf-test] case errOrB of
  24005. 1993.08 s [opt-env-conf-test] Left err -> do
  24006. 1993.08 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24007. 1993.08 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show not (forgivable)]
  24008. 1993.08 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24009. 1993.08 s [opt-env-conf-test] Right b -> do
  24010. 1993.08 s [opt-env-conf-test] debug ["succeeded"]
  24011. 1993.08 s [opt-env-conf-test]
  24012. 1993.08 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
  24013. 1993.08 s [opt-env-conf-test] @@ -193,7 +193,7 @@
  24014. 1993.08 s [opt-env-conf-test] errOrB <- liftIO $ f a
  24015. 1993.08 s [opt-env-conf-test] case errOrB of
  24016. 1993.08 s [opt-env-conf-test] Left err -> do
  24017. 1993.08 s [opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
  24018. 1993.08 s [opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show True]
  24019. 1993.08 s [opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
  24020. 1993.08 s [opt-env-conf-test] Right b -> do
  24021. 1993.08 s [opt-env-conf-test] debug ["succeeded"]
  24022. 1993.08 s [opt-env-conf-test]
  24023. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
  24024. 1993.08 s [opt-env-conf-test] @@ -147,34 +147,33 @@
  24025. 1993.08 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  24026. 1993.08 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24027. 1993.08 s [opt-env-conf-test] pure (a :| as)
  24028. 1993.08 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24029. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24030. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24031. 1993.08 s [opt-env-conf-test] e <- ask
  24032. 1993.08 s [opt-env-conf-test] s <- get
  24033. 1993.08 s [opt-env-conf-test] results <- liftIO $ runPP (go p') s e
  24034. 1993.08 s [opt-env-conf-test] (result, s') <- ppNonDetList results
  24035. 1993.08 s [opt-env-conf-test] put s'
  24036. 1993.08 s [opt-env-conf-test] case result of
  24037. 1993.08 s [opt-env-conf-test] Success a -> pure a
  24038. 1993.08 s [opt-env-conf-test] Failure errs -> do
  24039. 1993.08 s [opt-env-conf-test] if not $ all errorIsForgivable errs
  24040. 1993.08 s [opt-env-conf-test] then ppErrors' errs
  24041. 1993.08 s [opt-env-conf-test] else do
  24042. 1993.08 s [opt-env-conf-test] -- Settings available below
  24043. 1993.08 s [opt-env-conf-test] let settingsMap = parserSettingsMap p'
  24044. 1993.08 s [opt-env-conf-test] -- Settings that have been parsed
  24045. 1993.08 s [opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
  24046. 1993.08 s [opt-env-conf-test] -- Settings that have been parsed below
  24047. 1993.08 s [opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
  24048. 1993.08 s [opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
  24049. 1993.08 s [opt-env-conf-test] -- (this is the case because we're in the failure branch)
  24050. 1993.08 s [opt-env-conf-test] -- with only forgivable errors
  24051. 1993.08 s [opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
  24052. 1993.08 s [opt-env-conf-test] -- then this should be an unforgivable error.
  24053. 1993.08 s [opt-env-conf-test] if null parsedSettingsMap
  24054. 1993.08 s [opt-env-conf-test] then ppErrors' errs
  24055. 1993.08 s [opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
  24056. 1993.08 s [opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
  24057. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24058. 1993.08 s [opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
  24059. 1993.08 s [opt-env-conf-test]
  24060. 1993.08 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
  24061. 1993.08 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  24062. 1993.08 s [opt-env-conf-test] case result of
  24063. 1993.08 s [opt-env-conf-test] Success a -> pure a
  24064. 1993.08 s [opt-env-conf-test] Failure errs -> do
  24065. 1993.08 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  24066. 1993.08 s [opt-env-conf-test] + if False
  24067. 1993.08 s [opt-env-conf-test] then ppErrors' errs
  24068. 1993.08 s [opt-env-conf-test] else do
  24069. 1993.08 s [opt-env-conf-test] -- Settings available below
  24070. 1993.08 s [opt-env-conf-test]
  24071. 1993.08 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
  24072. 1993.08 s [opt-env-conf-test] @@ -158,7 +158,7 @@
  24073. 1993.08 s [opt-env-conf-test] case result of
  24074. 1993.08 s [opt-env-conf-test] Success a -> pure a
  24075. 1993.08 s [opt-env-conf-test] Failure errs -> do
  24076. 1993.08 s [opt-env-conf-test] - if not $ all errorIsForgivable errs
  24077. 1993.08 s [opt-env-conf-test] + if not $ True
  24078. 1993.08 s [opt-env-conf-test] then ppErrors' errs
  24079. 1993.08 s [opt-env-conf-test] else do
  24080. 1993.08 s [opt-env-conf-test] -- Settings available below
  24081. 1993.08 s [opt-env-conf-test]
  24082. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
  24083. 1993.08 s [opt-env-conf-test] @@ -140,13 +140,12 @@
  24084. 1993.08 s [opt-env-conf-test] Just a -> do
  24085. 1993.08 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24086. 1993.08 s [opt-env-conf-test] pure (a : as)
  24087. 1993.08 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24088. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24089. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24090. 1993.08 s [opt-env-conf-test] a <- go p'
  24091. 1993.08 s [opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
  24092. 1993.08 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24093. 1993.08 s [opt-env-conf-test] pure (a :| as)
  24094. 1993.08 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24095. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24096. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24097. 1993.08 s [opt-env-conf-test]
  24098. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
  24099. 1993.08 s [opt-env-conf-test] @@ -131,15 +131,14 @@
  24100. 1993.08 s [opt-env-conf-test] Nothing -> do
  24101. 1993.08 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24102. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24103. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24104. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24105. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24106. 1993.08 s [opt-env-conf-test] eor <- tryPP $ go p'
  24107. 1993.08 s [opt-env-conf-test] case eor of
  24108. 1993.08 s [opt-env-conf-test] Nothing -> pure []
  24109. 1993.08 s [opt-env-conf-test] Just a -> do
  24110. 1993.08 s [opt-env-conf-test] as <- go (ParserMany mLoc p')
  24111. 1993.08 s [opt-env-conf-test] pure (a : as)
  24112. 1993.08 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24113. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24114. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24115. 1993.08 s [opt-env-conf-test]
  24116. 1993.08 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24117. 1993.08 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24118. 1993.08 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24119. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24120. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24121. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24122. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24123. 1993.08 s [opt-env-conf-test] eor <- tryPP $ go p'
  24124. 1993.08 s [opt-env-conf-test] case eor of
  24125. 1993.08 s [opt-env-conf-test]
  24126. 1993.08 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24127. 1993.08 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24128. 1993.08 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24129. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24130. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24131. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24132. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24133. 1993.08 s [opt-env-conf-test] eor <- tryPP $ go p'
  24134. 1993.08 s [opt-env-conf-test] case eor of
  24135. 1993.08 s [opt-env-conf-test]
  24136. 1993.08 s [opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
  24137. 1993.08 s [opt-env-conf-test] @@ -132,7 +132,6 @@
  24138. 1993.08 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24139. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24140. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24141. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24142. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24143. 1993.08 s [opt-env-conf-test] eor <- tryPP $ go p'
  24144. 1993.08 s [opt-env-conf-test] case eor of
  24145. 1993.08 s [opt-env-conf-test]
  24146. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
  24147. 1993.08 s [opt-env-conf-test] @@ -119,18 +119,17 @@
  24148. 1993.08 s [opt-env-conf-test] ParserSelect fe ff -> do
  24149. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24150. 1993.08 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24151. 1993.08 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24152. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24153. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24154. 1993.08 s [opt-env-conf-test] debug ["Trying left side."]
  24155. 1993.08 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24156. 1993.08 s [opt-env-conf-test] case eor of
  24157. 1993.08 s [opt-env-conf-test] Just a -> do
  24158. 1993.08 s [opt-env-conf-test] debug ["Left side succeeded."]
  24159. 1993.08 s [opt-env-conf-test] pure a
  24160. 1993.08 s [opt-env-conf-test] Nothing -> do
  24161. 1993.08 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24162. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24163. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24164. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24165. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24166. 1993.08 s [opt-env-conf-test]
  24167. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
  24168. 1993.08 s [opt-env-conf-test] @@ -128,9 +128,8 @@
  24169. 1993.08 s [opt-env-conf-test] Just a -> do
  24170. 1993.08 s [opt-env-conf-test] debug ["Left side succeeded."]
  24171. 1993.08 s [opt-env-conf-test] pure a
  24172. 1993.08 s [opt-env-conf-test] Nothing -> do
  24173. 1993.08 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24174. 1993.08 s [opt-env-conf-test] ppIndent $ go p2
  24175. 1993.08 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24176. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24177. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24178. 1993.08 s [opt-env-conf-test]
  24179. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
  24180. 1993.08 s [opt-env-conf-test] @@ -116,9 +116,8 @@
  24181. 1993.08 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24182. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24183. 1993.08 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24184. 1993.08 s [opt-env-conf-test] ParserSelect fe ff -> do
  24185. 1993.08 s [opt-env-conf-test] - debug [syntaxChunk "Select"]
  24186. 1993.08 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24187. 1993.08 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24188. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Alt"]
  24189. 1993.08 s [opt-env-conf-test] ppIndent $ do
  24190. 1993.08 s [opt-env-conf-test]
  24191. 1993.08 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
  24192. 1993.08 s [opt-env-conf-test] @@ -113,9 +113,8 @@
  24193. 1993.08 s [opt-env-conf-test] ParserAp ff fa -> do
  24194. 1993.08 s [opt-env-conf-test] debug [syntaxChunk "Ap"]
  24195. 1993.08 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24196. 1993.09 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24197. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24198. 1993.09 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24199. 1993.09 s [opt-env-conf-test] ParserSelect fe ff -> do
  24200. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24201. 1993.09 s [opt-env-conf-test] ppIndent $ select (go fe) (go ff)
  24202. 1993.09 s [opt-env-conf-test]
  24203. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
  24204. 1993.09 s [opt-env-conf-test] @@ -110,9 +110,8 @@
  24205. 1993.09 s [opt-env-conf-test] ParserPure a -> do
  24206. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24207. 1993.09 s [opt-env-conf-test] pure a
  24208. 1993.09 s [opt-env-conf-test] ParserAp ff fa -> do
  24209. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24210. 1993.09 s [opt-env-conf-test] ppIndent $ go ff <*> go fa
  24211. 1993.09 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24212. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24213. 1993.09 s [opt-env-conf-test] ppError mLoc ParseErrorEmpty
  24214. 1993.09 s [opt-env-conf-test]
  24215. 1993.09 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
  24216. 1993.09 s [opt-env-conf-test] @@ -81,27 +81,26 @@
  24217. 1993.09 s [opt-env-conf-test] Nothing -> pure result
  24218. 1993.09 s [opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
  24219. 1993.09 s [opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
  24220. 1993.09 s [opt-env-conf-test] case mTup of
  24221. 1993.09 s [opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
  24222. 1993.09 s [opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
  24223. 1993.09 s [opt-env-conf-test] Success a -> pure (Right a)
  24224. 1993.09 s [opt-env-conf-test] Failure firstErrors ->
  24225. 1993.09 s [opt-env-conf-test] let goNexts ns = do
  24226. 1993.09 s [opt-env-conf-test] -- TODO: Consider keeping around all errors?
  24227. 1993.09 s [opt-env-conf-test] mNext <- runNonDetTLazy ns
  24228. 1993.09 s [opt-env-conf-test] case mNext of
  24229. 1993.09 s [opt-env-conf-test] Nothing ->
  24230. 1993.09 s [opt-env-conf-test] pure $
  24231. 1993.09 s [opt-env-conf-test] Left $
  24232. 1993.09 s [opt-env-conf-test] -- Only show source locations in debug mode.
  24233. 1993.09 s [opt-env-conf-test] let f = case mDebugMode of
  24234. 1993.09 s [opt-env-conf-test] Nothing -> eraseErrorSrcLocs
  24235. 1993.09 s [opt-env-conf-test] Just _ -> id
  24236. 1993.09 s [opt-env-conf-test] in f firstErrors
  24237. 1993.09 s [opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
  24238. 1993.09 s [opt-env-conf-test] Success a -> pure (Right a)
  24239. 1993.09 s [opt-env-conf-test] Failure _ -> goNexts ns'
  24240. 1993.09 s [opt-env-conf-test] in goNexts nexts
  24241. 1993.09 s [opt-env-conf-test] where
  24242. 1993.09 s [opt-env-conf-test] go ::
  24243. 1993.09 s [opt-env-conf-test] Parser a ->
  24244. 1993.09 s [opt-env-conf-test]
  24245. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
  24246. 1993.09 s [opt-env-conf-test] @@ -461,11 +461,8 @@
  24247. 1993.09 s [opt-env-conf-test] PP a
  24248. 1993.09 s [opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
  24249. 1993.09 s [opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
  24250. 1993.09 s [opt-env-conf-test] Just missings -> do
  24251. 1993.09 s [opt-env-conf-test] - debug $
  24252. 1993.09 s [opt-env-conf-test] - "Missing capabilities: "
  24253. 1993.09 s [opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
  24254. 1993.09 s [opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
  24255. 1993.09 s [opt-env-conf-test] Nothing -> func
  24256. 1993.09 s [opt-env-conf-test]
  24257. 1993.09 s [opt-env-conf-test] data ParseResult a
  24258. 1993.09 s [opt-env-conf-test]
  24259. 1993.09 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
  24260. 1993.09 s [opt-env-conf-test] @@ -474,9 +474,8 @@
  24261. 1993.09 s [opt-env-conf-test] | Found a
  24262. 1993.09 s [opt-env-conf-test]
  24263. 1993.09 s [opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
  24264. 1993.09 s [opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
  24265. 1993.09 s [opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
  24266. 1993.09 s [opt-env-conf-test] Just ne -> pure ne
  24267. 1993.09 s [opt-env-conf-test]
  24268. 1993.09 s [opt-env-conf-test] -- Try the readers in order
  24269. 1993.09 s [opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
  24270. 1993.09 s [opt-env-conf-test]
  24271. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
  24272. 1993.09 s [opt-env-conf-test] @@ -565,12 +565,11 @@
  24273. 1993.09 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24274. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24275. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24276. 1993.09 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24277. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24278. 1993.09 s [opt-env-conf-test] ppIndent $ do
  24279. 1993.09 s [opt-env-conf-test] mNewConfig <- go pc
  24280. 1993.09 s [opt-env-conf-test] mRes <- go pa
  24281. 1993.09 s [opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
  24282. 1993.09 s [opt-env-conf-test] ParserSetting mLoc _ -> do
  24283. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
  24284. 1993.09 s [opt-env-conf-test] pure Nothing
  24285. 1993.09 s [opt-env-conf-test]
  24286. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
  24287. 1993.09 s [opt-env-conf-test] @@ -562,9 +562,8 @@
  24288. 1993.09 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24289. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24290. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24291. 1993.09 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24292. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24293. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24294. 1993.09 s [opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
  24295. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
  24296. 1993.09 s [opt-env-conf-test] ppIndent $ do
  24297. 1993.09 s [opt-env-conf-test]
  24298. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
  24299. 1993.09 s [opt-env-conf-test] @@ -559,9 +559,8 @@
  24300. 1993.09 s [opt-env-conf-test] ParserSome mLoc p' -> do
  24301. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
  24302. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24303. 1993.09 s [opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
  24304. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
  24305. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24306. 1993.09 s [opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
  24307. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
  24308. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24309. 1993.09 s [opt-env-conf-test]
  24310. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
  24311. 1993.09 s [opt-env-conf-test] @@ -541,18 +541,17 @@
  24312. 1993.09 s [opt-env-conf-test] ParserEmpty mLoc -> do
  24313. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
  24314. 1993.09 s [opt-env-conf-test] pure Nothing
  24315. 1993.09 s [opt-env-conf-test] ParserAlt p1 p2 -> do
  24316. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "Alt"]
  24317. 1993.09 s [opt-env-conf-test] ppIndent $ do
  24318. 1993.09 s [opt-env-conf-test] debug ["Trying left side."]
  24319. 1993.09 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24320. 1993.09 s [opt-env-conf-test] case eor of
  24321. 1993.09 s [opt-env-conf-test] Just a -> do
  24322. 1993.09 s [opt-env-conf-test] debug ["Left side succeeded."]
  24323. 1993.09 s [opt-env-conf-test] pure a
  24324. 1993.09 s [opt-env-conf-test] Nothing -> do
  24325. 1993.09 s [opt-env-conf-test] debug ["Left side failed, trying right side."]
  24326. 1993.09 s [opt-env-conf-test] ppIndent $ go p2
  24327. 1993.09 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24328. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24329. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24330. 1993.09 s [opt-env-conf-test]
  24331. 1993.09 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
  24332. 1993.09 s [opt-env-conf-test] @@ -546,13 +546,10 @@
  24333. 1993.09 s [opt-env-conf-test] ppIndent $ do
  24334. 1993.09 s [opt-env-conf-test] debug ["Trying left side."]
  24335. 1993.09 s [opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
  24336. 1993.09 s [opt-env-conf-test] case eor of
  24337. 1993.09 s [opt-env-conf-test] Just a -> do
  24338. 1993.09 s [opt-env-conf-test] debug ["Left side succeeded."]
  24339. 1993.09 s [opt-env-conf-test] pure a
  24340. 1993.09 s [opt-env-conf-test] - Nothing -> do
  24341. 1993.09 s [opt-env-conf-test] - debug ["Left side failed, trying right side."]
  24342. 1993.09 s [opt-env-conf-test] - ppIndent $ go p2
  24343. 1993.09 s [opt-env-conf-test] ParserMany mLoc p' -> do
  24344. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
  24345. 1993.09 s [opt-env-conf-test] ppIndent $ go p'
  24346. 1993.09 s [opt-env-conf-test]
  24347. 1993.09 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
  24348. 1993.09 s [opt-env-conf-test] @@ -526,12 +526,11 @@
  24349. 1993.09 s [opt-env-conf-test] ParserPure _ -> do
  24350. 1993.09 s [opt-env-conf-test] debug [syntaxChunk "pure value"]
  24351. 1993.09 s [opt-env-conf-test] pure Nothing
  24352. 1993.09 s [opt-env-conf-test] ParserAp ff fa -> do
  24353. 1993.09 s [opt-env-conf-test] - debug [syntaxChunk "Ap"]
  24354. 1993.10 s [opt-env-conf-test] ppIndent $ do
  24355. 1993.10 s [opt-env-conf-test] mf <- go ff
  24356. 1993.10 s [opt-env-conf-test] ma <- go fa
  24357. 1993.10 s [opt-env-conf-test] pure $ ma <|> mf -- Reverse order
  24358. 1993.10 s [opt-env-conf-test] ParserSelect fe ff -> do
  24359. 1993.10 s [opt-env-conf-test] debug [syntaxChunk "Select"]
  24360. 1993.10 s [opt-env-conf-test] ppIndent $ do
  24361. 1993.10 s [opt-env-conf-test]
  24362. 1993.10 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
  24363. 1993.10 s [opt-env-conf-test] @@ -511,11 +511,10 @@
  24364. 1993.10 s [opt-env-conf-test] ppEnvIndent = 0
  24365. 1993.10 s [opt-env-conf-test] }
  24366. 1993.10 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24367. 1993.10 s [opt-env-conf-test] case mResOrNext of
  24368. 1993.10 s [opt-env-conf-test] - Nothing -> pure $ Right Nothing
  24369. 1993.10 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24370. 1993.10 s [opt-env-conf-test] Failure errs -> Left errs
  24371. 1993.10 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24372. 1993.10 s [opt-env-conf-test] where
  24373. 1993.10 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24374. 1993.10 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24375. 1993.10 s [opt-env-conf-test]
  24376. 1993.10 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
  24377. 1993.10 s [opt-env-conf-test] @@ -513,9 +513,8 @@
  24378. 1993.10 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24379. 1993.10 s [opt-env-conf-test] case mResOrNext of
  24380. 1993.10 s [opt-env-conf-test] Nothing -> pure $ Right Nothing
  24381. 1993.10 s [opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
  24382. 1993.10 s [opt-env-conf-test] - Failure errs -> Left errs
  24383. 1993.10 s [opt-env-conf-test] Success mDocs -> Right mDocs
  24384. 1993.10 s [opt-env-conf-test] where
  24385. 1993.10 s [opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
  24386. 1993.10 s [opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
  24387. 1993.10 s [opt-env-conf-test]
  24388. 1993.10 s [opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
  24389. 1993.10 s [opt-env-conf-test] @@ -508,7 +508,7 @@
  24390. 1993.10 s [opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
  24391. 1993.10 s [opt-env-conf-test] ppEnvConf = Nothing,
  24392. 1993.10 s [opt-env-conf-test] ppEnvDebug = mDebugMode,
  24393. 1993.10 s [opt-env-conf-test] - ppEnvIndent = 0
  24394. 1993.10 s [opt-env-conf-test] + ppEnvIndent = 1
  24395. 1993.10 s [opt-env-conf-test] }
  24396. 1993.10 s [opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
  24397. 1993.10 s [opt-env-conf-test] case mResOrNext of
  24398. 1993.10 s [opt-env-conf-test]
  24399. 1993.10 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
  24400. 1993.10 s [opt-env-conf-test] @@ -367,11 +367,10 @@
  24401. 1993.10 s [opt-env-conf-test] | not (null commandDocs)
  24402. 1993.10 s [opt-env-conf-test] ],
  24403. 1993.10 s [opt-env-conf-test] concat
  24404. 1993.10 s [opt-env-conf-test] [ [ headerChunks "Options",
  24405. 1993.10 s [opt-env-conf-test] renderLongOptDocs optDocs
  24406. 1993.10 s [opt-env-conf-test] ]
  24407. 1993.10 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24408. 1993.10 s [opt-env-conf-test] ],
  24409. 1993.10 s [opt-env-conf-test] concat
  24410. 1993.10 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24411. 1993.10 s [opt-env-conf-test] renderEnvDocs envDocs
  24412. 1993.10 s [opt-env-conf-test]
  24413. 1993.10 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
  24414. 1993.10 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  24415. 1993.10 s [opt-env-conf-test] [ [ headerChunks "Options",
  24416. 1993.10 s [opt-env-conf-test] renderLongOptDocs optDocs
  24417. 1993.10 s [opt-env-conf-test] ]
  24418. 1993.10 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24419. 1993.10 s [opt-env-conf-test] + | True
  24420. 1993.10 s [opt-env-conf-test] ],
  24421. 1993.11 s [opt-env-conf-test] concat
  24422. 1993.11 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  24423. 1993.11 s [opt-env-conf-test]
  24424. 1993.11 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
  24425. 1993.11 s [opt-env-conf-test] @@ -326,11 +326,10 @@
  24426. 1993.11 s [opt-env-conf-test] | not (null commandDocs)
  24427. 1993.11 s [opt-env-conf-test] ],
  24428. 1993.11 s [opt-env-conf-test] concat
  24429. 1993.11 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24430. 1993.11 s [opt-env-conf-test] renderLongOptDocs optDocs
  24431. 1993.11 s [opt-env-conf-test] ]
  24432. 1993.11 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24433. 1993.11 s [opt-env-conf-test] ],
  24434. 1993.11 s [opt-env-conf-test] concat
  24435. 1993.11 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24436. 1993.11 s [opt-env-conf-test] renderEnvDocs envDocs
  24437. 1993.11 s [opt-env-conf-test]
  24438. 1993.11 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
  24439. 1993.11 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  24440. 1993.11 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  24441. 1993.11 s [opt-env-conf-test] renderLongOptDocs optDocs
  24442. 1993.11 s [opt-env-conf-test] ]
  24443. 1993.11 s [opt-env-conf-test] - | not (nullDocs optDocs)
  24444. 1993.11 s [opt-env-conf-test] + | True
  24445. 1993.11 s [opt-env-conf-test] ],
  24446. 1993.11 s [opt-env-conf-test] concat
  24447. 1993.11 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  24448. 1993.11 s [opt-env-conf-test]
  24449. 1993.11 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
  24450. 1993.11 s [opt-env-conf-test] @@ -565,21 +565,20 @@
  24451. 1993.11 s [opt-env-conf-test] [] -> []
  24452. 1993.11 s [opt-env-conf-test] [d] -> go isTopLevel d
  24453. 1993.11 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24454. 1993.11 s [opt-env-conf-test] case setDocHelp d of
  24455. 1993.11 s [opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24456. 1993.11 s [opt-env-conf-test] Just h ->
  24457. 1993.11 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24458. 1993.11 s [opt-env-conf-test] in concat
  24459. 1993.11 s [opt-env-conf-test] [ concat
  24460. 1993.11 s [opt-env-conf-test] [ concat
  24461. 1993.11 s [opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
  24462. 1993.11 s [opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  24463. 1993.11 s [opt-env-conf-test] [[]]
  24464. 1993.11 s [opt-env-conf-test] ]
  24465. 1993.11 s [opt-env-conf-test] | not isTopLevel
  24466. 1993.11 s [opt-env-conf-test] ],
  24467. 1993.11 s [opt-env-conf-test] goOr isTopLevel rest
  24468. 1993.11 s [opt-env-conf-test] ]
  24469. 1993.11 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24470. 1993.11 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24471. 1993.11 s [opt-env-conf-test] goSameHelp h = \case
  24472. 1993.11 s [opt-env-conf-test]
  24473. 1993.11 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
  24474. 1993.11 s [opt-env-conf-test] @@ -578,7 +578,7 @@
  24475. 1993.11 s [opt-env-conf-test] ]
  24476. 1993.11 s [opt-env-conf-test] | not isTopLevel
  24477. 1993.11 s [opt-env-conf-test] ],
  24478. 1993.11 s [opt-env-conf-test] - goOr isTopLevel rest
  24479. 1993.11 s [opt-env-conf-test] + goOr True rest
  24480. 1993.11 s [opt-env-conf-test] ]
  24481. 1993.11 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  24482. 1993.11 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  24483. 1993.11 s [opt-env-conf-test]
  24484. 1993.11 s [opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
  24485. 1993.11 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24486. 1993.11 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24487. 1993.11 s [opt-env-conf-test] goOr isTopLevel = \case
  24488. 1993.11 s [opt-env-conf-test] [] -> []
  24489. 1993.11 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24490. 1993.11 s [opt-env-conf-test] + [d] -> go not (isTopLevel) d
  24491. 1993.11 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24492. 1993.11 s [opt-env-conf-test] case setDocHelp d of
  24493. 1993.11 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24494. 1993.11 s [opt-env-conf-test]
  24495. 1993.11 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
  24496. 1993.11 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  24497. 1993.11 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  24498. 1993.11 s [opt-env-conf-test] goOr isTopLevel = \case
  24499. 1993.11 s [opt-env-conf-test] [] -> []
  24500. 1993.11 s [opt-env-conf-test] - [d] -> go isTopLevel d
  24501. 1993.11 s [opt-env-conf-test] + [d] -> go True d
  24502. 1993.11 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24503. 1993.11 s [opt-env-conf-test] case setDocHelp d of
  24504. 1993.11 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  24505. 1993.11 s [opt-env-conf-test]
  24506. 1993.11 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
  24507. 1993.11 s [opt-env-conf-test] @@ -585,7 +585,7 @@
  24508. 1993.11 s [opt-env-conf-test] goSameHelp h = \case
  24509. 1993.12 s [opt-env-conf-test] [] -> ([], [])
  24510. 1993.12 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24511. 1993.12 s [opt-env-conf-test] - if setDocHelp d == Just h
  24512. 1993.12 s [opt-env-conf-test] + if True
  24513. 1993.12 s [opt-env-conf-test] then
  24514. 1993.12 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24515. 1993.12 s [opt-env-conf-test] in (d : sds, rest)
  24516. 1993.12 s [opt-env-conf-test]
  24517. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
  24518. 1993.12 s [opt-env-conf-test] @@ -529,12 +529,11 @@
  24519. 1993.12 s [opt-env-conf-test] [] -> []
  24520. 1993.12 s [opt-env-conf-test] [d] -> [go' d]
  24521. 1993.12 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  24522. 1993.12 s [opt-env-conf-test] case setDocHelp d of
  24523. 1993.12 s [opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
  24524. 1993.12 s [opt-env-conf-test] Just h ->
  24525. 1993.12 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  24526. 1993.12 s [opt-env-conf-test] ne = d :| sds
  24527. 1993.12 s [opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
  24528. 1993.12 s [opt-env-conf-test] (d : ds) -> go' d : goOr' ds
  24529. 1993.12 s [opt-env-conf-test]
  24530. 1993.12 s [opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
  24531. 1993.12 s [opt-env-conf-test]
  24532. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
  24533. 1993.12 s [opt-env-conf-test] @@ -256,18 +256,16 @@
  24534. 1993.12 s [opt-env-conf-test] concat
  24535. 1993.12 s [opt-env-conf-test] [ concatMap
  24536. 1993.12 s [opt-env-conf-test] ( \(key, schema) ->
  24537. 1993.12 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24538. 1993.12 s [opt-env-conf-test] - [line] ->
  24539. 1993.12 s [opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
  24540. 1993.12 s [opt-env-conf-test] ls ->
  24541. 1993.12 s [opt-env-conf-test] ["config:"]
  24542. 1993.12 s [opt-env-conf-test] : indent
  24543. 1993.12 s [opt-env-conf-test] ( case ls of
  24544. 1993.12 s [opt-env-conf-test] [] -> [["TODO"]]
  24545. 1993.12 s [opt-env-conf-test] (l : ll) ->
  24546. 1993.12 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24547. 1993.12 s [opt-env-conf-test] : indent ll
  24548. 1993.12 s [opt-env-conf-test] )
  24549. 1993.12 s [opt-env-conf-test] )
  24550. 1993.12 s [opt-env-conf-test] (NE.toList confs)
  24551. 1993.12 s [opt-env-conf-test] | confs <- maybeToList setDocConfKeys
  24552. 1993.12 s [opt-env-conf-test]
  24553. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
  24554. 1993.12 s [opt-env-conf-test] @@ -262,11 +262,10 @@
  24555. 1993.12 s [opt-env-conf-test] ls ->
  24556. 1993.12 s [opt-env-conf-test] ["config:"]
  24557. 1993.12 s [opt-env-conf-test] : indent
  24558. 1993.12 s [opt-env-conf-test] ( case ls of
  24559. 1993.12 s [opt-env-conf-test] - [] -> [["TODO"]]
  24560. 1993.12 s [opt-env-conf-test] (l : ll) ->
  24561. 1993.12 s [opt-env-conf-test] ([confValChunk key, ": "] ++ l)
  24562. 1993.12 s [opt-env-conf-test] : indent ll
  24563. 1993.12 s [opt-env-conf-test] )
  24564. 1993.12 s [opt-env-conf-test] )
  24565. 1993.12 s [opt-env-conf-test] (NE.toList confs)
  24566. 1993.12 s [opt-env-conf-test]
  24567. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
  24568. 1993.12 s [opt-env-conf-test] @@ -658,29 +658,28 @@
  24569. 1993.12 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24570. 1993.12 s [opt-env-conf-test] [] -> Nothing
  24571. 1993.12 s [opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
  24572. 1993.12 s [opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
  24573. 1993.12 s [opt-env-conf-test] - Nothing -> Nothing
  24574. 1993.12 s [opt-env-conf-test] Just OptDoc {..} ->
  24575. 1993.12 s [opt-env-conf-test] Just
  24576. 1993.12 s [opt-env-conf-test] $ ( if isJust optDocDefault
  24577. 1993.12 s [opt-env-conf-test] then bracketise
  24578. 1993.12 s [opt-env-conf-test] else id
  24579. 1993.12 s [opt-env-conf-test] )
  24580. 1993.12 s [opt-env-conf-test] $ unwordsChunks
  24581. 1993.12 s [opt-env-conf-test] $ concat
  24582. 1993.12 s [opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
  24583. 1993.12 s [opt-env-conf-test] | optDocTryArgument
  24584. 1993.12 s [opt-env-conf-test] ],
  24585. 1993.12 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
  24586. 1993.12 s [opt-env-conf-test] | optDocTrySwitch
  24587. 1993.12 s [opt-env-conf-test] ],
  24588. 1993.12 s [opt-env-conf-test] [ concat
  24589. 1993.12 s [opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
  24590. 1993.12 s [opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
  24591. 1993.12 s [opt-env-conf-test] ]
  24592. 1993.12 s [opt-env-conf-test] | optDocTryOption
  24593. 1993.12 s [opt-env-conf-test] ]
  24594. 1993.12 s [opt-env-conf-test] ]
  24595. 1993.12 s [opt-env-conf-test]
  24596. 1993.12 s [opt-env-conf-test] orChunk :: Chunk
  24597. 1993.12 s [opt-env-conf-test] orChunk = fore cyan "|"
  24598. 1993.12 s [opt-env-conf-test]
  24599. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24600. 1993.12 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24601. 1993.12 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24602. 1993.12 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24603. 1993.12 s [opt-env-conf-test] AnyDocsAnd ds ->
  24604. 1993.12 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24605. 1993.12 s [opt-env-conf-test] [] -> Nothing
  24606. 1993.12 s [opt-env-conf-test] - [c] -> Just c
  24607. 1993.12 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24608. 1993.12 s [opt-env-conf-test] AnyDocsOr ds ->
  24609. 1993.12 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24610. 1993.12 s [opt-env-conf-test] [] -> Nothing
  24611. 1993.12 s [opt-env-conf-test]
  24612. 1993.12 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  24613. 1993.12 s [opt-env-conf-test] @@ -650,10 +650,9 @@
  24614. 1993.12 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  24615. 1993.12 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  24616. 1993.12 s [opt-env-conf-test] AnyDocsAnd ds ->
  24617. 1993.12 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24618. 1993.12 s [opt-env-conf-test] - [] -> Nothing
  24619. 1993.12 s [opt-env-conf-test] [c] -> Just c
  24620. 1993.12 s [opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24621. 1993.12 s [opt-env-conf-test] AnyDocsOr ds ->
  24622. 1993.12 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24623. 1993.12 s [opt-env-conf-test] [] -> Nothing
  24624. 1993.13 s [opt-env-conf-test]
  24625. 1993.13 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
  24626. 1993.13 s [opt-env-conf-test] @@ -653,7 +653,7 @@
  24627. 1993.13 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24628. 1993.13 s [opt-env-conf-test] [] -> Nothing
  24629. 1993.13 s [opt-env-conf-test] [c] -> Just c
  24630. 1993.13 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  24631. 1993.13 s [opt-env-conf-test] + cs -> Just $ (if False then parenthesise else id) $ unwordsChunks cs
  24632. 1993.13 s [opt-env-conf-test] AnyDocsOr ds ->
  24633. 1993.13 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  24634. 1993.13 s [opt-env-conf-test] [] -> Nothing
  24635. 1993.13 s [opt-env-conf-test]
  24636. 1993.13 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
  24637. 1993.13 s [opt-env-conf-test] @@ -634,7 +634,7 @@
  24638. 1993.13 s [opt-env-conf-test] withoutNothings =
  24639. 1993.13 s [opt-env-conf-test] filter
  24640. 1993.13 s [opt-env-conf-test] ( \case
  24641. 1993.13 s [opt-env-conf-test] - AnyDocsSingle Nothing -> False
  24642. 1993.13 s [opt-env-conf-test] + AnyDocsSingle Nothing -> True
  24643. 1993.13 s [opt-env-conf-test] AnyDocsAnd [] -> False
  24644. 1993.13 s [opt-env-conf-test] AnyDocsOr [] -> False
  24645. 1993.13 s [opt-env-conf-test] _ -> True
  24646. 1993.13 s [opt-env-conf-test]
  24647. 1993.13 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
  24648. 1993.13 s [opt-env-conf-test] @@ -819,11 +819,9 @@
  24649. 1993.13 s [opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
  24650. 1993.13 s [opt-env-conf-test] concatMap
  24651. 1993.13 s [opt-env-conf-test] ( \(key, schema) ->
  24652. 1993.13 s [opt-env-conf-test] case jsonSchemaChunkLines schema of
  24653. 1993.13 s [opt-env-conf-test] - [line] ->
  24654. 1993.13 s [opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
  24655. 1993.13 s [opt-env-conf-test] ls ->
  24656. 1993.13 s [opt-env-conf-test] [confValChunk key, ":"] : indent ls
  24657. 1993.13 s [opt-env-conf-test] )
  24658. 1993.13 s [opt-env-conf-test] (NE.toList confDocKeys)
  24659. 1993.13 s [opt-env-conf-test] ]
  24660. 1993.13 s [opt-env-conf-test]
  24661. 1993.13 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
  24662. 1993.13 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24663. 1993.13 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24664. 1993.13 s [opt-env-conf-test] salt
  24665. 1993.13 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24666. 1993.13 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24667. 1993.13 s [opt-env-conf-test] + `hashWithSalt` not (envVarSettingAllowPrefix)
  24668. 1993.13 s [opt-env-conf-test]
  24669. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24670. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24671. 1993.13 s [opt-env-conf-test]
  24672. 1993.13 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24673. 1993.13 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24674. 1993.13 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24675. 1993.13 s [opt-env-conf-test] salt
  24676. 1993.13 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24677. 1993.13 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24678. 1993.13 s [opt-env-conf-test] + `hashWithSalt` False
  24679. 1993.13 s [opt-env-conf-test]
  24680. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24681. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24682. 1993.13 s [opt-env-conf-test]
  24683. 1993.13 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
  24684. 1993.13 s [opt-env-conf-test] @@ -141,7 +141,7 @@
  24685. 1993.13 s [opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
  24686. 1993.13 s [opt-env-conf-test] salt
  24687. 1993.13 s [opt-env-conf-test] `hashWithSalt` envVarSettingVar
  24688. 1993.13 s [opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
  24689. 1993.13 s [opt-env-conf-test] + `hashWithSalt` True
  24690. 1993.13 s [opt-env-conf-test]
  24691. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24692. 1993.13 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24693. 1993.13 s [opt-env-conf-test]
  24694. 1993.13 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
  24695. 1993.13 s [opt-env-conf-test] @@ -133,7 +133,7 @@
  24696. 1993.13 s [opt-env-conf-test]
  24697. 1993.13 s [opt-env-conf-test] data EnvVarSetting = EnvVarSetting
  24698. 1993.14 s [opt-env-conf-test] { envVarSettingVar :: !String,
  24699. 1993.14 s [opt-env-conf-test] - envVarSettingAllowPrefix :: !Bool
  24700. 1993.14 s [opt-env-conf-test] + True :: !Bool
  24701. 1993.14 s [opt-env-conf-test] }
  24702. 1993.14 s [opt-env-conf-test] deriving (Show, Eq)
  24703. 1993.14 s [opt-env-conf-test]
  24704. 1993.14 s [opt-env-conf-test]
  24705. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
  24706. 1993.14 s [opt-env-conf-test] @@ -156,7 +156,7 @@
  24707. 1993.14 s [opt-env-conf-test] = forall void.
  24708. 1993.14 s [opt-env-conf-test] ConfigValSetting
  24709. 1993.14 s [opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
  24710. 1993.14 s [opt-env-conf-test] - configValSettingAllowPrefix :: !Bool,
  24711. 1993.14 s [opt-env-conf-test] + True :: !Bool,
  24712. 1993.14 s [opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
  24713. 1993.14 s [opt-env-conf-test] }
  24714. 1993.14 s [opt-env-conf-test]
  24715. 1993.14 s [opt-env-conf-test]
  24716. 1993.14 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
  24717. 1993.14 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24718. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24719. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24720. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24721. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24722. 1993.14 s [opt-env-conf-test] + `hashWithSalt` not (settingTryOption)
  24723. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24724. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24725. 1993.14 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24726. 1993.14 s [opt-env-conf-test]
  24727. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24728. 1993.14 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24729. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24730. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24731. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24732. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24733. 1993.14 s [opt-env-conf-test] + `hashWithSalt` False
  24734. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24735. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24736. 1993.14 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24737. 1993.14 s [opt-env-conf-test]
  24738. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
  24739. 1993.14 s [opt-env-conf-test] @@ -125,7 +125,7 @@
  24740. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24741. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24742. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24743. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryOption
  24744. 1993.14 s [opt-env-conf-test] + `hashWithSalt` True
  24745. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24746. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24747. 1993.14 s [opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
  24748. 1993.14 s [opt-env-conf-test]
  24749. 1993.14 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
  24750. 1993.14 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24751. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24752. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24753. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24754. 1993.14 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24755. 1993.14 s [opt-env-conf-test] + `hashWithSalt` not (isJust settingSwitchValue)
  24756. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24757. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24758. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24759. 1993.14 s [opt-env-conf-test]
  24760. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24761. 1993.14 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24762. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24763. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24764. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24765. 1993.14 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24766. 1993.14 s [opt-env-conf-test] + `hashWithSalt` False
  24767. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24768. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24769. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24770. 1993.14 s [opt-env-conf-test]
  24771. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
  24772. 1993.14 s [opt-env-conf-test] @@ -124,7 +124,7 @@
  24773. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24774. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryArgument
  24775. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24776. 1993.14 s [opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
  24777. 1993.14 s [opt-env-conf-test] + `hashWithSalt` True
  24778. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24779. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingEnvVars
  24780. 1993.14 s [opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
  24781. 1993.14 s [opt-env-conf-test]
  24782. 1993.14 s [opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
  24783. 1993.14 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24784. 1993.14 s [opt-env-conf-test] SettingHash
  24785. 1993.14 s [opt-env-conf-test] ( 42
  24786. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24787. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24788. 1993.14 s [opt-env-conf-test] + `hashWithSalt` not (settingTryArgument)
  24789. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24790. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24791. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24792. 1993.14 s [opt-env-conf-test]
  24793. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
  24794. 1993.14 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24795. 1993.14 s [opt-env-conf-test] SettingHash
  24796. 1993.14 s [opt-env-conf-test] ( 42
  24797. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24798. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24799. 1993.14 s [opt-env-conf-test] + `hashWithSalt` False
  24800. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24801. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24802. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24803. 1993.14 s [opt-env-conf-test]
  24804. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
  24805. 1993.14 s [opt-env-conf-test] @@ -122,7 +122,7 @@
  24806. 1993.14 s [opt-env-conf-test] SettingHash
  24807. 1993.14 s [opt-env-conf-test] ( 42
  24808. 1993.14 s [opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
  24809. 1993.14 s [opt-env-conf-test] - `hashWithSalt` settingTryArgument
  24810. 1993.14 s [opt-env-conf-test] + `hashWithSalt` True
  24811. 1993.14 s [opt-env-conf-test] `hashWithSalt` length settingReaders
  24812. 1993.14 s [opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
  24813. 1993.14 s [opt-env-conf-test] `hashWithSalt` settingTryOption
  24814. 1993.14 s [opt-env-conf-test]
  24815. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
  24816. 1993.14 s [opt-env-conf-test] @@ -145,7 +145,7 @@
  24817. 1993.14 s [opt-env-conf-test]
  24818. 1993.14 s [opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
  24819. 1993.14 s [opt-env-conf-test] prefixEnvVarSetting prefix e =
  24820. 1993.14 s [opt-env-conf-test] - if envVarSettingAllowPrefix e
  24821. 1993.14 s [opt-env-conf-test] + if True
  24822. 1993.14 s [opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
  24823. 1993.14 s [opt-env-conf-test] else e
  24824. 1993.14 s [opt-env-conf-test]
  24825. 1993.14 s [opt-env-conf-test]
  24826. 1993.14 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
  24827. 1993.14 s [opt-env-conf-test] @@ -162,7 +162,7 @@
  24828. 1993.14 s [opt-env-conf-test]
  24829. 1993.14 s [opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
  24830. 1993.14 s [opt-env-conf-test] prefixConfigValSetting prefix c =
  24831. 1993.14 s [opt-env-conf-test] - if configValSettingAllowPrefix c
  24832. 1993.14 s [opt-env-conf-test] + if True
  24833. 1993.14 s [opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
  24834. 1993.14 s [opt-env-conf-test] else c
  24835. 1993.14 s [opt-env-conf-test]
  24836. 1993.14 s [opt-env-conf-test]
  24837. 1993.14 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
  24838. 1993.14 s [opt-env-conf-test] @@ -170,9 +170,8 @@
  24839. 1993.14 s [opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
  24840. 1993.15 s [opt-env-conf-test] where
  24841. 1993.15 s [opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
  24842. 1993.15 s [opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
  24843. 1993.15 s [opt-env-conf-test] Nothing -> (f <> suffix) :| []
  24844. 1993.15 s [opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
  24845. 1993.15 s [opt-env-conf-test]
  24846. 1993.15 s [opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
  24847. 1993.15 s [opt-env-conf-test] emptySetting :: Setting a
  24848. 1993.15 s [opt-env-conf-test]
  24849. 1993.15 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
  24850. 1993.15 s [opt-env-conf-test] @@ -64,10 +64,8 @@
  24851. 1993.15 s [opt-env-conf-test]
  24852. 1993.15 s [opt-env-conf-test] parserLintTest :: Parser a -> IO ()
  24853. 1993.15 s [opt-env-conf-test] parserLintTest parser =
  24854. 1993.15 s [opt-env-conf-test] case lintParser parser of
  24855. 1993.15 s [opt-env-conf-test] Nothing -> pure ()
  24856. 1993.15 s [opt-env-conf-test] - Just errs ->
  24857. 1993.15 s [opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
  24858. 1993.15 s [opt-env-conf-test]
  24859. 1993.15 s [opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
  24860. 1993.15 s [opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
  24861. 1993.15 s [opt-env-conf-test]
  24862. 1993.15 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
  24863. 1993.15 s [opt-env-conf-test] @@ -146,14 +146,13 @@
  24864. 1993.15 s [opt-env-conf-test]
  24865. 1993.15 s [opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
  24866. 1993.15 s [opt-env-conf-test] generatedFileComment cs =
  24867. 1993.15 s [opt-env-conf-test] let loc = case getCallStack cs of
  24868. 1993.15 s [opt-env-conf-test] (_, srcLoc) : _ ->
  24869. 1993.15 s [opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
  24870. 1993.15 s [opt-env-conf-test] <> ":"
  24871. 1993.15 s [opt-env-conf-test] <> Stack.srcLocFile srcLoc
  24872. 1993.15 s [opt-env-conf-test] <> ":"
  24873. 1993.15 s [opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
  24874. 1993.15 s [opt-env-conf-test] - [] -> "unknown"
  24875. 1993.15 s [opt-env-conf-test] in T.pack $
  24876. 1993.15 s [opt-env-conf-test] unlines $
  24877. 1993.15 s [opt-env-conf-test] map
  24878. 1993.15 s [opt-env-conf-test]
  24879. 1993.15 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
  24880. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24881. 1993.15 s [opt-env-conf-test] where
  24882. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24883. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24884. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24885. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) || elem '.' v && all (\c -> isDigit c || c == '.') v
  24886. 1993.15 s [opt-env-conf-test]
  24887. 1993.15 s [opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
  24888. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24889. 1993.15 s [opt-env-conf-test] where
  24890. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24891. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24892. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24893. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v || all (\c -> isDigit c || c == '.') v
  24894. 1993.15 s [opt-env-conf-test]
  24895. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
  24896. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24897. 1993.15 s [opt-env-conf-test] where
  24898. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24899. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24900. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24901. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && True
  24902. 1993.15 s [opt-env-conf-test]
  24903. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
  24904. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24905. 1993.15 s [opt-env-conf-test] where
  24906. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24907. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24908. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24909. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && True
  24910. 1993.15 s [opt-env-conf-test]
  24911. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
  24912. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24913. 1993.15 s [opt-env-conf-test] where
  24914. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24915. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24916. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24917. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True) v
  24918. 1993.15 s [opt-env-conf-test]
  24919. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
  24920. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24921. 1993.15 s [opt-env-conf-test] where
  24922. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24923. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24924. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24925. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || True) v
  24926. 1993.15 s [opt-env-conf-test]
  24927. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
  24928. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24929. 1993.15 s [opt-env-conf-test] where
  24930. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24931. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24932. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24933. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True || c == '.') v
  24934. 1993.15 s [opt-env-conf-test]
  24935. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
  24936. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24937. 1993.15 s [opt-env-conf-test] where
  24938. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24939. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24940. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24941. 1993.15 s [opt-env-conf-test] + isVersion v = not (null v) && True && all (\c -> isDigit c || c == '.') v
  24942. 1993.15 s [opt-env-conf-test]
  24943. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
  24944. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24945. 1993.15 s [opt-env-conf-test] where
  24946. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24947. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24948. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24949. 1993.15 s [opt-env-conf-test] + isVersion v = True && elem '.' v && all (\c -> isDigit c || c == '.') v
  24950. 1993.15 s [opt-env-conf-test]
  24951. 1993.15 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
  24952. 1993.15 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24953. 1993.15 s [opt-env-conf-test] where
  24954. 1993.15 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24955. 1993.15 s [opt-env-conf-test] go (c : rest) = c : go rest
  24956. 1993.15 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24957. 1993.15 s [opt-env-conf-test] + isVersion v = not False && elem '.' v && all (\c -> isDigit c || c == '.') v
  24958. 1993.15 s [opt-env-conf-test]
  24959. 1993.16 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
  24960. 1993.16 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  24961. 1993.16 s [opt-env-conf-test] where
  24962. 1993.16 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  24963. 1993.16 s [opt-env-conf-test] go (c : rest) = c : go rest
  24964. 1993.16 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24965. 1993.16 s [opt-env-conf-test] + isVersion v = not (False) && elem '.' v && all (\c -> isDigit c || c == '.') v
  24966. 1993.16 s [opt-env-conf-test] checkPhase completed in 27 minutes 47 seconds
  24967. 1993.16 s [opt-env-conf-test] Phase: haddockPhase
  24968. 1993.16 s [opt-env-conf-test] Phase: installPhase
  24969. 1993.28 s [opt-env-conf-test] Installing library in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-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. 1993.90 s [opt-env-conf-test] Phase: fixupPhase
  24971. 1993.94 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4
  24972. 1993.95 s [opt-env-conf-test] shrinking /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-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. 1993.99 s [opt-env-conf-test] shrinking /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
  24974. 1994.05 s [opt-env-conf-test] checking for references to /build/ in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4...
  24975. 1994.11 s [opt-env-conf-test] patching script interpreter paths in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4
  24976. 1994.12 s [opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/lib /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4/bin
  24977. 1994.29 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest
  24978. 1994.29 s [opt-env-conf-test] checking for references to /build/ in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest...
  24979. 1994.31 s [opt-env-conf-test] patching script interpreter paths in /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest
  24980. 1994.32 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
  24981. 1994.41 s [opt-env-conf-test] checking for references to /build/ in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report...
  24982. 1994.50 s [opt-env-conf-test] patching script interpreter paths in /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
  24983. 1994.78 s [post-build-hook] Uploading to cachix cache "sydtest": /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
  24984. 1995.60 s [post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
  24985. 1995.60 s [post-build-hook]
  24986. 1995.95 s [post-build-hook] Pushing /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
  24987. 1996.08 s [post-build-hook] Pushing /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 (15.01 MiB)
  24988. 1996.09 s [post-build-hook] Pushing /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report (2.88 MiB)
  24989. 1998.14 s [post-build-hook]
  24990. 1998.14 s [post-build-hook] All done.
  24991. 1998.18 s [post-build-hook] Uploading to the NixCI staging cache: /nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4 /nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest /nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report
  24992. 1998.59 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  24993. 1998.62 s [post-build-hook] copying 3 paths...
  24994. 1998.62 s [post-build-hook] copying path '/nix/store/3rxjb1pbjcw41w7ak9jwkmvmg70mbraq-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
  24995. 1998.62 s [post-build-hook] copying path '/nix/store/2x5bxbhbf645a7zhdd2rh9q0dfdl317l-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
  24996. 1998.62 s [post-build-hook] copying path '/nix/store/xs4wr6mz2p4k18harbdnjlcsrzfrjpib-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
  24997. 2007.28 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  24998. 2007.59 s [post-build-hook] copying 1 paths...
  24999. 2007.61 s [post-build-hook] copying path '/nix/store/srmldd9caz7rmyfg4jinlafhy0ixnn52-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
  25000. 2007.84 s Progress: 8 of 9 built