$ /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  Building /nix/store/nmb2qadzj2bxwjqmaq7k7ww39aprlin4-lonely-hopinion.drv Building /nix/store/yyiszb1i01gwkxxxks8k9h14igx4vzy7-thing-gen-hopinion.drv [lonely-hopinion] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package. [lonely-hopinion]  ╭──▶ lonely/src/Lonely.hs@8:1-8:25 [lonely-hopinion]  │ [lonely-hopinion]  8 │ instance GenValid Orphan [lonely-hopinion]  • ┬─────────────────────── [lonely-hopinion]  • ╰╸ A GenValid instance in a package's own library gets compiled into the executable. Move it to the matching -gen package. [lonely-hopinion]  • [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. [lonely-hopinion]  │ Hint: To suppress, write this directly above line 8 of lonely/src/Lonely.hs, and say why: -- [allow:HsGenValidInGenPackage]  [lonely-hopinion] ─────╯ [thing-gen-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/ah3777gn13nznxcxbadpfizjc5dmxgga-thing-gen-hopinion [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [thing-gen-hopinion:post-build] copying 1 paths... [thing-gen-hopinion:post-build] copying path '/nix/store/ah3777gn13nznxcxbadpfizjc5dmxgga-thing-gen-hopinion' to 'https://cache.staging.nix-ci.com'... [thing-gen-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [thing-gen-hopinion:post-build] copying 0 paths... Uploaded thing-gen-hopinion in 333ms Progress: 1 of 5 built (1 building) Built thing-gen-hopinion in 466ms [lonely-hopinion:post-build] Uploading to the NixCI staging cache: /nix/store/gc99sfmnb1ri0zdxshicvf0nvi5pfcb6-lonely-hopinion [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [lonely-hopinion:post-build] copying 1 paths... [lonely-hopinion:post-build] copying path '/nix/store/gc99sfmnb1ri0zdxshicvf0nvi5pfcb6-lonely-hopinion' to 'https://cache.staging.nix-ci.com'... [lonely-hopinion:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [lonely-hopinion:post-build] copying 0 paths... Uploaded lonely-hopinion in 346ms Progress: 2 of 5 built Built lonely-hopinion in 832ms Building /nix/store/i30p7ykq081r1hfsy5lvn72r87101ags-e2e-wrong-source-report.drv [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. [e2e-wrong-source-report]  [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. [e2e-wrong-source-report]  [e2e-wrong-source-report] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package. [e2e-wrong-source-report]  ╭──▶ lonely/src/Lonely.hs@8:1-8:25 [e2e-wrong-source-report]  │ [e2e-wrong-source-report]  8 │  [e2e-wrong-source-report]  • ┬ [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. [e2e-wrong-source-report]  • [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. [e2e-wrong-source-report]  │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:HsGenValidInGenPackage]  [e2e-wrong-source-report] ─────╯ [e2e-wrong-source-report]  [e2e-wrong-source-report] [error TestGenValidSpecPerGenValid]: No genValidSpec @Orphan anywhere, and there is no lonely-gen for it to be written in. [e2e-wrong-source-report]  ╭──▶ lonely/src/Lonely.hs@8:1-8:25 [e2e-wrong-source-report]  │ [e2e-wrong-source-report]  8 │  [e2e-wrong-source-report]  • ┬ [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. [e2e-wrong-source-report]  • [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. [e2e-wrong-source-report]  │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:TestGenValidSpecPerGenValid]  [e2e-wrong-source-report] ─────╯ [e2e-wrong-source-report]  [e2e-wrong-source-report] [error CommentBareTodo]: A bare TODO. Reference an issue or a URL, or do it. [e2e-wrong-source-report]  ╭──▶ thing/src/Thing.hs@3:1-3:58 [e2e-wrong-source-report]  │ [e2e-wrong-source-report]  3 │  [e2e-wrong-source-report]  • ┬ [e2e-wrong-source-report]  • ╰╸ A TODO needs an issue reference or a URL saying where the follow-up is tracked. [e2e-wrong-source-report]  • [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. [e2e-wrong-source-report]  │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:CommentBareTodo]  [e2e-wrong-source-report] ─────╯ [e2e-wrong-source-report]  [e2e-wrong-source-report] [error HsGenValidInGenPackage]: A GenValid instance outside a -gen package. [e2e-wrong-source-report]  ╭──▶ thing/src/Thing.hs@9:1-9:25 [e2e-wrong-source-report]  │ [e2e-wrong-source-report]  9 │  [e2e-wrong-source-report]  • ┬ [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. [e2e-wrong-source-report]  • [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. [e2e-wrong-source-report]  │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:HsGenValidInGenPackage]  [e2e-wrong-source-report] ─────╯ [e2e-wrong-source-report]  [e2e-wrong-source-report] [error TestGenValidSpecPerGenValid]: No genValidSpec @Widget anywhere in thing-gen's test suite. [e2e-wrong-source-report]  ╭──▶ thing/src/Thing.hs@9:1-9:25 [e2e-wrong-source-report]  │ [e2e-wrong-source-report]  9 │  [e2e-wrong-source-report]  • ┬ [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. [e2e-wrong-source-report]  • [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. [e2e-wrong-source-report]  │ Hint: To suppress, write this on the line above the code it points at, and say why: -- [allow:TestGenValidSpecPerGenValid]  [e2e-wrong-source-report] ─────╯ [e2e-wrong-source-report:post-build] Uploading to the NixCI staging cache: /nix/store/iqfsv0chwavd5am5y9a6pn4anf9kg4ky-e2e-wrong-source-report [e2e-wrong-source-report:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [e2e-wrong-source-report:post-build] copying 1 paths... [e2e-wrong-source-report:post-build] copying path '/nix/store/iqfsv0chwavd5am5y9a6pn4anf9kg4ky-e2e-wrong-source-report' to 'https://cache.staging.nix-ci.com'... [e2e-wrong-source-report:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [e2e-wrong-source-report:post-build] copying 0 paths... Uploaded e2e-wrong-source-report in 359ms Progress: 3 of 5 built Built e2e-wrong-source-report in 767ms Building /nix/store/0hf3agg05zns7alnm9iyjrchc7jra5xk-e2e-wrong-source-mapping-is-a-complaint.drv [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 [e2e-wrong-source-mapping-is-a-complaint:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [e2e-wrong-source-mapping-is-a-complaint:post-build] copying 1 paths... [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'... [e2e-wrong-source-mapping-is-a-complaint:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead [e2e-wrong-source-mapping-is-a-complaint:post-build] copying 0 paths... Uploaded e2e-wrong-source-mapping-is-a-complaint in 363ms Progress: 4 of 5 built Built e2e-wrong-source-mapping-is-a-complaint in 403ms Progress: 5 of 5 built /nix/store/jxxg6i79p6xcmx6l995cdkfz7wbngydd-e2e-wrong-source-mapping-is-a-complaint Build succeeded.