Resolving dependencies... Configuring franchise-0.0.5... Failed to install franchise-0.0.5 Build log ( /home/builder/.cabal/logs/franchise-0.0.5.log ): cabal: Entering directory '/tmp/cabal-tmp-16800/franchise-0.0.5' cabal: Leaving directory '/tmp/cabal-tmp-16800/franchise-0.0.5' cabal: Error: some packages failed to install: franchise-0.0.5 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-16800/franchise-0.0.5/Distribution/Franchise/ConfigureState.hs:416:10: error: • No instance for (Applicative C) arising from the superclasses of an instance declaration • In the instance declaration for ‘Monad C’ /tmp/cabal-tmp-16800/franchise-0.0.5/Distribution/Franchise/ConfigureState.hs:425:10: error: • No instance for (GHC.Base.Alternative C) arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus C’ /tmp/cabal-tmp-16800/franchise-0.0.5/Distribution/Franchise/ConfigureState.hs:488:44: error: • Variable not in scope: catch :: IO (Maybe String) -> (t0 -> m0 (Maybe a0)) -> IO (Maybe String) • Perhaps you meant ‘catchC’ (line 538) /tmp/cabal-tmp-16800/franchise-0.0.5/Distribution/Franchise/ConfigureState.hs:539:48: error: • Variable not in scope: catch :: IO (Either a2 (Either String (a, TotalState))) -> (a1 -> m1 (Either String b0)) -> IO (Either String (Either String (a, TotalState))) • Perhaps you meant ‘catchC’ (line 538) )