Resolving dependencies... Build profile: -w ghc-9.6.3 -O0 In order, the following will be built (use -v for more details): - ansi-terminal-0.8.2 (lib:ansi-terminal) (requires download & build) - distributed-process-async-0.2.8 (lib:distributed-process-async) (requires build) - distributed-process-extras-0.3.6 (lib:distributed-process-extras) (requires build) - network-transport-tcp-0.8.5 (lib:network-transport-tcp) (requires build) - regex-posix-0.96.0.1 (lib:regex-posix) (requires build) - xml-1.3.14 (lib:xml) (requires build) - prettyprinter-ansi-terminal-1.1.3 (lib:prettyprinter-ansi-terminal) (requires build) - distributed-process-client-server-0.2.6.0 (lib:distributed-process-client-server) (requires build) - prettyprinter-compat-ansi-wl-pprint-1.0.2 (lib:prettyprinter-compat-ansi-wl-pprint) (requires build) - ansi-wl-pprint-1.0.2 (lib:ansi-wl-pprint) (requires build) - test-framework-0.8.2.0 (lib:test-framework) (requires build) - test-framework-hunit-0.3.0.2 (lib:test-framework-hunit) (requires build) - distributed-process-supervisor-0.2.2 (first run) Downloading ansi-terminal-0.8.2 Starting distributed-process-async-0.2.8 (all, legacy fallback) Starting network-transport-tcp-0.8.5 (all, legacy fallback) Starting distributed-process-extras-0.3.6 (all, legacy fallback) Starting regex-posix-0.96.0.1 (all, legacy fallback) Starting xml-1.3.14 (all, legacy fallback) Downloaded ansi-terminal-0.8.2 Starting ansi-terminal-0.8.2 (all, legacy fallback) Building distributed-process-async-0.2.8 (all, legacy fallback) Building distributed-process-extras-0.3.6 (all, legacy fallback) Building regex-posix-0.96.0.1 (all, legacy fallback) Building xml-1.3.14 (all, legacy fallback) Building network-transport-tcp-0.8.5 (all, legacy fallback) Building ansi-terminal-0.8.2 (all, legacy fallback) Installing distributed-process-async-0.2.8 (all, legacy fallback) Installing regex-posix-0.96.0.1 (all, legacy fallback) Installing ansi-terminal-0.8.2 (all, legacy fallback) Installing xml-1.3.14 (all, legacy fallback) Installing network-transport-tcp-0.8.5 (all, legacy fallback) Completed distributed-process-async-0.2.8 (all, legacy fallback) Installing distributed-process-extras-0.3.6 (all, legacy fallback) Completed regex-posix-0.96.0.1 (all, legacy fallback) Completed ansi-terminal-0.8.2 (all, legacy fallback) Starting prettyprinter-ansi-terminal-1.1.3 (all, legacy fallback) Completed xml-1.3.14 (all, legacy fallback) Completed network-transport-tcp-0.8.5 (all, legacy fallback) Building prettyprinter-ansi-terminal-1.1.3 (all, legacy fallback) Installing prettyprinter-ansi-terminal-1.1.3 (all, legacy fallback) Completed distributed-process-extras-0.3.6 (all, legacy fallback) Starting distributed-process-client-server-0.2.6.0 (all, legacy fallback) Completed prettyprinter-ansi-terminal-1.1.3 (all, legacy fallback) Starting prettyprinter-compat-ansi-wl-pprint-1.0.2 (all, legacy fallback) Building distributed-process-client-server-0.2.6.0 (all, legacy fallback) Building prettyprinter-compat-ansi-wl-pprint-1.0.2 (all, legacy fallback) Installing prettyprinter-compat-ansi-wl-pprint-1.0.2 (all, legacy fallback) Completed prettyprinter-compat-ansi-wl-pprint-1.0.2 (all, legacy fallback) Starting ansi-wl-pprint-1.0.2 (all, legacy fallback) Installing distributed-process-client-server-0.2.6.0 (all, legacy fallback) Completed distributed-process-client-server-0.2.6.0 (all, legacy fallback) Building ansi-wl-pprint-1.0.2 (all, legacy fallback) Installing ansi-wl-pprint-1.0.2 (all, legacy fallback) Completed ansi-wl-pprint-1.0.2 (all, legacy fallback) Starting test-framework-0.8.2.0 (all, legacy fallback) Building test-framework-0.8.2.0 (all, legacy fallback) Installing test-framework-0.8.2.0 (all, legacy fallback) Completed test-framework-0.8.2.0 (all, legacy fallback) Starting test-framework-hunit-0.3.0.2 (all, legacy fallback) Building test-framework-hunit-0.3.0.2 (all, legacy fallback) Installing test-framework-hunit-0.3.0.2 (all, legacy fallback) Completed test-framework-hunit-0.3.0.2 (all, legacy fallback) Configuring distributed-process-supervisor-0.2.2... Preprocessing library for distributed-process-supervisor-0.2.2.. Building library for distributed-process-supervisor-0.2.2.. [1 of 3] Compiling Control.Distributed.Process.Supervisor.Types src/Control/Distributed/Process/Supervisor/Types.hs:167:7: warning: [-Wpartial-fields] Use of partial record field selector: mode | 167 | , mode :: !RestartMode | ^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:343:7: warning: [-Wpartial-fields] Use of partial record field selector: childSpecKey | 343 | , childSpecKey :: ChildKey | ^^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:344:7: warning: [-Wpartial-fields] Use of partial record field selector: diedReason | 344 | , diedReason :: DiedReason | ^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:345:7: warning: [-Wpartial-fields] Use of partial record field selector: branchStrategy | 345 | , branchStrategy :: RestartStrategy | ^^^^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:349:7: warning: [-Wpartial-fields] Use of partial record field selector: childInScope | 349 | , childInScope :: Maybe ChildPid | ^^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:351:7: warning: [-Wpartial-fields] Use of partial record field selector: exitReason | 351 | , exitReason :: ExitReason | ^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:355:7: warning: [-Wpartial-fields] Use of partial record field selector: childRef | 355 | , childRef :: ChildRef | ^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:360:7: warning: [-Wpartial-fields] Use of partial record field selector: startFailure | 360 | , startFailure :: StartFailure | ^^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:365:7: warning: [-Wpartial-fields] Use of partial record field selector: childPid | 365 | , childPid :: ChildPid | ^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:371:7: warning: [-Wpartial-fields] Use of partial record field selector: initFailure | 371 | , initFailure :: ChildInitFailure | ^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:380:7: warning: [-Wpartial-fields] Use of partial record field selector: shutdownMode | 380 | , shutdownMode :: ShutdownMode | ^^^^^^^^^^^^ src/Control/Distributed/Process/Supervisor/Types.hs:381:7: warning: [-Wpartial-fields] Use of partial record field selector: exitRason | 381 | , exitRason :: ExitReason | ^^^^^^^^^ [2 of 3] Compiling Control.Distributed.Process.Supervisor.Management src/Control/Distributed/Process/Supervisor/Management.hs:55:1: warning: [-Wunused-imports] The import of Data.Foldable is redundant except perhaps to import instances from Data.Foldable To import instances alone, use: import Data.Foldable() | 55 | import Data.Foldable (mapM_) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 3] Compiling Control.Distributed.Process.Supervisor src/Control/Distributed/Process/Supervisor.hs:1037:9: warning: [GHC-53633] [-Woverlapping-patterns] Pattern match is redundant In an equation for ensureActive: ensureActive cs it | otherwise = ... | 1037 | | otherwise = error "IllegalState" | ^^^^^^^^^ src/Control/Distributed/Process/Supervisor.hs:1289:43: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ExitReason not matched: ExitNormal ExitShutdown | 1289 | , (\_ m -> handleMessageIf m (\(ExitOther _) -> True) | ^^^^^^^^^^^^^^^^^^^^^^ Preprocessing test suite 'NonThreadedSupervisorTests' for distributed-process-supervisor-0.2.2.. Building test suite 'NonThreadedSupervisorTests' for distributed-process-supervisor-0.2.2.. [1 of 2] Compiling TestUtils [2 of 2] Compiling Main tests/TestSupervisor.hs:27:1: warning: [-Wunused-imports] The import of Debug, LogLevel, addFormatter, systemLogFile from module Control.Distributed.Process.Extras.SystemLog is redundant | 27 | import Control.Distributed.Process.Extras.SystemLog | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... tests/TestSupervisor.hs:346:44: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ProcessId, ExitReason not matched: _ ExitNormal _ (ExitOther _) | 346 | runCore sp = (expect >>= say) `catchExit` (\_ ExitShutdown -> sendChan sp ()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:909:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 909 | let [c1, c2] = [map fst cs | cs <- [children, children']] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:921:3: warning: [-Wunused-matches] Defined but not used: self | 921 | self <- getSelfPid | ^^^^ tests/TestSupervisor.hs:982:52: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type (ChildRef, Maybe MonitorRef) not matched: (_, Nothing) | 982 | forM_ (reverse (filter ((/= ref) .fst ) refs)) $ \(_, Just mRef) -> do | ^^^^^^^^^^^^^^^^^^^^^... tests/TestSupervisor.hs:1086:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1086 | let [c1, c2] = [map fst cs | cs <- [(snd $ split children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1118:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1118 | let [c1, c2] = [map fst cs | cs <- [(fst $ splitAt 3 children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1150:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1150 | let [c1, c2] = [map fst cs | cs <- [(fst $ split children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1184:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1184 | let [c1, c2] = [map fst cs | cs <- [toSurvive, notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [3 of 3] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/distributed-process-supervisor-0.2.2/noopt/build/NonThreadedSupervisorTests/NonThreadedSupervisorTests Preprocessing test suite 'SupervisorTests' for distributed-process-supervisor-0.2.2.. Building test suite 'SupervisorTests' for distributed-process-supervisor-0.2.2.. on the commandline: warning: [-Wdeprecated-flags] -eventlog is deprecated: the eventlog is now enabled in all runtime system ways [1 of 2] Compiling TestUtils [2 of 2] Compiling Main tests/TestSupervisor.hs:27:1: warning: [-Wunused-imports] The import of Debug, LogLevel, addFormatter, systemLogFile from module Control.Distributed.Process.Extras.SystemLog is redundant | 27 | import Control.Distributed.Process.Extras.SystemLog | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... tests/TestSupervisor.hs:346:44: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type ProcessId, ExitReason not matched: _ ExitNormal _ (ExitOther _) | 346 | runCore sp = (expect >>= say) `catchExit` (\_ ExitShutdown -> sendChan sp ()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:909:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 909 | let [c1, c2] = [map fst cs | cs <- [children, children']] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:921:3: warning: [-Wunused-matches] Defined but not used: self | 921 | self <- getSelfPid | ^^^^ tests/TestSupervisor.hs:982:52: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns of type (ChildRef, Maybe MonitorRef) not matched: (_, Nothing) | 982 | forM_ (reverse (filter ((/= ref) .fst ) refs)) $ \(_, Just mRef) -> do | ^^^^^^^^^^^^^^^^^^^^^... tests/TestSupervisor.hs:1086:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1086 | let [c1, c2] = [map fst cs | cs <- [(snd $ split children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1118:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1118 | let [c1, c2] = [map fst cs | cs <- [(fst $ splitAt 3 children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1150:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1150 | let [c1, c2] = [map fst cs | cs <- [(fst $ split children), notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/TestSupervisor.hs:1184:7: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type [[ChildRef]] not matched: [] [_] (_:_:_:_) | 1184 | let [c1, c2] = [map fst cs | cs <- [toSurvive, notRestarted]] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ on the commandline: warning: [-Wdeprecated-flags] -eventlog is deprecated: the eventlog is now enabled in all runtime system ways [3 of 3] Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.6.3/distributed-process-supervisor-0.2.2/noopt/build/SupervisorTests/SupervisorTests Running 2 test suites... Test suite NonThreadedSupervisorTests: RUNNING... Test suite NonThreadedSupervisorTests: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/distributed-process-supervisor-0.2.2.test Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.Management.hs.html Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.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.6.3/distributed-process-supervisor-0.2.2/noopt/hpc/vanilla/html/NonThreadedSupervisorTests/hpc_index.html Test suite SupervisorTests: RUNNING... Test suite SupervisorTests: PASS Test suite logged to: /home/builder/builder-dir/build-cache/tmp-install/reports/distributed-process-supervisor-0.2.2.test Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.Management.hs.html Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.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.6.3/distributed-process-supervisor-0.2.2/noopt/hpc/vanilla/html/SupervisorTests/hpc_index.html 2 of 2 test suites (2 of 2 test cases) passed. Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.hs.html Writing: distributed-process-supervisor-0.2.2-inplace/Control.Distributed.Process.Supervisor.Management.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.6.3/distributed-process-supervisor-0.2.2/noopt/hpc/vanilla/html/distributed-process-supervisor-0.2.2/hpc_index.html