Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting StateVar-1.1.1.1 Starting base-orphans-0.8.1 Starting SHA-1.6.4.4 Starting base-compat-0.10.5 Building StateVar-1.1.1.1 Building base-orphans-0.8.1 Building SHA-1.6.4.4 Building base-compat-0.10.5 Completed base-orphans-0.8.1 Starting base64-bytestring-1.0.0.2 Completed StateVar-1.1.1.1 Starting basement-0.0.10 Building base64-bytestring-1.0.0.2 Building basement-0.0.10 Completed base64-bytestring-1.0.0.2 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed base-compat-0.10.5 Starting byteable-0.1.1 Building byteable-0.1.1 Completed SHA-1.6.4.4 Starting cabal-doctest-1.0.6 Completed byteable-0.1.1 Starting call-stack-0.1.0 Completed blaze-builder-0.4.1.0 Starting cereal-0.5.8.0 Building cabal-doctest-1.0.6 Building call-stack-0.1.0 Building cereal-0.5.8.0 Completed call-stack-0.1.0 Starting cryptohash-md5-0.11.100.1 Building cryptohash-md5-0.11.100.1 Completed cabal-doctest-1.0.6 Starting cryptohash-sha1-0.11.100.1 Building cryptohash-sha1-0.11.100.1 Completed cryptohash-md5-0.11.100.1 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed cryptohash-sha1-0.11.100.1 Starting digest-0.0.1.2 Building digest-0.0.1.2 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.6 Building dlist-0.8.0.6 Completed cereal-0.5.8.0 Starting entropy-0.4.1.4 Completed digest-0.0.1.2 Starting extensible-exceptions-0.1.1.4 Building extensible-exceptions-0.1.1.4 Completed dlist-0.8.0.6 Starting fail-4.9.0.0 Completed extensible-exceptions-0.1.1.4 Starting filelock-0.1.1.3 Building fail-4.9.0.0 Building filelock-0.1.1.3 Completed fail-4.9.0.0 Starting harp-0.4.3.2 Building entropy-0.4.1.4 Building harp-0.4.3.2 Completed filelock-0.1.1.3 Starting hashable-1.3.0.0 Completed harp-0.4.3.2 Starting haskell-src-exts-1.20.3 Building hashable-1.3.0.0 Building haskell-src-exts-1.20.3 Completed entropy-0.4.1.4 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed hashable-1.3.0.0 Starting hsp-0.10.0 Building hsp-0.10.0 Completed hsp-0.10.0 Starting html-1.0.1.2 Building html-1.0.1.2 Completed hourglass-0.2.12 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting mime-types-0.1.0.9 Completed html-1.0.1.2 Starting network-2.8.0.1 Building mime-types-0.1.0.9 Building network-2.8.0.1 Completed mime-types-0.1.0.9 Starting network-info-0.2.0.10 Building network-info-0.2.0.10 Completed basement-0.0.10 Starting network-uri-2.6.1.0 Completed network-info-0.2.0.10 Starting old-locale-1.0.0.7 Building network-uri-2.6.1.0 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed network-2.8.0.1 Starting parseargs-0.2.0.9 Completed network-uri-2.6.1.0 Starting primitive-0.7.0.0 Building parseargs-0.2.0.9 Building primitive-0.7.0.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed parseargs-0.2.0.9 Starting reflection-2.1.4 Building reflection-2.1.4 Completed random-1.1 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed regex-base-0.93.2 Starting safe-0.3.17 Building safe-0.3.17 Completed reflection-2.1.4 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting split-0.2.3.3 Completed safe-0.3.17 Starting syb-0.7 Building split-0.2.3.3 Completed primitive-0.7.0.0 Starting syb-with-class-0.6.1.10 Building syb-0.7 Building syb-with-class-0.6.1.10 Completed split-0.2.3.3 Starting system-filepath-0.4.14 Completed syb-0.7 Starting tagged-0.8.6 Building system-filepath-0.4.14 Building tagged-0.8.6 Completed tagged-0.8.6 Starting tagsoup-0.14.8 Completed system-filepath-0.4.14 Starting th-abstraction-0.3.1.0 Building tagsoup-0.14.8 Building th-abstraction-0.3.1.0 Completed syb-with-class-0.6.1.10 Starting threads-0.5.1.6 Building threads-0.5.1.6 Completed th-abstraction-0.3.1.0 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed threads-0.5.1.6 Starting transformers-compat-0.6.5 Completed time-locale-compat-0.1.1.5 Starting unliftio-core-0.1.2.0 Building transformers-compat-0.6.5 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Starting void-0.7.3 Building void-0.7.3 Completed void-0.7.3 Starting web-plugins-0.2.9.1 Completed tagsoup-0.14.8 Starting xml-types-0.3.6 Building web-plugins-0.2.9.1 Building xml-types-0.3.6 Completed utf8-string-1.0.1.1 Starting zlib-0.6.2 Building zlib-0.6.2 Completed web-plugins-0.2.9.1 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed xml-types-0.3.6 Starting contravariant-1.5.1 Building contravariant-1.5.1 Completed time-compat-1.9.2.2 Starting wl-pprint-text-1.2.0.0 Completed zlib-0.6.2 Starting blaze-markup-0.8.2.2 Completed contravariant-1.5.1 Starting data-default-instances-containers-0.0.1 Building wl-pprint-text-1.2.0.0 Building blaze-markup-0.8.2.2 Building data-default-instances-containers-0.0.1 Completed data-default-instances-containers-0.0.1 Starting cookie-0.4.4 Building cookie-0.4.4 Completed wl-pprint-text-1.2.0.0 Starting data-default-instances-dlist-0.0.1 Completed blaze-markup-0.8.2.2 Starting unordered-containers-0.2.10.0 Building data-default-instances-dlist-0.0.1 Building unordered-containers-0.2.10.0 Completed cookie-0.4.4 Starting case-insensitive-1.2.1.0 Completed data-default-instances-dlist-0.0.1 Starting async-2.2.1 Building case-insensitive-1.2.1.0 Building async-2.2.1 Completed case-insensitive-1.2.1.0 Starting memory-0.14.18 Building memory-0.14.18 Completed async-2.2.1 Starting old-time-1.1.0.3 Building old-time-1.1.0.3 Completed old-time-1.1.0.3 Starting data-default-instances-old-locale-0.0.1 Completed unordered-containers-0.2.10.0 Starting socks-0.6.0 Building data-default-instances-old-locale-0.0.1 Building socks-0.6.0 Completed data-default-instances-old-locale-0.0.1 Starting sendfile-0.7.11 Building sendfile-0.7.11 Completed memory-0.14.18 Starting hslogger-1.2.12 Building hslogger-1.2.12 Completed socks-0.6.0 Starting HsOpenSSL-0.11.4.16 Completed sendfile-0.7.11 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Building HsOpenSSL-0.11.4.16 Completed hslogger-1.2.12 Starting pwstore-purehaskell-2.1.4 Building pwstore-purehaskell-2.1.4 Completed uuid-types-1.0.3 Starting mime-mail-0.5.0 Building mime-mail-0.5.0 Completed pwstore-purehaskell-2.1.4 Starting regex-posix-0.95.2 Building regex-posix-0.95.2 Completed mime-mail-0.5.0 Starting reform-0.2.7.4 Building reform-0.2.7.4 Completed regex-posix-0.95.2 Starting boomerang-1.4.5.6 Building boomerang-1.4.5.6 Completed reform-0.2.7.4 Starting vector-0.12.0.3 Completed haskell-src-exts-1.20.3 Starting scientific-0.3.6.2 Building vector-0.12.0.3 Building scientific-0.3.6.2 Completed boomerang-1.4.5.6 Starting th-expand-syns-0.4.4.0 Completed scientific-0.3.6.2 Starting distributive-0.6 Building th-expand-syns-0.4.4.0 Completed HsOpenSSL-0.11.4.16 Starting th-lift-0.8.0.1 Building th-lift-0.8.0.1 Building distributive-0.6 Completed th-expand-syns-0.4.4.0 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed th-lift-0.8.0.1 Starting exceptions-0.10.2 Completed transformers-base-0.4.5.2 Starting blaze-html-0.9.1.1 Building exceptions-0.10.2 Completed distributive-0.6 Starting http-types-0.12.3 Building blaze-html-0.9.1.1 Building http-types-0.12.3 Completed exceptions-0.10.2 Starting typed-process-0.2.4.0 Completed http-types-0.12.3 Starting streaming-commons-0.2.1.0 Building typed-process-0.2.4.0 Building streaming-commons-0.2.1.0 Completed typed-process-0.2.4.0 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting pem-0.2.4 Building pem-0.2.4 Completed pem-0.2.4 Starting cryptonite-0.26 Completed streaming-commons-0.2.1.0 Starting asn1-types-0.3.2 Building cryptonite-0.26 Building asn1-types-0.3.2 Completed asn1-types-0.3.2 Starting uuid-1.3.13 Building uuid-1.3.13 Completed vector-0.12.0.3 Starting attoparsec-0.13.2.2 Completed uuid-1.3.13 Starting th-reify-many-0.1.9 Building attoparsec-0.13.2.2 Completed blaze-html-0.9.1.1 Starting monad-control-1.0.2.3 Building th-reify-many-0.1.9 Building monad-control-1.0.2.3 Completed th-reify-many-0.1.9 Starting comonad-5.0.5 Completed monad-control-1.0.2.3 Starting resourcet-1.2.2 Building resourcet-1.2.2 Building comonad-5.0.5 Completed resourcet-1.2.2 Starting web-routes-0.27.14.2 Building web-routes-0.27.14.2 Completed attoparsec-0.13.2.2 Starting http-client-0.6.4 Building http-client-0.6.4 Completed comonad-5.0.5 Starting asn1-encoding-0.9.5 Building asn1-encoding-0.9.5 Completed web-routes-0.27.14.2 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed asn1-encoding-0.9.5 Starting th-lift-instances-0.1.13 Building th-lift-instances-0.1.13 Completed th-lift-instances-0.1.13 Starting safecopy-0.9.4.3 Building safecopy-0.9.4.3 Completed http-client-0.6.4 Starting happstack-server-7.5.1.3 Building happstack-server-7.5.1.3 Completed vector-algorithms-0.8.0.1 Starting email-validate-2.3.2.11 Building email-validate-2.3.2.11 Completed safecopy-0.9.4.3 Starting css-text-0.1.3.0 Completed email-validate-2.3.2.11 Starting aeson-0.11.3.0 Building css-text-0.1.3.0 Building aeson-0.11.3.0 Completed css-text-0.1.3.0 Starting bifunctors-5.5.4 Building bifunctors-5.5.4 Failed to install happstack-server-7.5.1.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/happstack-server-7.5.1.3-CyKGGyAIZbYGW8n1v8Zdxb.log ): cabal: Entering directory '/tmp/cabal-tmp-11776/happstack-server-7.5.1.3' Configuring happstack-server-7.5.1.3... Preprocessing library for happstack-server-7.5.1.3.. Building library for happstack-server-7.5.1.3.. on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Happstack/Server/SimpleHTTP.hs:3:14: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS | 3 | {-# LANGUAGE OverlappingInstances #-} | ^^^^^^^^^^^^^^^^^^^^ [ 1 of 38] Compiling Happstack.Server.Internal.Clock ( src/Happstack/Server/Internal/Clock.hs, dist/build/Happstack/Server/Internal/Clock.o ) [ 2 of 38] Compiling Happstack.Server.Internal.Cookie ( src/Happstack/Server/Internal/Cookie.hs, dist/build/Happstack/Server/Internal/Cookie.o ) [ 3 of 38] Compiling Happstack.Server.Internal.LazyLiner ( src/Happstack/Server/Internal/LazyLiner.hs, dist/build/Happstack/Server/Internal/LazyLiner.o ) [ 4 of 38] Compiling Happstack.Server.Internal.LogFormat ( src/Happstack/Server/Internal/LogFormat.hs, dist/build/Happstack/Server/Internal/LogFormat.o ) [ 5 of 38] Compiling Happstack.Server.Internal.RFC822Headers ( src/Happstack/Server/Internal/RFC822Headers.hs, dist/build/Happstack/Server/Internal/RFC822Headers.o ) [ 6 of 38] Compiling Happstack.Server.Internal.SocketTH ( src/Happstack/Server/Internal/SocketTH.hs, dist/build/Happstack/Server/Internal/SocketTH.o ) [ 7 of 38] Compiling Happstack.Server.Internal.Socket ( src/Happstack/Server/Internal/Socket.hs, dist/build/Happstack/Server/Internal/Socket.o ) src/Happstack/Server/Internal/Socket.hs:39:1: warning: [-Wunused-top-binds] Defined but not used: ‘showHostAddress6’ | 39 | showHostAddress6 (a,b,c,d) = | ^^^^^^^^^^^^^^^^ [ 8 of 38] Compiling Happstack.Server.Internal.TimeoutManager ( src/Happstack/Server/Internal/TimeoutManager.hs, dist/build/Happstack/Server/Internal/TimeoutManager.o ) [ 9 of 38] Compiling Happstack.Server.Internal.TimeoutIO ( src/Happstack/Server/Internal/TimeoutIO.hs, dist/build/Happstack/Server/Internal/TimeoutIO.o ) [10 of 38] Compiling Happstack.Server.Internal.TimeoutSocket ( src/Happstack/Server/Internal/TimeoutSocket.hs, dist/build/Happstack/Server/Internal/TimeoutSocket.o ) src/Happstack/Server/Internal/TimeoutSocket.hs:91:33: warning: [-Wdeprecations] In the use of ‘sClose’ (imported from Network.Socket): Deprecated: "use 'close'" | 91 | , toShutdown = sClose socket | ^^^^^^ [11 of 38] Compiling Happstack.Server.SURI ( src/Happstack/Server/SURI.hs, dist/build/Happstack/Server/SURI.o ) [12 of 38] Compiling Happstack.Server.Internal.Types ( src/Happstack/Server/Internal/Types.hs, dist/build/Happstack/Server/Internal/Types.o ) src/Happstack/Server/Internal/Types.hs:23:1: warning: [-Wunused-imports] The import of ‘SomeException’ from module ‘Control.Exception’ is redundant | 23 | import Control.Exception (Exception, SomeException) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/Internal/Types.hs:24:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use "Control.Monad.Except" instead | 24 | import Control.Monad.Error (Error(strMsg)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/Internal/Types.hs:249:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 249 | instance Error Response where | ^^^^^ src/Happstack/Server/Internal/Types.hs:249:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 249 | instance Error Response where | ^^^^^ [13 of 38] Compiling Happstack.Server.Internal.Multipart ( src/Happstack/Server/Internal/Multipart.hs, dist/build/Happstack/Server/Internal/Multipart.o ) [14 of 38] Compiling Happstack.Server.Internal.MessageWrap ( src/Happstack/Server/Internal/MessageWrap.hs, dist/build/Happstack/Server/Internal/MessageWrap.o ) [15 of 38] Compiling Happstack.Server.SURI.ParseURI ( src/Happstack/Server/SURI/ParseURI.hs, dist/build/Happstack/Server/SURI/ParseURI.o ) [16 of 38] Compiling Happstack.Server.Types ( src/Happstack/Server/Types.hs, dist/build/Happstack/Server/Types.o ) [17 of 38] Compiling Paths_happstack_server ( dist/build/autogen/Paths_happstack_server.hs, dist/build/Paths_happstack_server.o ) [18 of 38] Compiling Happstack.Server.Internal.Monads ( src/Happstack/Server/Internal/Monads.hs, dist/build/Happstack/Server/Internal/Monads.o ) src/Happstack/Server/Internal/Monads.hs:15:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use "Control.Monad.Except" instead | 15 | import Control.Monad.Error ( ErrorT(ErrorT), runErrorT | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Happstack/Server/Internal/Monads.hs:58:1: warning: [-Wunused-imports] The import of ‘||’ from module ‘Prelude’ is redundant | 58 | import Prelude (Bool(..), Either(..), Eq(..), Functor(..), IO, Monad(..), Char, Maybe(..), String, Show(..), ($), (.), (>), (++), (&&), (||), (=<<), const, concatMap, flip, id, otherwise, zip) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:392:37: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 392 | newtype WebT m a = WebT { unWebT :: ErrorT Response (FilterT (Response) (MaybeT m)) a } | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:412:31: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 412 | (StT (ErrorT Response) a)) | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:545:25: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 545 | mplus x y = WebT $ ErrorT $ FilterT $ (lower x) `mplus` (lower y) | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:546:36: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 546 | where lower = (unFilterT . runErrorT . unWebT) | ^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:551:30: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 551 | getFilter m = WebT $ ErrorT $ liftM lft $ getFilter (runErrorT $ unWebT m) | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:551:62: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 551 | getFilter m = WebT $ ErrorT $ liftM lft $ getFilter (runErrorT $ unWebT m) | ^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:566:54: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 566 | ununWebT = runMaybeT . Lazy.runWriterT . unFilterT . runErrorT . unWebT | ^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:570:17: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 570 | mkWebT = WebT . ErrorT . FilterT . Lazy.WriterT . MaybeT | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:788:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 788 | instance (Error e, ServerMonad m) => ServerMonad (ErrorT e m) where | ^^^^^ src/Happstack/Server/Internal/Monads.hs:788:51: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 788 | instance (Error e, ServerMonad m) => ServerMonad (ErrorT e m) where | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:790:17: warning: [-Wdeprecations] In the use of ‘mapErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 790 | localRq f = mapErrorT $ localRq f | ^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:792:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 792 | instance (Error e, FilterMonad a m) => FilterMonad a (ErrorT e m) where | ^^^^^ src/Happstack/Server/Internal/Monads.hs:792:55: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 792 | instance (Error e, FilterMonad a m) => FilterMonad a (ErrorT e m) where | ^^^^^^ src/Happstack/Server/Internal/Monads.hs:795:19: warning: [-Wdeprecations] In the use of ‘mapErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 795 | getFilter m = mapErrorT (\m' -> | ^^^^^^^^^ src/Happstack/Server/Internal/Monads.hs:802:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 802 | instance (Error e, WebMonad a m) => WebMonad a (ErrorT e m) where | ^^^^^ src/Happstack/Server/Internal/Monads.hs:802:49: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 802 | instance (Error e, WebMonad a m) => WebMonad a (ErrorT e m) where | ^^^^^^ [19 of 38] Compiling Happstack.Server.Response ( src/Happstack/Server/Response.hs, dist/build/Happstack/Server/Response.o ) [20 of 38] Compiling Happstack.Server.Validation ( src/Happstack/Server/Validation.hs, dist/build/Happstack/Server/Validation.o ) [21 of 38] Compiling Happstack.Server.Cookie ( src/Happstack/Server/Cookie.hs, dist/build/Happstack/Server/Cookie.o ) [22 of 38] Compiling Happstack.Server.RqData ( src/Happstack/Server/RqData.hs, dist/build/Happstack/Server/RqData.o ) src/Happstack/Server/RqData.hs:70:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use "Control.Monad.Except" instead | 70 | import Control.Monad.Error (Error(noMsg, strMsg), ErrorT, mapErrorT) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/RqData.hs:73:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString.Char8’ is redundant except perhaps to import instances from ‘Data.ByteString.Char8’ To import instances alone, use: import Data.ByteString.Char8() | 73 | import qualified Data.ByteString.Char8 as P | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/RqData.hs:94:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 94 | instance (Error e, Monoid e) => MonadReader r (ReaderError r e) where | ^^^^^ src/Happstack/Server/RqData.hs:98:21: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 98 | instance (Monoid e, Error e) => Applicative (ReaderError r e) where | ^^^^^ src/Happstack/Server/RqData.hs:103:21: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 103 | instance (Monoid e, Error e) => Alternative (ReaderError r e) where | ^^^^^ src/Happstack/Server/RqData.hs:125:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 125 | instance Error (Errors String) where | ^^^^^ src/Happstack/Server/RqData.hs:125:10: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 125 | instance Error (Errors String) where | ^^^^^ src/Happstack/Server/RqData.hs:206:20: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 206 | instance (Monad m, Error e, HasRqData m) => HasRqData (ErrorT e m) where | ^^^^^ src/Happstack/Server/RqData.hs:206:56: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 206 | instance (Monad m, Error e, HasRqData m) => HasRqData (ErrorT e m) where | ^^^^^^ src/Happstack/Server/RqData.hs:208:21: warning: [-Wdeprecations] In the use of ‘mapErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 208 | localRqEnv f = mapErrorT (localRqEnv f) | ^^^^^^^^^ src/Happstack/Server/RqData.hs:286:36: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 286 | (Left e) -> rqDataError (strMsg e) | ^^^^^^ src/Happstack/Server/RqData.hs:295:36: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 295 | (Left e) -> rqDataError (strMsg e) | ^^^^^^ src/Happstack/Server/RqData.hs:343:36: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 343 | Nothing -> rqDataError (strMsg $ "Parameter not found: " ++ name) | ^^^^^^ src/Happstack/Server/RqData.hs:365:39: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 365 | (Left _fp) -> rqDataError $ (strMsg $ "lookBS: " ++ n ++ " is a file.") | ^^^^^^ src/Happstack/Server/RqData.hs:378:35: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 378 | (_fp, _) -> rqDataError (strMsg $ "lookBSs: " ++ n ++ " is a file.") | ^^^^^^ src/Happstack/Server/RqData.hs:453:37: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 453 | Nothing -> rqDataError $ strMsg $ "lookCookie: cookie not found: " ++ name | ^^^^^^ src/Happstack/Server/RqData.hs:514:38: warning: [-Wdeprecations] In the use of ‘strMsg’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 514 | (Right _) -> rqDataError $ (strMsg $ "lookFile: " ++ n ++ " was found but is not a file.") | ^^^^^^ [23 of 38] Compiling Happstack.Server.Monads ( src/Happstack/Server/Monads.hs, dist/build/Happstack/Server/Monads.o ) src/Happstack/Server/Monads.hs:44:1: warning: [-Wdeprecations] Module ‘Control.Monad.Error’ is deprecated: Use "Control.Monad.Except" instead | 44 | import Control.Monad.Error (Error, ErrorT) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Happstack/Server/Monads.hs:74:24: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 74 | instance (Happstack m, Error e) => Happstack (ErrorT e m) | ^^^^^ src/Happstack/Server/Monads.hs:74:48: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" | 74 | instance (Happstack m, Error e) => Happstack (ErrorT e m) | ^^^^^^ [24 of 38] Compiling Happstack.Server.Routing ( src/Happstack/Server/Routing.hs, dist/build/Happstack/Server/Routing.o ) [25 of 38] Compiling Happstack.Server.FileServe.BuildingBlocks ( src/Happstack/Server/FileServe/BuildingBlocks.hs, dist/build/Happstack/Server/FileServe/BuildingBlocks.o ) src/Happstack/Server/FileServe/BuildingBlocks.hs:68:38: error: Module ‘Data.Time.Compat’ does not export ‘toUTCTime’ | 68 | import Data.Time.Compat (toUTCTime) | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-11776/happstack-server-7.5.1.3' Starting web-routes-th-0.22.6.4 Building web-routes-th-0.22.6.4 Completed web-routes-th-0.22.6.4 Completed bifunctors-5.5.4 Completed aeson-0.11.3.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: clckwrks-0.24.0.12-2Huqu98Po0x2qCEQqVgbwa depends on clckwrks-0.24.0.12 which failed to install. clckwrks-plugin-page-0.4.3.16-Es1H1Nwu90Z5R3bqBlKXhD depends on clckwrks-plugin-page-0.4.3.16 which failed to install. happstack-authenticate-2.3.4.16-8bHEHnizIY274mf8kHGjmk depends on happstack-authenticate-2.3.4.16 which failed to install. happstack-hsp-7.3.7.3-EEJKDOqjSqQHREVGX38q4A depends on happstack-hsp-7.3.7.3 which failed to install. happstack-jmacro-7.0.12.1-GB1nwBCU1BLBICztZ7S879 depends on happstack-jmacro-7.0.12.1 which failed to install. happstack-server-7.5.1.3-CyKGGyAIZbYGW8n1v8Zdxb failed during the building phase. The exception was: ExitFailure 1 happstack-server-tls-7.1.6.7-LJ6iGyAuvXkDkrFm8YQ4Ss depends on happstack-server-tls-7.1.6.7 which failed to install. reform-happstack-0.2.5.2-FsBUn2si3H12R7WMMvvGo8 depends on reform-happstack-0.2.5.2 which failed to install. web-routes-happstack-0.23.11-2qKr78gxI5w3pCzyaBLsmD depends on web-routes-happstack-0.23.11 which failed to install.