Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - ghc-events-0.19.0.1 (first run) Configuring ghc-events-0.19.0.1... Preprocessing library for ghc-events-0.19.0.1.. Building library for ghc-events-0.19.0.1.. [ 1 of 10] Compiling GHC.RTS.EventTypes ( src/GHC/RTS/EventTypes.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/EventTypes.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/EventTypes.dyn_o ) [ 2 of 10] Compiling GHC.RTS.EventParserUtils ( src/GHC/RTS/EventParserUtils.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/EventParserUtils.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/EventParserUtils.dyn_o ) [ 3 of 10] Compiling GHC.RTS.Events.Binary ( src/GHC/RTS/Events/Binary.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Binary.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Binary.dyn_o ) [ 4 of 10] Compiling GHC.RTS.Events.Incremental ( src/GHC/RTS/Events/Incremental.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Incremental.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Incremental.dyn_o ) [ 5 of 10] Compiling GHC.RTS.Events ( src/GHC/RTS/Events.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events.dyn_o ) [ 6 of 10] Compiling GHC.RTS.Events.Analysis ( src/GHC/RTS/Events/Analysis.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis.dyn_o ) [ 7 of 10] Compiling GHC.RTS.Events.Analysis.Thread ( src/GHC/RTS/Events/Analysis/Thread.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/Thread.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/Thread.dyn_o ) [ 8 of 10] Compiling GHC.RTS.Events.Analysis.SparkThread ( src/GHC/RTS/Events/Analysis/SparkThread.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/SparkThread.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/SparkThread.dyn_o ) src/GHC/RTS/Events/Analysis/SparkThread.hs:94:5: warning: [-Wunused-local-binds] Defined but not used: stopThread | 94 | stopThread threadId = Just (M.filter (/= threadId) m, S.delete threadId s) | ^^^^^^^^^^ [ 9 of 10] Compiling GHC.RTS.Events.Analysis.Capability ( src/GHC/RTS/Events/Analysis/Capability.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/Capability.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Analysis/Capability.dyn_o ) [10 of 10] Compiling GHC.RTS.Events.Merge ( src/GHC/RTS/Events/Merge.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Merge.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/GHC/RTS/Events/Merge.dyn_o ) src/GHC/RTS/Events/Merge.hs:54:5: warning: [-Wnoncanonical-monoid-instances] Noncanonical (<>) = mappend definition detected in the instance declaration for Semigroup MaxVars. Move definition from mappend to (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 54 | (<>) = mappend | ^^^^^^^^^^^^^^ src/GHC/RTS/Events/Merge.hs:59:5: warning: [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid MaxVars. mappend will eventually be removed in favour of (<>) Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 59 | mappend (MaxVars a b c) (MaxVars x y z) = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Preprocessing executable 'ghc-events' for ghc-events-0.19.0.1.. Building executable 'ghc-events' for ghc-events-0.19.0.1.. [1 of 1] Compiling Main ( GhcEvents.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/ghc-events/ghc-events-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/ghc-events/ghc-events ... Preprocessing test suite 'test-versions' for ghc-events-0.19.0.1.. Building test suite 'test-versions' for ghc-events-0.19.0.1.. [1 of 2] Compiling Utils ( test/Utils.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/test-versions/test-versions-tmp/Utils.o ) [2 of 2] Compiling Main ( test/TestVersions.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/test-versions/test-versions-tmp/Main.o ) Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/build/test-versions/test-versions ... Running 1 test suites... Test suite test-versions: RUNNING... Test suite test-versions: FAIL Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/ghc-events-0.19.0.1.test Writing: ghc-events-0.19.0.1-inplace/GHC.RTS.Events.Incremental.hs.html Writing: ghc-events-0.19.0.1-inplace/GHC.RTS.Events.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 /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/hpc/vanilla/html/test-versions/hpc_index.html 0 of 1 test suites (0 of 1 test cases) passed. Writing: ghc-events-0.19.0.1-inplace/GHC.RTS.Events.Incremental.hs.html Writing: ghc-events-0.19.0.1-inplace/GHC.RTS.Events.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 /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/ghc-events-0.19.0.1/noopt/hpc/vanilla/html/ghc-events-0.19.0.1/hpc_index.html Error: cabal: Tests failed for ghc-events-0.19.0.1.