Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - hsc2hs-0.68.9 (first run) Configuring hsc2hs-0.68.9... Preprocessing test suite 'spec' for hsc2hs-0.68.9.. Building test suite 'spec' for hsc2hs-0.68.9.. [1 of 4] Compiling ATTParser ( src/ATTParser.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/spec/spec-tmp/ATTParser.o ) [2 of 4] Compiling BDD ( test/BDD.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/spec/spec-tmp/BDD.o ) test/BDD.hs:37:5: warning: [-Wnoncanonical-monad-instances] Noncanonical pure = return definition detected in the instance declaration for Applicative TestM. Move definition from return to pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 37 | pure = return | ^^^^^^^^^^^^^ test/BDD.hs:41:5: warning: [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad TestM. return will eventually be removed in favour of pure Either remove definition for return (recommended) or define as return = pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 41 | return x = TestM $ \xs -> return (xs, x) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 4] Compiling Flags ( src/Flags.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/spec/spec-tmp/Flags.o ) [4 of 4] Compiling Main ( test/Spec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/spec/spec-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/spec/spec ... Preprocessing executable 'hsc2hs' for hsc2hs-0.68.9.. Building executable 'hsc2hs' for hsc2hs-0.68.9.. [ 1 of 12] Compiling ATTParser ( src/ATTParser.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/ATTParser.o ) [ 2 of 12] Compiling Compat.ResponseFile ( src/Compat/ResponseFile.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Compat/ResponseFile.o ) [ 3 of 12] Compiling Compat.TempFile ( src/Compat/TempFile.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Compat/TempFile.o ) [ 4 of 12] Compiling Common ( src/Common.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Common.o ) [ 5 of 12] Compiling Flags ( src/Flags.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Flags.o ) [ 6 of 12] Compiling HSCParser ( src/HSCParser.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/HSCParser.o ) [ 7 of 12] Compiling C ( src/C.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/C.o ) [ 8 of 12] Compiling CrossCodegen ( src/CrossCodegen.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/CrossCodegen.o ) [ 9 of 12] Compiling Paths_hsc2hs ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/autogen/Paths_hsc2hs.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Paths_hsc2hs.o ) [10 of 12] Compiling UtilsCodegen ( src/UtilsCodegen.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/UtilsCodegen.o ) [11 of 12] Compiling DirectCodegen ( src/DirectCodegen.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/DirectCodegen.o ) [12 of 12] Compiling Main ( src/Main.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/hsc2hs-0.68.9/noopt/build/hsc2hs/hsc2hs ... Running 1 test suites... Test suite spec: RUNNING... Test suite spec: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/hsc2hs-0.68.9.test Error: cabal-3.8.1.0: Test coverage is only supported for packages with a library component. Error: cabal: Tests failed for hsc2hs-0.68.9.