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=test-file-rules&rev=a162927286e1af0c8161a932f4de3cf90e5e9995&shallow=1#checks.x86_64-linux.e2e-wrong-source-mapping-is-a-complaint --print-build-logs
  2. 1.66 s
  3. 2.57 s Building /nix/store/nmb2qadzj2bxwjqmaq7k7ww39aprlin4-lonely-hopinion.drv
  4. 2.58 s Building /nix/store/yyiszb1i01gwkxxxks8k9h14igx4vzy7-thing-gen-hopinion.drv
  5. 2.66 s [lonely-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  6. 2.66 s [lonely-hopinion] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  7. 2.66 s [lonely-hopinion] │
  8. 2.66 s [lonely-hopinion] 8 │ instance GenValid Orphan
  9. 2.66 s [lonely-hopinion] • ┬───────────────────────
  10. 2.66 s [lonely-hopinion] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  11. 2.66 s [lonely-hopinion] •
  12. 2.66 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.
  13. 2.66 s [lonely-hopinion] │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  14. 2.66 s [lonely-hopinion] ─────╯
  15. 2.72 s [thing-gen-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/ah3777gn13nznxcxbadpfizjc5dmxgga-thing-gen-hopinion
  16. 2.76 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  17. 2.77 s [thing-gen-hopinion:post-build] copying 1 paths...
  18. 2.77 s [thing-gen-hopinion:post-build] copying path '/nix/store/ah3777gn13nznxcxbadpfizjc5dmxgga-thing-gen-hopinion' to 'https://cache.staging.nix-ci.com'...
  19. 2.89 s [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  20. 3.01 s [thing-gen-hopinion:post-build] copying 0 paths...
  21. 3.04 s Uploaded thing-gen-hopinion in 333ms
  22. 3.04 s Progress: 1 of 5 built (1 building)
  23. 3.05 s Built thing-gen-hopinion in 466ms
  24. 3.06 s [lonely-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/gc99sfmnb1ri0zdxshicvf0nvi5pfcb6-lonely-hopinion
  25. 3.11 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  26. 3.12 s [lonely-hopinion:post-build] copying 1 paths...
  27. 3.12 s [lonely-hopinion:post-build] copying path '/nix/store/gc99sfmnb1ri0zdxshicvf0nvi5pfcb6-lonely-hopinion' to 'https://cache.staging.nix-ci.com'...
  28. 3.25 s [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  29. 3.38 s [lonely-hopinion:post-build] copying 0 paths...
  30. 3.40 s Uploaded lonely-hopinion in 346ms
  31. 3.40 s Progress: 2 of 5 built
  32. 3.40 s Built lonely-hopinion in 832ms
  33. 3.43 s Building /nix/store/i30p7ykq081r1hfsy5lvn72r87101ags-e2e-wrong-source-report.drv
  34. 3.51 s [e2e-wrong-source-report] [error HOPINION_FAILED]: No source root accounts for lonely/src/Lonely.hs, so it cannot be shown against its code. Pass --source PREFIX=DIR for the package it is in.
  35. 3.51 s [e2e-wrong-source-report]
  36. 3.51 s [e2e-wrong-source-report] [error HOPINION_FAILED]: No source root accounts for thing/src/Thing.hs, so it cannot be shown against its code. Pass --source PREFIX=DIR for the package it is in.
  37. 3.51 s [e2e-wrong-source-report]
  38. 3.51 s [e2e-wrong-source-report] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  39. 3.51 s [e2e-wrong-source-report] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  40. 3.51 s [e2e-wrong-source-report] │
  41. 3.51 s [e2e-wrong-source-report] 8 │ <no line>
  42. 3.51 s [e2e-wrong-source-report] • ┬
  43. 3.51 s [e2e-wrong-source-report] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  44. 3.51 s [e2e-wrong-source-report] •
  45. 3.51 s [e2e-wrong-source-report] │ 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.
  46. 3.51 s [e2e-wrong-source-report] │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  47. 3.51 s [e2e-wrong-source-report] ─────╯
  48. 3.51 s [e2e-wrong-source-report]
  49. 3.51 s [e2e-wrong-source-report] [error TestGenValidSpecPerGenValid]: No genValidSpec @Orphan anywhere, and there is no lonely-gen for it to be written in.
  50. 3.51 s [e2e-wrong-source-report] ╭──▶ lonely/src/Lonely.hs@8:1-8:25
  51. 3.51 s [e2e-wrong-source-report] │
  52. 3.51 s [e2e-wrong-source-report] 8 │ <no line>
  53. 3.51 s [e2e-wrong-source-report] • ┬
  54. 3.51 s [e2e-wrong-source-report] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  55. 3.51 s [e2e-wrong-source-report] •
  56. 3.51 s [e2e-wrong-source-report] │ 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.
  57. 3.51 s [e2e-wrong-source-report] │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  58. 3.51 s [e2e-wrong-source-report] ─────╯
  59. 3.51 s [e2e-wrong-source-report]
  60. 3.51 s [e2e-wrong-source-report] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it.
  61. 3.56 s [e2e-wrong-source-report] ╭──▶ thing/src/Thing.hs@3:1-3:58
  62. 3.56 s [e2e-wrong-source-report] │
  63. 3.56 s [e2e-wrong-source-report] 3 │ <no line>
  64. 3.56 s [e2e-wrong-source-report] • ┬
  65. 3.56 s [e2e-wrong-source-report] • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked.
  66. 3.56 s [e2e-wrong-source-report] •
  67. 3.56 s [e2e-wrong-source-report] │ 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.
  68. 3.56 s [e2e-wrong-source-report] │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:CommentBareTodo] <reason>
  69. 3.56 s [e2e-wrong-source-report] ─────╯
  70. 3.56 s [e2e-wrong-source-report]
  71. 3.56 s [e2e-wrong-source-report] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package.
  72. 3.56 s [e2e-wrong-source-report] ╭──▶ thing/src/Thing.hs@9:1-9:25
  73. 3.56 s [e2e-wrong-source-report] │
  74. 3.56 s [e2e-wrong-source-report] 9 │ <no line>
  75. 3.56 s [e2e-wrong-source-report] • ┬
  76. 3.56 s [e2e-wrong-source-report] • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package.
  77. 3.56 s [e2e-wrong-source-report] •
  78. 3.56 s [e2e-wrong-source-report] │ 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.
  79. 3.56 s [e2e-wrong-source-report] │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:HsGenValidInGenPackage] <reason>
  80. 3.56 s [e2e-wrong-source-report] ─────╯
  81. 3.56 s [e2e-wrong-source-report]
  82. 3.56 s [e2e-wrong-source-report] [error TestGenValidSpecPerGenValid]: No genValidSpec @Widget anywhere in thing-gen's test suite.
  83. 3.56 s [e2e-wrong-source-report] ╭──▶ thing/src/Thing.hs@9:1-9:25
  84. 3.56 s [e2e-wrong-source-report] │
  85. 3.56 s [e2e-wrong-source-report] 9 │ <no line>
  86. 3.56 s [e2e-wrong-source-report] • ┬
  87. 3.56 s [e2e-wrong-source-report] • ╰╸ A GenValid instance creates an obligation: genValidSpec @T must be called in the test suite of that package's gen package.
  88. 3.56 s [e2e-wrong-source-report] •
  89. 3.56 s [e2e-wrong-source-report] │ 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.
  90. 3.56 s [e2e-wrong-source-report] │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:TestGenValidSpecPerGenValid] <reason>
  91. 3.56 s [e2e-wrong-source-report] ─────╯
  92. 3.85 s [e2e-wrong-source-report:post-build] Uploading to the NixCI staging cache: /nix/store/iqfsv0chwavd5am5y9a6pn4anf9kg4ky-e2e-wrong-source-report
  93. 3.90 s [e2e-wrong-source-report:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  94. 3.90 s [e2e-wrong-source-report:post-build] copying 1 paths...
  95. 3.90 s [e2e-wrong-source-report:post-build] copying path '/nix/store/iqfsv0chwavd5am5y9a6pn4anf9kg4ky-e2e-wrong-source-report' to 'https://cache.staging.nix-ci.com'...
  96. 4.03 s [e2e-wrong-source-report:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  97. 4.17 s [e2e-wrong-source-report:post-build] copying 0 paths...
  98. 4.20 s Uploaded e2e-wrong-source-report in 359ms
  99. 4.20 s Progress: 3 of 5 built
  100. 4.20 s Built e2e-wrong-source-report in 767ms
  101. 4.22 s Building /nix/store/0hf3agg05zns7alnm9iyjrchc7jra5xk-e2e-wrong-source-mapping-is-a-complaint.drv
  102. 4.27 s [e2e-wrong-source-mapping-is-a-complaint:post-build] Uploading to the NixCI staging cache: /nix/store/jxxg6i79p6xcmx6l995cdkfz7wbngydd-e2e-wrong-source-mapping-is-a-complaint
  103. 4.32 s [e2e-wrong-source-mapping-is-a-complaint:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  104. 4.33 s [e2e-wrong-source-mapping-is-a-complaint:post-build] copying 1 paths...
  105. 4.33 s [e2e-wrong-source-mapping-is-a-complaint:post-build] copying path '/nix/store/jxxg6i79p6xcmx6l995cdkfz7wbngydd-e2e-wrong-source-mapping-is-a-complaint' to 'https://cache.staging.nix-ci.com'...
  106. 4.46 s [e2e-wrong-source-mapping-is-a-complaint:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  107. 4.60 s [e2e-wrong-source-mapping-is-a-complaint:post-build] copying 0 paths...
  108. 4.63 s Uploaded e2e-wrong-source-mapping-is-a-complaint in 363ms
  109. 4.63 s Progress: 4 of 5 built
  110. 4.63 s Built e2e-wrong-source-mapping-is-a-complaint in 403ms
  111. 4.63 s Progress: 5 of 5 built
  112. 4.63 s /nix/store/jxxg6i79p6xcmx6l995cdkfz7wbngydd-e2e-wrong-source-mapping-is-a-complaint
  113. 4.68 s Build succeeded.