Resolving dependencies... Configuring franchise-0.0.4... Failed to install franchise-0.0.4 Build log ( /home/builder/.cabal/logs/franchise-0.0.4.log ): cabal: Entering directory '/tmp/cabal-tmp-16872/franchise-0.0.4' cabal: Leaving directory '/tmp/cabal-tmp-16872/franchise-0.0.4' cabal: Error: some packages failed to install: franchise-0.0.4 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-16872/franchise-0.0.4/Distribution/Franchise/ConfigureState.hs:415: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-16872/franchise-0.0.4/Distribution/Franchise/ConfigureState.hs:424: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-16872/franchise-0.0.4/Distribution/Franchise/ConfigureState.hs:487:44: error: • Variable not in scope: catch :: IO (Maybe String) -> (t0 -> m0 (Maybe a0)) -> IO (Maybe String) • Perhaps you meant ‘catchC’ (line 537) /tmp/cabal-tmp-16872/franchise-0.0.4/Distribution/Franchise/ConfigureState.hs:538: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 537) )