Resolving dependencies... Downloading cabal-install-bundle-1.18.0.2.1... Configuring cabal-install-bundle-1.18.0.2.1... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking wspiapi.h usability... no checking wspiapi.h presence... no checking for wspiapi.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for readlink... yes checking for symlink... yes checking for struct msghdr.msg_control... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for in_addr_t in netinet/in.h... yes checking for SO_PEERCRED and struct ucred in sys/socket.h... yes checking for _head_libws2_32_a in -lws2_32... no checking for getaddrinfo... yes checking for gai_strerror... yes checking whether AI_ADDRCONFIG is declared... yes checking whether AI_ALL is declared... yes checking whether AI_NUMERICSERV is declared... yes checking whether AI_V4MAPPED is declared... yes checking whether IPV6_V6ONLY is declared... yes checking for sendfile in sys/sendfile.h... yes checking for sendfile in sys/socket.h... no checking for gethostent... yes configure: creating ./config.status config.status: creating network.buildinfo config.status: creating include/HsNetworkConfig.h Building cabal-install-bundle-1.18.0.2.1... Preprocessing executable 'cabal' for cabal-install-bundle-1.18.0.2.1... In file included from dist/build/cabal/cabal-tmp/Network/Socket.hs:30:0: /opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ In file included from dist/build/cabal/cabal-tmp/Network/BSD.hs:24:0: /opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ [ 1 of 141] Compiling System.Random ( System/Random.hs, dist/build/cabal/cabal-tmp/System/Random.o ) [ 2 of 141] Compiling Distribution.Client.Dependency.Modular.Version ( Distribution/Client/Dependency/Modular/Version.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Version.o ) [ 3 of 141] Compiling Distribution.Client.Dependency.Modular.PSQ ( Distribution/Client/Dependency/Modular/PSQ.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/PSQ.o ) [ 4 of 141] Compiling Distribution.Client.Dependency.Modular.Package ( Distribution/Client/Dependency/Modular/Package.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Package.o ) [ 5 of 141] Compiling Distribution.Client.Haddock ( Distribution/Client/Haddock.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Haddock.o ) [ 6 of 141] Compiling Distribution.Client.Compat.Environment ( Distribution/Client/Compat/Environment.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Environment.o ) [ 7 of 141] Compiling Distribution.Client.PackageUtils ( Distribution/Client/PackageUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/PackageUtils.o ) [ 8 of 141] Compiling Network.Socket.Internal ( dist/build/cabal/cabal-tmp/Network/Socket/Internal.hs, dist/build/cabal/cabal-tmp/Network/Socket/Internal.o ) Network/Socket/Internal.hsc:221:1: Warning: Pattern match(es) are non-exhaustive In an equation for ‘sizeOfSockAddrByFamily’: Patterns not matched: AF_UNSPEC AF_SNA AF_DECnet AF_APPLETALK ... Network/Socket/Internal.hsc:293:3: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: #x with #x `notElem` [1#, 2#, 10#] [ 9 of 141] Compiling Network.Socket ( dist/build/cabal/cabal-tmp/Network/Socket.hs, dist/build/cabal/cabal-tmp/Network/Socket.o ) Network/Socket.hsc:199:1: Warning: The qualified import of ‘Control.Exception’ is redundant except perhaps to import instances from ‘Control.Exception’ To import instances alone, use: import Control.Exception() Network/Socket.hsc:228:1: Warning: The import of ‘GHC.IO.FD’ is redundant except perhaps to import instances from ‘GHC.IO.FD’ To import instances alone, use: import GHC.IO.FD() Network/Socket.hsc:749:6: Warning: Defined but not used: ‘sock’ Network/Socket.hsc:794:9: Warning: Defined but not used: ‘sock’ Network/Socket.hsc:1052:27: Warning: Defaulting the following constraint(s) to type ‘Integer’ (Num a0) arising from the literal ‘12’ at Network/Socket.hsc:1052:27-28 (Integral a0) arising from a use of ‘fromIntegral’ at Network/Socket.hsc:1052:13-24 In the first argument of ‘fromIntegral’, namely ‘(12)’ In the expression: (fromIntegral (12)) In an equation for ‘sz’: sz = (fromIntegral (12)) [ 10 of 141] Compiling Network.BSD ( dist/build/cabal/cabal-tmp/Network/BSD.hs, dist/build/cabal/cabal-tmp/Network/BSD.o ) Network/BSD.hsc:115:1: Warning: Module ‘Prelude’ does not export ‘catch’ [ 11 of 141] Compiling Network.HTTP.Base64 ( Network/HTTP/Base64.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Base64.o ) [ 12 of 141] Compiling Network.HTTP.MD5Aux ( Network/HTTP/MD5Aux.hs, dist/build/cabal/cabal-tmp/Network/HTTP/MD5Aux.o ) Network/HTTP/MD5Aux.hs:91:10: Warning: No explicit implementation for either ‘negate’ or ‘-’ In the instance declaration for ‘Num ABCD’ [ 13 of 141] Compiling Network.HTTP.Utils ( Network/HTTP/Utils.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Utils.o ) [ 14 of 141] Compiling Network.BufferType ( Network/BufferType.hs, dist/build/cabal/cabal-tmp/Network/BufferType.o ) [ 15 of 141] Compiling Distribution.Client.World ( Distribution/Client/World.hs, dist/build/cabal/cabal-tmp/Distribution/Client/World.o ) [ 16 of 141] Compiling Distribution.Client.ParseUtils ( Distribution/Client/ParseUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/ParseUtils.o ) [ 17 of 141] Compiling Distribution.Client.BuildReports.Types ( Distribution/Client/BuildReports/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/BuildReports/Types.o ) [ 18 of 141] Compiling Distribution.Client.Compat.FilePerms ( Distribution/Client/Compat/FilePerms.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/FilePerms.o ) [ 19 of 141] Compiling Codec.Compression.Zlib.Stream ( dist/build/cabal/cabal-tmp/Codec/Compression/Zlib/Stream.hs, dist/build/cabal/cabal-tmp/Codec/Compression/Zlib/Stream.o ) Codec/Compression/Zlib/Stream.hsc:253:10: Warning: ‘Stream’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. [ 20 of 141] Compiling Codec.Compression.Zlib.Internal ( Codec/Compression/Zlib/Internal.hs, dist/build/cabal/cabal-tmp/Codec/Compression/Zlib/Internal.o ) [ 21 of 141] Compiling Codec.Compression.GZip ( Codec/Compression/GZip.hs, dist/build/cabal/cabal-tmp/Codec/Compression/GZip.o ) [ 22 of 141] Compiling Distribution.Client.GZipUtils ( Distribution/Client/GZipUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/GZipUtils.o ) [ 23 of 141] Compiling Control.Concurrent.STM.TBQueue ( Control/Concurrent/STM/TBQueue.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TBQueue.o ) [ 24 of 141] Compiling Control.Concurrent.STM.TQueue ( Control/Concurrent/STM/TQueue.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TQueue.o ) [ 25 of 141] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TChan.o ) [ 26 of 141] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TMVar.o ) [ 27 of 141] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TVar.o ) [ 28 of 141] Compiling Control.Concurrent.STM.TArray ( Control/Concurrent/STM/TArray.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM/TArray.o ) [ 29 of 141] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/cabal/cabal-tmp/Control/Monad/STM.o ) [ 30 of 141] Compiling Control.Concurrent.STM ( Control/Concurrent/STM.hs, dist/build/cabal/cabal-tmp/Control/Concurrent/STM.o ) [ 31 of 141] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Semaphore.o ) [ 32 of 141] Compiling Distribution.Client.JobControl ( Distribution/Client/JobControl.hs, dist/build/cabal/cabal-tmp/Distribution/Client/JobControl.o ) [ 33 of 141] Compiling Distribution.Client.Compat.Time ( Distribution/Client/Compat/Time.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Time.o ) [ 34 of 141] Compiling Distribution.Client.Tar ( Distribution/Client/Tar.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Tar.o ) Distribution/Client/Tar.hs:679:10: Warning: ‘Partial’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. [ 35 of 141] Compiling Text.Parsec.Pos ( Text/Parsec/Pos.hs, dist/build/cabal/cabal-tmp/Text/Parsec/Pos.o ) [ 36 of 141] Compiling Text.Parsec.Error ( Text/Parsec/Error.hs, dist/build/cabal/cabal-tmp/Text/Parsec/Error.o ) Text/Parsec/Error.hs:186:20: Warning: This binding for ‘msgs’ shadows the existing binding bound at Text/Parsec/Error.hs:165:77 [ 37 of 141] Compiling Text.ParserCombinators.Parsec.Pos ( Text/ParserCombinators/Parsec/Pos.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec/Pos.o ) [ 38 of 141] Compiling Text.ParserCombinators.Parsec.Error ( Text/ParserCombinators/Parsec/Error.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec/Error.o ) [ 39 of 141] Compiling Distribution.Client.Utils ( Distribution/Client/Utils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Utils.o ) [ 40 of 141] Compiling Distribution.Client.PackageIndex ( Distribution/Client/PackageIndex.hs, dist/build/cabal/cabal-tmp/Distribution/Client/PackageIndex.o ) [ 41 of 141] Compiling Distribution.Client.Init.Licenses ( Distribution/Client/Init/Licenses.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Init/Licenses.o ) [ 42 of 141] Compiling Distribution.Client.Init.Types ( Distribution/Client/Init/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Init/Types.o ) [ 43 of 141] Compiling Data.Functor.Identity ( Data/Functor/Identity.hs, dist/build/cabal/cabal-tmp/Data/Functor/Identity.o ) Data/Functor/Identity.hs:28:1: Warning: The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() [ 44 of 141] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/cabal/cabal-tmp/Control/Monad/Identity.o ) [ 45 of 141] Compiling Control.Monad.Trans.Class ( Control/Monad/Trans/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Class.o ) [ 46 of 141] Compiling Control.Monad.IO.Class ( Control/Monad/IO/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/IO/Class.o ) Control/Monad/IO/Class.hs:19:1: Warning: The import of ‘System.IO’ is redundant except perhaps to import instances from ‘System.IO’ To import instances alone, use: import System.IO() [ 47 of 141] Compiling Control.Monad.Trans.Cont ( Control/Monad/Trans/Cont.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Cont.o ) Control/Monad/Trans/Cont.hs:36:1: Warning: The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() [ 48 of 141] Compiling Control.Monad.Trans.Error ( Control/Monad/Trans/Error.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Error.o ) Control/Monad/Trans/Error.hs:50:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future Control/Monad/Trans/Error.hs:56:10: Warning: ‘IO’ is an instance of MonadPlus but not Alternative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal. Control/Monad/Trans/Error.hs:56:10: Warning: Orphan instance: instance MonadPlus IO Control/Monad/Trans/Error.hs:120:10: Warning: Orphan instance: instance Error e => Alternative (Either e) Control/Monad/Trans/Error.hs:125:10: Warning: Orphan instance: instance Error e => MonadPlus (Either e) [ 49 of 141] Compiling Control.Monad.Trans.Identity ( Control/Monad/Trans/Identity.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Identity.o ) [ 50 of 141] Compiling Control.Monad.Trans.List ( Control/Monad/Trans/List.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/List.o ) [ 51 of 141] Compiling Control.Monad.Trans.Maybe ( Control/Monad/Trans/Maybe.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Maybe.o ) [ 52 of 141] Compiling Control.Monad.Trans.Reader ( Control/Monad/Trans/Reader.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Reader.o ) Control/Monad/Trans/Reader.hs:46:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [ 53 of 141] Compiling Control.Monad.Trans.RWS.Lazy ( Control/Monad/Trans/RWS/Lazy.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/RWS/Lazy.o ) [ 54 of 141] Compiling Control.Monad.Trans.RWS.Strict ( Control/Monad/Trans/RWS/Strict.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/RWS/Strict.o ) [ 55 of 141] Compiling Control.Monad.Trans.State.Lazy ( Control/Monad/Trans/State/Lazy.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/State/Lazy.o ) [ 56 of 141] Compiling Control.Monad.Trans.State.Strict ( Control/Monad/Trans/State/Strict.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/State/Strict.o ) [ 57 of 141] Compiling Control.Monad.Trans.Writer.Lazy ( Control/Monad/Trans/Writer/Lazy.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Writer/Lazy.o ) Control/Monad/Trans/Writer/Lazy.hs:152:12: Warning: This binding for ‘a’ shadows the existing binding bound at Control/Monad/Trans/Writer/Lazy.hs:151:25 [ 58 of 141] Compiling Control.Monad.Trans.Writer.Strict ( Control/Monad/Trans/Writer/Strict.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans/Writer/Strict.o ) Control/Monad/Trans/Writer/Strict.hs:120:12: Warning: This binding for ‘a’ shadows the existing binding bound at Control/Monad/Trans/Writer/Strict.hs:119:25 [ 59 of 141] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/Reader/Class.o ) Control/Monad/Reader/Class.hs:60:1: Warning: The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() [ 60 of 141] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/State/Class.o ) Control/Monad/State/Class.hs:44:1: Warning: The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() [ 61 of 141] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/Cont/Class.o ) Control/Monad/Cont/Class.hs:69:1: Warning: The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() [ 62 of 141] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/cabal/cabal-tmp/Control/Monad/Error/Class.o ) Control/Monad/Error/Class.hs:58:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [ 63 of 141] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/cabal/cabal-tmp/Control/Monad/Trans.o ) [ 64 of 141] Compiling Text.Parsec.Prim ( Text/Parsec/Prim.hs, dist/build/cabal/cabal-tmp/Text/Parsec/Prim.o ) Text/Parsec/Prim.hs:84:14: Warning: This binding for ‘state’ shadows the existing binding imported from ‘Control.Monad.State.Class’ at Text/Parsec/Prim.hs:76:1-32 (and originally defined at Control/Monad/State/Class.hs:60:5-33) Text/Parsec/Prim.hs:224:16: Warning: This binding for ‘s’ shadows the existing binding bound at Text/Parsec/Prim.hs:221:16 Text/Parsec/Prim.hs:232:23: Warning: This binding for ‘x’ shadows the existing binding bound at Text/Parsec/Prim.hs:224:14 Text/Parsec/Prim.hs:232:25: Warning: This binding for ‘s’ shadows the existing binding bound at Text/Parsec/Prim.hs:224:16 Text/Parsec/Prim.hs:241:16: Warning: This binding for ‘s’ shadows the existing binding bound at Text/Parsec/Prim.hs:221:16 Text/Parsec/Prim.hs:245:22: Warning: This binding for ‘x’ shadows the existing binding bound at Text/Parsec/Prim.hs:241:14 Text/Parsec/Prim.hs:245:24: Warning: This binding for ‘s’ shadows the existing binding bound at Text/Parsec/Prim.hs:241:16 Text/Parsec/Prim.hs:261:14: Warning: This binding for ‘state’ shadows the existing binding imported from ‘Control.Monad.State.Class’ at Text/Parsec/Prim.hs:76:1-32 (and originally defined at Control/Monad/State/Class.hs:60:5-33) Text/Parsec/Prim.hs:339:19: Warning: This binding for ‘error’ shadows the existing binding imported from ‘Prelude’ at Text/Parsec/Prim.hs:18:8-23 (and originally defined in ‘GHC.Err’) Text/Parsec/Prim.hs:349:29: Warning: This binding for ‘msgs’ shadows the existing binding bound at Text/Parsec/Prim.hs:337:10 Text/Parsec/Prim.hs:376:47: Warning: Defined but not used: ‘eok’ Text/Parsec/Prim.hs:445:27: Warning: This binding for ‘state’ shadows the existing binding imported from ‘Control.Monad.State.Class’ at Text/Parsec/Prim.hs:76:1-32 (and originally defined at Control/Monad/State/Class.hs:60:5-33) Text/Parsec/Prim.hs:451:23: Warning: Defined but not used: ‘cok’ Text/Parsec/Prim.hs:515:43: Warning: Defined but not used: ‘cerr’ Text/Parsec/Prim.hs:515:48: Warning: Defined but not used: ‘eok’ Text/Parsec/Prim.hs:527:43: Warning: Defined but not used: ‘cerr’ Text/Parsec/Prim.hs:527:48: Warning: Defined but not used: ‘eok’ Text/Parsec/Prim.hs:540:1: Warning: Top-level binding with no type signature: unexpectError :: String -> SourcePos -> ParseError Text/Parsec/Prim.hs:570:31: Warning: Defined but not used: ‘eerr’ Text/Parsec/Prim.hs:571:22: Warning: Defined but not used: ‘err’ Text/Parsec/Prim.hs:579:1: Warning: Top-level binding with no type signature: manyErr :: forall t. t Text/Parsec/Prim.hs:661:18: Warning: This binding for ‘state’ shadows the existing binding imported from ‘Control.Monad.State.Class’ at Text/Parsec/Prim.hs:76:1-32 (and originally defined at Control/Monad/State/Class.hs:60:5-33) Text/Parsec/Prim.hs:667:15: Warning: This binding for ‘state’ shadows the existing binding imported from ‘Control.Monad.State.Class’ at Text/Parsec/Prim.hs:76:1-32 (and originally defined at Control/Monad/State/Class.hs:60:5-33) Text/Parsec/Prim.hs:447:27: Warning: A do-notation statement discarded a result of type ‘State s u’ Suppress this warning by saying ‘_ <- setParserState state’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Prim.hs:563:8: Warning: A do-notation statement discarded a result of type ‘[a]’ Suppress this warning by saying ‘_ <- manyAccum (\ _ _ -> []) p’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Prim.hs:674:10: Warning: A do-notation statement discarded a result of type ‘State s u’ Suppress this warning by saying ‘_ <- updateParserState (\ (State input _ user) -> Text.Parsec.Prim.$WState input pos user)’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Prim.hs:683:10: Warning: A do-notation statement discarded a result of type ‘State s u’ Suppress this warning by saying ‘_ <- updateParserState (\ (State _ pos user) -> Text.Parsec.Prim.$WState input pos user)’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Prim.hs:714:17: Warning: A do-notation statement discarded a result of type ‘State s u’ Suppress this warning by saying ‘_ <- ($) updateParserState \ s -> s {stateUser = u}’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Prim.hs:727:20: Warning: A do-notation statement discarded a result of type ‘State s u’ Suppress this warning by saying ‘_ <- ($) updateParserState \ s -> s {stateUser = f (stateUser s)}’ or by using the flag -fno-warn-unused-do-bind [ 65 of 141] Compiling Text.Parsec.String ( Text/Parsec/String.hs, dist/build/cabal/cabal-tmp/Text/Parsec/String.o ) [ 66 of 141] Compiling Text.ParserCombinators.Parsec.Prim ( Text/ParserCombinators/Parsec/Prim.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec/Prim.o ) [ 67 of 141] Compiling Text.Parsec.Char ( Text/Parsec/Char.hs, dist/build/cabal/cabal-tmp/Text/Parsec/Char.o ) [ 68 of 141] Compiling Text.ParserCombinators.Parsec.Char ( Text/ParserCombinators/Parsec/Char.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec/Char.o ) [ 69 of 141] Compiling Text.Parsec.Combinator ( Text/Parsec/Combinator.hs, dist/build/cabal/cabal-tmp/Text/Parsec/Combinator.o ) Text/Parsec/Combinator.hs:65:27: Warning: A do-notation statement discarded a result of type ‘a’ Suppress this warning by saying ‘_ <- p’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:75:27: Warning: A do-notation statement discarded a result of type ‘open’ Suppress this warning by saying ‘_ <- open’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:75:41: Warning: A do-notation statement discarded a result of type ‘close’ Suppress this warning by saying ‘_ <- close’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:81:27: Warning: A do-notation statement discarded a result of type ‘a’ Suppress this warning by saying ‘_ <- p’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:129:31: Warning: A do-notation statement discarded a result of type ‘sep’ Suppress this warning by saying ‘_ <- sep’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:150:42: Warning: A do-notation statement discarded a result of type ‘sep’ Suppress this warning by saying ‘_ <- sep’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:158:41: Warning: A do-notation statement discarded a result of type ‘sep’ Suppress this warning by saying ‘_ <- sep’ or by using the flag -fno-warn-unused-do-bind Text/Parsec/Combinator.hs:275:35: Warning: A do-notation statement discarded a result of type ‘end’ Suppress this warning by saying ‘_ <- end’ or by using the flag -fno-warn-unused-do-bind [ 70 of 141] Compiling Text.ParserCombinators.Parsec.Combinator ( Text/ParserCombinators/Parsec/Combinator.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec/Combinator.o ) [ 71 of 141] Compiling Text.ParserCombinators.Parsec ( Text/ParserCombinators/Parsec.hs, dist/build/cabal/cabal-tmp/Text/ParserCombinators/Parsec.o ) [ 72 of 141] Compiling Network.URI ( Network/URI.hs, dist/build/cabal/cabal-tmp/Network/URI.o ) Network/URI.hs:224:1: Warning: Defined but not used: ‘testDefaultUserInfoMap’ Network/URI.hs:308:1: Warning: Defined but not used: ‘testURIReference’ Network/URI.hs:370:1: Warning: Defined but not used: ‘genDelims’ Network/URI.hs:816:1: Warning: Defined but not used: ‘alphaNumChar’ Network/URI.hs:1202:1: Warning: Defined but not used: ‘traceShow’ Network/URI.hs:1205:1: Warning: Defined but not used: ‘traceVal’ [ 73 of 141] Compiling Distribution.Client.Types ( Distribution/Client/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Types.o ) [ 74 of 141] Compiling Distribution.Client.Init.Heuristics ( Distribution/Client/Init/Heuristics.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Init/Heuristics.o ) [ 75 of 141] Compiling Distribution.Client.IndexUtils ( Distribution/Client/IndexUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/IndexUtils.o ) [ 76 of 141] Compiling Distribution.Client.Sandbox.Index ( Distribution/Client/Sandbox/Index.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Sandbox/Index.o ) [ 77 of 141] Compiling Distribution.Client.InstallPlan ( Distribution/Client/InstallPlan.hs, dist/build/cabal/cabal-tmp/Distribution/Client/InstallPlan.o ) [ 78 of 141] Compiling Distribution.Client.Dependency.Types ( Distribution/Client/Dependency/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Types.o ) [ 79 of 141] Compiling Distribution.Client.Dependency.Modular.Flag ( Distribution/Client/Dependency/Modular/Flag.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Flag.o ) [ 80 of 141] Compiling Distribution.Client.Dependency.Modular.Dependency ( Distribution/Client/Dependency/Modular/Dependency.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Dependency.o ) [ 81 of 141] Compiling Distribution.Client.Dependency.Modular.Tree ( Distribution/Client/Dependency/Modular/Tree.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Tree.o ) [ 82 of 141] Compiling Distribution.Client.Dependency.Modular.Index ( Distribution/Client/Dependency/Modular/Index.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Index.o ) [ 83 of 141] Compiling Distribution.Client.Dependency.Modular.IndexConversion ( Distribution/Client/Dependency/Modular/IndexConversion.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/IndexConversion.o ) [ 84 of 141] Compiling Distribution.Client.Dependency.Modular.Message ( Distribution/Client/Dependency/Modular/Message.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Message.o ) [ 85 of 141] Compiling Distribution.Client.Dependency.Modular.Log ( Distribution/Client/Dependency/Modular/Log.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Log.o ) [ 86 of 141] Compiling Distribution.Client.Dependency.Modular.Preference ( Distribution/Client/Dependency/Modular/Preference.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Preference.o ) [ 87 of 141] Compiling Distribution.Client.Dependency.Modular.Configured ( Distribution/Client/Dependency/Modular/Configured.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Configured.o ) [ 88 of 141] Compiling Distribution.Client.Dependency.Modular.Assignment ( Distribution/Client/Dependency/Modular/Assignment.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Assignment.o ) [ 89 of 141] Compiling Distribution.Client.Dependency.Modular.Explore ( Distribution/Client/Dependency/Modular/Explore.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Explore.o ) [ 90 of 141] Compiling Distribution.Client.Dependency.Modular.ConfiguredConversion ( Distribution/Client/Dependency/Modular/ConfiguredConversion.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/ConfiguredConversion.o ) [ 91 of 141] Compiling Distribution.Client.Dependency.TopDown.Types ( Distribution/Client/Dependency/TopDown/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/TopDown/Types.o ) [ 92 of 141] Compiling Distribution.Client.Dependency.TopDown.Constraints ( Distribution/Client/Dependency/TopDown/Constraints.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/TopDown/Constraints.o ) [ 93 of 141] Compiling Distribution.Client.Dependency.TopDown ( Distribution/Client/Dependency/TopDown.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/TopDown.o ) [ 94 of 141] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/cabal/cabal-tmp/Control/Monad/Reader.o ) [ 95 of 141] Compiling Distribution.Client.Dependency.Modular.Builder ( Distribution/Client/Dependency/Modular/Builder.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Builder.o ) [ 96 of 141] Compiling Distribution.Client.Dependency.Modular.Validate ( Distribution/Client/Dependency/Modular/Validate.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Validate.o ) [ 97 of 141] Compiling Distribution.Client.Dependency.Modular.Solver ( Distribution/Client/Dependency/Modular/Solver.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Solver.o ) [ 98 of 141] Compiling Distribution.Client.Dependency.Modular ( Distribution/Client/Dependency/Modular.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular.o ) [ 99 of 141] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/cabal/cabal-tmp/Control/Monad/Error.o ) Control/Monad/Error.hs:57:1: Warning: Module ‘Control.Monad.Instances’ is deprecated: This module now contains no instances and will be removed in the future [100 of 141] Compiling Network.Stream ( Network/Stream.hs, dist/build/cabal/cabal-tmp/Network/Stream.o ) [101 of 141] Compiling Network.HTTP.Headers ( Network/HTTP/Headers.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Headers.o ) [102 of 141] Compiling Network.HTTP.Cookie ( Network/HTTP/Cookie.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Cookie.o ) [103 of 141] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/cabal/cabal-tmp/Control/Monad/State/Lazy.o ) [104 of 141] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/cabal/cabal-tmp/Control/Monad/State.o ) [105 of 141] Compiling Paths_cabal_install_bundle ( dist/build/autogen/Paths_cabal_install_bundle.hs, dist/build/cabal/cabal-tmp/Paths_cabal_install_bundle.o ) [106 of 141] Compiling Network.HTTP.Base ( Network/HTTP/Base.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Base.o ) [107 of 141] Compiling Network.HTTP.Auth ( Network/HTTP/Auth.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Auth.o ) [108 of 141] Compiling Network.HTTP.Proxy ( Network/HTTP/Proxy.hs, dist/build/cabal/cabal-tmp/Network/HTTP/Proxy.o ) Network/HTTP/Proxy.hs:24:1: Warning: The import of ‘Network.HTTP.Base’ is redundant except perhaps to import instances from ‘Network.HTTP.Base’ To import instances alone, use: import Network.HTTP.Base() [109 of 141] Compiling Network.TCP ( Network/TCP.hs, dist/build/cabal/cabal-tmp/Network/TCP.o ) [110 of 141] Compiling Network.StreamDebugger ( Network/StreamDebugger.hs, dist/build/cabal/cabal-tmp/Network/StreamDebugger.o ) [111 of 141] Compiling Network.HTTP.HandleStream ( Network/HTTP/HandleStream.hs, dist/build/cabal/cabal-tmp/Network/HTTP/HandleStream.o ) [112 of 141] Compiling Network.HTTP ( Network/HTTP.hs, dist/build/cabal/cabal-tmp/Network/HTTP.o ) [113 of 141] Compiling Network.Browser ( Network/Browser.hs, dist/build/cabal/cabal-tmp/Network/Browser.o ) [114 of 141] Compiling Distribution.Client.HttpUtils ( Distribution/Client/HttpUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/HttpUtils.o ) [115 of 141] Compiling Distribution.Client.FetchUtils ( Distribution/Client/FetchUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/FetchUtils.o ) [116 of 141] Compiling Distribution.Client.BuildReports.Anonymous ( Distribution/Client/BuildReports/Anonymous.hs, dist/build/cabal/cabal-tmp/Distribution/Client/BuildReports/Anonymous.o ) [117 of 141] Compiling Distribution.Client.BuildReports.Storage ( Distribution/Client/BuildReports/Storage.hs, dist/build/cabal/cabal-tmp/Distribution/Client/BuildReports/Storage.o ) [118 of 141] Compiling Distribution.Client.BuildReports.Upload ( Distribution/Client/BuildReports/Upload.hs, dist/build/cabal/cabal-tmp/Distribution/Client/BuildReports/Upload.o ) [119 of 141] Compiling Distribution.Client.Win32SelfUpgrade ( Distribution/Client/Win32SelfUpgrade.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Win32SelfUpgrade.o ) [120 of 141] Compiling Distribution.Client.Init ( Distribution/Client/Init.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Init.o ) [121 of 141] Compiling Distribution.Client.Sandbox.Types ( Distribution/Client/Sandbox/Types.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Sandbox/Types.o ) [122 of 141] Compiling Distribution.Client.Run ( Distribution/Client/Run.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Run.o ) [123 of 141] Compiling Distribution.Client.Check ( Distribution/Client/Check.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Check.o ) [124 of 141] Compiling Distribution.Client.Update ( Distribution/Client/Update.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Update.o ) [125 of 141] Compiling Distribution.Client.Targets ( Distribution/Client/Targets.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Targets.o ) [126 of 141] Compiling Distribution.Client.Dependency ( Distribution/Client/Dependency.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Dependency.o ) [127 of 141] Compiling Distribution.Client.Setup ( Distribution/Client/Setup.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Setup.o ) [128 of 141] Compiling Distribution.Client.Config ( Distribution/Client/Config.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Config.o ) [129 of 141] Compiling Distribution.Client.SetupWrapper ( Distribution/Client/SetupWrapper.hs, dist/build/cabal/cabal-tmp/Distribution/Client/SetupWrapper.o ) [130 of 141] Compiling Distribution.Client.Sandbox.Timestamp ( Distribution/Client/Sandbox/Timestamp.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Sandbox/Timestamp.o ) [131 of 141] Compiling Distribution.Client.Upload ( Distribution/Client/Upload.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Upload.o ) [132 of 141] Compiling Distribution.Client.List ( Distribution/Client/List.hs, dist/build/cabal/cabal-tmp/Distribution/Client/List.o ) [133 of 141] Compiling Distribution.Client.Configure ( Distribution/Client/Configure.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Configure.o ) [134 of 141] Compiling Distribution.Client.Fetch ( Distribution/Client/Fetch.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Fetch.o ) [135 of 141] Compiling Distribution.Client.SrcDist ( Distribution/Client/SrcDist.hs, dist/build/cabal/cabal-tmp/Distribution/Client/SrcDist.o ) [136 of 141] Compiling Distribution.Client.Get ( Distribution/Client/Get.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Get.o ) [137 of 141] Compiling Distribution.Client.Sandbox.PackageEnvironment ( Distribution/Client/Sandbox/PackageEnvironment.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Sandbox/PackageEnvironment.o ) [138 of 141] Compiling Distribution.Client.InstallSymlink ( Distribution/Client/InstallSymlink.hs, dist/build/cabal/cabal-tmp/Distribution/Client/InstallSymlink.o ) [139 of 141] Compiling Distribution.Client.Install ( Distribution/Client/Install.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Install.o ) [140 of 141] Compiling Distribution.Client.Sandbox ( Distribution/Client/Sandbox.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Sandbox.o ) [141 of 141] Compiling Main ( Main.hs, dist/build/cabal/cabal-tmp/Main.o ) In file included from dist/build/cabal/cabal-tmp/Network/Socket.hs:30:0: /opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ In file included from dist/build/cabal/cabal-tmp/Network/BSD.hs:24:0: /opt/ghc/7.8.3/lib/ghc-7.8.3/base-4.7.0.1/include/Typeable.h:17:2: warning: #warning is obsolete and will be removed in GHC 7.10 [-Wcpp] #warning is obsolete and will be removed in GHC 7.10 ^ Linking dist/build/cabal/cabal ... Warning: No documentation was generated as this package does not contain a library. Perhaps you want to use the --executables, --tests or --benchmarks flags. Installing executable(s) in /home/builder/hackage-server/build-cache/tmp-install/bin Warning: The directory /home/builder/hackage-server/build-cache/tmp-install/bin is not in the system search path. Installed cabal-install-bundle-1.18.0.2.1