Resolving dependencies... Starting failure-0.2.0.3 Starting monadloc-0.7.1 Starting base-orphans-0.8.2 Starting transformers-compat-0.6.5 Building monadloc-0.7.1 Building failure-0.2.0.3 Building base-orphans-0.8.2 Building transformers-compat-0.6.5 Completed failure-0.2.0.3 Completed monadloc-0.7.1 Completed transformers-compat-0.6.5 Completed base-orphans-0.8.2 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting control-monad-exception-0.11.3 Building control-monad-exception-0.11.3 Failed to install control-monad-exception-0.11.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/control-monad-exception-0.11.3-BOIAyxRnFeRJoN44qrCdf6.log ): cabal: Entering directory '/tmp/cabal-tmp-26983/control-monad-exception-0.11.3' Configuring control-monad-exception-0.11.3... Preprocessing library for control-monad-exception-0.11.3.. Building library for control-monad-exception-0.11.3.. on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS Control/Monad/Exception/Base.hs:7:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 7 | {-# LANGUAGE OverlappingInstances #-} | ^^^^^^^^^^^^^^^^^^^^ Control/Monad/Exception/Catch.hs:7:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 7 | {-# LANGUAGE OverlappingInstances #-} | ^^^^^^^^^^^^^^^^^^^^ Control/Monad/Exception/Throws.hs:3:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 3 | {-# LANGUAGE OverlappingInstances, FlexibleInstances #-} | ^^^^^^^^^^^^^^^^^^^^ [1 of 6] Compiling Control.Monad.Exception.Throws ( Control/Monad/Exception/Throws.hs, dist/build/Control/Monad/Exception/Throws.o ) [2 of 6] Compiling Control.Monad.Exception.Catch ( Control/Monad/Exception/Catch.hs, dist/build/Control/Monad/Exception/Catch.o ) [3 of 6] Compiling Control.Monad.Exception.Base ( Control/Monad/Exception/Base.hs, dist/build/Control/Monad/Exception/Base.o ) Control/Monad/Exception/Base.hs:99:6: error: • Wrong category of family instance; declaration was for a type family • In the newtype instance declaration for ‘StM’ In the instance declaration for ‘MonadBaseControl b (EMT l m)’ | 99 | newtype StM (EMT l m) a = StmEMT {unStmEMT :: ComposeSt (EMT l) m a} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Control/Monad/Exception/Base.hs:104:6: error: • Wrong category of family instance; declaration was for a type family • In the newtype instance declaration for ‘StT’ In the instance declaration for ‘MonadTransControl (EMT l)’ | 104 | newtype StT (EMT l) a = StEMT {unStEMT :: Either (CallTrace, CheckedException l) a} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-26983/control-monad-exception-0.11.3' cabal: Error: some packages failed to install: control-monad-exception-0.11.3-BOIAyxRnFeRJoN44qrCdf6 failed during the building phase. The exception was: ExitFailure 1