Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building mtl-2.2.1... Building call-stack-0.1.0... Installed call-stack-0.1.0 Configuring network-2.6.3.1... Configuring random-1.1... Installed mtl-2.2.1 Building network-2.6.3.1... Building random-1.1... Configuring old-locale-1.0.0.7... Installed random-1.1 Building old-locale-1.0.0.7... Configuring text-1.2.2.1... Installed old-locale-1.0.0.7 Building text-1.2.2.1... Configuring HUnit-1.5.0.0... Installed network-2.6.3.1 Building HUnit-1.5.0.0... Installed HUnit-1.5.0.0 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Configuring hslogger-1.2.10... Installed regex-base-0.93.2 Building hslogger-1.2.10... Configuring old-time-1.1.0.3... Installed hslogger-1.2.10 Building old-time-1.1.0.3... Configuring regex-posix-0.95.2... Installed text-1.2.2.1 Building regex-posix-0.95.2... Installed old-time-1.1.0.3 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Installed parsec-3.1.11 Configuring MissingH-1.4.0.1... Building MissingH-1.4.0.1... Installed MissingH-1.4.0.1 Configuring ftphs-1.0.9... Building ftphs-1.0.9... Failed to install ftphs-1.0.9 Build log ( /home/builder/.cabal/logs/ftphs-1.0.9.log ): cabal: Entering directory '/tmp/cabal-tmp-31870/ftphs-1.0.9' Configuring ftphs-1.0.9... Building ftphs-1.0.9... Preprocessing library ftphs-1.0.9... on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 4] Compiling Network.FTP.Client.Parser ( src/Network/FTP/Client/Parser.hs, dist/build/Network/FTP/Client/Parser.o ) src/Network/FTP/Client/Parser.hs:253:9: warning: [-Woverlapping-patterns] Pattern match is redundant In an equation for ‘procq’: procq ('"' : '"' : xs) = ... [2 of 4] Compiling Network.FTP.Server.Parser ( src/Network/FTP/Server/Parser.hs, dist/build/Network/FTP/Server/Parser.o ) [3 of 4] Compiling Network.FTP.Server ( src/Network/FTP/Server.hs, dist/build/Network/FTP/Server.o ) src/Network/FTP/Server.hs:172:37: error: parse error on input ‘return’ cabal: Leaving directory '/tmp/cabal-tmp-31870/ftphs-1.0.9' cabal: Error: some packages failed to install: ftphs-1.0.9 failed during the building phase. The exception was: ExitFailure 1