build checks.x86_64-linux.e2e-added-rule-is-run

Queued Started Finished

Reproduce this run
  1. 0.00 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://github.com/NorfairKing/hopinion?ref=no-semigroup-on-text&rev=0e52e1defbb4d0ad38b6057697c167b529c1ec13&shallow=1#checks.x86_64-linux.e2e-added-rule-is-run --print-build-logs
  2. 2.67 s
  3. 3.77 s Downloading cached hopinion from https://cache.staging.nix-ci.com
  4. 3.77 s Downloading cached hopinion-gen from https://cache.staging.nix-ci.com
  5. 4.11 s Downloaded cached hopinion-gen (31.8 MiB) in 346ms
  6. 4.11 s Progress: 0 of 11 built, 1 of 2 downloaded from cache (1 downloading)
  7. 4.14 s Downloaded cached hopinion (31.8 MiB) in 375ms
  8. 4.19 s Building /nix/store/z3a0hfdp78njh07pxq2w3gnfsamcar8q-lonely-hopinion.drv
  9. 4.22 s Building /nix/store/axif8jvzj6b1zqw5k2fmmzaw10gv1q7n-thing-gen-hopinion.drv
  10. 4.25 s Building /nix/store/30zfmr5iv4f4rs984yj6h9s3wwch7wpw-thing-hopinion.drv
  11. 4.25 s Progress: 0 of 10 built (3 building), 2 of 2 downloaded from cache
  12. 4.28 s Building /nix/store/zzicif7z6gq0g2qs8ggxpky4ps9v2agm-lonely-hopinion.drv
  13. 4.31 s Building /nix/store/6pab2cx05qsgzz4q7kj0qax8b42dp8h6-thing-gen-hopinion.drv
  14. 4.34 s Building /nix/store/i4ydbfb0j1m4026h0g30rz7b978ikzvd-thing-hopinion.drv
  15. 4.34 s [lonely-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  16. 4.34 s [lonely-hopinion] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  17. 4.34 s [lonely-hopinion] │
  18. 4.34 s [lonely-hopinion] 8 │ instance GenValid Orphan
  19. 4.34 s [lonely-hopinion] • ┬───────────────────────
  20. 4.34 s [lonely-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  21. 4.34 s [lonely-hopinion] •
  22. 4.34 s [lonely-hopinion] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  23. 4.34 s [lonely-hopinion] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  24. 4.34 s [lonely-hopinion] ─────╯
  25. 4.41 s [thing-gen-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/2h7yql21hm48vsjdib7is1vd752x00y6-thing-gen-hopinion
  26. 4.45 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  27. 4.46 s [thing-gen-hopinion:post-build] copying 1 paths...
  28. 4.46 s [thing-gen-hopinion:post-build] copying path '/nix/store/2h7yql21hm48vsjdib7is1vd752x00y6-thing-gen-hopinion' to 'https://cache.staging.nix-ci.com'...
  29. 5.11 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  30. 5.26 s [thing-gen-hopinion:post-build] copying 0 paths...
  31. 5.28 s Uploaded thing-gen-hopinion in 929ms
  32. 5.28 s Progress: 1 of 10 built (5 building), 2 of 2 downloaded from cache
  33. 5.28 s Built thing-gen-hopinion in 1.0s
  34. 5.28 s [thing-hopinion] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  35. 5.28 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@3:1-3:58
  36. 5.28 s [thing-hopinion] │
  37. 5.28 s [thing-hopinion] 3 │ -- TODO a bare marker, which is the module-level finding.
  38. 5.28 s [thing-hopinion] • ┬────────────────────────────────────────────────────────
  39. 5.28 s [thing-hopinion] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  40. 5.28 s [thing-hopinion] •
  41. 5.28 s [thing-hopinion] │ Note: A TODO nothing points at is a note nobody is holding. It reads like a plan, so the next reader assumes it is one, and it goes stale in place because nothing brings it back up. A reference makes it findable from wherever the work is actually tracked; doing it makes the note unnecessary. If it is neither tracked nor worth doing, the honest version is a comment that says what is missing and what would make it worth doing.
  42. 5.28 s [thing-hopinion] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  43. 5.28 s [thing-hopinion] ─────╯
  44. 5.28 s [thing-hopinion]
  45. 5.28 s [thing-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  46. 5.28 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@9:1-9:25
  47. 5.28 s [thing-hopinion] │
  48. 5.28 s [thing-hopinion] 9 │ instance GenValid Widget
  49. 5.28 s [thing-hopinion] • ┬───────────────────────
  50. 5.28 s [thing-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  51. 5.28 s [thing-hopinion] •
  52. 5.39 s [lonely-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/qm6q6hll2f434hf76a812lix4bn15xkd-lonely-hopinion
  53. 5.43 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  54. 5.44 s [lonely-hopinion:post-build] copying 1 paths...
  55. 5.44 s [lonely-hopinion:post-build] copying path '/nix/store/qm6q6hll2f434hf76a812lix4bn15xkd-lonely-hopinion' to 'https://cache.staging.nix-ci.com'...
  56. 5.91 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  57. 6.09 s [lonely-hopinion:post-build] copying 0 paths...
  58. 6.12 s Uploaded lonely-hopinion in 740ms
  59. 6.12 s Progress: 2 of 10 built (4 building), 2 of 2 downloaded from cache
  60. 6.12 s Built lonely-hopinion in 1.9s
  61. 6.12 s [lonely-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  62. 6.12 s [lonely-hopinion] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  63. 6.12 s [lonely-hopinion] │
  64. 6.12 s [lonely-hopinion] 8 │ instance GenValid Orphan
  65. 6.12 s [lonely-hopinion] • ┬───────────────────────
  66. 6.12 s [lonely-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  67. 6.12 s [lonely-hopinion] •
  68. 6.12 s [lonely-hopinion] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  69. 6.12 s [lonely-hopinion] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  70. 6.12 s [lonely-hopinion] ─────╯
  71. 6.13 s [thing-gen-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/xpbrga8bzccrs2iifdwspcjv0acqsvrd-thing-gen-hopinion
  72. 6.18 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  73. 6.19 s [thing-gen-hopinion:post-build] copying 1 paths...
  74. 6.19 s [thing-gen-hopinion:post-build] copying path '/nix/store/xpbrga8bzccrs2iifdwspcjv0acqsvrd-thing-gen-hopinion' to 'https://cache.staging.nix-ci.com'...
  75. 6.71 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  76. 6.83 s [thing-gen-hopinion:post-build] copying 0 paths...
  77. 6.86 s Uploaded thing-gen-hopinion in 734ms
  78. 6.86 s Progress: 3 of 11 built (3 building), 2 of 2 downloaded from cache
  79. 6.86 s Built thing-gen-hopinion in 2.5s
  80. 6.86 s [thing-hopinion] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  81. 6.86 s [thing-hopinion] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  82. 6.86 s [thing-hopinion] ─────╯
  83. 6.86 s [thing-hopinion]
  84. 6.86 s [thing-hopinion] [error ExampleNoShouting]: A comment in capitals.
  85. 6.86 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@16:1-16:42
  86. 6.86 s [thing-hopinion] │
  87. 6.86 s [thing-hopinion] 16 │ -- SHOUTING, WHICH NO SHIPPED RULE MINDS.
  88. 6.86 s [thing-hopinion] • ┬────────────────────────────────────────
  89. 6.86 s [thing-hopinion] • ╰╸ A comment in this repository is not written in capitals.
  90. 6.86 s [thing-hopinion] •
  91. 6.86 s [thing-hopinion] │ Note: There is no standard about this and there does not need to be. It is here to be a rule that hopinion does not ship, so that a repository adding one of its own can be watched doing it.
  92. 6.86 s [thing-hopinion] │ Hint: To suppress, write this directly above line 17 of thing/src/Thing.hs, and say why: -- [allow:ExampleNoShouting] <reason>
  93. 6.86 s [thing-hopinion] ─────╯
  94. 6.86 s [thing-hopinion] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  95. 6.86 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@3:1-3:58
  96. 6.86 s [thing-hopinion] │
  97. 6.86 s [thing-hopinion] 3 │ -- TODO a bare marker, which is the module-level finding.
  98. 6.86 s [thing-hopinion] • ┬────────────────────────────────────────────────────────
  99. 6.86 s [thing-hopinion] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  100. 6.86 s [thing-hopinion] •
  101. 6.86 s [thing-hopinion] │ Note: A TODO nothing points at is a note nobody is holding. It reads like a plan, so the next reader assumes it is one, and it goes stale in place because nothing brings it back up. A reference makes it findable from wherever the work is actually tracked; doing it makes the note unnecessary. If it is neither tracked nor worth doing, the honest version is a comment that says what is missing and what would make it worth doing.
  102. 6.86 s [thing-hopinion] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  103. 6.86 s [thing-hopinion] ─────╯
  104. 6.86 s [thing-hopinion]
  105. 6.86 s [thing-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  106. 6.86 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@9:1-9:25
  107. 6.86 s [thing-hopinion] │
  108. 6.86 s [thing-hopinion] 9 │ instance GenValid Widget
  109. 6.86 s [thing-hopinion] • ┬───────────────────────
  110. 6.86 s [thing-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  111. 6.86 s [thing-hopinion] •
  112. 6.99 s [lonely-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/1i4lq83j242rb2fxhnl25s371y9dac7q-lonely-hopinion
  113. 7.04 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  114. 7.05 s [lonely-hopinion:post-build] copying 1 paths...
  115. 7.05 s [lonely-hopinion:post-build] copying path '/nix/store/1i4lq83j242rb2fxhnl25s371y9dac7q-lonely-hopinion' to 'https://cache.staging.nix-ci.com'...
  116. 7.52 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  117. 7.69 s [lonely-hopinion:post-build] copying 0 paths...
  118. 7.73 s Uploaded lonely-hopinion in 743ms
  119. 7.73 s Progress: 4 of 10 built (2 building), 2 of 2 downloaded from cache
  120. 7.73 s Built lonely-hopinion in 3.4s
  121. 7.76 s [thing-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/p1wvbs50vlkb261zwkda2l9hhr6g80nj-thing-hopinion
  122. 7.80 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  123. 7.81 s [thing-hopinion:post-build] copying 1 paths...
  124. 7.81 s [thing-hopinion:post-build] copying path '/nix/store/p1wvbs50vlkb261zwkda2l9hhr6g80nj-thing-hopinion' to 'https://cache.staging.nix-ci.com'...
  125. 8.32 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  126. 8.46 s [thing-hopinion:post-build] copying 0 paths...
  127. 8.48 s Uploaded thing-hopinion in 730ms
  128. 8.48 s Progress: 5 of 11 built (1 building), 2 of 2 downloaded from cache
  129. 8.48 s Built thing-hopinion in 4.2s
  130. 8.48 s [thing-hopinion] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  131. 8.48 s [thing-hopinion] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  132. 8.48 s [thing-hopinion] ─────╯
  133. 8.52 s Building /nix/store/7h9rm5dxwah6gp74ghk4alcm0jznj7ik-hopinion-project.drv
  134. 8.54 s [thing-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/hr0fnhwhbps6w2pswsa6skngzipz9hnk-thing-hopinion
  135. 8.58 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  136. 8.59 s [thing-hopinion:post-build] copying 1 paths...
  137. 8.59 s [thing-hopinion:post-build] copying path '/nix/store/hr0fnhwhbps6w2pswsa6skngzipz9hnk-thing-hopinion' to 'https://cache.staging.nix-ci.com'...
  138. 9.13 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  139. 9.29 s [thing-hopinion:post-build] copying 0 paths...
  140. 9.31 s Uploaded thing-hopinion in 782ms
  141. 9.31 s Progress: 6 of 10 built (1 building), 2 of 2 downloaded from cache
  142. 9.31 s Built thing-hopinion in 4.9s
  143. 9.34 s Building /nix/store/waiz3kjajwsjfkgj70qppbga0939l9qr-hopinion-project.drv
  144. 9.34 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  145. 9.34 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  146. 9.34 s [hopinion-project] │
  147. 9.34 s [hopinion-project] 8 │ instance GenValid Orphan
  148. 9.34 s [hopinion-project] • ┬───────────────────────
  149. 9.34 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  150. 9.34 s [hopinion-project] •
  151. 9.34 s [hopinion-project] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  152. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  153. 9.34 s [hopinion-project] ─────╯
  154. 9.34 s [hopinion-project]
  155. 9.34 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Orphan anywhere, and there is no lonely-gen for it to be written in.
  156. 9.34 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  157. 9.34 s [hopinion-project] │
  158. 9.34 s [hopinion-project] 8 │ instance GenValid Orphan
  159. 9.34 s [hopinion-project] • ┬───────────────────────
  160. 9.34 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  161. 9.34 s [hopinion-project] •
  162. 9.34 s [hopinion-project] │ Note: A generator nothing runs is a generator nobody has checked. genValid can produce values the type's own Validity instance rejects, and shrinkValid can shrink to them, and every property built on it inherits that quietly: the failures it reports are about values the code was never meant to see. genValidSpec asserts exactly the two things the instance promises, and it is one line. The spec belongs to the package that declares the instance, because a spec written next door disappears the day that other package stops mentioning the type.
  163. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  164. 9.34 s [hopinion-project] ─────╯
  165. 9.34 s [hopinion-project]
  166. 9.34 s [hopinion-project] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  167. 9.34 s [hopinion-project] ╭──▶ thing/src/Thing.hs@3:1-3:58
  168. 9.34 s [hopinion-project] │
  169. 9.34 s [hopinion-project] 3 │ -- TODO a bare marker, which is the module-level finding.
  170. 9.34 s [hopinion-project] • ┬────────────────────────────────────────────────────────
  171. 9.34 s [hopinion-project] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  172. 9.34 s [hopinion-project] •
  173. 9.34 s [hopinion-project] │ Note: A TODO nothing points at is a note nobody is holding. It reads like a plan, so the next reader assumes it is one, and it goes stale in place because nothing brings it back up. A reference makes it findable from wherever the work is actually tracked; doing it makes the note unnecessary. If it is neither tracked nor worth doing, the honest version is a comment that says what is missing and what would make it worth doing.
  174. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  175. 9.34 s [hopinion-project] ─────╯
  176. 9.34 s [hopinion-project]
  177. 9.34 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  178. 9.34 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  179. 9.34 s [hopinion-project] │
  180. 9.34 s [hopinion-project] 9 │ instance GenValid Widget
  181. 9.34 s [hopinion-project] • ┬───────────────────────
  182. 9.34 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  183. 9.34 s [hopinion-project] •
  184. 9.34 s [hopinion-project] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  185. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  186. 9.34 s [hopinion-project] ─────╯
  187. 9.34 s [hopinion-project]
  188. 9.34 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Widget anywhere in thing-gen's test suite.
  189. 9.34 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  190. 9.34 s [hopinion-project] │
  191. 9.34 s [hopinion-project] 9 │ instance GenValid Widget
  192. 9.34 s [hopinion-project] • ┬───────────────────────
  193. 9.34 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  194. 9.34 s [hopinion-project] •
  195. 9.34 s [hopinion-project] │ Note: A generator nothing runs is a generator nobody has checked. genValid can produce values the type's own Validity instance rejects, and shrinkValid can shrink to them, and every property built on it inherits that quietly: the failures it reports are about values the code was never meant to see. genValidSpec asserts exactly the two things the instance promises, and it is one line. The spec belongs to the package that declares the instance, because a spec written next door disappears the day that other package stops mentioning the type.
  196. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  197. 9.34 s [hopinion-project] ─────╯
  198. 9.34 s [hopinion-project]
  199. 9.34 s [hopinion-project] [error ExampleNoShouting]: A comment in capitals.
  200. 9.34 s [hopinion-project] ╭──▶ thing/src/Thing.hs@16:1-16:42
  201. 9.34 s [hopinion-project] │
  202. 9.34 s [hopinion-project] 16 │ -- SHOUTING, WHICH NO SHIPPED RULE MINDS.
  203. 9.34 s [hopinion-project] • ┬────────────────────────────────────────
  204. 9.34 s [hopinion-project] • ╰╸ A comment in this repository is not written in capitals.
  205. 9.34 s [hopinion-project] •
  206. 9.34 s [hopinion-project] │ Note: There is no standard about this and there does not need to be. It is here to be a rule that hopinion does not ship, so that a repository adding one of its own can be watched doing it.
  207. 9.34 s [hopinion-project] │ Hint: To suppress, write this directly above line 17 of thing/src/Thing.hs, and say why: -- [allow:ExampleNoShouting] <reason>
  208. 9.34 s [hopinion-project] ─────╯
  209. 9.47 s [hopinion-project:post-build] Uploading to the NixCI staging cache: /nix/store/4ypxcx0f7rfdv1gfbb52ankwkx7s285i-hopinion-project
  210. 9.52 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  211. 9.53 s [hopinion-project:post-build] copying 1 paths...
  212. 9.53 s [hopinion-project:post-build] copying path '/nix/store/4ypxcx0f7rfdv1gfbb52ankwkx7s285i-hopinion-project' to 'https://cache.staging.nix-ci.com'...
  213. 10.38 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  214. 10.53 s [hopinion-project:post-build] copying 0 paths...
  215. 10.55 s Uploaded hopinion-project in 1.0s
  216. 10.55 s Progress: 7 of 10 built (1 building), 2 of 2 downloaded from cache
  217. 10.55 s Built hopinion-project in 2.0s
  218. 10.55 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  219. 10.55 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  220. 10.55 s [hopinion-project] │
  221. 10.55 s [hopinion-project] 8 │ instance GenValid Orphan
  222. 10.55 s [hopinion-project] • ┬───────────────────────
  223. 10.55 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  224. 10.55 s [hopinion-project] •
  225. 10.55 s [hopinion-project] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  226. 10.55 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  227. 10.55 s [hopinion-project] ─────╯
  228. 10.55 s [hopinion-project]
  229. 10.55 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Orphan anywhere, and there is no lonely-gen for it to be written in.
  230. 10.55 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  231. 10.55 s [hopinion-project] │
  232. 10.55 s [hopinion-project] 8 │ instance GenValid Orphan
  233. 10.55 s [hopinion-project] • ┬───────────────────────
  234. 10.55 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  235. 10.55 s [hopinion-project] •
  236. 10.55 s [hopinion-project] │ Note: A generator nothing runs is a generator nobody has checked. genValid can produce values the type's own Validity instance rejects, and shrinkValid can shrink to them, and every property built on it inherits that quietly: the failures it reports are about values the code was never meant to see. genValidSpec asserts exactly the two things the instance promises, and it is one line. The spec belongs to the package that declares the instance, because a spec written next door disappears the day that other package stops mentioning the type.
  237. 10.55 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  238. 10.55 s [hopinion-project] ─────╯
  239. 10.55 s [hopinion-project]
  240. 10.55 s [hopinion-project] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  241. 10.55 s [hopinion-project] ╭──▶ thing/src/Thing.hs@3:1-3:58
  242. 10.55 s [hopinion-project] │
  243. 10.55 s [hopinion-project] 3 │ -- TODO a bare marker, which is the module-level finding.
  244. 10.55 s [hopinion-project] • ┬────────────────────────────────────────────────────────
  245. 10.55 s [hopinion-project] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  246. 10.55 s [hopinion-project] •
  247. 10.55 s [hopinion-project] │ Note: A TODO nothing points at is a note nobody is holding. It reads like a plan, so the next reader assumes it is one, and it goes stale in place because nothing brings it back up. A reference makes it findable from wherever the work is actually tracked; doing it makes the note unnecessary. If it is neither tracked nor worth doing, the honest version is a comment that says what is missing and what would make it worth doing.
  248. 10.55 s [hopinion-project] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  249. 10.55 s [hopinion-project] ─────╯
  250. 10.55 s [hopinion-project]
  251. 10.55 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  252. 10.55 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  253. 10.55 s [hopinion-project] │
  254. 10.55 s [hopinion-project] 9 │ instance GenValid Widget
  255. 10.55 s [hopinion-project] • ┬───────────────────────
  256. 10.55 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  257. 10.55 s [hopinion-project] •
  258. 10.55 s [hopinion-project] │ Note: A generator is test code, and an instance in the library is linked into everything that depends on the library, so the shipped executable carries QuickCheck and the generators with it. The -gen package exists so that dependency stops at the test suite, which is also what keeps a generator free to be as slow or as elaborate as the property needs.
  259. 10.55 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  260. 10.55 s [hopinion-project] ─────╯
  261. 10.55 s [hopinion-project]
  262. 10.55 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Widget anywhere in thing-gen's test suite.
  263. 10.55 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  264. 10.55 s [hopinion-project] │
  265. 10.55 s [hopinion-project] 9 │ instance GenValid Widget
  266. 10.55 s [hopinion-project] • ┬───────────────────────
  267. 10.55 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  268. 10.55 s [hopinion-project] •
  269. 10.55 s [hopinion-project] │ Note: A generator nothing runs is a generator nobody has checked. genValid can produce values the type's own Validity instance rejects, and shrinkValid can shrink to them, and every property built on it inherits that quietly: the failures it reports are about values the code was never meant to see. genValidSpec asserts exactly the two things the instance promises, and it is one line. The spec belongs to the package that declares the instance, because a spec written next door disappears the day that other package stops mentioning the type.
  270. 10.55 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  271. 10.55 s [hopinion-project] ─────╯
  272. 10.69 s [hopinion-project:post-build] Uploading to the NixCI staging cache: /nix/store/xzr8bv5i0c186fj4l9mw56k7hamj8mj9-hopinion-project
  273. 10.74 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  274. 10.74 s [hopinion-project:post-build] copying 1 paths...
  275. 10.74 s [hopinion-project:post-build] copying path '/nix/store/xzr8bv5i0c186fj4l9mw56k7hamj8mj9-hopinion-project' to 'https://cache.staging.nix-ci.com'...
  276. 11.16 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  277. 11.33 s [hopinion-project:post-build] copying 0 paths...
  278. 11.36 s Uploaded hopinion-project in 681ms
  279. 11.36 s Progress: 8 of 10 built, 2 of 2 downloaded from cache
  280. 11.36 s Built hopinion-project in 2.0s
  281. 11.38 s Building /nix/store/0qa0l1i73y5sp9idmx4hq1zc339v660h-e2e-added-rule-is-run.drv
  282. 11.44 s [e2e-added-rule-is-run:post-build] Uploading to the NixCI staging cache: /nix/store/zczs0p1dx60xnbwh040mi9rk3nb55qc8-e2e-added-rule-is-run
  283. 11.49 s [e2e-added-rule-is-run:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  284. 11.50 s [e2e-added-rule-is-run:post-build] copying 1 paths...
  285. 11.50 s [e2e-added-rule-is-run:post-build] copying path '/nix/store/zczs0p1dx60xnbwh040mi9rk3nb55qc8-e2e-added-rule-is-run' to 'https://cache.staging.nix-ci.com'...
  286. 12.03 s [e2e-added-rule-is-run:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  287. 12.17 s [e2e-added-rule-is-run:post-build] copying 0 paths...
  288. 12.19 s Uploaded e2e-added-rule-is-run in 758ms
  289. 12.19 s Progress: 9 of 10 built, 2 of 2 downloaded from cache
  290. 12.19 s Built e2e-added-rule-is-run in 807ms
  291. 12.19 s Progress: 10 of 10 built, 2 of 2 downloaded from cache
  292. 12.19 s /nix/store/zczs0p1dx60xnbwh040mi9rk3nb55qc8-e2e-added-rule-is-run
  293. 12.24 s Build succeeded.