Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring byteable-0.1.1... Building ansi-terminal-0.6.2.3... Building byteable-0.1.1... Configuring dlist-0.8.0.2... Installed byteable-0.1.1 Building dlist-0.8.0.2... Configuring base-compat-0.9.1... Installed ansi-terminal-0.6.2.3 Building base-compat-0.9.1... Configuring memory-0.13... Installed dlist-0.8.0.2 Building memory-0.13... Configuring primitive-0.6.1.0... Installed base-compat-0.9.1 Building primitive-0.6.1.0... Configuring network-2.6.3.1... Installed primitive-0.6.1.0 Configuring time-locale-compat-0.1.1.3... Installed memory-0.13 Building time-locale-compat-0.1.1.3... Configuring text-1.2.2.1... Installed time-locale-compat-0.1.1.3 Building text-1.2.2.1... Building network-2.6.3.1... Configuring transformers-compat-0.5.1.4... Installed network-2.6.3.1 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Installed ansi-wl-pprint-0.6.7.3 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Configuring cryptonite-0.20... Installed text-1.2.2.1 Building cryptonite-0.20... Configuring HsOpenSSL-0.11.3.2... Installed vector-0.11.0.0 Building HsOpenSSL-0.11.3.2... Configuring tagged-0.8.5... Installed cryptonite-0.20 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring optparse-applicative-0.13.0.0... Building optparse-applicative-0.13.0.0... Configuring hashable-1.2.4.0... Installed HsOpenSSL-0.11.3.2 Building hashable-1.2.4.0... Configuring cryptohash-0.11.9... Installed hashable-1.2.4.0 Building cryptohash-0.11.9... Installed optparse-applicative-0.13.0.0 Configuring scientific-0.3.4.9... Building scientific-0.3.4.9... Configuring unordered-containers-0.2.7.1... Installed cryptohash-0.11.9 Building unordered-containers-0.2.7.1... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed unordered-containers-0.2.7.1 Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed aeson-1.0.2.1 Configuring shadowsocks-1.20140617... Building shadowsocks-1.20140617... Failed to install shadowsocks-1.20140617 Build log ( /home/builder/.cabal/logs/shadowsocks-1.20140617.log ): cabal: Entering directory '/tmp/cabal-tmp-14157/shadowsocks-1.20140617' Configuring shadowsocks-1.20140617... Building shadowsocks-1.20140617... Preprocessing executable 'sslocal' for shadowsocks-1.20140617... [1 of 4] Compiling Shadowsocks.Util ( Shadowsocks/Util.hs, dist/build/sslocal/sslocal-tmp/Shadowsocks/Util.o ) Shadowsocks/Util.hs:43:18: error: • Couldn't match expected type ‘ReadM a35’ with actual type ‘Mod f25 (Maybe a34)’ • In the second argument of ‘($)’, namely ‘value Nothing’ In the first argument of ‘(<>)’, namely ‘nullOption $ value Nothing’ In the first argument of ‘(<>)’, namely ‘(<>) nullOption $ value Nothing reader (success . str)’ Shadowsocks/Util.hs:43:32: error: • Variable not in scope: (<>) :: (Mod OptionFields a35 -> Parser a35) -> t3 -> t2 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:43:35: error: • Variable not in scope: reader :: (a36 -> ReadM a7) -> t3 • Perhaps you meant one of these: ‘header’ (imported from Options.Applicative), ‘readIO’ (imported from Prelude), ‘readLn’ (imported from Prelude) Shadowsocks/Util.hs:43:53: error: • Couldn't match expected type ‘a36 -> b1’ with actual type ‘ReadM String’ • In the second argument of ‘(.)’, namely ‘str’ In the first argument of ‘reader’, namely ‘(success . str)’ In the second argument of ‘(<>)’, namely ‘reader (success . str)’ Shadowsocks/Util.hs:43:58: error: • Variable not in scope: (<>) :: t2 -> Mod OptionFields (Maybe String) -> Parser (Maybe String) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:45:23: error: • Couldn't match type ‘Either a6 b’ with ‘transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT String (transformers-0.5.2.0:Control.Monad.Trans.Except.Except ParseError) a’ Expected type: b -> transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT String (transformers-0.5.2.0:Control.Monad.Trans.Except.Except ParseError) a Actual type: b -> Either a6 b • In the second argument of ‘(.)’, namely ‘Right’ In the expression: ReadM . Right In an equation for ‘success’: success = ReadM . Right • Relevant bindings include success :: b -> ReadM a (bound at Shadowsocks/Util.hs:45:5) Shadowsocks/Util.hs:49:18: error: • Couldn't match expected type ‘ReadM a3’ with actual type ‘Mod f0 (Maybe a2)’ • In the second argument of ‘($)’, namely ‘value Nothing’ In the first argument of ‘(<>)’, namely ‘nullOption $ value Nothing’ In the first argument of ‘(<>)’, namely ‘(<>) nullOption $ value Nothing reader (success . auto)’ Shadowsocks/Util.hs:49:32: error: • Variable not in scope: (<>) :: (Mod OptionFields a3 -> Parser a3) -> t1 -> t0 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:49:35: error: • Variable not in scope: reader :: (a5 -> ReadM a1) -> t1 • Perhaps you meant one of these: ‘header’ (imported from Options.Applicative), ‘readIO’ (imported from Prelude), ‘readLn’ (imported from Prelude) Shadowsocks/Util.hs:49:53: error: • Couldn't match expected type ‘a5 -> b0’ with actual type ‘ReadM a4’ • In the second argument of ‘(.)’, namely ‘auto’ In the first argument of ‘reader’, namely ‘(success . auto)’ In the second argument of ‘(<>)’, namely ‘reader (success . auto)’ Shadowsocks/Util.hs:49:59: error: • Variable not in scope: (<>) :: t0 -> Mod OptionFields (Maybe a) -> Parser (Maybe a) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:51:23: error: • Couldn't match type ‘Either a0 b’ with ‘transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT String (transformers-0.5.2.0:Control.Monad.Trans.Except.Except ParseError) a37’ Expected type: b -> transformers-0.5.2.0:Control.Monad.Trans.Reader.ReaderT String (transformers-0.5.2.0:Control.Monad.Trans.Except.Except ParseError) a37 Actual type: b -> Either a0 b • In the second argument of ‘(.)’, namely ‘Right’ In the expression: ReadM . Right In an equation for ‘success’: success = ReadM . Right • Relevant bindings include success :: b -> ReadM a37 (bound at Shadowsocks/Util.hs:51:5) Shadowsocks/Util.hs:55:31: error: • Variable not in scope: (<>) :: Mod f4 a11 -> Mod f3 a10 -> t5 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:55:44: error: • Variable not in scope: (<>) :: t5 -> Mod f2 a9 -> t4 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:56:16: error: • Variable not in scope: (<>) :: t4 -> Mod f1 a8 -> Mod OptionFields (Maybe String) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:57:38: error: • Variable not in scope: (<>) :: Mod f8 a15 -> Mod f7 a14 -> t7 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:57:51: error: • Variable not in scope: (<>) :: t7 -> Mod f6 a13 -> t6 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:58:18: error: • Variable not in scope: (<>) :: t6 -> Mod f5 a12 -> Mod OptionFields (Maybe Int) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:59:37: error: • Variable not in scope: (<>) :: Mod f12 a19 -> Mod f11 a18 -> t9 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:59:50: error: • Variable not in scope: (<>) :: t9 -> Mod f10 a17 -> t8 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:60:18: error: • Variable not in scope: (<>) :: t8 -> Mod f9 a16 -> Mod OptionFields (Maybe Int) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:61:33: error: • Variable not in scope: (<>) :: Mod f16 a23 -> Mod f15 a22 -> t11 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:61:46: error: • Variable not in scope: (<>) :: t11 -> Mod f14 a21 -> t10 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:62:16: error: • Variable not in scope: (<>) :: t10 -> Mod f13 a20 -> Mod OptionFields (Maybe String) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:63:31: error: • Variable not in scope: (<>) :: Mod f20 a27 -> Mod f19 a26 -> t13 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:63:44: error: • Variable not in scope: (<>) :: t13 -> Mod f18 a25 -> t12 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:64:16: error: • Variable not in scope: (<>) :: t12 -> Mod f17 a24 -> Mod OptionFields (Maybe String) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:65:31: error: • Variable not in scope: (<>) :: Mod f24 a31 -> Mod f23 a30 -> t15 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:65:44: error: • Variable not in scope: (<>) :: t15 -> Mod f22 a29 -> t14 • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:66:16: error: • Variable not in scope: (<>) :: t14 -> Mod f21 a28 -> Mod OptionFields (Maybe String) • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) Shadowsocks/Util.hs:71:33: error: • Variable not in scope: (<>) :: InfoMod a33 -> InfoMod a32 -> InfoMod Options • Perhaps you meant one of these: ‘<$>’ (imported from Options.Applicative), ‘<*>’ (imported from Options.Applicative), ‘*>’ (imported from Options.Applicative) cabal: Leaving directory '/tmp/cabal-tmp-14157/shadowsocks-1.20140617' cabal: Error: some packages failed to install: shadowsocks-1.20140617 failed during the building phase. The exception was: ExitFailure 1