Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring appar-0.1.4... Building ansi-terminal-0.6.2.3... Building appar-0.1.4... Installed appar-0.1.4 Configuring base-compat-0.9.1... Building base-compat-0.9.1... Installed ansi-terminal-0.6.2.3 Configuring byteable-0.1.1... Building byteable-0.1.1... Configuring base-orphans-0.5.4... Installed byteable-0.1.1 Configuring byteorder-1.0.4... Installed base-compat-0.9.1 Building base-orphans-0.5.4... Building byteorder-1.0.4... Configuring dlist-0.8.0.2... Installed base-orphans-0.5.4 Building dlist-0.8.0.2... Installed byteorder-1.0.4 Configuring memory-0.13... Building memory-0.13... Configuring mtl-2.2.1... Installed dlist-0.8.0.2 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Configuring network-2.6.3.1... Installed memory-0.13 Building old-locale-1.0.0.7... Configuring parallel-3.2.1.0... Installed old-locale-1.0.0.7 Building parallel-3.2.1.0... Building network-2.6.3.1... Configuring prelude-extras-0.4.0.3... Installed parallel-3.2.1.0 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.1.0... Installed prelude-extras-0.4.0.3 Building primitive-0.6.1.0... Configuring reflection-2.1.2... Installed network-2.6.3.1 Building reflection-2.1.2... Configuring semigroups-0.18.2... Installed primitive-0.6.1.0 Building semigroups-0.18.2... Configuring random-1.1... Installed semigroups-0.18.2 Building random-1.1... Configuring stm-2.4.4.1... Installed reflection-2.1.2 Building stm-2.4.4.1... Configuring strict-0.3.2... Installed stm-2.4.4.1 Configuring text-1.2.2.1... Installed random-1.1 Building strict-0.3.2... Building text-1.2.2.1... Configuring time-locale-compat-0.1.1.3... Installed strict-0.3.2 Building time-locale-compat-0.1.1.3... Configuring transformers-compat-0.5.1.4... Installed time-locale-compat-0.1.1.3 Building transformers-compat-0.5.1.4... Configuring ansi-wl-pprint-0.6.7.3... Installed transformers-compat-0.5.1.4 Building ansi-wl-pprint-0.6.7.3... Installed ansi-wl-pprint-0.6.7.3 Configuring cryptonite-0.20... Building cryptonite-0.20... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Configuring HsOpenSSL-0.11.3.2... Installed hslogger-1.2.10 Building HsOpenSSL-0.11.3.2... Configuring iproute-1.7.1... Installed HsOpenSSL-0.11.3.2 Building iproute-1.7.1... Configuring StateVar-1.1.0.4... Installed iproute-1.7.1 Building StateVar-1.1.0.4... Configuring vector-0.11.0.0... Installed cryptonite-0.20 Building vector-0.11.0.0... Configuring async-2.1.1... Installed StateVar-1.1.0.4 Building async-2.1.1... Configuring exceptions-0.8.3... Installed async-2.1.1 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed exceptions-0.8.3 Building tagged-0.8.5... Configuring optparse-applicative-0.13.0.0... Installed tagged-0.8.5 Building optparse-applicative-0.13.0.0... Installed optparse-applicative-0.13.0.0 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring distributive-0.5.0.2... Installed hashable-1.2.4.0 Configuring cryptohash-0.11.9... Installed vector-0.11.0.0 Building cryptohash-0.11.9... Building distributive-0.5.0.2... Installed distributive-0.5.0.2 Configuring unordered-containers-0.2.7.1... Building unordered-containers-0.2.7.1... Configuring void-0.7.1... Installed cryptohash-0.11.9 Building void-0.7.1... Configuring scientific-0.3.4.9... Installed void-0.7.1 Building scientific-0.3.4.9... Configuring contravariant-1.4... Installed unordered-containers-0.2.7.1 Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building contravariant-1.4... Building attoparsec-0.13.1.0... Installed contravariant-1.4 Configuring comonad-5... Building comonad-5... Installed attoparsec-0.13.1.0 Configuring aeson-1.0.2.1... Building aeson-1.0.2.1... Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring profunctors-5.2... Building profunctors-5.2... Configuring semigroupoids-5.1... Installed aeson-1.0.2.1 Installed profunctors-5.2 Building semigroupoids-5.1... Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring adjunctions-4.3... Building adjunctions-4.3... Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed kan-extensions-5.0.1 Configuring lens-4.15.1... Building lens-4.15.1... Installed lens-4.15.1 Configuring moesocks-0.1.0.26... Building moesocks-0.1.0.26... Failed to install moesocks-0.1.0.26 Build log ( /home/builder/.cabal/logs/moesocks-0.1.0.26.log ): cabal: Entering directory '/tmp/cabal-tmp-14118/moesocks-0.1.0.26' Configuring moesocks-0.1.0.26... Building moesocks-0.1.0.26... Preprocessing executable 'moesocks' for moesocks-0.1.0.26... [ 1 of 12] Compiling Network.MoeSocks.Type ( src/Network/MoeSocks/Type.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Type.o ) [ 2 of 12] Compiling Network.MoeSocks.Helper ( src/Network/MoeSocks/Helper.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Helper.o ) [ 3 of 12] Compiling Network.MoeSocks.Encrypt ( src/Network/MoeSocks/Encrypt.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Encrypt.o ) [ 4 of 12] Compiling Network.MoeSocks.Constant ( src/Network/MoeSocks/Constant.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Constant.o ) [ 5 of 12] Compiling Network.MoeSocks.Config ( src/Network/MoeSocks/Config.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Config.o ) [ 6 of 12] Compiling Network.MoeSocks.Options ( src/Network/MoeSocks/Options.hs, dist/build/moesocks/moesocks-tmp/Network/MoeSocks/Options.o ) src/Network/MoeSocks/Options.hs:26:28: error: • Couldn't match type ‘Text’ with ‘[Char]’ Expected type: String Actual type: Text • In the second argument of ‘(-)’, namely ‘x’ In the first argument of ‘(<>)’, namely ‘help - x’ In the first argument of ‘(<>)’, namely ‘(<>) help - x ", default: "’ src/Network/MoeSocks/Options.hs:26:30: error: • Variable not in scope: (<>) :: Mod f0 a0 -> [Char] -> t0 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:26:47: error: • Variable not in scope: (<>) :: t0 -> String -> Mod f a • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:39:17: error: • Variable not in scope: (<>) :: O.Parser Text -> Mod f8 a8 -> t5 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:40:17: error: • Variable not in scope: (<>) :: t5 -> Mod f7 a7 -> t4 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:41:17: error: • Variable not in scope: (<>) :: t4 -> Mod f6 a6 -> f a • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:55:19: error: • Variable not in scope: (<>) :: O.Parser Bool -> Mod f35 a35 -> O.Parser Bool • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:56:27: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> String • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:60:27: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f10 a10 -> t6 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:61:27: error: • Variable not in scope: (<>) :: t6 -> Mod f9 a9 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:65:45: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> t7 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:66:45: error: • Variable not in scope: (<>) :: t7 -> [Char] -> Text • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:70:19: error: • Variable not in scope: (<>) :: O.Parser (Maybe Text) -> Mod f5 a5 -> t3 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:71:19: error: • Variable not in scope: (<>) :: t3 -> Mod f4 a4 -> t2 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:72:19: error: • Variable not in scope: (<>) :: t2 -> Mod f3 a3 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:76:19: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f12 a12 -> t8 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:77:19: error: • Variable not in scope: (<>) :: t8 -> Mod f11 a11 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:82:23: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f14 a14 -> t9 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:83:23: error: • Variable not in scope: (<>) :: t9 -> Mod f13 a13 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:90:19: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f16 a16 -> t10 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:91:19: error: • Variable not in scope: (<>) :: t10 -> Mod f15 a15 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:96:21: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f18 a18 -> t11 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:97:21: error: • Variable not in scope: (<>) :: t11 -> Mod f17 a17 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:104:21: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f2 a2 -> t1 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:105:21: error: • Variable not in scope: (<>) :: t1 -> Mod f1 a1 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:109:21: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f20 a20 -> t12 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:110:21: error: • Variable not in scope: (<>) :: t12 -> Mod f19 a19 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:115:21: error: • Variable not in scope: (<>) :: O.Parser (Maybe Value) -> Mod f22 a22 -> t13 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:116:21: error: • Variable not in scope: (<>) :: t13 -> Mod f21 a21 -> t • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:124:23: error: • Variable not in scope: (<>) :: O.Parser Bool -> Mod f34 a34 -> t27 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:125:23: error: • Variable not in scope: (<>) :: t27 -> Mod f33 a33 -> O.Parser Bool • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:126:32: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> t29 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:127:32: error: • Variable not in scope: (<>) :: t29 -> [Char] -> t28 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:128:32: error: • Variable not in scope: (<>) :: t28 -> [Char] -> String • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:133:23: error: • Variable not in scope: (<>) :: O.Parser Priority -> Mod f32 a32 -> t26 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:134:23: error: • Variable not in scope: (<>) :: t26 -> Mod f31 a31 -> O.Parser Priority • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:139:23: error: • Variable not in scope: (<>) :: O.Parser (Maybe Text) -> Mod f30 a30 -> t22 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:140:23: error: • Variable not in scope: (<>) :: t22 -> Mod f29 a29 -> t21 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:141:23: error: • Variable not in scope: (<>) :: t21 -> Mod f28 a28 -> O.Parser (Maybe Text) • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:142:33: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> t25 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:143:33: error: • Variable not in scope: (<>) :: t25 -> [Char] -> t24 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:144:33: error: • Variable not in scope: (<>) :: t24 -> [Char] -> t23 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:145:33: error: • Variable not in scope: (<>) :: t23 -> [Char] -> String • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:153:23: error: • Variable not in scope: (<>) :: O.Parser (Maybe Text) -> Mod f27 a27 -> t17 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:154:23: error: • Variable not in scope: (<>) :: t17 -> Mod f26 a26 -> t16 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:155:23: error: • Variable not in scope: (<>) :: t16 -> Mod f25 a25 -> O.Parser (Maybe Text) • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:156:33: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> t20 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:157:33: error: • Variable not in scope: (<>) :: t20 -> [Char] -> t19 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:158:33: error: • Variable not in scope: (<>) :: t19 -> [Char] -> t18 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:159:33: error: • Variable not in scope: (<>) :: t18 -> [Char] -> String • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:196:23: error: • Variable not in scope: (<>) :: O.Parser (Maybe Text) -> Mod f24 a24 -> t14 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:197:23: error: • Variable not in scope: (<>) :: t14 -> Mod f23 a23 -> O.Parser (Maybe Text) • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:202:33: error: • Variable not in scope: (<>) :: [Char] -> [Char] -> t15 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:203:33: error: • Variable not in scope: (<>) :: t15 -> [Char] -> Text • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:250:5: error: • Variable not in scope: (<>) :: ParserInfo MoeOptions -> InfoMod a37 -> t30 • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) src/Network/MoeSocks/Options.hs:251:5: error: • Variable not in scope: (<>) :: t30 -> InfoMod a36 -> ParserInfo MoeOptions • Perhaps you meant one of these: data constructor ‘:>’ (imported from Control.Lens), ‘<$>’ (imported from Prelude), ‘*>’ (imported from Prelude) cabal: Leaving directory '/tmp/cabal-tmp-14118/moesocks-0.1.0.26' cabal: Error: some packages failed to install: moesocks-0.1.0.26 failed during the building phase. The exception was: ExitFailure 1