build checks.x86_64-linux.mutation-opt-env-conf

Reproduce this run
  1. 936.29 s [opt-env-conf-test] isEmpty = \case
  2. 936.29 s [opt-env-conf-test] ParserPure _ -> False
  3. 936.29 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  4. 936.29 s [opt-env-conf-test] + ParserAp pf pa -> False && isEmpty pa
  5. 936.29 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  6. 936.29 s [opt-env-conf-test] ParserEmpty _ -> True
  7. 936.29 s [opt-env-conf-test] ParserAlt _ _ -> False
  8. 936.29 s [opt-env-conf-test]
  9. 936.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
  10. 936.29 s [opt-env-conf-test] @@ -253,7 +253,7 @@
  11. 936.29 s [opt-env-conf-test] let isEmpty :: Parser a -> Bool
  12. 936.29 s [opt-env-conf-test] isEmpty = \case
  13. 936.29 s [opt-env-conf-test] ParserPure _ -> False
  14. 936.29 s [opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
  15. 936.29 s [opt-env-conf-test] + ParserAp pf pa -> True && isEmpty pa
  16. 936.29 s [opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
  17. 936.29 s [opt-env-conf-test] ParserEmpty _ -> True
  18. 936.29 s [opt-env-conf-test] ParserAlt _ _ -> False
  19. 936.29 s [opt-env-conf-test]
  20. 936.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
  21. 936.29 s [opt-env-conf-test] @@ -294,7 +294,7 @@
  22. 936.29 s [opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
  23. 936.29 s [opt-env-conf-test]
  24. 936.29 s [opt-env-conf-test] showParserABit :: Parser a -> String
  25. 936.29 s [opt-env-conf-test] -showParserABit = flip (showParserPrec 0) ""
  26. 936.29 s [opt-env-conf-test] +showParserABit = flip (showParserPrec 1) ""
  27. 936.29 s [opt-env-conf-test]
  28. 936.29 s [opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
  29. 936.29 s [opt-env-conf-test] showParserPrec = go
  30. 936.29 s [opt-env-conf-test]
  31. 936.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
  32. 936.29 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  33. 936.29 s [opt-env-conf-test] . showString " "
  34. 936.29 s [opt-env-conf-test] . go 11 p2
  35. 936.29 s [opt-env-conf-test] ParserSetting mLoc p ->
  36. 936.29 s [opt-env-conf-test] - showParen (d > 10) $
  37. 936.29 s [opt-env-conf-test] + showParen True $
  38. 936.29 s [opt-env-conf-test] showString "Setting "
  39. 936.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  40. 936.29 s [opt-env-conf-test] . showString " "
  41. 936.29 s [opt-env-conf-test]
  42. 936.29 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
  43. 936.29 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  44. 936.29 s [opt-env-conf-test] . showString " "
  45. 936.29 s [opt-env-conf-test] . go 11 p2
  46. 936.29 s [opt-env-conf-test] ParserSetting mLoc p ->
  47. 936.29 s [opt-env-conf-test] - showParen (d > 10) $
  48. 936.29 s [opt-env-conf-test] + showParen (True) $
  49. 936.29 s [opt-env-conf-test] showString "Setting "
  50. 936.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  51. 936.29 s [opt-env-conf-test] . showString " "
  52. 936.29 s [opt-env-conf-test]
  53. 936.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  54. 936.29 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  55. 936.29 s [opt-env-conf-test] . showString " "
  56. 936.29 s [opt-env-conf-test] . go 11 p2
  57. 936.29 s [opt-env-conf-test] ParserSetting mLoc p ->
  58. 936.29 s [opt-env-conf-test] - showParen (d > 10) $
  59. 936.29 s [opt-env-conf-test] + showParen (d > -10) $
  60. 936.29 s [opt-env-conf-test] showString "Setting "
  61. 936.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  62. 936.29 s [opt-env-conf-test] . showString " "
  63. 936.29 s [opt-env-conf-test]
  64. 936.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  65. 936.29 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  66. 936.29 s [opt-env-conf-test] . showString " "
  67. 936.29 s [opt-env-conf-test] . go 11 p2
  68. 936.29 s [opt-env-conf-test] ParserSetting mLoc p ->
  69. 936.29 s [opt-env-conf-test] - showParen (d > 10) $
  70. 936.29 s [opt-env-conf-test] + showParen (d > 1) $
  71. 936.29 s [opt-env-conf-test] showString "Setting "
  72. 936.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  73. 936.29 s [opt-env-conf-test] . showString " "
  74. 936.29 s [opt-env-conf-test]
  75. 936.29 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
  76. 936.29 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  77. 936.29 s [opt-env-conf-test] . showString " "
  78. 936.29 s [opt-env-conf-test] . go 11 p2
  79. 936.29 s [opt-env-conf-test] ParserSetting mLoc p ->
  80. 936.29 s [opt-env-conf-test] - showParen (d > 10) $
  81. 936.29 s [opt-env-conf-test] + showParen (d > 0) $
  82. 936.29 s [opt-env-conf-test] showString "Setting "
  83. 936.29 s [opt-env-conf-test] . showsPrec 11 mLoc
  84. 936.29 s [opt-env-conf-test] . showString " "
  85. 936.29 s [opt-env-conf-test]
  86. 936.29 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
  87. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  88. 936.30 s [opt-env-conf-test] showCommandABit
  89. 936.30 s [opt-env-conf-test] cs
  90. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  91. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  92. 936.30 s [opt-env-conf-test] + showParen not ((d > 10)) $
  93. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  94. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  95. 936.30 s [opt-env-conf-test] . showString " "
  96. 936.30 s [opt-env-conf-test]
  97. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  98. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  99. 936.30 s [opt-env-conf-test] showCommandABit
  100. 936.30 s [opt-env-conf-test] cs
  101. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  102. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  103. 936.30 s [opt-env-conf-test] + showParen False $
  104. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  105. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  106. 936.30 s [opt-env-conf-test] . showString " "
  107. 936.30 s [opt-env-conf-test]
  108. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
  109. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  110. 936.30 s [opt-env-conf-test] showCommandABit
  111. 936.30 s [opt-env-conf-test] cs
  112. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  113. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  114. 936.30 s [opt-env-conf-test] + showParen True $
  115. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  116. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  117. 936.30 s [opt-env-conf-test] . showString " "
  118. 936.30 s [opt-env-conf-test]
  119. 936.30 s [opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
  120. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  121. 936.30 s [opt-env-conf-test] showCommandABit
  122. 936.30 s [opt-env-conf-test] cs
  123. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  124. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  125. 936.30 s [opt-env-conf-test] + showParen (not (d > 10)) $
  126. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  127. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  128. 936.30 s [opt-env-conf-test] . showString " "
  129. 936.30 s [opt-env-conf-test]
  130. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  131. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  132. 936.30 s [opt-env-conf-test] showCommandABit
  133. 936.30 s [opt-env-conf-test] cs
  134. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  135. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  136. 936.30 s [opt-env-conf-test] + showParen (False) $
  137. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  138. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  139. 936.30 s [opt-env-conf-test] . showString " "
  140. 936.30 s [opt-env-conf-test]
  141. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
  142. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  143. 936.30 s [opt-env-conf-test] showCommandABit
  144. 936.30 s [opt-env-conf-test] cs
  145. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  146. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  147. 936.30 s [opt-env-conf-test] + showParen (True) $
  148. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  149. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  150. 936.30 s [opt-env-conf-test] . showString " "
  151. 936.30 s [opt-env-conf-test]
  152. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  153. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  154. 936.30 s [opt-env-conf-test] showCommandABit
  155. 936.30 s [opt-env-conf-test] cs
  156. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  157. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  158. 936.30 s [opt-env-conf-test] + showParen (d > -10) $
  159. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  160. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  161. 936.30 s [opt-env-conf-test] . showString " "
  162. 936.30 s [opt-env-conf-test]
  163. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  164. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  165. 936.30 s [opt-env-conf-test] showCommandABit
  166. 936.30 s [opt-env-conf-test] cs
  167. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  168. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  169. 936.30 s [opt-env-conf-test] + showParen (d > 1) $
  170. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  171. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  172. 936.30 s [opt-env-conf-test] . showString " "
  173. 936.30 s [opt-env-conf-test]
  174. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
  175. 936.30 s [opt-env-conf-test] @@ -362,7 +362,7 @@
  176. 936.30 s [opt-env-conf-test] showCommandABit
  177. 936.30 s [opt-env-conf-test] cs
  178. 936.30 s [opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
  179. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  180. 936.30 s [opt-env-conf-test] + showParen (d > 0) $
  181. 936.30 s [opt-env-conf-test] showString "WithConfig _ "
  182. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  183. 936.30 s [opt-env-conf-test] . showString " "
  184. 936.30 s [opt-env-conf-test]
  185. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
  186. 936.30 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  187. 936.30 s [opt-env-conf-test] . showString " _ "
  188. 936.30 s [opt-env-conf-test] . go 11 p
  189. 936.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  190. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  191. 936.30 s [opt-env-conf-test] + showParen True $
  192. 936.30 s [opt-env-conf-test] showString "Commands "
  193. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  194. 936.30 s [opt-env-conf-test] . showString " "
  195. 936.30 s [opt-env-conf-test]
  196. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
  197. 936.30 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  198. 936.30 s [opt-env-conf-test] . showString " _ "
  199. 936.30 s [opt-env-conf-test] . go 11 p
  200. 936.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  201. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  202. 936.30 s [opt-env-conf-test] + showParen (True) $
  203. 936.30 s [opt-env-conf-test] showString "Commands "
  204. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  205. 936.30 s [opt-env-conf-test] . showString " "
  206. 936.30 s [opt-env-conf-test]
  207. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  208. 936.30 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  209. 936.30 s [opt-env-conf-test] . showString " _ "
  210. 936.30 s [opt-env-conf-test] . go 11 p
  211. 936.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  212. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  213. 936.30 s [opt-env-conf-test] + showParen (d > -10) $
  214. 936.30 s [opt-env-conf-test] showString "Commands "
  215. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  216. 936.30 s [opt-env-conf-test] . showString " "
  217. 936.30 s [opt-env-conf-test]
  218. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  219. 936.30 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  220. 936.30 s [opt-env-conf-test] . showString " _ "
  221. 936.30 s [opt-env-conf-test] . go 11 p
  222. 936.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  223. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  224. 936.30 s [opt-env-conf-test] + showParen (d > 1) $
  225. 936.30 s [opt-env-conf-test] showString "Commands "
  226. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  227. 936.30 s [opt-env-conf-test] . showString " "
  228. 936.30 s [opt-env-conf-test]
  229. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
  230. 936.30 s [opt-env-conf-test] @@ -352,7 +352,7 @@
  231. 936.30 s [opt-env-conf-test] . showString " _ "
  232. 936.30 s [opt-env-conf-test] . go 11 p
  233. 936.30 s [opt-env-conf-test] ParserCommands mLoc mDefault cs ->
  234. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  235. 936.30 s [opt-env-conf-test] + showParen (d > 0) $
  236. 936.30 s [opt-env-conf-test] showString "Commands "
  237. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  238. 936.30 s [opt-env-conf-test] . showString " "
  239. 936.30 s [opt-env-conf-test]
  240. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
  241. 936.30 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  242. 936.30 s [opt-env-conf-test] . showString " "
  243. 936.30 s [opt-env-conf-test] . go 11 p
  244. 936.30 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  245. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  246. 936.30 s [opt-env-conf-test] + showParen True $
  247. 936.30 s [opt-env-conf-test] showString "Check "
  248. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  249. 936.30 s [opt-env-conf-test] . showString " "
  250. 936.30 s [opt-env-conf-test]
  251. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
  252. 936.30 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  253. 936.30 s [opt-env-conf-test] . showString " "
  254. 936.30 s [opt-env-conf-test] . go 11 p
  255. 936.30 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  256. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  257. 936.30 s [opt-env-conf-test] + showParen (True) $
  258. 936.30 s [opt-env-conf-test] showString "Check "
  259. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  260. 936.30 s [opt-env-conf-test] . showString " "
  261. 936.30 s [opt-env-conf-test]
  262. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  263. 936.30 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  264. 936.30 s [opt-env-conf-test] . showString " "
  265. 936.30 s [opt-env-conf-test] . go 11 p
  266. 936.30 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  267. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  268. 936.30 s [opt-env-conf-test] + showParen (d > -10) $
  269. 936.30 s [opt-env-conf-test] showString "Check "
  270. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  271. 936.30 s [opt-env-conf-test] . showString " "
  272. 936.30 s [opt-env-conf-test]
  273. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  274. 936.30 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  275. 936.30 s [opt-env-conf-test] . showString " "
  276. 936.30 s [opt-env-conf-test] . go 11 p
  277. 936.30 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  278. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  279. 936.30 s [opt-env-conf-test] + showParen (d > 1) $
  280. 936.30 s [opt-env-conf-test] showString "Check "
  281. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  282. 936.30 s [opt-env-conf-test] . showString " "
  283. 936.30 s [opt-env-conf-test]
  284. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
  285. 936.30 s [opt-env-conf-test] @@ -342,7 +342,7 @@
  286. 936.30 s [opt-env-conf-test] . showString " "
  287. 936.30 s [opt-env-conf-test] . go 11 p
  288. 936.30 s [opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
  289. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  290. 936.30 s [opt-env-conf-test] + showParen (d > 0) $
  291. 936.30 s [opt-env-conf-test] showString "Check "
  292. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  293. 936.30 s [opt-env-conf-test] . showString " "
  294. 936.30 s [opt-env-conf-test]
  295. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
  296. 936.30 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  297. 936.30 s [opt-env-conf-test] . showString " "
  298. 936.30 s [opt-env-conf-test] . go 11 p
  299. 936.30 s [opt-env-conf-test] ParserSome mLoc p ->
  300. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  301. 936.30 s [opt-env-conf-test] + showParen True $
  302. 936.30 s [opt-env-conf-test] showString "Some "
  303. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  304. 936.30 s [opt-env-conf-test] . showString " "
  305. 936.30 s [opt-env-conf-test]
  306. 936.30 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
  307. 936.30 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  308. 936.30 s [opt-env-conf-test] . showString " "
  309. 936.30 s [opt-env-conf-test] . go 11 p
  310. 936.30 s [opt-env-conf-test] ParserSome mLoc p ->
  311. 936.30 s [opt-env-conf-test] - showParen (d > 10) $
  312. 936.30 s [opt-env-conf-test] + showParen (True) $
  313. 936.30 s [opt-env-conf-test] showString "Some "
  314. 936.30 s [opt-env-conf-test] . showsPrec 11 mLoc
  315. 936.30 s [opt-env-conf-test] . showString " "
  316. 936.30 s [opt-env-conf-test]
  317. 936.30 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  318. 936.30 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  319. 936.30 s [opt-env-conf-test] . showString " "
  320. 936.31 s [opt-env-conf-test] . go 11 p
  321. 936.31 s [opt-env-conf-test] ParserSome mLoc p ->
  322. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  323. 936.31 s [opt-env-conf-test] + showParen (d > -10) $
  324. 936.31 s [opt-env-conf-test] showString "Some "
  325. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  326. 936.31 s [opt-env-conf-test] . showString " "
  327. 936.31 s [opt-env-conf-test]
  328. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  329. 936.31 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  330. 936.31 s [opt-env-conf-test] . showString " "
  331. 936.31 s [opt-env-conf-test] . go 11 p
  332. 936.31 s [opt-env-conf-test] ParserSome mLoc p ->
  333. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  334. 936.31 s [opt-env-conf-test] + showParen (d > 1) $
  335. 936.31 s [opt-env-conf-test] showString "Some "
  336. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  337. 936.31 s [opt-env-conf-test] . showString " "
  338. 936.31 s [opt-env-conf-test]
  339. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
  340. 936.31 s [opt-env-conf-test] @@ -330,7 +330,7 @@
  341. 936.31 s [opt-env-conf-test] . showString " "
  342. 936.31 s [opt-env-conf-test] . go 11 p
  343. 936.31 s [opt-env-conf-test] ParserSome mLoc p ->
  344. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  345. 936.31 s [opt-env-conf-test] + showParen (d > 0) $
  346. 936.31 s [opt-env-conf-test] showString "Some "
  347. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  348. 936.31 s [opt-env-conf-test] . showString " "
  349. 936.31 s [opt-env-conf-test]
  350. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
  351. 936.31 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  352. 936.31 s [opt-env-conf-test] . showString " "
  353. 936.31 s [opt-env-conf-test] . go 11 p2
  354. 936.31 s [opt-env-conf-test] ParserMany mLoc p ->
  355. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  356. 936.31 s [opt-env-conf-test] + showParen True $
  357. 936.31 s [opt-env-conf-test] showString "Many "
  358. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  359. 936.31 s [opt-env-conf-test] . showString " "
  360. 936.31 s [opt-env-conf-test]
  361. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
  362. 936.31 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  363. 936.31 s [opt-env-conf-test] . showString " "
  364. 936.31 s [opt-env-conf-test] . go 11 p2
  365. 936.31 s [opt-env-conf-test] ParserMany mLoc p ->
  366. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  367. 936.31 s [opt-env-conf-test] + showParen (True) $
  368. 936.31 s [opt-env-conf-test] showString "Many "
  369. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  370. 936.31 s [opt-env-conf-test] . showString " "
  371. 936.31 s [opt-env-conf-test]
  372. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  373. 936.31 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  374. 936.31 s [opt-env-conf-test] . showString " "
  375. 936.31 s [opt-env-conf-test] . go 11 p2
  376. 936.31 s [opt-env-conf-test] ParserMany mLoc p ->
  377. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  378. 936.31 s [opt-env-conf-test] + showParen (d > -10) $
  379. 936.31 s [opt-env-conf-test] showString "Many "
  380. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  381. 936.31 s [opt-env-conf-test] . showString " "
  382. 936.31 s [opt-env-conf-test]
  383. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  384. 936.31 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  385. 936.31 s [opt-env-conf-test] . showString " "
  386. 936.31 s [opt-env-conf-test] . go 11 p2
  387. 936.31 s [opt-env-conf-test] ParserMany mLoc p ->
  388. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  389. 936.31 s [opt-env-conf-test] + showParen (d > 1) $
  390. 936.31 s [opt-env-conf-test] showString "Many "
  391. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  392. 936.31 s [opt-env-conf-test] . showString " "
  393. 936.31 s [opt-env-conf-test]
  394. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
  395. 936.31 s [opt-env-conf-test] @@ -324,7 +324,7 @@
  396. 936.31 s [opt-env-conf-test] . showString " "
  397. 936.31 s [opt-env-conf-test] . go 11 p2
  398. 936.31 s [opt-env-conf-test] ParserMany mLoc p ->
  399. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  400. 936.31 s [opt-env-conf-test] + showParen (d > 0) $
  401. 936.31 s [opt-env-conf-test] showString "Many "
  402. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  403. 936.31 s [opt-env-conf-test] . showString " "
  404. 936.31 s [opt-env-conf-test]
  405. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
  406. 936.31 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  407. 936.31 s [opt-env-conf-test] showString "Empty "
  408. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  409. 936.31 s [opt-env-conf-test] ParserAlt p1 p2 ->
  410. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  411. 936.31 s [opt-env-conf-test] + showParen True $
  412. 936.31 s [opt-env-conf-test] showString "Alt "
  413. 936.31 s [opt-env-conf-test] . go 11 p1
  414. 936.31 s [opt-env-conf-test] . showString " "
  415. 936.31 s [opt-env-conf-test]
  416. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
  417. 936.31 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  418. 936.31 s [opt-env-conf-test] showString "Empty "
  419. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  420. 936.31 s [opt-env-conf-test] ParserAlt p1 p2 ->
  421. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  422. 936.31 s [opt-env-conf-test] + showParen (True) $
  423. 936.31 s [opt-env-conf-test] showString "Alt "
  424. 936.31 s [opt-env-conf-test] . go 11 p1
  425. 936.31 s [opt-env-conf-test] . showString " "
  426. 936.31 s [opt-env-conf-test]
  427. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  428. 936.31 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  429. 936.31 s [opt-env-conf-test] showString "Empty "
  430. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  431. 936.31 s [opt-env-conf-test] ParserAlt p1 p2 ->
  432. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  433. 936.31 s [opt-env-conf-test] + showParen (d > -10) $
  434. 936.31 s [opt-env-conf-test] showString "Alt "
  435. 936.31 s [opt-env-conf-test] . go 11 p1
  436. 936.31 s [opt-env-conf-test] . showString " "
  437. 936.31 s [opt-env-conf-test]
  438. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  439. 936.31 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  440. 936.31 s [opt-env-conf-test] showString "Empty "
  441. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  442. 936.31 s [opt-env-conf-test] ParserAlt p1 p2 ->
  443. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  444. 936.31 s [opt-env-conf-test] + showParen (d > 1) $
  445. 936.31 s [opt-env-conf-test] showString "Alt "
  446. 936.31 s [opt-env-conf-test] . go 11 p1
  447. 936.31 s [opt-env-conf-test] . showString " "
  448. 936.31 s [opt-env-conf-test]
  449. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
  450. 936.31 s [opt-env-conf-test] @@ -318,7 +318,7 @@
  451. 936.31 s [opt-env-conf-test] showString "Empty "
  452. 936.31 s [opt-env-conf-test] . showsPrec 11 mLoc
  453. 936.31 s [opt-env-conf-test] ParserAlt p1 p2 ->
  454. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  455. 936.31 s [opt-env-conf-test] + showParen (d > 0) $
  456. 936.31 s [opt-env-conf-test] showString "Alt "
  457. 936.31 s [opt-env-conf-test] . go 11 p1
  458. 936.31 s [opt-env-conf-test] . showString " "
  459. 936.31 s [opt-env-conf-test]
  460. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
  461. 936.31 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  462. 936.31 s [opt-env-conf-test] go d = \case
  463. 936.31 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  464. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  465. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  466. 936.31 s [opt-env-conf-test] + showParen True $
  467. 936.31 s [opt-env-conf-test] showString "Ap "
  468. 936.31 s [opt-env-conf-test] . go 11 pf
  469. 936.31 s [opt-env-conf-test] . showString " "
  470. 936.31 s [opt-env-conf-test]
  471. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
  472. 936.31 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  473. 936.31 s [opt-env-conf-test] go d = \case
  474. 936.31 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  475. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  476. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  477. 936.31 s [opt-env-conf-test] + showParen (True) $
  478. 936.31 s [opt-env-conf-test] showString "Ap "
  479. 936.31 s [opt-env-conf-test] . go 11 pf
  480. 936.31 s [opt-env-conf-test] . showString " "
  481. 936.31 s [opt-env-conf-test]
  482. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  483. 936.31 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  484. 936.31 s [opt-env-conf-test] go d = \case
  485. 936.31 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  486. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  487. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  488. 936.31 s [opt-env-conf-test] + showParen (d > -10) $
  489. 936.31 s [opt-env-conf-test] showString "Ap "
  490. 936.31 s [opt-env-conf-test] . go 11 pf
  491. 936.31 s [opt-env-conf-test] . showString " "
  492. 936.31 s [opt-env-conf-test]
  493. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  494. 936.31 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  495. 936.31 s [opt-env-conf-test] go d = \case
  496. 936.31 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  497. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  498. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  499. 936.31 s [opt-env-conf-test] + showParen (d > 1) $
  500. 936.31 s [opt-env-conf-test] showString "Ap "
  501. 936.31 s [opt-env-conf-test] . go 11 pf
  502. 936.31 s [opt-env-conf-test] . showString " "
  503. 936.31 s [opt-env-conf-test]
  504. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
  505. 936.31 s [opt-env-conf-test] @@ -303,7 +303,7 @@
  506. 936.31 s [opt-env-conf-test] go d = \case
  507. 936.31 s [opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  508. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  509. 936.31 s [opt-env-conf-test] - showParen (d > 10) $
  510. 936.31 s [opt-env-conf-test] + showParen (d > 0) $
  511. 936.31 s [opt-env-conf-test] showString "Ap "
  512. 936.31 s [opt-env-conf-test] . go 11 pf
  513. 936.31 s [opt-env-conf-test] . showString " "
  514. 936.31 s [opt-env-conf-test]
  515. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
  516. 936.31 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  517. 936.31 s [opt-env-conf-test] where
  518. 936.31 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  519. 936.31 s [opt-env-conf-test] go d = \case
  520. 936.31 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  521. 936.31 s [opt-env-conf-test] + ParserPure _ -> showParen True $ showString "Pure _"
  522. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  523. 936.31 s [opt-env-conf-test] showParen (d > 10) $
  524. 936.31 s [opt-env-conf-test] showString "Ap "
  525. 936.31 s [opt-env-conf-test]
  526. 936.31 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
  527. 936.31 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  528. 936.31 s [opt-env-conf-test] where
  529. 936.31 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  530. 936.31 s [opt-env-conf-test] go d = \case
  531. 936.31 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  532. 936.31 s [opt-env-conf-test] + ParserPure _ -> showParen (True) $ showString "Pure _"
  533. 936.31 s [opt-env-conf-test] ParserAp pf pa ->
  534. 936.31 s [opt-env-conf-test] showParen (d > 10) $
  535. 936.31 s [opt-env-conf-test] showString "Ap "
  536. 936.31 s [opt-env-conf-test]
  537. 936.31 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  538. 936.31 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  539. 936.31 s [opt-env-conf-test] where
  540. 936.31 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  541. 936.31 s [opt-env-conf-test] go d = \case
  542. 936.32 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  543. 936.32 s [opt-env-conf-test] + ParserPure _ -> showParen (d > -10) $ showString "Pure _"
  544. 936.32 s [opt-env-conf-test] ParserAp pf pa ->
  545. 936.32 s [opt-env-conf-test] showParen (d > 10) $
  546. 936.32 s [opt-env-conf-test] showString "Ap "
  547. 936.32 s [opt-env-conf-test]
  548. 936.32 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  549. 936.32 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  550. 936.32 s [opt-env-conf-test] where
  551. 936.32 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  552. 936.32 s [opt-env-conf-test] go d = \case
  553. 936.32 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  554. 936.32 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 1) $ showString "Pure _"
  555. 936.32 s [opt-env-conf-test] ParserAp pf pa ->
  556. 936.32 s [opt-env-conf-test] showParen (d > 10) $
  557. 936.32 s [opt-env-conf-test] showString "Ap "
  558. 936.32 s [opt-env-conf-test]
  559. 936.32 s [opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
  560. 936.32 s [opt-env-conf-test] @@ -301,7 +301,7 @@
  561. 936.32 s [opt-env-conf-test] where
  562. 936.32 s [opt-env-conf-test] go :: Int -> Parser a -> ShowS
  563. 936.32 s [opt-env-conf-test] go d = \case
  564. 936.32 s [opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
  565. 936.32 s [opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
  566. 936.32 s [opt-env-conf-test] ParserAp pf pa ->
  567. 936.32 s [opt-env-conf-test] showParen (d > 10) $
  568. 936.32 s [opt-env-conf-test] showString "Ap "
  569. 936.32 s [opt-env-conf-test]
  570. 936.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  571. 936.32 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  572. 936.32 s [opt-env-conf-test] where
  573. 936.32 s [opt-env-conf-test] go p =
  574. 936.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  575. 936.32 s [opt-env-conf-test] - in case p of
  576. 936.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  577. 936.32 s [opt-env-conf-test] - ParserAp {} -> p'
  578. 936.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  579. 936.32 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  580. 936.32 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  581. 936.32 s [opt-env-conf-test] - ParserMany {} -> p'
  582. 936.32 s [opt-env-conf-test] - ParserSome {} -> p'
  583. 936.32 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  584. 936.32 s [opt-env-conf-test] - ParserCheck {} -> p'
  585. 936.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  586. 936.32 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  587. 936.32 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  588. 936.32 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  589. 936.32 s [opt-env-conf-test] - Just _ -> p
  590. 936.32 s [opt-env-conf-test] + in case p of
  591. 936.32 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  592. 936.32 s [opt-env-conf-test] + ParserAp {} -> p'
  593. 936.32 s [opt-env-conf-test] + ParserSelect {} -> p'
  594. 936.32 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  595. 936.32 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  596. 936.32 s [opt-env-conf-test] + ParserMany {} -> p'
  597. 936.32 s [opt-env-conf-test] + ParserSome {} -> p'
  598. 936.32 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  599. 936.32 s [opt-env-conf-test] + ParserCheck {} -> p'
  600. 936.32 s [opt-env-conf-test] + ParserCommands {} -> p'
  601. 936.32 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  602. 936.32 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  603. 936.32 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  604. 936.32 s [opt-env-conf-test] + Just _ -> p
  605. 936.32 s [opt-env-conf-test]
  606. 936.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  607. 936.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  608. 936.32 s [opt-env-conf-test]
  609. 936.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  610. 936.32 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  611. 936.32 s [opt-env-conf-test] where
  612. 936.32 s [opt-env-conf-test] go p =
  613. 936.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  614. 936.32 s [opt-env-conf-test] - in case p of
  615. 936.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  616. 936.32 s [opt-env-conf-test] - ParserAp {} -> p'
  617. 936.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  618. 936.32 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  619. 936.32 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  620. 936.32 s [opt-env-conf-test] - ParserMany {} -> p'
  621. 936.32 s [opt-env-conf-test] - ParserSome {} -> p'
  622. 936.32 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  623. 936.32 s [opt-env-conf-test] - ParserCheck {} -> p'
  624. 936.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  625. 936.32 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  626. 936.32 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  627. 936.32 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  628. 936.32 s [opt-env-conf-test] - Just _ -> p
  629. 936.32 s [opt-env-conf-test] + in case p of
  630. 936.32 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  631. 936.32 s [opt-env-conf-test] + ParserAp {} -> p'
  632. 936.32 s [opt-env-conf-test] + ParserSelect {} -> p'
  633. 936.32 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  634. 936.32 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  635. 936.32 s [opt-env-conf-test] + ParserMany {} -> p'
  636. 936.32 s [opt-env-conf-test] + ParserSome {} -> p'
  637. 936.32 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  638. 936.32 s [opt-env-conf-test] + ParserCheck {} -> p'
  639. 936.32 s [opt-env-conf-test] + ParserCommands {} -> p'
  640. 936.32 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  641. 936.32 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  642. 936.32 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  643. 936.32 s [opt-env-conf-test] + Just _ -> p
  644. 936.32 s [opt-env-conf-test]
  645. 936.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  646. 936.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  647. 936.32 s [opt-env-conf-test]
  648. 936.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  649. 936.32 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  650. 936.32 s [opt-env-conf-test] where
  651. 936.32 s [opt-env-conf-test] go p =
  652. 936.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  653. 936.32 s [opt-env-conf-test] - in case p of
  654. 936.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  655. 936.32 s [opt-env-conf-test] - ParserAp {} -> p'
  656. 936.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  657. 936.32 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  658. 936.32 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  659. 936.32 s [opt-env-conf-test] - ParserMany {} -> p'
  660. 936.32 s [opt-env-conf-test] - ParserSome {} -> p'
  661. 936.32 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  662. 936.32 s [opt-env-conf-test] - ParserCheck {} -> p'
  663. 936.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  664. 936.32 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  665. 936.32 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  666. 936.32 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  667. 936.32 s [opt-env-conf-test] - Just _ -> p
  668. 936.32 s [opt-env-conf-test] + in case p of
  669. 936.32 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  670. 936.32 s [opt-env-conf-test] + ParserAp {} -> p'
  671. 936.32 s [opt-env-conf-test] + ParserSelect {} -> p'
  672. 936.32 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  673. 936.32 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  674. 936.32 s [opt-env-conf-test] + ParserMany {} -> p'
  675. 936.32 s [opt-env-conf-test] + ParserSome {} -> p'
  676. 936.32 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  677. 936.32 s [opt-env-conf-test] + ParserCheck {} -> p'
  678. 936.32 s [opt-env-conf-test] + ParserCommands {} -> p'
  679. 936.32 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  680. 936.32 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  681. 936.32 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  682. 936.32 s [opt-env-conf-test] + Just _ -> p
  683. 936.32 s [opt-env-conf-test]
  684. 936.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  685. 936.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  686. 936.32 s [opt-env-conf-test]
  687. 936.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  688. 936.32 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  689. 936.32 s [opt-env-conf-test] where
  690. 936.32 s [opt-env-conf-test] go p =
  691. 936.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  692. 936.32 s [opt-env-conf-test] - in case p of
  693. 936.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  694. 936.32 s [opt-env-conf-test] - ParserAp {} -> p'
  695. 936.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  696. 936.32 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  697. 936.32 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  698. 936.32 s [opt-env-conf-test] - ParserMany {} -> p'
  699. 936.32 s [opt-env-conf-test] - ParserSome {} -> p'
  700. 936.32 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  701. 936.32 s [opt-env-conf-test] - ParserCheck {} -> p'
  702. 936.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  703. 936.32 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  704. 936.32 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  705. 936.32 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  706. 936.32 s [opt-env-conf-test] - Just _ -> p
  707. 936.32 s [opt-env-conf-test] + in case p of
  708. 936.32 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  709. 936.32 s [opt-env-conf-test] + ParserAp {} -> p'
  710. 936.32 s [opt-env-conf-test] + ParserSelect {} -> p'
  711. 936.32 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  712. 936.32 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  713. 936.32 s [opt-env-conf-test] + ParserMany {} -> p'
  714. 936.32 s [opt-env-conf-test] + ParserSome {} -> p'
  715. 936.32 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  716. 936.32 s [opt-env-conf-test] + ParserCheck {} -> p'
  717. 936.32 s [opt-env-conf-test] + ParserCommands {} -> p'
  718. 936.32 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  719. 936.32 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  720. 936.32 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  721. 936.32 s [opt-env-conf-test] + Just _ -> p
  722. 936.32 s [opt-env-conf-test]
  723. 936.32 s [opt-env-conf-test] -- | Try a list of parsers in order
  724. 936.32 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  725. 936.32 s [opt-env-conf-test]
  726. 936.32 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  727. 936.32 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  728. 936.32 s [opt-env-conf-test] where
  729. 936.32 s [opt-env-conf-test] go p =
  730. 936.32 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  731. 936.32 s [opt-env-conf-test] - in case p of
  732. 936.32 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  733. 936.32 s [opt-env-conf-test] - ParserAp {} -> p'
  734. 936.32 s [opt-env-conf-test] - ParserSelect {} -> p'
  735. 936.32 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  736. 936.32 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  737. 936.32 s [opt-env-conf-test] - ParserMany {} -> p'
  738. 936.32 s [opt-env-conf-test] - ParserSome {} -> p'
  739. 936.32 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  740. 936.32 s [opt-env-conf-test] - ParserCheck {} -> p'
  741. 936.32 s [opt-env-conf-test] - ParserCommands {} -> p'
  742. 936.32 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  743. 936.32 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  744. 936.32 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  745. 936.32 s [opt-env-conf-test] - Just _ -> p
  746. 936.32 s [opt-env-conf-test] + in case p of
  747. 936.32 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  748. 936.32 s [opt-env-conf-test] + ParserAp {} -> p'
  749. 936.32 s [opt-env-conf-test] + ParserSelect {} -> p'
  750. 936.32 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  751. 936.32 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  752. 936.32 s [opt-env-conf-test] + ParserMany {} -> p'
  753. 936.32 s [opt-env-conf-test] + ParserSome {} -> p'
  754. 936.32 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  755. 936.32 s [opt-env-conf-test] + ParserCheck {} -> p'
  756. 936.32 s [opt-env-conf-test] + ParserCommands {} -> p'
  757. 936.32 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  758. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  759. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  760. 936.33 s [opt-env-conf-test] + Just _ -> p
  761. 936.33 s [opt-env-conf-test]
  762. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  763. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  764. 936.33 s [opt-env-conf-test]
  765. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  766. 936.33 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  767. 936.33 s [opt-env-conf-test] where
  768. 936.33 s [opt-env-conf-test] go p =
  769. 936.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  770. 936.33 s [opt-env-conf-test] - in case p of
  771. 936.33 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  772. 936.33 s [opt-env-conf-test] - ParserAp {} -> p'
  773. 936.33 s [opt-env-conf-test] - ParserSelect {} -> p'
  774. 936.33 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  775. 936.33 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  776. 936.33 s [opt-env-conf-test] - ParserMany {} -> p'
  777. 936.33 s [opt-env-conf-test] - ParserSome {} -> p'
  778. 936.33 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  779. 936.33 s [opt-env-conf-test] - ParserCheck {} -> p'
  780. 936.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  781. 936.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  782. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  783. 936.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  784. 936.33 s [opt-env-conf-test] - Just _ -> p
  785. 936.33 s [opt-env-conf-test] + in case p of
  786. 936.33 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  787. 936.33 s [opt-env-conf-test] + ParserAp {} -> p'
  788. 936.33 s [opt-env-conf-test] + ParserSelect {} -> p'
  789. 936.33 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  790. 936.33 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  791. 936.33 s [opt-env-conf-test] + ParserMany {} -> p'
  792. 936.33 s [opt-env-conf-test] + ParserSome {} -> p'
  793. 936.33 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  794. 936.33 s [opt-env-conf-test] + ParserCheck {} -> p'
  795. 936.33 s [opt-env-conf-test] + ParserCommands {} -> p'
  796. 936.33 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  797. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  798. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  799. 936.33 s [opt-env-conf-test] + Just _ -> p
  800. 936.33 s [opt-env-conf-test]
  801. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  802. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  803. 936.33 s [opt-env-conf-test]
  804. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  805. 936.33 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  806. 936.33 s [opt-env-conf-test] where
  807. 936.33 s [opt-env-conf-test] go p =
  808. 936.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  809. 936.33 s [opt-env-conf-test] - in case p of
  810. 936.33 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  811. 936.33 s [opt-env-conf-test] - ParserAp {} -> p'
  812. 936.33 s [opt-env-conf-test] - ParserSelect {} -> p'
  813. 936.33 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  814. 936.33 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  815. 936.33 s [opt-env-conf-test] - ParserMany {} -> p'
  816. 936.33 s [opt-env-conf-test] - ParserSome {} -> p'
  817. 936.33 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  818. 936.33 s [opt-env-conf-test] - ParserCheck {} -> p'
  819. 936.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  820. 936.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  821. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  822. 936.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  823. 936.33 s [opt-env-conf-test] - Just _ -> p
  824. 936.33 s [opt-env-conf-test] + in case p of
  825. 936.33 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  826. 936.33 s [opt-env-conf-test] + ParserAp {} -> p'
  827. 936.33 s [opt-env-conf-test] + ParserSelect {} -> p'
  828. 936.33 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  829. 936.33 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  830. 936.33 s [opt-env-conf-test] + ParserMany {} -> p'
  831. 936.33 s [opt-env-conf-test] + ParserSome {} -> p'
  832. 936.33 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  833. 936.33 s [opt-env-conf-test] + ParserCheck {} -> p'
  834. 936.33 s [opt-env-conf-test] + ParserCommands {} -> p'
  835. 936.33 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  836. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  837. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  838. 936.33 s [opt-env-conf-test] + Just _ -> p
  839. 936.33 s [opt-env-conf-test]
  840. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  841. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  842. 936.33 s [opt-env-conf-test]
  843. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  844. 936.33 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  845. 936.33 s [opt-env-conf-test] where
  846. 936.33 s [opt-env-conf-test] go p =
  847. 936.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  848. 936.33 s [opt-env-conf-test] - in case p of
  849. 936.33 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  850. 936.33 s [opt-env-conf-test] - ParserAp {} -> p'
  851. 936.33 s [opt-env-conf-test] - ParserSelect {} -> p'
  852. 936.33 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  853. 936.33 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  854. 936.33 s [opt-env-conf-test] - ParserMany {} -> p'
  855. 936.33 s [opt-env-conf-test] - ParserSome {} -> p'
  856. 936.33 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  857. 936.33 s [opt-env-conf-test] - ParserCheck {} -> p'
  858. 936.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  859. 936.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  860. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  861. 936.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  862. 936.33 s [opt-env-conf-test] - Just _ -> p
  863. 936.33 s [opt-env-conf-test] + in case p of
  864. 936.33 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  865. 936.33 s [opt-env-conf-test] + ParserAp {} -> p'
  866. 936.33 s [opt-env-conf-test] + ParserSelect {} -> p'
  867. 936.33 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  868. 936.33 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  869. 936.33 s [opt-env-conf-test] + ParserMany {} -> p'
  870. 936.33 s [opt-env-conf-test] + ParserSome {} -> p'
  871. 936.33 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  872. 936.33 s [opt-env-conf-test] + ParserCheck {} -> p'
  873. 936.33 s [opt-env-conf-test] + ParserCommands {} -> p'
  874. 936.33 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  875. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  876. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  877. 936.33 s [opt-env-conf-test] + Just _ -> p
  878. 936.33 s [opt-env-conf-test]
  879. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  880. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  881. 936.33 s [opt-env-conf-test]
  882. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  883. 936.33 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  884. 936.33 s [opt-env-conf-test] where
  885. 936.33 s [opt-env-conf-test] go p =
  886. 936.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  887. 936.33 s [opt-env-conf-test] - in case p of
  888. 936.33 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  889. 936.33 s [opt-env-conf-test] - ParserAp {} -> p'
  890. 936.33 s [opt-env-conf-test] - ParserSelect {} -> p'
  891. 936.33 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  892. 936.33 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  893. 936.33 s [opt-env-conf-test] - ParserMany {} -> p'
  894. 936.33 s [opt-env-conf-test] - ParserSome {} -> p'
  895. 936.33 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  896. 936.33 s [opt-env-conf-test] - ParserCheck {} -> p'
  897. 936.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  898. 936.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  899. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  900. 936.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  901. 936.33 s [opt-env-conf-test] - Just _ -> p
  902. 936.33 s [opt-env-conf-test] + in case p of
  903. 936.33 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  904. 936.33 s [opt-env-conf-test] + ParserAp {} -> p'
  905. 936.33 s [opt-env-conf-test] + ParserSelect {} -> p'
  906. 936.33 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  907. 936.33 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  908. 936.33 s [opt-env-conf-test] + ParserMany {} -> p'
  909. 936.33 s [opt-env-conf-test] + ParserSome {} -> p'
  910. 936.33 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  911. 936.33 s [opt-env-conf-test] + ParserCheck {} -> p'
  912. 936.33 s [opt-env-conf-test] + ParserCommands {} -> p'
  913. 936.33 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  914. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  915. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  916. 936.33 s [opt-env-conf-test] + Just _ -> p
  917. 936.33 s [opt-env-conf-test]
  918. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  919. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  920. 936.33 s [opt-env-conf-test]
  921. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
  922. 936.33 s [opt-env-conf-test] @@ -547,21 +547,21 @@
  923. 936.33 s [opt-env-conf-test] where
  924. 936.33 s [opt-env-conf-test] go p =
  925. 936.33 s [opt-env-conf-test] let p' = p <|> pure defaultValue
  926. 936.33 s [opt-env-conf-test] - in case p of
  927. 936.33 s [opt-env-conf-test] - ParserPure a -> ParserPure a
  928. 936.33 s [opt-env-conf-test] - ParserAp {} -> p'
  929. 936.33 s [opt-env-conf-test] - ParserSelect {} -> p'
  930. 936.33 s [opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
  931. 936.33 s [opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  932. 936.33 s [opt-env-conf-test] - ParserMany {} -> p'
  933. 936.33 s [opt-env-conf-test] - ParserSome {} -> p'
  934. 936.33 s [opt-env-conf-test] - ParserAllOrNothing {} -> p'
  935. 936.33 s [opt-env-conf-test] - ParserCheck {} -> p'
  936. 936.33 s [opt-env-conf-test] - ParserCommands {} -> p'
  937. 936.33 s [opt-env-conf-test] - ParserWithConfig {} -> p'
  938. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  939. 936.33 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  940. 936.33 s [opt-env-conf-test] - Just _ -> p
  941. 936.33 s [opt-env-conf-test] + in case p of
  942. 936.33 s [opt-env-conf-test] + ParserPure a -> ParserPure a
  943. 936.33 s [opt-env-conf-test] + ParserAp {} -> p'
  944. 936.33 s [opt-env-conf-test] + ParserSelect {} -> p'
  945. 936.33 s [opt-env-conf-test] + ParserEmpty _ -> ParserPure defaultValue
  946. 936.33 s [opt-env-conf-test] + ParserAlt p1 p2 -> ParserAlt p1 (go p2)
  947. 936.33 s [opt-env-conf-test] + ParserMany {} -> p'
  948. 936.33 s [opt-env-conf-test] + ParserSome {} -> p'
  949. 936.33 s [opt-env-conf-test] + ParserAllOrNothing {} -> p'
  950. 936.33 s [opt-env-conf-test] + ParserCheck {} -> p'
  951. 936.33 s [opt-env-conf-test] + ParserCommands {} -> p'
  952. 936.33 s [opt-env-conf-test] + ParserWithConfig {} -> p'
  953. 936.33 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  954. 936.33 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  955. 936.33 s [opt-env-conf-test] + Just _ -> p
  956. 936.33 s [opt-env-conf-test]
  957. 936.33 s [opt-env-conf-test] -- | Try a list of parsers in order
  958. 936.33 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  959. 936.33 s [opt-env-conf-test]
  960. 936.33 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
  961. 936.33 s [opt-env-conf-test] @@ -559,9 +559,9 @@
  962. 936.33 s [opt-env-conf-test] ParserCheck {} -> p'
  963. 936.33 s [opt-env-conf-test] ParserCommands {} -> p'
  964. 936.33 s [opt-env-conf-test] ParserWithConfig {} -> p'
  965. 936.33 s [opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
  966. 936.34 s [opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  967. 936.34 s [opt-env-conf-test] - Just _ -> p
  968. 936.34 s [opt-env-conf-test] + ParserSetting mLoc s -> case settingDefaultValue s of
  969. 936.34 s [opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
  970. 936.34 s [opt-env-conf-test] + Just _ -> p
  971. 936.34 s [opt-env-conf-test]
  972. 936.34 s [opt-env-conf-test] -- | Try a list of parsers in order
  973. 936.34 s [opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
  974. 936.34 s [opt-env-conf-test]
  975. 936.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
  976. 936.34 s [opt-env-conf-test] @@ -599,9 +599,9 @@
  977. 936.34 s [opt-env-conf-test] checkMapMaybe func p =
  978. 936.34 s [opt-env-conf-test] withFrozenCallStack $
  979. 936.34 s [opt-env-conf-test] checkMapEither
  980. 936.34 s [opt-env-conf-test] - ( \a -> case func a of
  981. 936.34 s [opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
  982. 936.34 s [opt-env-conf-test] - Just b -> Right b
  983. 936.34 s [opt-env-conf-test] + ( \a -> case func a of
  984. 936.34 s [opt-env-conf-test] + Nothing -> Left "checkMapMaybe failed without a helpful error message"
  985. 936.34 s [opt-env-conf-test] + Just b -> Right b
  986. 936.34 s [opt-env-conf-test] )
  987. 936.34 s [opt-env-conf-test] p
  988. 936.34 s [opt-env-conf-test]
  989. 936.34 s [opt-env-conf-test]
  990. 936.34 s [opt-env-conf-test] CondFlip at src/OptEnvConf/Completer.hs:117:28-81
  991. 936.34 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  992. 936.34 s [opt-env-conf-test] Just (Rel rf) -> do
  993. 936.34 s [opt-env-conf-test] let dir = parent rf
  994. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  995. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  996. 936.34 s [opt-env-conf-test] + let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  997. 936.34 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  998. 936.34 s [opt-env-conf-test] pure
  999. 936.34 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  1000. 936.34 s [opt-env-conf-test]
  1001. 936.34 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
  1002. 936.34 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  1003. 936.34 s [opt-env-conf-test] Just (Rel rf) -> do
  1004. 936.34 s [opt-env-conf-test] let dir = parent rf
  1005. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1006. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1007. 936.34 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  1008. 936.34 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  1009. 936.34 s [opt-env-conf-test] pure
  1010. 936.34 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  1011. 936.34 s [opt-env-conf-test]
  1012. 936.34 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  1013. 936.34 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  1014. 936.34 s [opt-env-conf-test] Just (Rel rf) -> do
  1015. 936.34 s [opt-env-conf-test] let dir = parent rf
  1016. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1017. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1018. 936.34 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  1019. 936.34 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  1020. 936.34 s [opt-env-conf-test] pure
  1021. 936.34 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  1022. 936.34 s [opt-env-conf-test]
  1023. 936.34 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
  1024. 936.34 s [opt-env-conf-test] @@ -114,7 +114,7 @@
  1025. 936.34 s [opt-env-conf-test] Just (Rel rf) -> do
  1026. 936.34 s [opt-env-conf-test] let dir = parent rf
  1027. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1028. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1029. 936.34 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  1030. 936.34 s [opt-env-conf-test] (ds, fs) <- listDirForgiving ad
  1031. 936.34 s [opt-env-conf-test] pure
  1032. 936.34 s [opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
  1033. 936.34 s [opt-env-conf-test]
  1034. 936.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
  1035. 936.34 s [opt-env-conf-test] @@ -168,24 +168,24 @@
  1036. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1037. 936.34 s [opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  1038. 936.34 s [opt-env-conf-test]
  1039. 936.34 s [opt-env-conf-test] - dirsFromPartialListing <- case parseSomeDir fp of
  1040. 936.34 s [opt-env-conf-test] - Nothing -> pure []
  1041. 936.34 s [opt-env-conf-test] - Just (Abs af) -> do
  1042. 936.34 s [opt-env-conf-test] - let dir = parent af
  1043. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  1044. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirForgiving dir
  1045. 936.34 s [opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  1046. 936.34 s [opt-env-conf-test] - Just (Rel rf) ->
  1047. 936.34 s [opt-env-conf-test] - if fp == "."
  1048. 936.34 s [opt-env-conf-test] - then do
  1049. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  1050. 936.34 s [opt-env-conf-test] - pure (map fromRelDir ds)
  1051. 936.34 s [opt-env-conf-test] - else do
  1052. 936.34 s [opt-env-conf-test] - let dir = parent rf
  1053. 936.34 s [opt-env-conf-test] - let ad = baseDir </> dir
  1054. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1055. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  1056. 936.34 s [opt-env-conf-test] - pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1057. 936.34 s [opt-env-conf-test] + dirsFromPartialListing <- case parseSomeDir fp of
  1058. 936.34 s [opt-env-conf-test] + Nothing -> pure []
  1059. 936.34 s [opt-env-conf-test] + Just (Abs af) -> do
  1060. 936.34 s [opt-env-conf-test] + let dir = parent af
  1061. 936.34 s [opt-env-conf-test] + let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
  1062. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirForgiving dir
  1063. 936.34 s [opt-env-conf-test] + pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  1064. 936.34 s [opt-env-conf-test] + Just (Rel rf) ->
  1065. 936.34 s [opt-env-conf-test] + if fp == "."
  1066. 936.34 s [opt-env-conf-test] + then do
  1067. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirRel baseDir
  1068. 936.34 s [opt-env-conf-test] + pure (map fromRelDir ds)
  1069. 936.34 s [opt-env-conf-test] + else do
  1070. 936.34 s [opt-env-conf-test] + let dir = parent rf
  1071. 936.34 s [opt-env-conf-test] + let ad = baseDir </> dir
  1072. 936.34 s [opt-env-conf-test] + let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1073. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirForgiving ad
  1074. 936.34 s [opt-env-conf-test] + pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1075. 936.34 s [opt-env-conf-test]
  1076. 936.34 s [opt-env-conf-test] pure $
  1077. 936.34 s [opt-env-conf-test] concat
  1078. 936.34 s [opt-env-conf-test]
  1079. 936.34 s [opt-env-conf-test] CondFlip at src/OptEnvConf/Completer.hs:186:32-85
  1080. 936.34 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  1081. 936.34 s [opt-env-conf-test] else do
  1082. 936.34 s [opt-env-conf-test] let dir = parent rf
  1083. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1084. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1085. 936.34 s [opt-env-conf-test] + let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1086. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1087. 936.34 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1088. 936.34 s [opt-env-conf-test]
  1089. 936.34 s [opt-env-conf-test]
  1090. 936.34 s [opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
  1091. 936.34 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  1092. 936.34 s [opt-env-conf-test] else do
  1093. 936.34 s [opt-env-conf-test] let dir = parent rf
  1094. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1095. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1096. 936.34 s [opt-env-conf-test] + let filterHidden = if not (hiddenRel rf) then id else filter (not . hiddenRel)
  1097. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1098. 936.34 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1099. 936.34 s [opt-env-conf-test]
  1100. 936.34 s [opt-env-conf-test]
  1101. 936.34 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  1102. 936.34 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  1103. 936.34 s [opt-env-conf-test] else do
  1104. 936.34 s [opt-env-conf-test] let dir = parent rf
  1105. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1106. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1107. 936.34 s [opt-env-conf-test] + let filterHidden = if False then id else filter (not . hiddenRel)
  1108. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1109. 936.34 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1110. 936.34 s [opt-env-conf-test]
  1111. 936.34 s [opt-env-conf-test]
  1112. 936.34 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
  1113. 936.34 s [opt-env-conf-test] @@ -183,7 +183,7 @@
  1114. 936.34 s [opt-env-conf-test] else do
  1115. 936.34 s [opt-env-conf-test] let dir = parent rf
  1116. 936.34 s [opt-env-conf-test] let ad = baseDir </> dir
  1117. 936.34 s [opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
  1118. 936.34 s [opt-env-conf-test] + let filterHidden = if True then id else filter (not . hiddenRel)
  1119. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1120. 936.34 s [opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
  1121. 936.34 s [opt-env-conf-test]
  1122. 936.34 s [opt-env-conf-test]
  1123. 936.34 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
  1124. 936.34 s [opt-env-conf-test] @@ -176,7 +176,7 @@
  1125. 936.34 s [opt-env-conf-test] (ds, _) <- listDirForgiving dir
  1126. 936.34 s [opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
  1127. 936.34 s [opt-env-conf-test] Just (Rel rf) ->
  1128. 936.34 s [opt-env-conf-test] - if fp == "."
  1129. 936.34 s [opt-env-conf-test] + if False
  1130. 936.34 s [opt-env-conf-test] then do
  1131. 936.34 s [opt-env-conf-test] (ds, _) <- listDirRel baseDir
  1132. 936.34 s [opt-env-conf-test] pure (map fromRelDir ds)
  1133. 936.34 s [opt-env-conf-test]
  1134. 936.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
  1135. 936.34 s [opt-env-conf-test] @@ -154,19 +154,19 @@
  1136. 936.34 s [opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
  1137. 936.34 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  1138. 936.34 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  1139. 936.34 s [opt-env-conf-test] - dirsFromParentListing <- case parseSomeDir fp of
  1140. 936.34 s [opt-env-conf-test] - Nothing -> case fp of
  1141. 936.34 s [opt-env-conf-test] - [] -> do
  1142. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  1143. 936.34 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  1144. 936.34 s [opt-env-conf-test] - _ -> pure []
  1145. 936.34 s [opt-env-conf-test] - Just (Abs ad) -> do
  1146. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  1147. 936.34 s [opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  1148. 936.34 s [opt-env-conf-test] - Just (Rel rd) -> do
  1149. 936.34 s [opt-env-conf-test] - let ad = baseDir </> rd
  1150. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirForgiving ad
  1151. 936.34 s [opt-env-conf-test] - pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  1152. 936.34 s [opt-env-conf-test] + dirsFromParentListing <- case parseSomeDir fp of
  1153. 936.34 s [opt-env-conf-test] + Nothing -> case fp of
  1154. 936.34 s [opt-env-conf-test] + [] -> do
  1155. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirRel baseDir
  1156. 936.34 s [opt-env-conf-test] + pure (map fromRelDir $ filter (not . hiddenRel) ds)
  1157. 936.34 s [opt-env-conf-test] + _ -> pure []
  1158. 936.34 s [opt-env-conf-test] + Just (Abs ad) -> do
  1159. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirForgiving ad
  1160. 936.34 s [opt-env-conf-test] + pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  1161. 936.34 s [opt-env-conf-test] + Just (Rel rd) -> do
  1162. 936.34 s [opt-env-conf-test] + let ad = baseDir </> rd
  1163. 936.34 s [opt-env-conf-test] + (ds, _) <- listDirForgiving ad
  1164. 936.34 s [opt-env-conf-test] + pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
  1165. 936.34 s [opt-env-conf-test]
  1166. 936.34 s [opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
  1167. 936.34 s [opt-env-conf-test] Nothing -> pure []
  1168. 936.34 s [opt-env-conf-test]
  1169. 936.34 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
  1170. 936.34 s [opt-env-conf-test] @@ -155,11 +155,11 @@
  1171. 936.34 s [opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
  1172. 936.34 s [opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
  1173. 936.34 s [opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
  1174. 936.34 s [opt-env-conf-test] - Nothing -> case fp of
  1175. 936.34 s [opt-env-conf-test] - [] -> do
  1176. 936.34 s [opt-env-conf-test] - (ds, _) <- listDirRel baseDir
  1177. 936.34 s [opt-env-conf-test] - pure (map fromRelDir $ filter (not . hiddenRel) ds)
  1178. 936.34 s [opt-env-conf-test] - _ -> pure []
  1179. 936.34 s [opt-env-conf-test] + Nothing -> case fp of
  1180. 936.35 s [opt-env-conf-test] + [] -> do
  1181. 936.35 s [opt-env-conf-test] + (ds, _) <- listDirRel baseDir
  1182. 936.35 s [opt-env-conf-test] + pure (map fromRelDir $ filter (not . hiddenRel) ds)
  1183. 936.35 s [opt-env-conf-test] + _ -> pure []
  1184. 936.35 s [opt-env-conf-test] Just (Abs ad) -> do
  1185. 936.35 s [opt-env-conf-test] (ds, _) <- listDirForgiving ad
  1186. 936.35 s [opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
  1187. 936.35 s [opt-env-conf-test]
  1188. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
  1189. 936.35 s [opt-env-conf-test] @@ -450,7 +450,7 @@
  1190. 936.35 s [opt-env-conf-test] put as'
  1191. 936.35 s [opt-env-conf-test] pure $ Just []
  1192. 936.35 s [opt-env-conf-test] else do
  1193. 936.35 s [opt-env-conf-test] - if settingTryOption
  1194. 936.35 s [opt-env-conf-test] + if True
  1195. 936.35 s [opt-env-conf-test] then do
  1196. 936.35 s [opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
  1197. 936.35 s [opt-env-conf-test] case Args.consumeOption settingDasheds as of
  1198. 936.35 s [opt-env-conf-test]
  1199. 936.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
  1200. 936.35 s [opt-env-conf-test] @@ -432,11 +432,11 @@
  1201. 936.35 s [opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
  1202. 936.35 s [opt-env-conf-test] -- fallback matched. In both cases, offer the
  1203. 936.35 s [opt-env-conf-test] -- completer if we are at the end.
  1204. 936.35 s [opt-env-conf-test] - case possibilities of
  1205. 936.35 s [opt-env-conf-test] - [] -> completeWithCompleterAtEnd
  1206. 936.35 s [opt-env-conf-test] - (_, as') : _ -> do
  1207. 936.35 s [opt-env-conf-test] - put as'
  1208. 936.35 s [opt-env-conf-test] - completeWithCompleterAtEnd
  1209. 936.35 s [opt-env-conf-test] + case possibilities of
  1210. 936.35 s [opt-env-conf-test] + [] -> completeWithCompleterAtEnd
  1211. 936.35 s [opt-env-conf-test] + (_, as') : _ -> do
  1212. 936.35 s [opt-env-conf-test] + put as'
  1213. 936.35 s [opt-env-conf-test] + completeWithCompleterAtEnd
  1214. 936.35 s [opt-env-conf-test] else
  1215. 936.35 s [opt-env-conf-test] if isJust settingSwitchValue
  1216. 936.35 s [opt-env-conf-test] then do
  1217. 936.35 s [opt-env-conf-test]
  1218. 936.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
  1219. 936.35 s [opt-env-conf-test] @@ -367,11 +367,11 @@
  1220. 936.35 s [opt-env-conf-test] | not (null commandDocs)
  1221. 936.35 s [opt-env-conf-test] ],
  1222. 936.35 s [opt-env-conf-test] concat
  1223. 936.35 s [opt-env-conf-test] - [ [ headerChunks "Options",
  1224. 936.35 s [opt-env-conf-test] - renderLongOptDocs optDocs
  1225. 936.35 s [opt-env-conf-test] - ]
  1226. 936.35 s [opt-env-conf-test] - | not (nullDocs optDocs)
  1227. 936.35 s [opt-env-conf-test] - ],
  1228. 936.35 s [opt-env-conf-test] + [ [ headerChunks "Options",
  1229. 936.35 s [opt-env-conf-test] + renderLongOptDocs optDocs
  1230. 936.35 s [opt-env-conf-test] + ]
  1231. 936.35 s [opt-env-conf-test] + | not (nullDocs optDocs)
  1232. 936.35 s [opt-env-conf-test] + ],
  1233. 936.35 s [opt-env-conf-test] concat
  1234. 936.35 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  1235. 936.35 s [opt-env-conf-test] renderEnvDocs envDocs
  1236. 936.35 s [opt-env-conf-test]
  1237. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
  1238. 936.35 s [opt-env-conf-test] @@ -370,7 +370,7 @@
  1239. 936.35 s [opt-env-conf-test] [ [ headerChunks "Options",
  1240. 936.35 s [opt-env-conf-test] renderLongOptDocs optDocs
  1241. 936.35 s [opt-env-conf-test] ]
  1242. 936.35 s [opt-env-conf-test] - | not (nullDocs optDocs)
  1243. 936.35 s [opt-env-conf-test] + | True
  1244. 936.35 s [opt-env-conf-test] ],
  1245. 936.35 s [opt-env-conf-test] concat
  1246. 936.35 s [opt-env-conf-test] [ [ headerChunks "Environment Variables",
  1247. 936.35 s [opt-env-conf-test]
  1248. 936.35 s [opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
  1249. 936.35 s [opt-env-conf-test] @@ -326,11 +326,11 @@
  1250. 936.35 s [opt-env-conf-test] | not (null commandDocs)
  1251. 936.35 s [opt-env-conf-test] ],
  1252. 936.35 s [opt-env-conf-test] concat
  1253. 936.35 s [opt-env-conf-test] - [ [ [".Sh ", "OPTIONS"],
  1254. 936.35 s [opt-env-conf-test] - renderLongOptDocs optDocs
  1255. 936.35 s [opt-env-conf-test] - ]
  1256. 936.35 s [opt-env-conf-test] - | not (nullDocs optDocs)
  1257. 936.35 s [opt-env-conf-test] - ],
  1258. 936.35 s [opt-env-conf-test] + [ [ [".Sh ", "OPTIONS"],
  1259. 936.35 s [opt-env-conf-test] + renderLongOptDocs optDocs
  1260. 936.35 s [opt-env-conf-test] + ]
  1261. 936.35 s [opt-env-conf-test] + | not (nullDocs optDocs)
  1262. 936.35 s [opt-env-conf-test] + ],
  1263. 936.35 s [opt-env-conf-test] concat
  1264. 936.35 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  1265. 936.35 s [opt-env-conf-test] renderEnvDocs envDocs
  1266. 936.35 s [opt-env-conf-test]
  1267. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
  1268. 936.35 s [opt-env-conf-test] @@ -329,7 +329,7 @@
  1269. 936.35 s [opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
  1270. 936.35 s [opt-env-conf-test] renderLongOptDocs optDocs
  1271. 936.35 s [opt-env-conf-test] ]
  1272. 936.35 s [opt-env-conf-test] - | not (nullDocs optDocs)
  1273. 936.35 s [opt-env-conf-test] + | True
  1274. 936.35 s [opt-env-conf-test] ],
  1275. 936.35 s [opt-env-conf-test] concat
  1276. 936.35 s [opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
  1277. 936.35 s [opt-env-conf-test]
  1278. 936.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
  1279. 936.35 s [opt-env-conf-test] @@ -565,21 +565,21 @@
  1280. 936.35 s [opt-env-conf-test] [] -> []
  1281. 936.35 s [opt-env-conf-test] [d] -> go isTopLevel d
  1282. 936.35 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  1283. 936.35 s [opt-env-conf-test] - case setDocHelp d of
  1284. 936.35 s [opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  1285. 936.35 s [opt-env-conf-test] - Just h ->
  1286. 936.35 s [opt-env-conf-test] - let (sds, rest) = goSameHelp h ds
  1287. 936.35 s [opt-env-conf-test] - in concat
  1288. 936.35 s [opt-env-conf-test] - [ concat
  1289. 936.35 s [opt-env-conf-test] - [ concat
  1290. 936.35 s [opt-env-conf-test] - [ indent $ renderSetDocHeader (Just h),
  1291. 936.35 s [opt-env-conf-test] - indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  1292. 936.35 s [opt-env-conf-test] - [[]]
  1293. 936.35 s [opt-env-conf-test] - ]
  1294. 936.35 s [opt-env-conf-test] - | not isTopLevel
  1295. 936.35 s [opt-env-conf-test] - ],
  1296. 936.35 s [opt-env-conf-test] - goOr isTopLevel rest
  1297. 936.35 s [opt-env-conf-test] - ]
  1298. 936.35 s [opt-env-conf-test] + case setDocHelp d of
  1299. 936.35 s [opt-env-conf-test] + Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  1300. 936.35 s [opt-env-conf-test] + Just h ->
  1301. 936.35 s [opt-env-conf-test] + let (sds, rest) = goSameHelp h ds
  1302. 936.35 s [opt-env-conf-test] + in concat
  1303. 936.35 s [opt-env-conf-test] + [ concat
  1304. 936.35 s [opt-env-conf-test] + [ concat
  1305. 936.35 s [opt-env-conf-test] + [ indent $ renderSetDocHeader (Just h),
  1306. 936.35 s [opt-env-conf-test] + indent $ concatMap renderSetDocWithoutHeader $ d : sds,
  1307. 936.35 s [opt-env-conf-test] + [[]]
  1308. 936.35 s [opt-env-conf-test] + ]
  1309. 936.35 s [opt-env-conf-test] + | not isTopLevel
  1310. 936.35 s [opt-env-conf-test] + ],
  1311. 936.35 s [opt-env-conf-test] + goOr isTopLevel rest
  1312. 936.35 s [opt-env-conf-test] + ]
  1313. 936.35 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  1314. 936.35 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  1315. 936.35 s [opt-env-conf-test] goSameHelp h = \case
  1316. 936.35 s [opt-env-conf-test]
  1317. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
  1318. 936.35 s [opt-env-conf-test] @@ -578,7 +578,7 @@
  1319. 936.35 s [opt-env-conf-test] ]
  1320. 936.35 s [opt-env-conf-test] | not isTopLevel
  1321. 936.35 s [opt-env-conf-test] ],
  1322. 936.35 s [opt-env-conf-test] - goOr isTopLevel rest
  1323. 936.35 s [opt-env-conf-test] + goOr True rest
  1324. 936.35 s [opt-env-conf-test] ]
  1325. 936.35 s [opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
  1326. 936.35 s [opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
  1327. 936.35 s [opt-env-conf-test]
  1328. 936.35 s [opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
  1329. 936.35 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  1330. 936.35 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  1331. 936.35 s [opt-env-conf-test] goOr isTopLevel = \case
  1332. 936.35 s [opt-env-conf-test] [] -> []
  1333. 936.35 s [opt-env-conf-test] - [d] -> go isTopLevel d
  1334. 936.35 s [opt-env-conf-test] + [d] -> go not (isTopLevel) d
  1335. 936.35 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  1336. 936.35 s [opt-env-conf-test] case setDocHelp d of
  1337. 936.35 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  1338. 936.35 s [opt-env-conf-test]
  1339. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
  1340. 936.35 s [opt-env-conf-test] @@ -563,7 +563,7 @@
  1341. 936.35 s [opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
  1342. 936.35 s [opt-env-conf-test] goOr isTopLevel = \case
  1343. 936.35 s [opt-env-conf-test] [] -> []
  1344. 936.35 s [opt-env-conf-test] - [d] -> go isTopLevel d
  1345. 936.35 s [opt-env-conf-test] + [d] -> go True d
  1346. 936.35 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  1347. 936.35 s [opt-env-conf-test] case setDocHelp d of
  1348. 936.35 s [opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
  1349. 936.35 s [opt-env-conf-test]
  1350. 936.35 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
  1351. 936.35 s [opt-env-conf-test] @@ -585,7 +585,7 @@
  1352. 936.35 s [opt-env-conf-test] goSameHelp h = \case
  1353. 936.35 s [opt-env-conf-test] [] -> ([], [])
  1354. 936.35 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  1355. 936.35 s [opt-env-conf-test] - if setDocHelp d == Just h
  1356. 936.35 s [opt-env-conf-test] + if True
  1357. 936.35 s [opt-env-conf-test] then
  1358. 936.35 s [opt-env-conf-test] let (sds, rest) = goSameHelp h ds
  1359. 936.35 s [opt-env-conf-test] in (d : sds, rest)
  1360. 936.35 s [opt-env-conf-test]
  1361. 936.35 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
  1362. 936.35 s [opt-env-conf-test] @@ -529,12 +529,12 @@
  1363. 936.35 s [opt-env-conf-test] [] -> []
  1364. 936.35 s [opt-env-conf-test] [d] -> [go' d]
  1365. 936.35 s [opt-env-conf-test] (AnyDocsSingle d : ds) ->
  1366. 936.35 s [opt-env-conf-test] - case setDocHelp d of
  1367. 936.35 s [opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
  1368. 936.35 s [opt-env-conf-test] - Just h ->
  1369. 936.35 s [opt-env-conf-test] - let (sds, rest) = goSameHelp h ds
  1370. 936.35 s [opt-env-conf-test] - ne = d :| sds
  1371. 936.35 s [opt-env-conf-test] - in AnyDocsSingle ne : goOr' rest
  1372. 936.35 s [opt-env-conf-test] + case setDocHelp d of
  1373. 936.35 s [opt-env-conf-test] + Nothing -> go' (AnyDocsSingle d) : goOr' ds
  1374. 936.35 s [opt-env-conf-test] + Just h ->
  1375. 936.35 s [opt-env-conf-test] + let (sds, rest) = goSameHelp h ds
  1376. 936.35 s [opt-env-conf-test] + ne = d :| sds
  1377. 936.35 s [opt-env-conf-test] + in AnyDocsSingle ne : goOr' rest
  1378. 936.35 s [opt-env-conf-test] (d : ds) -> go' d : goOr' ds
  1379. 936.35 s [opt-env-conf-test]
  1380. 936.36 s [opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
  1381. 936.36 s [opt-env-conf-test]
  1382. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
  1383. 936.36 s [opt-env-conf-test] @@ -256,18 +256,18 @@
  1384. 936.36 s [opt-env-conf-test] concat
  1385. 936.36 s [opt-env-conf-test] [ concatMap
  1386. 936.36 s [opt-env-conf-test] ( \(key, schema) ->
  1387. 936.36 s [opt-env-conf-test] - case jsonSchemaChunkLines schema of
  1388. 936.36 s [opt-env-conf-test] - [line] ->
  1389. 936.36 s [opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
  1390. 936.36 s [opt-env-conf-test] - ls ->
  1391. 936.36 s [opt-env-conf-test] - ["config:"]
  1392. 936.36 s [opt-env-conf-test] - : indent
  1393. 936.36 s [opt-env-conf-test] - ( case ls of
  1394. 936.36 s [opt-env-conf-test] - [] -> [["TODO"]]
  1395. 936.36 s [opt-env-conf-test] - (l : ll) ->
  1396. 936.36 s [opt-env-conf-test] - ([confValChunk key, ": "] ++ l)
  1397. 936.36 s [opt-env-conf-test] - : indent ll
  1398. 936.36 s [opt-env-conf-test] - )
  1399. 936.36 s [opt-env-conf-test] + case jsonSchemaChunkLines schema of
  1400. 936.36 s [opt-env-conf-test] + [line] ->
  1401. 936.36 s [opt-env-conf-test] + [["config: ", confValChunk key, ": "] ++ line]
  1402. 936.36 s [opt-env-conf-test] + ls ->
  1403. 936.36 s [opt-env-conf-test] + ["config:"]
  1404. 936.36 s [opt-env-conf-test] + : indent
  1405. 936.36 s [opt-env-conf-test] + ( case ls of
  1406. 936.36 s [opt-env-conf-test] + [] -> [["TODO"]]
  1407. 936.36 s [opt-env-conf-test] + (l : ll) ->
  1408. 936.36 s [opt-env-conf-test] + ([confValChunk key, ": "] ++ l)
  1409. 936.36 s [opt-env-conf-test] + : indent ll
  1410. 936.36 s [opt-env-conf-test] + )
  1411. 936.36 s [opt-env-conf-test] )
  1412. 936.36 s [opt-env-conf-test] (NE.toList confs)
  1413. 936.36 s [opt-env-conf-test] | confs <- maybeToList setDocConfKeys
  1414. 936.36 s [opt-env-conf-test]
  1415. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
  1416. 936.36 s [opt-env-conf-test] @@ -262,11 +262,11 @@
  1417. 936.36 s [opt-env-conf-test] ls ->
  1418. 936.36 s [opt-env-conf-test] ["config:"]
  1419. 936.36 s [opt-env-conf-test] : indent
  1420. 936.36 s [opt-env-conf-test] - ( case ls of
  1421. 936.36 s [opt-env-conf-test] - [] -> [["TODO"]]
  1422. 936.36 s [opt-env-conf-test] - (l : ll) ->
  1423. 936.36 s [opt-env-conf-test] - ([confValChunk key, ": "] ++ l)
  1424. 936.36 s [opt-env-conf-test] - : indent ll
  1425. 936.36 s [opt-env-conf-test] + ( case ls of
  1426. 936.36 s [opt-env-conf-test] + [] -> [["TODO"]]
  1427. 936.36 s [opt-env-conf-test] + (l : ll) ->
  1428. 936.36 s [opt-env-conf-test] + ([confValChunk key, ": "] ++ l)
  1429. 936.36 s [opt-env-conf-test] + : indent ll
  1430. 936.36 s [opt-env-conf-test] )
  1431. 936.36 s [opt-env-conf-test] )
  1432. 936.36 s [opt-env-conf-test] (NE.toList confs)
  1433. 936.36 s [opt-env-conf-test]
  1434. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
  1435. 936.36 s [opt-env-conf-test] @@ -658,29 +658,29 @@
  1436. 936.36 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  1437. 936.36 s [opt-env-conf-test] [] -> Nothing
  1438. 936.36 s [opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
  1439. 936.36 s [opt-env-conf-test] - AnyDocsSingle mOd -> case mOd of
  1440. 936.36 s [opt-env-conf-test] - Nothing -> Nothing
  1441. 936.36 s [opt-env-conf-test] - Just OptDoc {..} ->
  1442. 936.36 s [opt-env-conf-test] - Just
  1443. 936.36 s [opt-env-conf-test] - $ ( if isJust optDocDefault
  1444. 936.36 s [opt-env-conf-test] - then bracketise
  1445. 936.36 s [opt-env-conf-test] - else id
  1446. 936.36 s [opt-env-conf-test] - )
  1447. 936.36 s [opt-env-conf-test] - $ unwordsChunks
  1448. 936.36 s [opt-env-conf-test] - $ concat
  1449. 936.36 s [opt-env-conf-test] - [ [ [mMetavarChunk optDocMetavar]
  1450. 936.36 s [opt-env-conf-test] - | optDocTryArgument
  1451. 936.36 s [opt-env-conf-test] - ],
  1452. 936.36 s [opt-env-conf-test] - [ concat $ maybeToList $ dashedChunks optDocDasheds
  1453. 936.36 s [opt-env-conf-test] - | optDocTrySwitch
  1454. 936.36 s [opt-env-conf-test] - ],
  1455. 936.36 s [opt-env-conf-test] - [ concat
  1456. 936.36 s [opt-env-conf-test] - [ concat $ maybeToList $ dashedChunks optDocDasheds,
  1457. 936.36 s [opt-env-conf-test] - [" ", mMetavarChunk optDocMetavar]
  1458. 936.36 s [opt-env-conf-test] - ]
  1459. 936.36 s [opt-env-conf-test] - | optDocTryOption
  1460. 936.36 s [opt-env-conf-test] - ]
  1461. 936.36 s [opt-env-conf-test] - ]
  1462. 936.36 s [opt-env-conf-test] + AnyDocsSingle mOd -> case mOd of
  1463. 936.36 s [opt-env-conf-test] + Nothing -> Nothing
  1464. 936.36 s [opt-env-conf-test] + Just OptDoc {..} ->
  1465. 936.36 s [opt-env-conf-test] + Just
  1466. 936.36 s [opt-env-conf-test] + $ ( if isJust optDocDefault
  1467. 936.36 s [opt-env-conf-test] + then bracketise
  1468. 936.36 s [opt-env-conf-test] + else id
  1469. 936.36 s [opt-env-conf-test] + )
  1470. 936.36 s [opt-env-conf-test] + $ unwordsChunks
  1471. 936.36 s [opt-env-conf-test] + $ concat
  1472. 936.36 s [opt-env-conf-test] + [ [ [mMetavarChunk optDocMetavar]
  1473. 936.36 s [opt-env-conf-test] + | optDocTryArgument
  1474. 936.36 s [opt-env-conf-test] + ],
  1475. 936.36 s [opt-env-conf-test] + [ concat $ maybeToList $ dashedChunks optDocDasheds
  1476. 936.36 s [opt-env-conf-test] + | optDocTrySwitch
  1477. 936.36 s [opt-env-conf-test] + ],
  1478. 936.36 s [opt-env-conf-test] + [ concat
  1479. 936.36 s [opt-env-conf-test] + [ concat $ maybeToList $ dashedChunks optDocDasheds,
  1480. 936.36 s [opt-env-conf-test] + [" ", mMetavarChunk optDocMetavar]
  1481. 936.36 s [opt-env-conf-test] + ]
  1482. 936.36 s [opt-env-conf-test] + | optDocTryOption
  1483. 936.36 s [opt-env-conf-test] + ]
  1484. 936.36 s [opt-env-conf-test] + ]
  1485. 936.36 s [opt-env-conf-test]
  1486. 936.36 s [opt-env-conf-test] orChunk :: Chunk
  1487. 936.36 s [opt-env-conf-test] orChunk = fore cyan "|"
  1488. 936.36 s [opt-env-conf-test]
  1489. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  1490. 936.36 s [opt-env-conf-test] @@ -650,10 +650,10 @@
  1491. 936.36 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  1492. 936.36 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  1493. 936.36 s [opt-env-conf-test] AnyDocsAnd ds ->
  1494. 936.36 s [opt-env-conf-test] - case mapMaybe (go False) (withoutNothings ds) of
  1495. 936.36 s [opt-env-conf-test] - [] -> Nothing
  1496. 936.36 s [opt-env-conf-test] - [c] -> Just c
  1497. 936.36 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  1498. 936.36 s [opt-env-conf-test] + case mapMaybe (go False) (withoutNothings ds) of
  1499. 936.36 s [opt-env-conf-test] + [] -> Nothing
  1500. 936.36 s [opt-env-conf-test] + [c] -> Just c
  1501. 936.36 s [opt-env-conf-test] + cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  1502. 936.36 s [opt-env-conf-test] AnyDocsOr ds ->
  1503. 936.36 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  1504. 936.36 s [opt-env-conf-test] [] -> Nothing
  1505. 936.36 s [opt-env-conf-test]
  1506. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
  1507. 936.36 s [opt-env-conf-test] @@ -650,10 +650,10 @@
  1508. 936.36 s [opt-env-conf-test] Nothing -> Just ["COMMAND"]
  1509. 936.36 s [opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
  1510. 936.36 s [opt-env-conf-test] AnyDocsAnd ds ->
  1511. 936.36 s [opt-env-conf-test] - case mapMaybe (go False) (withoutNothings ds) of
  1512. 936.36 s [opt-env-conf-test] - [] -> Nothing
  1513. 936.36 s [opt-env-conf-test] - [c] -> Just c
  1514. 936.36 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  1515. 936.36 s [opt-env-conf-test] + case mapMaybe (go False) (withoutNothings ds) of
  1516. 936.36 s [opt-env-conf-test] + [] -> Nothing
  1517. 936.36 s [opt-env-conf-test] + [c] -> Just c
  1518. 936.36 s [opt-env-conf-test] + cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  1519. 936.36 s [opt-env-conf-test] AnyDocsOr ds ->
  1520. 936.36 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  1521. 936.36 s [opt-env-conf-test] [] -> Nothing
  1522. 936.36 s [opt-env-conf-test]
  1523. 936.36 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
  1524. 936.36 s [opt-env-conf-test] @@ -653,7 +653,7 @@
  1525. 936.36 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  1526. 936.36 s [opt-env-conf-test] [] -> Nothing
  1527. 936.36 s [opt-env-conf-test] [c] -> Just c
  1528. 936.36 s [opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
  1529. 936.36 s [opt-env-conf-test] + cs -> Just $ (if False then parenthesise else id) $ unwordsChunks cs
  1530. 936.36 s [opt-env-conf-test] AnyDocsOr ds ->
  1531. 936.36 s [opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
  1532. 936.36 s [opt-env-conf-test] [] -> Nothing
  1533. 936.36 s [opt-env-conf-test]
  1534. 936.36 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
  1535. 936.36 s [opt-env-conf-test] @@ -634,7 +634,7 @@
  1536. 936.36 s [opt-env-conf-test] withoutNothings =
  1537. 936.36 s [opt-env-conf-test] filter
  1538. 936.36 s [opt-env-conf-test] ( \case
  1539. 936.36 s [opt-env-conf-test] - AnyDocsSingle Nothing -> False
  1540. 936.36 s [opt-env-conf-test] + AnyDocsSingle Nothing -> True
  1541. 936.36 s [opt-env-conf-test] AnyDocsAnd [] -> False
  1542. 936.36 s [opt-env-conf-test] AnyDocsOr [] -> False
  1543. 936.36 s [opt-env-conf-test] _ -> True
  1544. 936.36 s [opt-env-conf-test]
  1545. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
  1546. 936.36 s [opt-env-conf-test] @@ -819,11 +819,11 @@
  1547. 936.36 s [opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
  1548. 936.36 s [opt-env-conf-test] concatMap
  1549. 936.36 s [opt-env-conf-test] ( \(key, schema) ->
  1550. 936.36 s [opt-env-conf-test] - case jsonSchemaChunkLines schema of
  1551. 936.36 s [opt-env-conf-test] - [line] ->
  1552. 936.36 s [opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
  1553. 936.36 s [opt-env-conf-test] - ls ->
  1554. 936.36 s [opt-env-conf-test] - [confValChunk key, ":"] : indent ls
  1555. 936.36 s [opt-env-conf-test] + case jsonSchemaChunkLines schema of
  1556. 936.36 s [opt-env-conf-test] + [line] ->
  1557. 936.36 s [opt-env-conf-test] + [[confValChunk key, ": "] ++ line]
  1558. 936.36 s [opt-env-conf-test] + ls ->
  1559. 936.36 s [opt-env-conf-test] + [confValChunk key, ":"] : indent ls
  1560. 936.36 s [opt-env-conf-test] )
  1561. 936.36 s [opt-env-conf-test] (NE.toList confDocKeys)
  1562. 936.36 s [opt-env-conf-test] ]
  1563. 936.36 s [opt-env-conf-test]
  1564. 936.36 s [opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
  1565. 936.36 s [opt-env-conf-test] @@ -63,7 +63,7 @@
  1566. 936.36 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  1567. 936.36 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  1568. 936.36 s [opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
  1569. 936.36 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> False
  1570. 936.36 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> True
  1571. 936.36 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  1572. 936.36 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  1573. 936.36 s [opt-env-conf-test] ParseErrorMissingCapability _ -> False
  1574. 936.36 s [opt-env-conf-test]
  1575. 936.36 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
  1576. 936.36 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  1577. 936.36 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  1578. 936.36 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  1579. 936.36 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  1580. 936.36 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  1581. 936.36 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> True
  1582. 936.36 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  1583. 936.36 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  1584. 936.36 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  1585. 936.36 s [opt-env-conf-test]
  1586. 936.36 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
  1587. 936.36 s [opt-env-conf-test] @@ -62,7 +62,7 @@
  1588. 936.36 s [opt-env-conf-test] ParseErrorEnvRead _ _ -> False
  1589. 936.36 s [opt-env-conf-test] ParseErrorMissingConfVal _ -> True
  1590. 936.36 s [opt-env-conf-test] ParseErrorConfigRead _ _ -> False
  1591. 936.36 s [opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
  1592. 936.36 s [opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ False
  1593. 936.36 s [opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
  1594. 936.36 s [opt-env-conf-test] ParseErrorAllOrNothing _ -> False
  1595. 936.36 s [opt-env-conf-test] ParseErrorUnrecognised _ -> False
  1596. 936.36 s [opt-env-conf-test]
  1597. 936.36 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  1598. 936.36 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  1599. 936.36 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  1600. 936.36 s [opt-env-conf-test] renderError ParseError {..} =
  1601. 936.36 s [opt-env-conf-test] concat
  1602. 936.36 s [opt-env-conf-test] - [ case parseErrorMessage of
  1603. 936.36 s [opt-env-conf-test] - ParseErrorEmpty ->
  1604. 936.36 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1605. 936.36 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  1606. 936.36 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  1607. 936.36 s [opt-env-conf-test] - ParseErrorNoReaders ->
  1608. 936.36 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  1609. 936.36 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  1610. 936.36 s [opt-env-conf-test] - ]
  1611. 936.36 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  1612. 936.36 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  1613. 936.36 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  1614. 936.36 s [opt-env-conf-test] - [ "Missing argument: "
  1615. 936.36 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  1616. 936.36 s [opt-env-conf-test] - ]
  1617. 936.36 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  1618. 936.36 s [opt-env-conf-test] - ["Failed to read argument: "]
  1619. 936.36 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1620. 936.36 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1621. 936.36 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  1622. 936.36 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1623. 936.36 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  1624. 936.36 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1625. 936.36 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  1626. 936.36 s [opt-env-conf-test] - ["Failed to read option: "]
  1627. 936.36 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1628. 936.37 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1629. 936.37 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  1630. 936.37 s [opt-env-conf-test] - ["Missing env var: "]
  1631. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1632. 936.37 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  1633. 936.37 s [opt-env-conf-test] - ["Failed to read env var: "]
  1634. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1635. 936.37 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1636. 936.37 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  1637. 936.37 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  1638. 936.37 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  1639. 936.37 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  1640. 936.37 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  1641. 936.37 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  1642. 936.37 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  1643. 936.37 s [opt-env-conf-test] - ["Missing command, available commands:"]
  1644. 936.37 s [opt-env-conf-test] - : availableCommandsLines cs
  1645. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  1646. 936.37 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1647. 936.37 s [opt-env-conf-test] - [fore blue "available commands:"]
  1648. 936.37 s [opt-env-conf-test] - ]
  1649. 936.37 s [opt-env-conf-test] - ++ availableCommandsLines cs
  1650. 936.37 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  1651. 936.37 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."],
  1652. 936.37 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  1653. 936.37 s [opt-env-conf-test] - ]
  1654. 936.37 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  1655. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  1656. 936.37 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1657. 936.37 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  1658. 936.37 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1659. 936.37 s [opt-env-conf-test] + [ case parseErrorMessage of
  1660. 936.37 s [opt-env-conf-test] + ParseErrorEmpty ->
  1661. 936.37 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1662. 936.37 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  1663. 936.37 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  1664. 936.37 s [opt-env-conf-test] + ParseErrorNoReaders ->
  1665. 936.37 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  1666. 936.37 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  1667. 936.37 s [opt-env-conf-test] + ]
  1668. 936.37 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  1669. 936.37 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  1670. 936.37 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  1671. 936.37 s [opt-env-conf-test] + [ "Missing argument: "
  1672. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  1673. 936.37 s [opt-env-conf-test] + ]
  1674. 936.37 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  1675. 936.37 s [opt-env-conf-test] + ["Failed to read argument: "]
  1676. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1677. 936.37 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1678. 936.37 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  1679. 936.37 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1680. 936.37 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  1681. 936.37 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1682. 936.37 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  1683. 936.37 s [opt-env-conf-test] + ["Failed to read option: "]
  1684. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1685. 936.37 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1686. 936.37 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  1687. 936.37 s [opt-env-conf-test] + ["Missing env var: "]
  1688. 936.37 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1689. 936.37 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  1690. 936.37 s [opt-env-conf-test] + ["Failed to read env var: "]
  1691. 936.37 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1692. 936.37 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1693. 936.37 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  1694. 936.37 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  1695. 936.37 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  1696. 936.37 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  1697. 936.37 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  1698. 936.37 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  1699. 936.37 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  1700. 936.37 s [opt-env-conf-test] + ["Missing command, available commands:"]
  1701. 936.37 s [opt-env-conf-test] + : availableCommandsLines cs
  1702. 936.37 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  1703. 936.37 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1704. 936.37 s [opt-env-conf-test] + [fore blue "available commands:"]
  1705. 936.37 s [opt-env-conf-test] + ]
  1706. 936.37 s [opt-env-conf-test] + ++ availableCommandsLines cs
  1707. 936.37 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  1708. 936.37 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."],
  1709. 936.37 s [opt-env-conf-test] + ["The following settings have been parsed:"]
  1710. 936.37 s [opt-env-conf-test] + ]
  1711. 936.37 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  1712. 936.37 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  1713. 936.37 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1714. 936.37 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  1715. 936.37 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1716. 936.37 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  1717. 936.37 s [opt-env-conf-test] ]
  1718. 936.37 s [opt-env-conf-test]
  1719. 936.37 s [opt-env-conf-test]
  1720. 936.37 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  1721. 936.37 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  1722. 936.37 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  1723. 936.37 s [opt-env-conf-test] renderError ParseError {..} =
  1724. 936.37 s [opt-env-conf-test] concat
  1725. 936.37 s [opt-env-conf-test] - [ case parseErrorMessage of
  1726. 936.37 s [opt-env-conf-test] - ParseErrorEmpty ->
  1727. 936.37 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1728. 936.37 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  1729. 936.37 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  1730. 936.37 s [opt-env-conf-test] - ParseErrorNoReaders ->
  1731. 936.37 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  1732. 936.37 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  1733. 936.37 s [opt-env-conf-test] - ]
  1734. 936.37 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  1735. 936.37 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  1736. 936.37 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  1737. 936.37 s [opt-env-conf-test] - [ "Missing argument: "
  1738. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  1739. 936.37 s [opt-env-conf-test] - ]
  1740. 936.37 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  1741. 936.37 s [opt-env-conf-test] - ["Failed to read argument: "]
  1742. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1743. 936.37 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1744. 936.37 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  1745. 936.37 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1746. 936.37 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  1747. 936.37 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1748. 936.37 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  1749. 936.37 s [opt-env-conf-test] - ["Failed to read option: "]
  1750. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1751. 936.37 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1752. 936.37 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  1753. 936.37 s [opt-env-conf-test] - ["Missing env var: "]
  1754. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1755. 936.37 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  1756. 936.37 s [opt-env-conf-test] - ["Failed to read env var: "]
  1757. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1758. 936.37 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1759. 936.37 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  1760. 936.37 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  1761. 936.37 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  1762. 936.37 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  1763. 936.37 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  1764. 936.37 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  1765. 936.37 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  1766. 936.37 s [opt-env-conf-test] - ["Missing command, available commands:"]
  1767. 936.37 s [opt-env-conf-test] - : availableCommandsLines cs
  1768. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  1769. 936.37 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1770. 936.37 s [opt-env-conf-test] - [fore blue "available commands:"]
  1771. 936.37 s [opt-env-conf-test] - ]
  1772. 936.37 s [opt-env-conf-test] - ++ availableCommandsLines cs
  1773. 936.37 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  1774. 936.37 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."],
  1775. 936.37 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  1776. 936.37 s [opt-env-conf-test] - ]
  1777. 936.37 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  1778. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  1779. 936.37 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1780. 936.37 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  1781. 936.37 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1782. 936.37 s [opt-env-conf-test] + [ case parseErrorMessage of
  1783. 936.37 s [opt-env-conf-test] + ParseErrorEmpty ->
  1784. 936.37 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1785. 936.37 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  1786. 936.37 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  1787. 936.37 s [opt-env-conf-test] + ParseErrorNoReaders ->
  1788. 936.37 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  1789. 936.37 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  1790. 936.37 s [opt-env-conf-test] + ]
  1791. 936.37 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  1792. 936.37 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  1793. 936.37 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  1794. 936.37 s [opt-env-conf-test] + [ "Missing argument: "
  1795. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  1796. 936.37 s [opt-env-conf-test] + ]
  1797. 936.37 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  1798. 936.37 s [opt-env-conf-test] + ["Failed to read argument: "]
  1799. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1800. 936.37 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1801. 936.37 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  1802. 936.37 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1803. 936.37 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  1804. 936.37 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1805. 936.37 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  1806. 936.37 s [opt-env-conf-test] + ["Failed to read option: "]
  1807. 936.37 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1808. 936.37 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1809. 936.37 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  1810. 936.37 s [opt-env-conf-test] + ["Missing env var: "]
  1811. 936.37 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1812. 936.37 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  1813. 936.37 s [opt-env-conf-test] + ["Failed to read env var: "]
  1814. 936.37 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1815. 936.37 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1816. 936.37 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  1817. 936.37 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  1818. 936.37 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  1819. 936.37 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  1820. 936.37 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  1821. 936.37 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  1822. 936.37 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  1823. 936.37 s [opt-env-conf-test] + ["Missing command, available commands:"]
  1824. 936.37 s [opt-env-conf-test] + : availableCommandsLines cs
  1825. 936.37 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  1826. 936.37 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1827. 936.37 s [opt-env-conf-test] + [fore blue "available commands:"]
  1828. 936.37 s [opt-env-conf-test] + ]
  1829. 936.37 s [opt-env-conf-test] + ++ availableCommandsLines cs
  1830. 936.37 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  1831. 936.37 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."],
  1832. 936.37 s [opt-env-conf-test] + ["The following settings have been parsed:"]
  1833. 936.37 s [opt-env-conf-test] + ]
  1834. 936.37 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  1835. 936.37 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  1836. 936.37 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1837. 936.37 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  1838. 936.37 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1839. 936.37 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  1840. 936.37 s [opt-env-conf-test] ]
  1841. 936.37 s [opt-env-conf-test]
  1842. 936.37 s [opt-env-conf-test]
  1843. 936.37 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  1844. 936.37 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  1845. 936.37 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  1846. 936.37 s [opt-env-conf-test] renderError ParseError {..} =
  1847. 936.37 s [opt-env-conf-test] concat
  1848. 936.37 s [opt-env-conf-test] - [ case parseErrorMessage of
  1849. 936.37 s [opt-env-conf-test] - ParseErrorEmpty ->
  1850. 936.37 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1851. 936.37 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  1852. 936.37 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  1853. 936.37 s [opt-env-conf-test] - ParseErrorNoReaders ->
  1854. 936.37 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  1855. 936.37 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  1856. 936.37 s [opt-env-conf-test] - ]
  1857. 936.37 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  1858. 936.37 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  1859. 936.37 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  1860. 936.37 s [opt-env-conf-test] - [ "Missing argument: "
  1861. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  1862. 936.37 s [opt-env-conf-test] - ]
  1863. 936.37 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  1864. 936.37 s [opt-env-conf-test] - ["Failed to read argument: "]
  1865. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1866. 936.37 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1867. 936.37 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  1868. 936.37 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1869. 936.37 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  1870. 936.37 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1871. 936.37 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  1872. 936.37 s [opt-env-conf-test] - ["Failed to read option: "]
  1873. 936.37 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  1874. 936.37 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1875. 936.37 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  1876. 936.37 s [opt-env-conf-test] - ["Missing env var: "]
  1877. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1878. 936.37 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  1879. 936.37 s [opt-env-conf-test] - ["Failed to read env var: "]
  1880. 936.37 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  1881. 936.37 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1882. 936.37 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  1883. 936.37 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  1884. 936.37 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  1885. 936.37 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  1886. 936.37 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  1887. 936.37 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  1888. 936.37 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  1889. 936.37 s [opt-env-conf-test] - ["Missing command, available commands:"]
  1890. 936.37 s [opt-env-conf-test] - : availableCommandsLines cs
  1891. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  1892. 936.37 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1893. 936.37 s [opt-env-conf-test] - [fore blue "available commands:"]
  1894. 936.37 s [opt-env-conf-test] - ]
  1895. 936.37 s [opt-env-conf-test] - ++ availableCommandsLines cs
  1896. 936.37 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  1897. 936.37 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."],
  1898. 936.37 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  1899. 936.37 s [opt-env-conf-test] - ]
  1900. 936.37 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  1901. 936.37 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  1902. 936.37 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1903. 936.37 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  1904. 936.37 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1905. 936.38 s [opt-env-conf-test] + [ case parseErrorMessage of
  1906. 936.38 s [opt-env-conf-test] + ParseErrorEmpty ->
  1907. 936.38 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  1908. 936.38 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  1909. 936.38 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  1910. 936.38 s [opt-env-conf-test] + ParseErrorNoReaders ->
  1911. 936.38 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  1912. 936.38 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  1913. 936.38 s [opt-env-conf-test] + ]
  1914. 936.38 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  1915. 936.38 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  1916. 936.38 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  1917. 936.38 s [opt-env-conf-test] + [ "Missing argument: "
  1918. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  1919. 936.38 s [opt-env-conf-test] + ]
  1920. 936.38 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  1921. 936.38 s [opt-env-conf-test] + ["Failed to read argument: "]
  1922. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1923. 936.38 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1924. 936.38 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  1925. 936.38 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1926. 936.38 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  1927. 936.38 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  1928. 936.38 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  1929. 936.38 s [opt-env-conf-test] + ["Failed to read option: "]
  1930. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  1931. 936.38 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1932. 936.38 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  1933. 936.38 s [opt-env-conf-test] + ["Missing env var: "]
  1934. 936.38 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1935. 936.38 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  1936. 936.38 s [opt-env-conf-test] + ["Failed to read env var: "]
  1937. 936.38 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  1938. 936.38 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  1939. 936.38 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  1940. 936.38 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  1941. 936.38 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  1942. 936.38 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  1943. 936.38 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  1944. 936.38 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  1945. 936.38 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  1946. 936.38 s [opt-env-conf-test] + ["Missing command, available commands:"]
  1947. 936.38 s [opt-env-conf-test] + : availableCommandsLines cs
  1948. 936.38 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  1949. 936.38 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  1950. 936.38 s [opt-env-conf-test] + [fore blue "available commands:"]
  1951. 936.38 s [opt-env-conf-test] + ]
  1952. 936.38 s [opt-env-conf-test] + ++ availableCommandsLines cs
  1953. 936.38 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  1954. 936.38 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."],
  1955. 936.38 s [opt-env-conf-test] + ["The foll else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
  1956. 936.38 s [opt-env-conf-test]
  1957. 936.38 s [opt-env-conf-test] Testing mutation CondFlip at src/OptEnvConf/Args.hs:300:11-25
  1958. 936.38 s [opt-env-conf-test] @@ -297,9 +297,9 @@
  1959. 936.38 s [opt-env-conf-test] else Nothing
  1960. 936.38 s [opt-env-conf-test] else
  1961. 936.38 s [opt-env-conf-test] let (mRest, c) = unsnocNE cs
  1962. 936.38 s [opt-env-conf-test] - in if DashedShort c `elem` dasheds
  1963. 936.38 s [opt-env-conf-test] - then Just mRest
  1964. 936.38 s [opt-env-conf-test] - else Nothing
  1965. 936.38 s [opt-env-conf-test] + in if DashedShort c `elem` dasheds
  1966. 936.38 s [opt-env-conf-test] + then Just mRest
  1967. 936.38 s [opt-env-conf-test] + else Nothing
  1968. 936.38 s [opt-env-conf-test]
  1969. 936.38 s [opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
  1970. 936.38 s [opt-env-conf-test] unsnocNE = go []
  1971. 936.38 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  1972. 936.38 s [opt-env-conf-test] @@ -201,7 +201,7 @@
  1973. 936.38 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  1974. 936.38 s [opt-env-conf-test] ]
  1975. 936.38 s [opt-env-conf-test] _ ->
  1976. 936.38 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  1977. 936.38 s [opt-env-conf-test] + consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  1978. 936.38 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  1979. 936.38 s [opt-env-conf-test] (Just (renderArg a), consumed)
  1980. 936.38 s [opt-env-conf-test] ]
  1981. 936.38 s [opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
  1982. 936.38 s [opt-env-conf-test] @@ -201,7 +201,7 @@
  1983. 936.38 s [opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
  1984. 936.38 s [opt-env-conf-test] ]
  1985. 936.38 s [opt-env-conf-test] _ ->
  1986. 936.38 s [opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
  1987. 936.38 s [opt-env-conf-test] + consumeArgument (Args (befores ++ []) rest)
  1988. 936.38 s [opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
  1989. 936.38 s [opt-env-conf-test] (Just (renderArg a), consumed)
  1990. 936.38 s [opt-env-conf-test] ]
  1991. 936.38 s [opt-env-conf-test] owing settings have been parsed:"]
  1992. 936.38 s [opt-env-conf-test] + ]
  1993. 936.38 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  1994. 936.38 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  1995. 936.38 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  1996. 936.38 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  1997. 936.38 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  1998. 936.38 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  1999. 936.38 s [opt-env-conf-test] ]
  2000. 936.38 s [opt-env-conf-test]
  2001. 936.38 s [opt-env-conf-test]
  2002. 936.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  2003. 936.38 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  2004. 936.38 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  2005. 936.38 s [opt-env-conf-test] renderError ParseError {..} =
  2006. 936.38 s [opt-env-conf-test] concat
  2007. 936.38 s [opt-env-conf-test] - [ case parseErrorMessage of
  2008. 936.38 s [opt-env-conf-test] - ParseErrorEmpty ->
  2009. 936.38 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2010. 936.38 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  2011. 936.38 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  2012. 936.38 s [opt-env-conf-test] - ParseErrorNoReaders ->
  2013. 936.38 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  2014. 936.38 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  2015. 936.38 s [opt-env-conf-test] - ]
  2016. 936.38 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  2017. 936.38 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  2018. 936.38 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  2019. 936.38 s [opt-env-conf-test] - [ "Missing argument: "
  2020. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  2021. 936.38 s [opt-env-conf-test] - ]
  2022. 936.38 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  2023. 936.38 s [opt-env-conf-test] - ["Failed to read argument: "]
  2024. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2025. 936.38 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2026. 936.38 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  2027. 936.38 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2028. 936.38 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  2029. 936.38 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2030. 936.38 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  2031. 936.38 s [opt-env-conf-test] - ["Failed to read option: "]
  2032. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2033. 936.38 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2034. 936.38 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  2035. 936.38 s [opt-env-conf-test] - ["Missing env var: "]
  2036. 936.38 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2037. 936.38 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  2038. 936.38 s [opt-env-conf-test] - ["Failed to read env var: "]
  2039. 936.38 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2040. 936.38 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2041. 936.38 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  2042. 936.38 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  2043. 936.38 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  2044. 936.38 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  2045. 936.38 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  2046. 936.38 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  2047. 936.38 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  2048. 936.38 s [opt-env-conf-test] - ["Missing command, available commands:"]
  2049. 936.38 s [opt-env-conf-test] - : availableCommandsLines cs
  2050. 936.38 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  2051. 936.38 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2052. 936.38 s [opt-env-conf-test] - [fore blue "available commands:"]
  2053. 936.38 s [opt-env-conf-test] - ]
  2054. 936.38 s [opt-env-conf-test] - ++ availableCommandsLines cs
  2055. 936.38 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  2056. 936.38 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."],
  2057. 936.38 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  2058. 936.38 s [opt-env-conf-test] - ]
  2059. 936.38 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  2060. 936.38 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  2061. 936.38 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2062. 936.38 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  2063. 936.38 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2064. 936.38 s [opt-env-conf-test] + [ case parseErrorMessage of
  2065. 936.38 s [opt-env-conf-test] + ParseErrorEmpty ->
  2066. 936.38 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2067. 936.38 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  2068. 936.38 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  2069. 936.38 s [opt-env-conf-test] + ParseErrorNoReaders ->
  2070. 936.38 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  2071. 936.38 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  2072. 936.38 s [opt-env-conf-test] + ]
  2073. 936.38 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  2074. 936.38 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  2075. 936.38 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  2076. 936.38 s [opt-env-conf-test] + [ "Missing argument: "
  2077. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  2078. 936.38 s [opt-env-conf-test] + ]
  2079. 936.38 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  2080. 936.38 s [opt-env-conf-test] + ["Failed to read argument: "]
  2081. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2082. 936.38 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2083. 936.38 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  2084. 936.38 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2085. 936.38 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  2086. 936.38 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2087. 936.38 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  2088. 936.38 s [opt-env-conf-test] + ["Failed to read option: "]
  2089. 936.38 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2090. 936.38 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2091. 936.38 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  2092. 936.38 s [opt-env-conf-test] + ["Missing env var: "]
  2093. 936.38 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2094. 936.38 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  2095. 936.38 s [opt-env-conf-test] + ["Failed to read env var: "]
  2096. 936.38 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2097. 936.38 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2098. 936.38 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  2099. 936.38 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  2100. 936.38 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  2101. 936.38 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  2102. 936.38 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  2103. 936.38 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  2104. 936.38 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  2105. 936.38 s [opt-env-conf-test] + ["Missing command, available commands:"]
  2106. 936.38 s [opt-env-conf-test] + : availableCommandsLines cs
  2107. 936.38 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  2108. 936.38 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2109. 936.38 s [opt-env-conf-test] + [fore blue "available commands:"]
  2110. 936.38 s [opt-env-conf-test] + ]
  2111. 936.38 s [opt-env-conf-test] + ++ availableCommandsLines cs
  2112. 936.38 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  2113. 936.38 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."],
  2114. 936.38 s [opt-env-conf-test] + ["The following settings have been parsed:"]
  2115. 936.38 s [opt-env-conf-test] + ]
  2116. 936.38 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  2117. 936.38 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  2118. 936.38 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2119. 936.38 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  2120. 936.38 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2121. 936.38 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  2122. 936.38 s [opt-env-conf-test] ]
  2123. 936.38 s [opt-env-conf-test]
  2124. 936.38 s [opt-env-conf-test]
  2125. 936.38 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  2126. 936.38 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  2127. 936.38 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  2128. 936.38 s [opt-env-conf-test] renderError ParseError {..} =
  2129. 936.38 s [opt-env-conf-test] concat
  2130. 936.38 s [opt-env-conf-test] - [ case parseErrorMessage of
  2131. 936.38 s [opt-env-conf-test] - ParseErrorEmpty ->
  2132. 936.38 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2133. 936.38 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  2134. 936.38 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  2135. 936.38 s [opt-env-conf-test] - ParseErrorNoReaders ->
  2136. 936.38 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  2137. 936.38 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  2138. 936.38 s [opt-env-conf-test] - ]
  2139. 936.38 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  2140. 936.38 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  2141. 936.38 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  2142. 936.38 s [opt-env-conf-test] - [ "Missing argument: "
  2143. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  2144. 936.38 s [opt-env-conf-test] - ]
  2145. 936.38 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  2146. 936.38 s [opt-env-conf-test] - ["Failed to read argument: "]
  2147. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2148. 936.38 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2149. 936.38 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  2150. 936.38 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2151. 936.38 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  2152. 936.38 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2153. 936.38 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  2154. 936.38 s [opt-env-conf-test] - ["Failed to read option: "]
  2155. 936.38 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2156. 936.38 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2157. 936.38 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  2158. 936.38 s [opt-env-conf-test] - ["Missing env var: "]
  2159. 936.38 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2160. 936.38 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  2161. 936.38 s [opt-env-conf-test] - ["Failed to read env var: "]
  2162. 936.38 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2163. 936.38 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2164. 936.38 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  2165. 936.38 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  2166. 936.38 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  2167. 936.38 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  2168. 936.38 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  2169. 936.38 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  2170. 936.38 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  2171. 936.38 s [opt-env-conf-test] - ["Missing command, available commands:"]
  2172. 936.38 s [opt-env-conf-test] - : availableCommandsLines cs
  2173. 936.38 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  2174. 936.38 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2175. 936.38 s [opt-env-conf-test] - [fore blue "available commands:"]
  2176. 936.38 s [opt-env-conf-test] - ]
  2177. 936.38 s [opt-env-conf-test] - ++ availableCommandsLines cs
  2178. 936.38 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  2179. 936.38 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."],
  2180. 936.38 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  2181. 936.38 s [opt-env-conf-test] - ]
  2182. 936.38 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  2183. 936.38 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  2184. 936.38 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2185. 936.39 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  2186. 936.39 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2187. 936.39 s [opt-env-conf-test] + [ case parseErrorMessage of
  2188. 936.39 s [opt-env-conf-test] + ParseErrorEmpty ->
  2189. 936.39 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2190. 936.39 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  2191. 936.39 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  2192. 936.39 s [opt-env-conf-test] + ParseErrorNoReaders ->
  2193. 936.39 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  2194. 936.39 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  2195. 936.39 s [opt-env-conf-test] + ]
  2196. 936.39 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  2197. 936.39 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  2198. 936.39 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  2199. 936.39 s [opt-env-conf-test] + [ "Missing argument: "
  2200. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  2201. 936.39 s [opt-env-conf-test] + ]
  2202. 936.39 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  2203. 936.39 s [opt-env-conf-test] + ["Failed to read argument: "]
  2204. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2205. 936.39 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2206. 936.39 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  2207. 936.39 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2208. 936.39 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  2209. 936.39 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2210. 936.39 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  2211. 936.39 s [opt-env-conf-test] + ["Failed to read option: "]
  2212. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2213. 936.39 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2214. 936.39 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  2215. 936.39 s [opt-env-conf-test] + ["Missing env var: "]
  2216. 936.39 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2217. 936.39 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  2218. 936.39 s [opt-env-conf-test] + ["Failed to read env var: "]
  2219. 936.39 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2220. 936.39 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2221. 936.39 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  2222. 936.39 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  2223. 936.39 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  2224. 936.39 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  2225. 936.39 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  2226. 936.39 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  2227. 936.39 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  2228. 936.39 s [opt-env-conf-test] + ["Missing command, available commands:"]
  2229. 936.39 s [opt-env-conf-test] + : availableCommandsLines cs
  2230. 936.39 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  2231. 936.39 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2232. 936.39 s [opt-env-conf-test] + [fore blue "available commands:"]
  2233. 936.39 s [opt-env-conf-test] + ]
  2234. 936.39 s [opt-env-conf-test] + ++ availableCommandsLines cs
  2235. 936.39 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  2236. 936.39 s [opt-env-conf-test] + [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  2237. 936.39 s [opt-env-conf-test] + ["The following settings have been parsed:"]
  2238. 936.39 s [opt-env-conf-test] + ]
  2239. 936.39 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  2240. 936.39 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  2241. 936.39 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2242. 936.39 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  2243. 936.39 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2244. 936.39 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  2245. 936.39 s [opt-env-conf-test] ]
  2246. 936.39 s [opt-env-conf-test]
  2247. 936.39 s [opt-env-conf-test]
  2248. 936.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
  2249. 936.39 s [opt-env-conf-test] @@ -80,63 +80,63 @@
  2250. 936.39 s [opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
  2251. 936.39 s [opt-env-conf-test] renderError ParseError {..} =
  2252. 936.39 s [opt-env-conf-test] concat
  2253. 936.39 s [opt-env-conf-test] - [ case parseErrorMessage of
  2254. 936.39 s [opt-env-conf-test] - ParseErrorEmpty ->
  2255. 936.39 s [opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2256. 936.39 s [opt-env-conf-test] - ParseErrorEmptySetting ->
  2257. 936.39 s [opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
  2258. 936.39 s [opt-env-conf-test] - ParseErrorNoReaders ->
  2259. 936.39 s [opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
  2260. 936.39 s [opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
  2261. 936.39 s [opt-env-conf-test] - ]
  2262. 936.39 s [opt-env-conf-test] - ParseErrorCheckFailed _ err ->
  2263. 936.39 s [opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
  2264. 936.39 s [opt-env-conf-test] - ParseErrorMissingArgument o ->
  2265. 936.39 s [opt-env-conf-test] - [ "Missing argument: "
  2266. 936.39 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
  2267. 936.39 s [opt-env-conf-test] - ]
  2268. 936.39 s [opt-env-conf-test] - ParseErrorArgumentRead md errs ->
  2269. 936.39 s [opt-env-conf-test] - ["Failed to read argument: "]
  2270. 936.39 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2271. 936.39 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2272. 936.39 s [opt-env-conf-test] - ParseErrorMissingOption o ->
  2273. 936.39 s [opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2274. 936.39 s [opt-env-conf-test] - ParseErrorMissingSwitch o ->
  2275. 936.39 s [opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2276. 936.39 s [opt-env-conf-test] - ParseErrorOptionRead md errs ->
  2277. 936.39 s [opt-env-conf-test] - ["Failed to read option: "]
  2278. 936.39 s [opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
  2279. 936.39 s [opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2280. 936.39 s [opt-env-conf-test] - ParseErrorMissingEnvVar md ->
  2281. 936.39 s [opt-env-conf-test] - ["Missing env var: "]
  2282. 936.39 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2283. 936.39 s [opt-env-conf-test] - ParseErrorEnvRead md errs ->
  2284. 936.39 s [opt-env-conf-test] - ["Failed to read env var: "]
  2285. 936.39 s [opt-env-conf-test] - : maybe [] renderEnvDoc md
  2286. 936.39 s [opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2287. 936.39 s [opt-env-conf-test] - ParseErrorMissingConfVal md ->
  2288. 936.39 s [opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
  2289. 936.39 s [opt-env-conf-test] - ParseErrorConfigRead md s ->
  2290. 936.39 s [opt-env-conf-test] - ["Failed to parse configuration: "]
  2291. 936.39 s [opt-env-conf-test] - : maybe [] renderConfDoc md
  2292. 936.39 s [opt-env-conf-test] - ++ [[chunk $ T.pack s]]
  2293. 936.39 s [opt-env-conf-test] - ParseErrorMissingCommand cs ->
  2294. 936.39 s [opt-env-conf-test] - ["Missing command, available commands:"]
  2295. 936.39 s [opt-env-conf-test] - : availableCommandsLines cs
  2296. 936.39 s [opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
  2297. 936.39 s [opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2298. 936.39 s [opt-env-conf-test] - [fore blue "available commands:"]
  2299. 936.39 s [opt-env-conf-test] - ]
  2300. 936.39 s [opt-env-conf-test] - ++ availableCommandsLines cs
  2301. 936.39 s [opt-env-conf-test] - ParseErrorAllOrNothing locs ->
  2302. 936.39 s [opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  2303. 936.39 s [opt-env-conf-test] - ["The following settings have been parsed:"]
  2304. 936.39 s [opt-env-conf-test] - ]
  2305. 936.39 s [opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
  2306. 936.39 s [opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
  2307. 936.39 s [opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2308. 936.39 s [opt-env-conf-test] - ParseErrorMissingCapability cap ->
  2309. 936.39 s [opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2310. 936.39 s [opt-env-conf-test] + [ case parseErrorMessage of
  2311. 936.39 s [opt-env-conf-test] + ParseErrorEmpty ->
  2312. 936.39 s [opt-env-conf-test] + [["Hit the 'empty' case of the Parser type, this should not happen."]]
  2313. 936.39 s [opt-env-conf-test] + ParseErrorEmptySetting ->
  2314. 936.39 s [opt-env-conf-test] + [["This setting has not been configured to be able to parse anything."]]
  2315. 936.39 s [opt-env-conf-test] + ParseErrorNoReaders ->
  2316. 936.39 s [opt-env-conf-test] + [ ["No readers were configured for an argument, option, or env."],
  2317. 936.39 s [opt-env-conf-test] + ["You should not be seeing this error because the linting phase should have caught it."]
  2318. 936.39 s [opt-env-conf-test] + ]
  2319. 936.39 s [opt-env-conf-test] + ParseErrorCheckFailed _ err ->
  2320. 936.39 s [opt-env-conf-test] + [["Check failed: "], [chunk $ T.pack err]]
  2321. 936.39 s [opt-env-conf-test] + ParseErrorMissingArgument o ->
  2322. 936.39 s [opt-env-conf-test] + [ "Missing argument: "
  2323. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong o)
  2324. 936.39 s [opt-env-conf-test] + ]
  2325. 936.39 s [opt-env-conf-test] + ParseErrorArgumentRead md errs ->
  2326. 936.39 s [opt-env-conf-test] + ["Failed to read argument: "]
  2327. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2328. 936.39 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2329. 936.39 s [opt-env-conf-test] + ParseErrorMissingOption o ->
  2330. 936.39 s [opt-env-conf-test] + ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2331. 936.39 s [opt-env-conf-test] + ParseErrorMissingSwitch o ->
  2332. 936.39 s [opt-env-conf-test] + ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
  2333. 936.39 s [opt-env-conf-test] + ParseErrorOptionRead md errs ->
  2334. 936.39 s [opt-env-conf-test] + ["Failed to read option: "]
  2335. 936.39 s [opt-env-conf-test] + : unwordsChunks (maybe [] renderOptDocLong md)
  2336. 936.39 s [opt-env-conf-test] + : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2337. 936.39 s [opt-env-conf-test] + ParseErrorMissingEnvVar md ->
  2338. 936.39 s [opt-env-conf-test] + ["Missing env var: "]
  2339. 936.39 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2340. 936.39 s [opt-env-conf-test] + ParseErrorEnvRead md errs ->
  2341. 936.39 s [opt-env-conf-test] + ["Failed to read env var: "]
  2342. 936.39 s [opt-env-conf-test] + : maybe [] renderEnvDoc md
  2343. 936.39 s [opt-env-conf-test] + ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
  2344. 936.39 s [opt-env-conf-test] + ParseErrorMissingConfVal md ->
  2345. 936.39 s [opt-env-conf-test] + ["Missing config value: "] : maybe [] renderConfDoc md
  2346. 936.39 s [opt-env-conf-test] + ParseErrorConfigRead md s ->
  2347. 936.39 s [opt-env-conf-test] + ["Failed to parse configuration: "]
  2348. 936.39 s [opt-env-conf-test] + : maybe [] renderConfDoc md
  2349. 936.39 s [opt-env-conf-test] + ++ [[chunk $ T.pack s]]
  2350. 936.39 s [opt-env-conf-test] + ParseErrorMissingCommand cs ->
  2351. 936.39 s [opt-env-conf-test] + ["Missing command, available commands:"]
  2352. 936.39 s [opt-env-conf-test] + : availableCommandsLines cs
  2353. 936.39 s [opt-env-conf-test] + ParseErrorUnrecognisedCommand c cs ->
  2354. 936.39 s [opt-env-conf-test] + [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
  2355. 936.39 s [opt-env-conf-test] + [fore blue "available commands:"]
  2356. 936.39 s [opt-env-conf-test] + ]
  2357. 936.39 s [opt-env-conf-test] + ++ availableCommandsLines cs
  2358. 936.39 s [opt-env-conf-test] + ParseErrorAllOrNothing locs ->
  2359. 936.39 s [opt-env-conf-test] + [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
  2360. 936.39 s [opt-env-conf-test] + ["The following settings have been parsed:"]
  2361. 936.39 s [opt-env-conf-test] + ]
  2362. 936.39 s [opt-env-conf-test] + ++ map (pure . srcLocChunk) (M.elems locs)
  2363. 936.39 s [opt-env-conf-test] + ParseErrorUnrecognised leftovers ->
  2364. 936.39 s [opt-env-conf-test] + ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
  2365. 936.39 s [opt-env-conf-test] + ParseErrorMissingCapability cap ->
  2366. 936.39 s [opt-env-conf-test] + ["Missing capability: " : [chunk $ T.pack $ show cap]],
  2367. 936.39 s [opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
  2368. 936.39 s [opt-env-conf-test] ]
  2369. 936.39 s [opt-env-conf-test]
  2370. 936.39 s [opt-env-conf-test]
  2371. 936.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
  2372. 936.39 s [opt-env-conf-test] @@ -64,10 +64,10 @@
  2373. 936.39 s [opt-env-conf-test]
  2374. 936.39 s [opt-env-conf-test] parserLintTest :: Parser a -> IO ()
  2375. 936.39 s [opt-env-conf-test] parserLintTest parser =
  2376. 936.39 s [opt-env-conf-test] - case lintParser parser of
  2377. 936.39 s [opt-env-conf-test] - Nothing -> pure ()
  2378. 936.39 s [opt-env-conf-test] - Just errs ->
  2379. 936.39 s [opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
  2380. 936.39 s [opt-env-conf-test] + case lintParser parser of
  2381. 936.39 s [opt-env-conf-test] + Nothing -> pure ()
  2382. 936.39 s [opt-env-conf-test] + Just errs ->
  2383. 936.39 s [opt-env-conf-test] + expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
  2384. 936.39 s [opt-env-conf-test]
  2385. 936.39 s [opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
  2386. 936.39 s [opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
  2387. 936.39 s [opt-env-conf-test]
  2388. 936.39 s [opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
  2389. 936.39 s [opt-env-conf-test] @@ -146,14 +146,14 @@
  2390. 936.39 s [opt-env-conf-test]
  2391. 936.39 s [opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
  2392. 936.39 s [opt-env-conf-test] generatedFileComment cs =
  2393. 936.39 s [opt-env-conf-test] - let loc = case getCallStack cs of
  2394. 936.39 s [opt-env-conf-test] - (_, srcLoc) : _ ->
  2395. 936.39 s [opt-env-conf-test] - packageName (Stack.srcLocPackage srcLoc)
  2396. 936.39 s [opt-env-conf-test] - <> ":"
  2397. 936.39 s [opt-env-conf-test] - <> Stack.srcLocFile srcLoc
  2398. 936.39 s [opt-env-conf-test] - <> ":"
  2399. 936.39 s [opt-env-conf-test] - <> show (Stack.srcLocStartLine srcLoc)
  2400. 936.39 s [opt-env-conf-test] - [] -> "unknown"
  2401. 936.39 s [opt-env-conf-test] + let loc = case getCallStack cs of
  2402. 936.39 s [opt-env-conf-test] + (_, srcLoc) : _ ->
  2403. 936.39 s [opt-env-conf-test] + packageName (Stack.srcLocPackage srcLoc)
  2404. 936.39 s [opt-env-conf-test] + <> ":"
  2405. 936.39 s [opt-env-conf-test] + <> Stack.srcLocFile srcLoc
  2406. 936.39 s [opt-env-conf-test] + <> ":"
  2407. 936.39 s [opt-env-conf-test] + <> show (Stack.srcLocStartLine srcLoc)
  2408. 936.39 s [opt-env-conf-test] + [] -> "unknown"
  2409. 936.39 s [opt-env-conf-test] in T.pack $
  2410. 936.39 s [opt-env-conf-test] unlines $
  2411. 936.39 s [opt-env-conf-test] map
  2412. 936.39 s [opt-env-conf-test]
  2413. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
  2414. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2415. 936.39 s [opt-env-conf-test] where
  2416. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2417. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2418. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2419. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && True
  2420. 936.39 s [opt-env-conf-test]
  2421. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
  2422. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2423. 936.39 s [opt-env-conf-test] where
  2424. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2425. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2426. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2427. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && True
  2428. 936.39 s [opt-env-conf-test]
  2429. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
  2430. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2431. 936.39 s [opt-env-conf-test] where
  2432. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2433. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2434. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2435. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True) v
  2436. 936.39 s [opt-env-conf-test]
  2437. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
  2438. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2439. 936.39 s [opt-env-conf-test] where
  2440. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2441. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2442. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2443. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || True) v
  2444. 936.39 s [opt-env-conf-test]
  2445. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
  2446. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2447. 936.39 s [opt-env-conf-test] where
  2448. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2449. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2450. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2451. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> True || c == '.') v
  2452. 936.39 s [opt-env-conf-test]
  2453. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
  2454. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2455. 936.39 s [opt-env-conf-test] where
  2456. 936.39 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2457. 936.39 s [opt-env-conf-test] go (c : rest) = c : go rest
  2458. 936.39 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2459. 936.39 s [opt-env-conf-test] + isVersion v = not (null v) && True && all (\c -> isDigit c || c == '.') v
  2460. 936.39 s [opt-env-conf-test]
  2461. 936.39 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
  2462. 936.39 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2463. 936.40 s [opt-env-conf-test] where
  2464. 936.40 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2465. 936.40 s [opt-env-conf-test] go (c : rest) = c : go rest
  2466. 936.40 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2467. 936.40 s [opt-env-conf-test] + isVersion v = True && elem '.' v && all (\c -> isDigit c || c == '.') v
  2468. 936.40 s [opt-env-conf-test]
  2469. 936.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
  2470. 936.40 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2471. 936.40 s [opt-env-conf-test] where
  2472. 936.40 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2473. 936.40 s [opt-env-conf-test] go (c : rest) = c : go rest
  2474. 936.40 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2475. 936.40 s [opt-env-conf-test] + isVersion v = not False && elem '.' v && all (\c -> isDigit c || c == '.') v
  2476. 936.40 s [opt-env-conf-test]
  2477. 936.40 s [opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
  2478. 936.40 s [opt-env-conf-test] @@ -177,4 +177,4 @@
  2479. 936.40 s [opt-env-conf-test] where
  2480. 936.40 s [opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
  2481. 936.40 s [opt-env-conf-test] go (c : rest) = c : go rest
  2482. 936.40 s [opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2483. 936.40 s [opt-env-conf-test] + isVersion v = not (False) && elem '.' v && all (\c -> isDigit c || c == '.') v
  2484. 936.40 s [opt-env-conf-test] checkPhase completed in 8 minutes 24 seconds
  2485. 936.40 s [opt-env-conf-test] Phase: haddockPhase
  2486. 936.40 s [opt-env-conf-test] Phase: installPhase
  2487. 936.40 s [opt-env-conf-test] Installing library in /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/opt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT
  2488. 936.55 s [opt-env-conf-test] Phase: fixupPhase
  2489. 936.57 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4
  2490. 936.57 s [opt-env-conf-test] shrinking /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSopt-env-conf-test-0.0.0.4-3sxOV7t65cdF98TgindIPT-ghc9.10.3.so
  2491. 936.60 s [opt-env-conf-test] checking for references to /build/ in /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4...
  2492. 936.61 s [opt-env-conf-test] patching script interpreter paths in /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4
  2493. 936.62 s [opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/svjsjah9pyn9jxx7dbkcrv9g2kmdal3j-opt-env-conf-test-0.0.0.4/lib
  2494. 936.66 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/5ka16a1ac7jhjfq2d03bw3vf6jpq32lx-opt-env-conf-test-0.0.0.4-manifest
  2495. 936.66 s [opt-env-conf-test] checking for references to /build/ in /nix/store/5ka16a1ac7jhjfq2d03bw3vf6jpq32lx-opt-env-conf-test-0.0.0.4-manifest...
  2496. 936.68 s [opt-env-conf-test] patching script interpreter paths in /nix/store/5ka16a1ac7jhjfq2d03bw3vf6jpq32lx-opt-env-conf-test-0.0.0.4-manifest
  2497. 936.68 s [opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/51n9qks2xsqb9ik9nq29rcrnj3p5llin-opt-env-conf-test-0.0.0.4-report
  2498. 936.73 s [opt-env-conf-test] checking for references to /build/ in /nix/store/51n9qks2xsqb9ik9nq29rcrnj3p5llin-opt-env-conf-test-0.0.0.4-report...
  2499. 936.79 s [opt-env-conf-test] patching script interpreter paths in /nix/store/51n9qks2xsqb9ik9nq29rcrnj3p5llin-opt-env-conf-test-0.0.0.4-report
  2500. 936.89 s Progress: 10 of 11 built