Resolving dependencies... Configuring franchise-0.0.6... Failed to install franchise-0.0.6 Build log ( /home/builder/.cabal/logs/franchise-0.0.6.log ): cabal: Entering directory '/tmp/cabal-tmp-10112/franchise-0.0.6' cabal: Leaving directory '/tmp/cabal-tmp-10112/franchise-0.0.6' cabal: Error: some packages failed to install: franchise-0.0.6 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-10112/franchise-0.0.6/Distribution/Franchise/ConfigureState.hs:483:31: error: • Variable not in scope: catch :: IO (Either ErrorState (b, TotalState)) -> (a3 -> m2 (Either ErrorState b1)) -> IO (Either ErrorState (b, TotalState)) • Perhaps you meant ‘catchC’ (line 627) /tmp/cabal-tmp-10112/franchise-0.0.6/Distribution/Franchise/ConfigureState.hs:488: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-10112/franchise-0.0.6/Distribution/Franchise/ConfigureState.hs:558:44: error: • Variable not in scope: catch :: IO (Maybe String) -> (t0 -> m1 (Maybe a2)) -> IO (Maybe String) • Perhaps you meant ‘catchC’ (line 627) /tmp/cabal-tmp-10112/franchise-0.0.6/Distribution/Franchise/ConfigureState.hs:628:48: error: • Variable not in scope: catch :: IO (Either a1 (Either ErrorState (a, TotalState))) -> (a0 -> m0 (Either String b0)) -> IO (Either String (Either ErrorState (a, TotalState))) • Perhaps you meant ‘catchC’ (line 627) )