Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: parsec-3.1.13.0 Cabal-2.4.0.1 Continuing even though the plan contains dangerous reinstalls. Starting transformers-0.5.6.2 Building transformers-0.5.6.2 Completed transformers-0.5.6.2 Starting mtl-2.2.2 Building mtl-2.2.2 Completed mtl-2.2.2 Starting monad-supply-0.9 Building monad-supply-0.9 Failed to install monad-supply-0.9 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/monad-supply-0.9-Fkqfdt0oKOoTAVuJBEgu4.log ): cabal: Entering directory '/tmp/cabal-tmp-21017/monad-supply-0.9' Configuring monad-supply-0.9... Preprocessing library for monad-supply-0.9.. Building library for monad-supply-0.9.. [1 of 2] Compiling Control.Monad.Supply ( src/Control/Monad/Supply.hs, dist/build/Control/Monad/Supply.o ) src/Control/Monad/Supply.hs:57:10: error: Not in scope: type constructor or class ‘MonadFail’ Perhaps you meant ‘MonadFix’ (imported from Control.Monad.Fix) | 57 | instance MonadFail m => MonadSupply s (SupplyT s m) where | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-21017/monad-supply-0.9' cabal: Error: some packages failed to install: monad-supply-0.9-Fkqfdt0oKOoTAVuJBEgu4 failed during the building phase. The exception was: ExitFailure 1