Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting cereal-0.5.7.0 Starting hashable-1.2.7.0 Building cereal-0.5.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting network-2.8.0.0 Completed cereal-0.5.7.0 Starting primitive-0.6.4.0 Building network-2.8.0.0 Building primitive-0.6.4.0 Completed network-2.8.0.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting split-0.2.3.3 Building split-0.2.3.3 Completed primitive-0.6.4.0 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed split-0.2.3.3 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.2 Starting vivid-osc-0.5.0.0 Building vivid-osc-0.5.0.0 Completed utf8-string-1.0.1.1 Starting MonadRandom-0.5.1.1 Completed vivid-osc-0.5.0.0 Starting vivid-supercollider-0.4.1.1 Building MonadRandom-0.5.1.1 Building vivid-supercollider-0.4.1.1 Completed MonadRandom-0.5.1.1 Starting random-shuffle-0.0.4 Building random-shuffle-0.0.4 Completed vivid-supercollider-0.4.1.1 Completed random-shuffle-0.0.4 Starting vivid-0.4.2.0 Building vivid-0.4.2.0 Failed to install vivid-0.4.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/vivid-0.4.2.0-IlLcl4Rck3o9w7gguLi51i.log ): cabal: Entering directory '/tmp/cabal-tmp-29143/vivid-0.4.2.0' Configuring vivid-0.4.2.0... Preprocessing library for vivid-0.4.2.0.. Building library for vivid-0.4.2.0.. [ 1 of 53] Compiling Vivid.OSC.Bundles ( Vivid/OSC/Bundles.hs, dist/build/Vivid/OSC/Bundles.o ) [ 2 of 53] Compiling Vivid.Randomness ( Vivid/Randomness.hs, dist/build/Vivid/Randomness.o ) [ 3 of 53] Compiling Vivid.SynthDef.TypesafeArgs ( Vivid/SynthDef/TypesafeArgs.hs, dist/build/Vivid/SynthDef/TypesafeArgs.o ) [ 4 of 53] Compiling Vivid.SynthDef.Types ( Vivid/SynthDef/Types.hs, dist/build/Vivid/SynthDef/Types.o ) [ 5 of 53] Compiling Vivid.SynthDef.ToSig ( Vivid/SynthDef/ToSig.hs, dist/build/Vivid/SynthDef/ToSig.o ) [ 6 of 53] Compiling Vivid.SynthDef.FromUA ( Vivid/SynthDef/FromUA.hs, dist/build/Vivid/SynthDef/FromUA.o ) [ 7 of 53] Compiling Vivid.SynthDef ( Vivid/SynthDef.hs, dist/build/Vivid/SynthDef.o ) [ 8 of 53] Compiling Vivid.SCServer.State ( Vivid/SCServer/State.hs, dist/build/Vivid/SCServer/State.o ) [ 9 of 53] Compiling Vivid.SCServer.Connection ( Vivid/SCServer/Connection.hs, dist/build/Vivid/SCServer/Connection.o ) Vivid/SCServer/Connection.hs:274:13: error: • No instance for (Control.Monad.Fail.MonadFail STM) arising from a do statement with the failable pattern ‘True’ • In a stmt of a 'do' block: True <- tryPutTMVar (_scServerState_listener serverState) listener In the second argument of ‘($)’, namely ‘do True <- tryPutTMVar (_scServerState_socket serverState) sock True <- tryPutTMVar (_scServerState_listener serverState) listener return sock’ In a stmt of a 'do' block: atomically $ do True <- tryPutTMVar (_scServerState_socket serverState) sock True <- tryPutTMVar (_scServerState_listener serverState) listener return sock | 274 | True <- tryPutTMVar (_scServerState_listener serverState) listener | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-29143/vivid-0.4.2.0' cabal: Error: some packages failed to install: vivid-0.4.2.0-IlLcl4Rck3o9w7gguLi51i failed during the building phase. The exception was: ExitFailure 1