Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building call-stack-0.1.0... Building mtl-2.2.1... Installed call-stack-0.1.0 Configuring syb-0.6... Building syb-0.6... Configuring HUnit-1.5.0.0... Installed mtl-2.2.1 Building HUnit-1.5.0.0... Configuring text-1.2.2.1... Installed syb-0.6 Building text-1.2.2.1... Configuring haskell-src-1.0.2.0... Installed HUnit-1.5.0.0 Building haskell-src-1.0.2.0... Installed haskell-src-1.0.2.0 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring DocTest-0.0.2... Building DocTest-0.0.2... Failed to install DocTest-0.0.2 Build log ( /home/builder/.cabal/logs/DocTest-0.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-23348/DocTest-0.0.2' Configuring DocTest-0.0.2... Building DocTest-0.0.2... Preprocessing executable 'doctest' for DocTest-0.0.2... [1 of 5] Compiling Test.DocTest.Util ( Test/DocTest/Util.hs, dist/build/doctest/doctest-tmp/Test/DocTest/Util.o ) Test/DocTest/Util.hs:14:1: warning: [-Wtabs] Tab character found here, and in 8 further locations. Please use spaces instead. [2 of 5] Compiling Test.DocTest.Error ( Test/DocTest/Error.hs, dist/build/doctest/doctest-tmp/Test/DocTest/Error.o ) Test/DocTest/Error.hs:9:1: warning: [-Wtabs] Tab character found here, and in five further locations. Please use spaces instead. [3 of 5] Compiling Test.DocTest ( Test/DocTest.hs, dist/build/doctest/doctest-tmp/Test/DocTest.o ) Test/DocTest.hs:12:1: warning: [-Wtabs] Tab character found here, and in 20 further locations. Please use spaces instead. [4 of 5] Compiling Test.DocTest.Parser ( Test/DocTest/Parser.hs, dist/build/doctest/doctest-tmp/Test/DocTest/Parser.o ) Test/DocTest/Parser.hs:13:1: warning: [-Wtabs] Tab character found here, and in 65 further locations. Please use spaces instead. [5 of 5] Compiling Main ( Main.hs, dist/build/doctest/doctest-tmp/Main.o ) Main.hs:23:19: error: • Variable not in scope: catch :: IO FilePath -> (t0 -> m0 [Char]) -> IO FilePath • Perhaps you want to add ‘catch’ to the import list in the import of ‘Control.Exception’ (Main.hs:6:1-33). cabal: Leaving directory '/tmp/cabal-tmp-23348/DocTest-0.0.2' cabal: Error: some packages failed to install: DocTest-0.0.2 failed during the building phase. The exception was: ExitFailure 1