Resolving dependencies... Starting appar-0.1.8 Starting base-orphans-0.8.2 Starting SHA-1.6.4.4 Starting base-compat-0.11.1 Building appar-0.1.8 Building base-orphans-0.8.2 Building SHA-1.6.4.4 Building base-compat-0.11.1 Completed appar-0.1.8 Starting base64-bytestring-1.1.0.0 Building base64-bytestring-1.1.0.0 Completed base-orphans-0.8.2 Starting byteorder-1.0.4 Building byteorder-1.0.4 Completed base64-bytestring-1.1.0.0 Starting bytestring-builder-0.10.8.2.0 Building bytestring-builder-0.10.8.2.0 Completed bytestring-builder-0.10.8.2.0 Starting cabal-doctest-1.0.8 Completed byteorder-1.0.4 Starting clock-0.8 Building cabal-doctest-1.0.8 Building clock-0.8 Completed base-compat-0.11.1 Starting dlist-0.8.0.8 Completed SHA-1.6.4.4 Starting entropy-0.4.1.6 Building dlist-0.8.0.8 Completed clock-0.8 Starting hashable-1.3.0.0 Completed cabal-doctest-1.0.8 Starting integer-logarithms-1.0.3 Building hashable-1.3.0.0 Building integer-logarithms-1.0.3 Completed dlist-0.8.0.8 Starting network-2.8.0.1 Building entropy-0.4.1.6 Completed integer-logarithms-1.0.3 Starting network-info-0.2.0.10 Building network-info-0.2.0.10 Completed hashable-1.3.0.0 Starting network-uri-2.6.3.0 Building network-uri-2.6.3.0 Completed network-info-0.2.0.10 Starting old-locale-1.0.0.7 Building network-2.8.0.1 Building old-locale-1.0.0.7 Completed entropy-0.4.1.6 Starting primitive-0.7.1.0 Building primitive-0.7.1.0 Completed old-locale-1.0.0.7 Starting process-1.6.10.0 Completed network-uri-2.6.3.0 Starting random-1.1 Building process-1.6.10.0 Building random-1.1 Completed random-1.1 Starting stringsearch-0.3.6.6 Completed process-1.6.10.0 Starting tagged-0.8.6 Building stringsearch-0.3.6.6 Building tagged-0.8.6 Completed network-2.8.0.1 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed stringsearch-0.3.6.6 Starting zlib-0.6.2.1 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.3 Building zlib-0.6.2.1 Building time-compat-1.9.3 Completed primitive-0.7.1.0 Starting base-compat-batteries-0.11.1 Completed transformers-compat-0.6.5 Starting unordered-containers-0.2.11.0 Building base-compat-batteries-0.11.1 Building unordered-containers-0.2.11.0 Completed time-compat-1.9.3 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed zlib-0.6.2.1 Starting async-2.2.2 Building async-2.2.2 Completed base-compat-batteries-0.11.1 Starting old-time-1.1.0.3 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed async-2.2.2 Starting transient-0.7.0.0 Building old-time-1.1.0.3 Building transient-0.7.0.0 Completed unordered-containers-0.2.11.0 Starting iproute-1.7.9 Completed uuid-types-1.0.3 Starting HTTP-4000.3.14 Building iproute-1.7.9 Building HTTP-4000.3.14 Completed old-time-1.1.0.3 Starting distributive-0.6.2 Building distributive-0.6.2 Completed iproute-1.7.9 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed distributive-0.6.2 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed transient-0.7.0.0 Starting streaming-commons-0.2.2.1 Building streaming-commons-0.2.2.1 Completed HTTP-4000.3.14 Starting comonad-5.0.6 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Building comonad-5.0.6 Completed streaming-commons-0.2.2.1 Completed comonad-5.0.6 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed attoparsec-0.13.2.4 Starting websockets-0.12.7.1 Building websockets-0.12.7.1 Completed websockets-0.12.7.1 Completed bifunctors-5.5.7 Starting assoc-1.0.1 Building assoc-1.0.1 Completed assoc-1.0.1 Starting these-1.1.1.1 Building these-1.1.1.1 Completed these-1.1.1.1 Completed vector-0.12.1.2 Starting hashtables-1.2.3.4 Starting aeson-1.5.2.0 Building hashtables-1.2.3.4 Building aeson-1.5.2.0 Completed hashtables-1.2.3.4 Downloading RefSerialize-0.4.0 Downloaded RefSerialize-0.4.0 Starting RefSerialize-0.4.0 Building RefSerialize-0.4.0 Completed RefSerialize-0.4.0 Downloading TCache-0.12.1 Downloaded TCache-0.12.1 Starting TCache-0.12.1 Building TCache-0.12.1 Completed TCache-0.12.1 Completed aeson-1.5.2.0 Downloading transient-universe-0.6.0.0 Downloaded transient-universe-0.6.0.0 Starting transient-universe-0.6.0.0 Building transient-universe-0.6.0.0 Failed to install transient-universe-0.6.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/transient-universe-0.6.0.0-7o4ggpXRuze8pVAxZ004Jl.log ): cabal: Entering directory '/tmp/cabal-tmp-6596/transient-universe-0.6.0.0' Configuring transient-universe-0.6.0.0... Preprocessing executable 'test-transient1' for transient-universe-0.6.0.0.. Building executable 'test-transient1' for transient-universe-0.6.0.0.. src/Transient/Move/Internals.hs:131:0: error: warning: extra tokens at end of #ifdef directive #ifdef MIN_VERSION_base(4,11,0) | 131 | #ifdef MIN_VERSION_base(4,11,0) | ^ : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Transient.MapReduce Transient.Move.Internals Transient.Move.Services Transient.Move.Utils [1 of 5] Compiling Transient.Move.Internals ( src/Transient/Move/Internals.hs, dist/build/test-transient1/test-transient1-tmp/Transient/Move/Internals.o ) src/Transient/Move/Internals.hs:39:1: warning: [-Wdeprecations] Module ‘Network’ is deprecated: The high level Network interface is no longer supported. Please use Network.Socket. | 39 | import Network | ^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:44:1: warning: [-Wdeprecations] Module ‘Network.BSD’ is deprecated: This platform dependent module is no longer supported. | 44 | import qualified Network.BSD as BSD | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1483:52: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1483 | sock <- liftIO $ connectTo' size host $ PortNumber $ fromIntegral port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1746:30: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1746 | connectTo' bufSize hostname (PortNumber port) = do | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1747:18: warning: [-Wdeprecations] In the use of ‘getProtocolNumber’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1747 | proto <- BSD.getProtocolNumber "tcp" | ^^^^^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1759:21: warning: [-Wdeprecations] In the use of ‘getHostByName’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1759 | he <- BSD.getHostByName hostname | ^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1761:54: warning: [-Wdeprecations] In the use of ‘hostAddress’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1761 | NS.connect sock (NS.SockAddrInet port (BSD.hostAddress he)) | ^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1780:38: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1780 | Node2Node{port :: PortID | ^^^^^^ src/Transient/Move/Internals.hs:1787:40: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1787 | | HTTP2Node{port :: PortID | ^^^^^^ src/Transient/Move/Internals.hs:1924:21: warning: [-Wdeprecations] In the use of ‘listenOn’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1924 | sock <- liftIO $ listenOn $ PortNumber port | ^^^^^^^^ src/Transient/Move/Internals.hs:1924:32: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1924 | sock <- liftIO $ listenOn $ PortNumber port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1974:50: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1974 | cdata <- liftIO $ newIORef $ Just (Node2Node (PortNumber port) sock addr) | ^^^^^^^^^^ src/Transient/Move/Internals.hs:2209:52: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 2209 | sserver <- liftIO $ connectTo' 4096 host $ PortNumber $ fromIntegral $ read port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:2621:3: warning: [-Wdeprecations] In the use of ‘forkPingThread’ (imported from Network.WebSockets.Connection): Deprecated: "Use 'withPingThread' instead" | 2621 | WS.forkPingThread sconn 30 | ^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:2820:23: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 2820 | deriving instance Ord PortID | ^^^^^^ [2 of 5] Compiling Transient.MapReduce ( src/Transient/MapReduce.hs, dist/build/test-transient1/test-transient1-tmp/Transient/MapReduce.o ) [3 of 5] Compiling Transient.Move.Utils ( src/Transient/Move/Utils.hs, dist/build/test-transient1/test-transient1-tmp/Transient/Move/Utils.o ) [4 of 5] Compiling Transient.Move.Services ( src/Transient/Move/Services.hs, dist/build/test-transient1/test-transient1-tmp/Transient/Move/Services.o ) [5 of 5] Compiling Main ( tests/TestSuite.hs, dist/build/test-transient1/test-transient1-tmp/Main.o ) src/Transient/Move/Internals.hs:131:0: error: warning: extra tokens at end of #ifdef directive #ifdef MIN_VERSION_base(4,11,0) | 131 | #ifdef MIN_VERSION_base(4,11,0) | ^ : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: Transient.MapReduce Transient.Move.Internals Transient.Move.Services Transient.Move.Utils Linking dist/build/test-transient1/test-transient1 ... Preprocessing library for transient-universe-0.6.0.0.. Building library for transient-universe-0.6.0.0.. src/Transient/Move/Internals.hs:131:0: error: warning: extra tokens at end of #ifdef directive #ifdef MIN_VERSION_base(4,11,0) | 131 | #ifdef MIN_VERSION_base(4,11,0) | ^ [1 of 7] Compiling Transient.Move.Internals ( src/Transient/Move/Internals.hs, dist/build/Transient/Move/Internals.o ) src/Transient/Move/Internals.hs:39:1: warning: [-Wdeprecations] Module ‘Network’ is deprecated: The high level Network interface is no longer supported. Please use Network.Socket. | 39 | import Network | ^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:44:1: warning: [-Wdeprecations] Module ‘Network.BSD’ is deprecated: This platform dependent module is no longer supported. | 44 | import qualified Network.BSD as BSD | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1483:52: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1483 | sock <- liftIO $ connectTo' size host $ PortNumber $ fromIntegral port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1746:30: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1746 | connectTo' bufSize hostname (PortNumber port) = do | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1747:18: warning: [-Wdeprecations] In the use of ‘getProtocolNumber’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1747 | proto <- BSD.getProtocolNumber "tcp" | ^^^^^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1759:21: warning: [-Wdeprecations] In the use of ‘getHostByName’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1759 | he <- BSD.getHostByName hostname | ^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1761:54: warning: [-Wdeprecations] In the use of ‘hostAddress’ (imported from Network.BSD): Deprecated: "This platform dependent module is no longer supported." | 1761 | NS.connect sock (NS.SockAddrInet port (BSD.hostAddress he)) | ^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:1780:38: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1780 | Node2Node{port :: PortID | ^^^^^^ src/Transient/Move/Internals.hs:1787:40: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1787 | | HTTP2Node{port :: PortID | ^^^^^^ src/Transient/Move/Internals.hs:1924:21: warning: [-Wdeprecations] In the use of ‘listenOn’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1924 | sock <- liftIO $ listenOn $ PortNumber port | ^^^^^^^^ src/Transient/Move/Internals.hs:1924:32: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1924 | sock <- liftIO $ listenOn $ PortNumber port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:1974:50: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 1974 | cdata <- liftIO $ newIORef $ Just (Node2Node (PortNumber port) sock addr) | ^^^^^^^^^^ src/Transient/Move/Internals.hs:2209:52: warning: [-Wdeprecations] In the use of data constructor ‘PortNumber’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 2209 | sserver <- liftIO $ connectTo' 4096 host $ PortNumber $ fromIntegral $ read port | ^^^^^^^^^^ src/Transient/Move/Internals.hs:2621:3: warning: [-Wdeprecations] In the use of ‘forkPingThread’ (imported from Network.WebSockets.Connection): Deprecated: "Use 'withPingThread' instead" | 2621 | WS.forkPingThread sconn 30 | ^^^^^^^^^^^^^^^^^ src/Transient/Move/Internals.hs:2820:23: warning: [-Wdeprecations] In the use of type constructor or class ‘PortID’ (imported from Network): Deprecated: "The high level Network interface is no longer supported. Please use Network.Socket." | 2820 | deriving instance Ord PortID | ^^^^^^ [2 of 7] Compiling Transient.Move ( src/Transient/Move.hs, dist/build/Transient/Move.o ) [3 of 7] Compiling Transient.MapReduce ( src/Transient/MapReduce.hs, dist/build/Transient/MapReduce.o ) [4 of 7] Compiling Transient.Move.Utils ( src/Transient/Move/Utils.hs, dist/build/Transient/Move/Utils.o ) [5 of 7] Compiling Transient.Move.Services ( src/Transient/Move/Services.hs, dist/build/Transient/Move/Services.o ) [6 of 7] Compiling Transient.Move.Services.Executor ( src/Transient/Move/Services/Executor.hs, dist/build/Transient/Move/Services/Executor.o ) [7 of 7] Compiling Transient.Move.PubSub ( src/Transient/Move/PubSub.hs, dist/build/Transient/Move/PubSub.o ) Preprocessing executable 'controlServices' for transient-universe-0.6.0.0.. cabal: can't find source for controlServices in app/server/Transient/Move/Services cabal: Leaving directory '/tmp/cabal-tmp-6596/transient-universe-0.6.0.0' cabal: Error: some packages failed to install: transient-universe-0.6.0.0-7o4ggpXRuze8pVAxZ004Jl failed during the building phase. The exception was: ExitFailure 1