Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring BNFC-2.8.1... Building BNFC-2.8.1... Installed BNFC-2.8.1 Downloading cubical-0.1.1... Configuring cubical-0.1.1... Building cubical-0.1.1... Failed to install cubical-0.1.1 Build log ( /home/builder/.cabal/logs/cubical-0.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27154/cubical-0.1.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-27154/cubical-0.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-27154/cubical-0.1.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-27154/cubical-0.1.1/dist/setup/setup ... Configuring cubical-0.1.1... Building cubical-0.1.1... Preprocessing executable 'cubical' for cubical-0.1.1... unused terminals: 1 [1 of 9] Compiling Pretty ( Pretty.hs, dist/build/cubical/cubical-tmp/Pretty.o ) [2 of 9] Compiling MTT ( MTT.hs, dist/build/cubical/cubical-tmp/MTT.o ) MTT.hs:9:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead MTT.hs:12:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use Control.Monad.Except instead MTT.hs:132:31: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" MTT.hs:134:34: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" MTT.hs:140:17: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" MTT.hs:147:33: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [3 of 9] Compiling Exp.Lex ( dist/build/cubical/cubical-tmp/Exp/Lex.hs, dist/build/cubical/cubical-tmp/Exp/Lex.o ) Exp/Lex.x:154:38: error: • Variable not in scope: ord :: Char -> a0 • Perhaps you meant one of these: ‘or’ (imported from Prelude), ‘odd’ (imported from Prelude), ‘ord#’ (imported from GHC.Exts) cabal: Leaving directory '/tmp/cabal-tmp-27154/cubical-0.1.1' cabal: Error: some packages failed to install: cubical-0.1.1 failed during the building phase. The exception was: ExitFailure 1