Resolving dependencies... Build profile: -w ghc-9.8.4 -O0 In order, the following will be built (use -v for more details): - tracer-0.1 (first run) Configuring tracer-0.1... Warning: Instead of 'ghc-options: -XDoAndIfThenElse' use 'extensions: DoAndIfThenElse' Preprocessing test suite 'doc-tests' for tracer-0.1.. Building test suite 'doc-tests' for tracer-0.1.. : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for main : Debug.Tracer [1 of 2] Compiling Debug.Tracer ( Debug/Tracer.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/build/doc-tests/doc-tests-tmp/Debug/Tracer.o ) Debug/Tracer.hs:202:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (TracerT p m). return will eventually be removed in favour of pure Suggested fix: 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 | 202 | return x = TracerT $ seq x $ \p -> return (x, (pstep p)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [2 of 2] Compiling Main ( README.lhs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/build/doc-tests/doc-tests-tmp/Main.o ) : warning: [GHC-32850] [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for main : Debug.Tracer [3 of 3] Linking /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/build/doc-tests/doc-tests Preprocessing library for tracer-0.1.. Building library for tracer-0.1.. [1 of 1] Compiling Debug.Tracer ( Debug/Tracer.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/build/Debug/Tracer.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/build/Debug/Tracer.dyn_o ) Debug/Tracer.hs:32:1: warning: [GHC-66111] [-Wunused-imports] The import of Control.Applicative is redundant except perhaps to import instances from Control.Applicative To import instances alone, use: import Control.Applicative() | 32 | import Control.Applicative (Applicative(..)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Debug/Tracer.hs:202:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (TracerT p m). return will eventually be removed in favour of pure Suggested fix: 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 | 202 | return x = TracerT $ seq x $ \p -> return (x, (pstep p)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Running 1 test suites... Test suite doc-tests: RUNNING... Test suite doc-tests: PASS Test suite logged to: /var/lib/hackage-doc-builder/build-cache/tmp-install/reports/tracer-0.1.test Writing: Debug.Tracer.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Test coverage report written to /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/hpc/vanilla/html/doc-tests/hpc_index.html 1 of 1 test suites (1 of 1 test cases) passed. Writing: Debug.Tracer.hs.html Writing: hpc_index.html Writing: hpc_index_fun.html Writing: hpc_index_alt.html Writing: hpc_index_exp.html Package coverage report written to /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/tracer-0.1/noopt/hpc/vanilla/html/tracer-0.1/hpc_index.html