Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring call-stack-0.1.0... Building call-stack-0.1.0... Building ansi-terminal-0.6.2.3... Installed call-stack-0.1.0 Configuring cmdargs-0.10.14... Building cmdargs-0.10.14... Configuring extensible-exceptions-0.1.1.4... Installed ansi-terminal-0.6.2.3 Building extensible-exceptions-0.1.1.4... Configuring hostname-1.0... Installed extensible-exceptions-0.1.1.4 Building hostname-1.0... Configuring mtl-2.2.1... Installed hostname-1.0 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring pcre-light-0.4.0.4... Installed old-locale-1.0.0.7 Building pcre-light-0.4.0.4... Configuring random-1.1... Installed pcre-light-0.4.0.4 Building random-1.1... Configuring HUnit-1.5.0.0... Installed random-1.1 Building HUnit-1.5.0.0... Configuring text-1.2.2.1... Installed cmdargs-0.10.14 Building text-1.2.2.1... Installed HUnit-1.5.0.0 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Configuring regex-base-0.93.2... Installed ansi-wl-pprint-0.6.7.3 Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Installed text-1.2.2.1 Configuring parsec-3.1.11... Configuring xml-1.3.14... Building parsec-3.1.11... Building xml-1.3.14... Installed xml-1.3.14 Configuring test-framework-0.8.1.1... Building test-framework-0.8.1.1... Installed parsec-3.1.11 Installed test-framework-0.8.1.1 Configuring test-framework-hunit-0.3.0.2... Building test-framework-hunit-0.3.0.2... Installed test-framework-hunit-0.3.0.2 Configuring shelltestrunner-0.7... Building shelltestrunner-0.7... Failed to install shelltestrunner-0.7 Build log ( /home/builder/.cabal/logs/shelltestrunner-0.7.log ): cabal: Entering directory '/tmp/cabal-tmp-1337/shelltestrunner-0.7' Configuring shelltestrunner-0.7... Building shelltestrunner-0.7... Preprocessing executable 'shelltestrunner' for shelltestrunner-0.7... [1 of 1] Compiling Main ( shelltestrunner.hs, dist/build/shelltestrunner/shelltestrunner-tmp/Main.o ) shelltestrunner.hs:56:3: error: • Variable not in scope: mode :: Args -> Mode Args • Perhaps you meant one of these: ‘mod’ (imported from Prelude), ‘modes’ (imported from System.Console.CmdArgs) shelltestrunner.hs:57:33: error: Variable not in scope: flag :: [Char] -> Ann shelltestrunner.hs:57:46: error: Variable not in scope: (&) :: t1 -> t2 -> Bool shelltestrunner.hs:57:48: error: • Variable not in scope: text :: [Char] -> t2 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:58:33: error: Variable not in scope: flag :: [Char] -> Ann shelltestrunner.hs:58:52: error: Variable not in scope: (&) :: t4 -> Ann -> t3 shelltestrunner.hs:58:63: error: Variable not in scope: (&) :: t3 -> t5 -> Bool shelltestrunner.hs:58:65: error: • Variable not in scope: text :: [Char] -> t5 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:59:56: error: Variable not in scope: (&) :: [Char] -> t6 -> String shelltestrunner.hs:59:58: error: • Variable not in scope: text :: [Char] -> t6 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:60:42: error: Variable not in scope: (&) :: t8 -> Ann -> t7 shelltestrunner.hs:60:61: error: Variable not in scope: (&) :: t7 -> t9 -> String shelltestrunner.hs:60:63: error: • Variable not in scope: text :: [Char] -> t9 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:61:46: error: Variable not in scope: (&) :: t11 -> Ann -> t10 shelltestrunner.hs:61:64: error: Variable not in scope: (&) :: t10 -> t12 -> [String] shelltestrunner.hs:61:66: error: • Variable not in scope: text :: [Char] -> t12 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:62:33: error: Variable not in scope: unknownFlags :: Ann shelltestrunner.hs:62:46: error: Variable not in scope: (&) :: t15 -> Ann -> t14 shelltestrunner.hs:62:57: error: Variable not in scope: (&) :: t14 -> Ann -> t13 shelltestrunner.hs:62:71: error: Variable not in scope: (&) :: t13 -> t16 -> [String] shelltestrunner.hs:62:73: error: • Variable not in scope: text :: [Char] -> t16 • Perhaps you meant ‘test’ (imported from Test.HUnit) shelltestrunner.hs:73:16: error: • Couldn't match expected type ‘[Mode Args] -> t0 -> IO String’ with actual type ‘Maybe String’ • The function ‘cmdArgsHelp’ is applied to three arguments, but its type ‘CmdArgs a -> Maybe String’ has only one In the first argument of ‘(>>=)’, namely ‘cmdArgsHelp s argmodes Text’ In the first argument of ‘(>>)’, namely ‘cmdArgsHelp s argmodes Text >>= putStrLn’ shelltestrunner.hs:73:39: error: Data constructor not in scope: Text shelltestrunner.hs:94:11: error: • Couldn't match expected type ‘[Mode Args] -> IO Args’ with actual type ‘IO String’ • The function ‘cmdArgs’ is applied to two arguments, but its type ‘String -> IO String’ has only one In the first argument of ‘(>>=)’, namely ‘cmdArgs progversion argmodes’ In a stmt of a 'do' block: args <- cmdArgs progversion argmodes >>= checkArgs cabal: Leaving directory '/tmp/cabal-tmp-1337/shelltestrunner-0.7' cabal: Error: some packages failed to install: shelltestrunner-0.7 failed during the building phase. The exception was: ExitFailure 1