Resolving dependencies... Starting hslua-0.3.5 Building hslua-0.3.5 Failed to install hslua-0.3.5 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/hslua-0.3.5-1x6b6X9Vst55HPO0nKV2u0.log ): cabal: Entering directory '/tmp/cabal-tmp-12706/hslua-0.3.5' Configuring hslua-0.3.5... Preprocessing library for hslua-0.3.5.. Building library for hslua-0.3.5.. [1 of 2] Compiling Scripting.Lua ( src/Scripting/Lua.hs, dist/build/Scripting/Lua.o, dist/build/Scripting/Lua.dyn_o ) src/Scripting/Lua.hs:964:34: error: Variable not in scope: catch :: IO CInt -> (a0 -> IO b0) -> IO CInt | 964 | luaimport a l = luaimport' 1 a l `catch` (\e -> push l (show e) >> return (-1)) | ^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-12706/hslua-0.3.5' cabal: Error: some packages failed to install: hslua-0.3.5-1x6b6X9Vst55HPO0nKV2u0 failed during the building phase. The exception was: ExitFailure 1