build checks.x86_64-linux.e2e-dirty-report-is-readable

Queued Started Finished

Reproduce this run
  1. 0.01 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-dirty-report-is-readable --print-build-logs
  2. 1.77 s
  3. 2.37 s Downloading cached lonely-hopinion from https://cache.staging.nix-ci.com
  4. 2.37 s Downloading cached thing-gen-hopinion from https://cache.staging.nix-ci.com
  5. 2.37 s Downloading cached hopinion from https://cache.staging.nix-ci.com
  6. 2.43 s Downloaded cached lonely-hopinion (53 KiB) in 61ms
  7. 2.43 s Progress: 0 of 6 built, 1 of 3 downloaded from cache (2 downloading)
  8. 2.43 s Downloaded cached thing-gen-hopinion (52 KiB) in 61ms
  9. 2.43 s Progress: 0 of 5 built, 2 of 3 downloaded from cache (1 downloading)
  10. 2.62 s Downloaded cached hopinion (31.8 MiB) in 244ms
  11. 2.62 s Progress: 0 of 4 built, 3 of 3 downloaded from cache
  12. 2.70 s Building /nix/store/i4ydbfb0j1m4026h0g30rz7b978ikzvd-thing-hopinion.drv
  13. 2.78 s [thing-hopinion] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  14. 2.78 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@3:1-3:58
  15. 2.78 s [thing-hopinion] │
  16. 2.78 s [thing-hopinion] 3 │ -- TODO a bare marker, which is the module-level finding.
  17. 2.78 s [thing-hopinion] • ┬────────────────────────────────────────────────────────
  18. 2.78 s [thing-hopinion] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  19. 2.78 s [thing-hopinion] •
  20. 2.78 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.
  21. 2.78 s [thing-hopinion] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  22. 2.78 s [thing-hopinion] ─────╯
  23. 2.78 s [thing-hopinion]
  24. 2.78 s [thing-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  25. 2.78 s [thing-hopinion] ╭──▶ thing/src/Thing.hs@9:1-9:25
  26. 2.78 s [thing-hopinion] │
  27. 2.78 s [thing-hopinion] 9 │ instance GenValid Widget
  28. 2.78 s [thing-hopinion] • ┬───────────────────────
  29. 2.78 s [thing-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  30. 2.78 s [thing-hopinion] •
  31. 2.78 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.
  32. 2.78 s [thing-hopinion] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  33. 2.78 s [thing-hopinion] ─────╯
  34. 2.90 s [thing-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/hr0fnhwhbps6w2pswsa6skngzipz9hnk-thing-hopinion
  35. 2.95 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  36. 2.95 s [thing-hopinion:post-build] copying 1 paths...
  37. 2.95 s [thing-hopinion:post-build] copying path '/nix/store/hr0fnhwhbps6w2pswsa6skngzipz9hnk-thing-hopinion' to 'https://cache.staging.nix-ci.com'...
  38. 3.96 s [thing-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  39. 4.10 s [thing-hopinion:post-build] copying 0 paths...
  40. 4.13 s Uploaded thing-hopinion in 1.2s
  41. 4.13 s Progress: 1 of 4 built, 3 of 3 downloaded from cache
  42. 4.13 s Built thing-hopinion in 1.4s
  43. 4.16 s Building /nix/store/waiz3kjajwsjfkgj70qppbga0939l9qr-hopinion-project.drv
  44. 4.26 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  45. 4.26 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  46. 4.26 s [hopinion-project] │
  47. 4.26 s [hopinion-project] 8 │ instance GenValid Orphan
  48. 4.26 s [hopinion-project] • ┬───────────────────────
  49. 4.26 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  50. 4.26 s [hopinion-project] •
  51. 4.26 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.
  52. 4.26 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  53. 4.26 s [hopinion-project] ─────╯
  54. 4.26 s [hopinion-project]
  55. 4.26 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Orphan anywhere, and there is no lonely-gen for it to be written in.
  56. 4.26 s [hopinion-project] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  57. 4.26 s [hopinion-project] │
  58. 4.30 s [hopinion-project] 8 │ instance GenValid Orphan
  59. 4.30 s [hopinion-project] • ┬───────────────────────
  60. 4.30 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  61. 4.30 s [hopinion-project] •
  62. 4.30 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.
  63. 4.30 s [hopinion-project] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  64. 4.30 s [hopinion-project] ─────╯
  65. 4.30 s [hopinion-project]
  66. 4.30 s [hopinion-project] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  67. 4.30 s [hopinion-project] ╭──▶ thing/src/Thing.hs@3:1-3:58
  68. 4.30 s [hopinion-project] │
  69. 4.30 s [hopinion-project] 3 │ -- TODO a bare marker, which is the module-level finding.
  70. 4.33 s [hopinion-project] • ┬────────────────────────────────────────────────────────
  71. 4.33 s [hopinion-project] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  72. 4.33 s [hopinion-project] •
  73. 4.33 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.
  74. 4.33 s [hopinion-project] │ Hint: To suppress, write this directly above line 4 of thing/src/Thing.hs, and say why: -- [allow:CommentBareTodo] <reason>
  75. 4.33 s [hopinion-project] ─────╯
  76. 4.33 s [hopinion-project]
  77. 4.33 s [hopinion-project] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  78. 4.33 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  79. 4.33 s [hopinion-project] │
  80. 4.33 s [hopinion-project] 9 │ instance GenValid Widget
  81. 4.33 s [hopinion-project] • ┬───────────────────────
  82. 4.33 s [hopinion-project] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  83. 4.33 s [hopinion-project] •
  84. 4.33 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.
  85. 4.33 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  86. 4.33 s [hopinion-project] ─────╯
  87. 4.33 s [hopinion-project]
  88. 4.33 s [hopinion-project] [error TestGenValidSpecPerGenValid]: No genValidSpec @Widget anywhere in thing-gen's test suite.
  89. 4.33 s [hopinion-project] ╭──▶ thing/src/Thing.hs@9:1-9:25
  90. 4.33 s [hopinion-project] │
  91. 4.33 s [hopinion-project] 9 │ instance GenValid Widget
  92. 4.33 s [hopinion-project] • ┬───────────────────────
  93. 4.33 s [hopinion-project] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  94. 4.33 s [hopinion-project] •
  95. 4.33 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.
  96. 4.33 s [hopinion-project] │ Hint: To suppress, write this directly above line 9 of thing/src/Thing.hs, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  97. 4.33 s [hopinion-project] ─────╯
  98. 4.58 s [hopinion-project:post-build] Uploading to the NixCI staging cache: /nix/store/xzr8bv5i0c186fj4l9mw56k7hamj8mj9-hopinion-project
  99. 4.62 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  100. 4.63 s [hopinion-project:post-build] copying 1 paths...
  101. 4.63 s [hopinion-project:post-build] copying path '/nix/store/xzr8bv5i0c186fj4l9mw56k7hamj8mj9-hopinion-project' to 'https://cache.staging.nix-ci.com'...
  102. 5.60 s [hopinion-project:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  103. 5.76 s [hopinion-project:post-build] copying 0 paths...
  104. 5.79 s Uploaded hopinion-project in 1.2s
  105. 5.79 s Progress: 2 of 4 built, 3 of 3 downloaded from cache
  106. 5.79 s Built hopinion-project in 1.6s
  107. 5.82 s Building /nix/store/8fwfq47hpz0d0q4xdpmnzcbhib83jrvp-e2e-dirty-report-is-readable.drv
  108. 5.87 s [e2e-dirty-report-is-readable:post-build] Uploading to the NixCI staging cache: /nix/store/jjfdw5wsqxg51a8afvk0rbvvd6snjic5-e2e-dirty-report-is-readable
  109. 5.92 s [e2e-dirty-report-is-readable:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  110. 5.93 s [e2e-dirty-report-is-readable:post-build] copying 1 paths...
  111. 5.93 s [e2e-dirty-report-is-readable:post-build] copying path '/nix/store/jjfdw5wsqxg51a8afvk0rbvvd6snjic5-e2e-dirty-report-is-readable' to 'https://cache.staging.nix-ci.com'...
  112. 6.40 s [e2e-dirty-report-is-readable:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  113. 6.53 s [e2e-dirty-report-is-readable:post-build] copying 0 paths...
  114. 6.55 s Uploaded e2e-dirty-report-is-readable in 692ms
  115. 6.55 s Progress: 3 of 4 built, 3 of 3 downloaded from cache
  116. 6.56 s Built e2e-dirty-report-is-readable in 746ms
  117. 6.56 s Progress: 4 of 4 built, 3 of 3 downloaded from cache
  118. 6.56 s /nix/store/jjfdw5wsqxg51a8afvk0rbvvd6snjic5-e2e-dirty-report-is-readable
  119. 6.60 s Build succeeded.