Build #3 for vivid-

[all reports]

Package vivid-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-11-10 21:38:45.473127367 UTC
Compiler ghc-8.6.1
OS linux
Arch x86_64
Dependencies MonadRandom-, base-, binary-, bytestring-, containers-, directory-, filepath-, hashable-, mtl-2.2.2, network-, process-, random-1.1, random-shuffle-0.0.4, split-, stm-, time-, transformers-, utf8-string-, vivid-osc-, vivid-supercollider-
Flags none

Build log

[view raw]

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:

Resolving dependencies...
Starting     cereal-
Starting     hashable-
Building     cereal-
Building     hashable-
Completed    hashable-
Starting     network-
Completed    cereal-
Starting     primitive-
Building     network-
Building     primitive-
Completed    network-
Starting     random-1.1
Building     random-1.1
Completed    random-1.1
Starting     split-
Building     split-
Completed    primitive-
Starting     transformers-compat-0.6.2
Building     transformers-compat-0.6.2
Completed    split-
Starting     utf8-string-
Building     utf8-string-
Completed    transformers-compat-0.6.2
Starting     vivid-osc-
Building     vivid-osc-
Completed    utf8-string-
Starting     MonadRandom-
Completed    vivid-osc-
Starting     vivid-supercollider-
Building     MonadRandom-
Building     vivid-supercollider-
Completed    MonadRandom-
Starting     random-shuffle-0.0.4
Building     random-shuffle-0.0.4
Completed    vivid-supercollider-
Completed    random-shuffle-0.0.4
Starting     vivid-
Building     vivid-
Failed to install vivid-
Build log ( /home/builder/.cabal/logs/ghc-8.6.1/vivid- ):
cabal: Entering directory '/tmp/cabal-tmp-29143/vivid-'
Configuring vivid-
Preprocessing library for vivid-
Building library for vivid-
[ 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:
          $ 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-'
cabal: Error: some packages failed to install:
vivid- failed during the building phase. The
exception was:
ExitFailure 1