Resolving dependencies... Configuring ansi-terminal-0.6.3.1... Configuring auto-update-0.1.4... Building ansi-terminal-0.6.3.1... Building auto-update-0.1.4... Installed auto-update-0.1.4 Configuring appar-0.1.4... Building appar-0.1.4... Installed ansi-terminal-0.6.3.1 Configuring base-compat-0.9.3... Building base-compat-0.9.3... Configuring base64-bytestring-1.0.0.1... Installed appar-0.1.4 Building base64-bytestring-1.0.0.1... Installed base64-bytestring-1.0.0.1 Configuring byteorder-1.0.4... Configuring bytestring-builder-0.10.8.1.0... Installed base-compat-0.9.3 Building byteorder-1.0.4... Building bytestring-builder-0.10.8.1.0... Configuring cabal-doctest-1.0.2... Installed bytestring-builder-0.10.8.1.0 Building cabal-doctest-1.0.2... Configuring data-default-class-0.1.2.0... Installed byteorder-1.0.4 Building data-default-class-0.1.2.0... Configuring easy-file-0.2.1... Installed cabal-doctest-1.0.2 Configuring dlist-0.8.0.2... Installed data-default-class-0.1.2.0 Building easy-file-0.2.1... Building dlist-0.8.0.2... Configuring file-embed-0.0.10... Installed easy-file-0.2.1 Configuring foundation-0.0.9... Installed dlist-0.8.0.2 Building file-embed-0.0.10... Building foundation-0.0.9... Configuring integer-logarithms-1.0.1... Installed file-embed-0.0.10 Building integer-logarithms-1.0.1... Configuring mtl-2.2.1... Installed integer-logarithms-1.0.1 Building mtl-2.2.1... Configuring natural-transformation-0.4... Installed mtl-2.2.1 Building natural-transformation-0.4... Configuring network-2.6.3.2... Installed natural-transformation-0.4 Building network-2.6.3.2... Configuring old-locale-1.0.0.7... Installed network-2.6.3.2 Building old-locale-1.0.0.7... Configuring primitive-0.6.2.0... Installed old-locale-1.0.0.7 Building primitive-0.6.2.0... Configuring random-1.1... Installed primitive-0.6.2.0 Building random-1.1... Configuring safe-0.3.14... Installed random-1.1 Building safe-0.3.14... Configuring split-0.2.3.2... Installed safe-0.3.14 Building split-0.2.3.2... Configuring stm-2.4.4.1... Installed split-0.2.3.2 Building stm-2.4.4.1... Configuring stringsearch-0.3.6.6... Installed stm-2.4.4.1 Building stringsearch-0.3.6.6... Configuring syb-0.7... Installed foundation-0.0.9 Building syb-0.7... Configuring text-1.2.2.2... Installed stringsearch-0.3.6.6 Building text-1.2.2.2... Configuring th-lift-0.7.7... Installed syb-0.7 Building th-lift-0.7.7... Configuring time-locale-compat-0.1.1.3... Installed th-lift-0.7.7 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 unix-compat-0.4.3.1... Installed transformers-compat-0.5.1.4 Building unix-compat-0.4.3.1... Configuring utf8-string-1.0.1.1... Installed unix-compat-0.4.3.1 Building utf8-string-1.0.1.1... Configuring void-0.7.2... Installed utf8-string-1.0.1.1 Building void-0.7.2... Configuring zlib-0.6.1.2... Installed text-1.2.2.2 Building zlib-0.6.1.2... Configuring word8-0.1.2... Installed void-0.7.2 Building word8-0.1.2... Configuring ansi-wl-pprint-0.6.7.3... Installed word8-0.1.2 Building ansi-wl-pprint-0.6.7.3... Installed zlib-0.6.1.2 Configuring iproute-1.7.1... Building iproute-1.7.1... Configuring simple-sendfile-0.2.25... Installed ansi-wl-pprint-0.6.7.3 Building simple-sendfile-0.2.25... Configuring old-time-1.1.0.3... Installed simple-sendfile-0.2.25 Configuring async-2.1.1.1... Installed iproute-1.7.1 Building old-time-1.1.0.3... Building async-2.1.1.1... Configuring vector-0.12.0.1... Installed async-2.1.1.1 Building vector-0.12.0.1... Configuring th-expand-syns-0.4.3.0... Installed old-time-1.1.0.3 Building th-expand-syns-0.4.3.0... Configuring memory-0.14.5... Installed th-expand-syns-0.4.3.0 Building memory-0.14.5... Configuring mmorph-1.1.0... Installed memory-0.14.5 Building mmorph-1.1.0... Configuring exceptions-0.8.3... Installed mmorph-1.1.0 Building exceptions-0.8.3... Configuring transformers-base-0.4.4... Installed exceptions-0.8.3 Building transformers-base-0.4.4... Configuring tagged-0.8.5... Installed transformers-base-0.4.4 Building tagged-0.8.5... Configuring hashable-1.2.6.0... Installed tagged-0.8.5 Building hashable-1.2.6.0... Configuring blaze-builder-0.4.0.2... Installed vector-0.12.0.1 Building blaze-builder-0.4.0.2... Configuring mime-types-0.1.0.7... Installed hashable-1.2.6.0 Configuring string-conversions-0.4.0.1... Installed blaze-builder-0.4.0.2 Building mime-types-0.1.0.7... Building string-conversions-0.4.0.1... Configuring parsec-3.1.11... Installed string-conversions-0.4.0.1 Building parsec-3.1.11... Configuring system-filepath-0.4.13.4... Installed mime-types-0.1.0.7 Installed parsec-3.1.11 Configuring optparse-applicative-0.13.2.0... Building system-filepath-0.4.13.4... Building optparse-applicative-0.13.2.0... Warning: /tmp/pkgConf-system-filepath-0.4.131034949299654887343.4: Unrecognized field dynamic-library-dirs on line 23 Installed system-filepath-0.4.13.4 Configuring unix-time-0.3.7... Building unix-time-0.3.7... Configuring th-reify-many-0.1.6... Installed optparse-applicative-0.13.2.0 Building th-reify-many-0.1.6... Configuring monad-control-1.0.1.0... Installed unix-time-0.3.7 Building monad-control-1.0.1.0... Configuring cryptonite-0.23... Installed th-reify-many-0.1.6 Building cryptonite-0.23... Configuring case-insensitive-1.2.0.10... Installed monad-control-1.0.1.0 Building case-insensitive-1.2.0.10... Configuring th-lift-instances-0.1.11... Installed case-insensitive-1.2.0.10 Building th-lift-instances-0.1.11... Configuring psqueues-0.2.2.3... Installed th-lift-instances-0.1.11 Building psqueues-0.2.2.3... Configuring unordered-containers-0.2.8.0... Installed psqueues-0.2.2.3 Building unordered-containers-0.2.8.0... Configuring scientific-0.3.4.14... Installed unordered-containers-0.2.8.0 Building scientific-0.3.4.14... Configuring uuid-types-1.0.3... Installed scientific-0.3.4.14 Building uuid-types-1.0.3... Configuring blaze-markup-0.8.0.0... Installed uuid-types-1.0.3 Building blaze-markup-0.8.0.0... Configuring cookie-0.4.2.1... Installed blaze-markup-0.8.0.0 Building cookie-0.4.2.1... Configuring streaming-commons-0.1.18... Installed cookie-0.4.2.1 Building streaming-commons-0.1.18... Configuring network-uri-2.6.1.0... Installed cryptonite-0.23 Building network-uri-2.6.1.0... Installed streaming-commons-0.1.18 Configuring fast-logger-2.4.10... Building fast-logger-2.4.10... Configuring lifted-base-0.2.3.11... Installed network-uri-2.6.1.0 Building lifted-base-0.2.3.11... Configuring http-media-0.6.4... Installed fast-logger-2.4.10 Configuring http-types-0.9.1... Installed lifted-base-0.2.3.11 Building http-media-0.6.4... Building http-types-0.9.1... Configuring th-orphans-0.13.3... Installed http-media-0.6.4 Building th-orphans-0.13.3... Configuring vault-0.3.0.7... Installed http-types-0.9.1 Building vault-0.3.0.7... Configuring http2-1.6.3... Installed vault-0.3.0.7 Building http2-1.6.3... Configuring attoparsec-0.13.1.0... Installed th-orphans-0.13.3 Building attoparsec-0.13.1.0... Configuring blaze-html-0.9.0.1... Installed http2-1.6.3 Building blaze-html-0.9.0.1... Installed attoparsec-0.13.1.0 Configuring wai-3.2.1.1... Building wai-3.2.1.1... Configuring resourcet-1.1.9... Installed wai-3.2.1.1 Building resourcet-1.1.9... Configuring th-desugar-1.6... Installed resourcet-1.1.9 Building th-desugar-1.6... Configuring attoparsec-iso8601-1.0.0.0... Installed blaze-html-0.9.0.1 Building attoparsec-iso8601-1.0.0.0... Configuring aeson-1.2.0.0... Installed attoparsec-iso8601-1.0.0.0 Building aeson-1.2.0.0... Configuring http-date-0.0.6.1... Installed th-desugar-1.6 Building http-date-0.0.6.1... Configuring uri-bytestring-0.2.3.2... Installed http-date-0.0.6.1 Building uri-bytestring-0.2.3.2... Installed uri-bytestring-0.2.3.2 Configuring wai-logger-2.3.0... Building wai-logger-2.3.0... Configuring singletons-2.2... Installed aeson-1.2.0.0 Building singletons-2.2... Configuring warp-3.2.12... Installed wai-logger-2.3.0 Building warp-3.2.12... Configuring http-api-data-0.3.7.1... Installed warp-3.2.12 Building http-api-data-0.3.7.1... Warning: /tmp/pkgConf-http-api-data-0.3.718963066401343606042.1: Unrecognized field dynamic-library-dirs on line 22 Installed http-api-data-0.3.7.1 Configuring wai-extra-3.0.19.1... Building wai-extra-3.0.19.1... Configuring servant-0.11... Installed wai-extra-3.0.19.1 Building servant-0.11... Warning: /tmp/pkgConf-servant-02114937732726371155.11: Unrecognized field dynamic-library-dirs on line 33 Configuring wai-app-static-3.1.6.1... Installed servant-0.11 Building wai-app-static-3.1.6.1... Installed wai-app-static-3.1.6.1 Configuring servant-server-0.11... Building servant-server-0.11... Warning: /tmp/pkgConf-servant-server-0105575579964445884.11: Unrecognized field dynamic-library-dirs on line 34 Installed servant-server-0.11 Installed singletons-2.2 Configuring servant-zeppelin-0.1.0.1... Building servant-zeppelin-0.1.0.1... Installed servant-zeppelin-0.1.0.1 Downloading servant-zeppelin-server-0.1.0.0... Configuring servant-zeppelin-server-0.1.0.0... Building servant-zeppelin-server-0.1.0.0... Failed to install servant-zeppelin-server-0.1.0.0 Build log ( /home/builder/.cabal/logs/servant-zeppelin-server-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-11355/servant-zeppelin-server-0.1.0.0' Configuring servant-zeppelin-server-0.1.0.0... Building servant-zeppelin-server-0.1.0.0... Preprocessing library servant-zeppelin-server-0.1.0.0... [1 of 5] Compiling Servant.Zeppelin.Server.Internal.Types ( src/Servant/Zeppelin/Server/Internal/Types.hs, dist/build/Servant/Zeppelin/Server/Internal/Types.o ) [2 of 5] Compiling Servant.Zeppelin.Server.Internal.Zeppelin ( src/Servant/Zeppelin/Server/Internal/Zeppelin.hs, dist/build/Servant/Zeppelin/Server/Internal/Zeppelin.o ) [3 of 5] Compiling Servant.Zeppelin.Server.Internal.ContentTypes ( src/Servant/Zeppelin/Server/Internal/ContentTypes.hs, dist/build/Servant/Zeppelin/Server/Internal/ContentTypes.o ) [4 of 5] Compiling Servant.Zeppelin.Server.Internal ( src/Servant/Zeppelin/Server/Internal.hs, dist/build/Servant/Zeppelin/Server/Internal.o ) src/Servant/Zeppelin/Server/Internal.hs:37:9: error: • Couldn't match expected type ‘Request -> RouteResult (Handler a)’ with actual type ‘RouteResult (Handler a)’ • In the pattern: Route m In a case alternative: Route m -> Route $ m >>= $$ phi . f In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) serverD :: captures -> params -> headers -> auth -> body -> Request -> RouteResult (Handler a) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:12) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) src/Servant/Zeppelin/Server/Internal.hs:37:24: error: • Couldn't match expected type ‘Request -> RouteResult (Handler b)’ with actual type ‘RouteResult (Handler b)’ • In the expression: Route $ m >>= $$ phi . f In a case alternative: Route m -> Route $ m >>= $$ phi . f In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) src/Servant/Zeppelin/Server/Internal.hs:38:9: error: • Couldn't match expected type ‘Request -> RouteResult (Handler a)’ with actual type ‘RouteResult t0’ • In the pattern: Fail e In a case alternative: Fail e -> Fail e In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) serverD :: captures -> params -> headers -> auth -> body -> Request -> RouteResult (Handler a) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:12) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) src/Servant/Zeppelin/Server/Internal.hs:38:24: error: • Couldn't match expected type ‘Request -> RouteResult (Handler b)’ with actual type ‘RouteResult a0’ • Possible cause: ‘Fail’ is applied to too many arguments In the expression: Fail e In a case alternative: Fail e -> Fail e In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) src/Servant/Zeppelin/Server/Internal.hs:39:9: error: • Couldn't match expected type ‘Request -> RouteResult (Handler a)’ with actual type ‘RouteResult t1’ • In the pattern: FailFatal e In a case alternative: FailFatal e -> FailFatal e In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) serverD :: captures -> params -> headers -> auth -> body -> Request -> RouteResult (Handler a) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:12) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) src/Servant/Zeppelin/Server/Internal.hs:39:24: error: • Couldn't match expected type ‘Request -> RouteResult (Handler b)’ with actual type ‘RouteResult a1’ • Possible cause: ‘FailFatal’ is applied to too many arguments In the expression: FailFatal e In a case alternative: FailFatal e -> FailFatal e In the expression: case serverD c p a b r of { Route m -> Route $ m >>= $$ phi . f Fail e -> Fail e FailFatal e -> FailFatal e } • Relevant bindings include f :: a -> t b (bound at src/Servant/Zeppelin/Server/Internal.hs:34:28) bindAction :: Delayed env (Handler a) -> t :~> Handler -> (a -> t b) -> Delayed env (Handler b) (bound at src/Servant/Zeppelin/Server/Internal.hs:34:1) cabal: Leaving directory '/tmp/cabal-tmp-11355/servant-zeppelin-server-0.1.0.0' cabal: Error: some packages failed to install: servant-zeppelin-server-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1