Resolving dependencies... Configuring appar-0.1.4... Configuring ansi-terminal-0.6.3.1... Building appar-0.1.4... Building ansi-terminal-0.6.3.1... Installed appar-0.1.4 Configuring auto-update-0.1.4... Building auto-update-0.1.4... Configuring base-compat-0.9.3... Installed ansi-terminal-0.6.3.1 Building base-compat-0.9.3... Configuring base64-bytestring-1.0.0.1... Installed auto-update-0.1.4 Building base64-bytestring-1.0.0.1... Configuring bytestring-builder-0.10.8.1.0... Installed base-compat-0.9.3 Configuring byteorder-1.0.4... Installed base64-bytestring-1.0.0.1 Building bytestring-builder-0.10.8.1.0... Building byteorder-1.0.4... 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 dlist-0.8.0.2... Installed cabal-doctest-1.0.2 Building dlist-0.8.0.2... Configuring easy-file-0.2.1... Installed data-default-class-0.1.2.0 Building easy-file-0.2.1... Configuring file-embed-0.0.10... Installed dlist-0.8.0.2 Configuring foundation-0.0.9... Installed easy-file-0.2.1 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 natural-transformation-0.4... Installed integer-logarithms-1.0.1 Building natural-transformation-0.4... Configuring mtl-2.2.1... Installed natural-transformation-0.4 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring network-2.6.3.2... Installed old-locale-1.0.0.7 Building network-2.6.3.2... Configuring random-1.1... Installed network-2.6.3.2 Building random-1.1... Configuring primitive-0.6.2.0... Installed random-1.1 Building primitive-0.6.2.0... Configuring split-0.2.3.2... Installed primitive-0.6.2.0 Building split-0.2.3.2... Configuring safe-0.3.14... Installed split-0.2.3.2 Building safe-0.3.14... Configuring stringsearch-0.3.6.6... Installed safe-0.3.14 Building stringsearch-0.3.6.6... Configuring stm-2.4.4.1... Installed foundation-0.0.9 Configuring syb-0.7... Installed stringsearch-0.3.6.6 Building stm-2.4.4.1... Building syb-0.7... Configuring text-1.2.2.2... Installed stm-2.4.4.1 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 word8-0.1.2... Installed utf8-string-1.0.1.1 Building word8-0.1.2... Configuring void-0.7.2... Installed text-1.2.2.2 Building void-0.7.2... Configuring zlib-0.6.1.2... Installed void-0.7.2 Installed word8-0.1.2 Configuring old-time-1.1.0.3... Building zlib-0.6.1.2... Building old-time-1.1.0.3... Configuring ansi-wl-pprint-0.6.7.3... Installed zlib-0.6.1.2 Configuring iproute-1.7.1... Installed old-time-1.1.0.3 Building ansi-wl-pprint-0.6.7.3... 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 vector-0.12.0.1... Installed iproute-1.7.1 Configuring memory-0.14.5... Installed simple-sendfile-0.2.25 Building vector-0.12.0.1... Building memory-0.14.5... Configuring async-2.1.1.1... Installed memory-0.14.5 Building async-2.1.1.1... Configuring th-expand-syns-0.4.3.0... Installed async-2.1.1.1 Building th-expand-syns-0.4.3.0... Configuring mmorph-1.1.0... Installed th-expand-syns-0.4.3.0 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 blaze-builder-0.4.0.2... Installed vector-0.12.0.1 Building blaze-builder-0.4.0.2... Configuring hashable-1.2.6.0... Installed tagged-0.8.5 Building hashable-1.2.6.0... Configuring mime-types-0.1.0.7... Installed blaze-builder-0.4.0.2 Building mime-types-0.1.0.7... Configuring string-conversions-0.4.0.1... Installed hashable-1.2.6.0 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 Building system-filepath-0.4.13.4... Installed parsec-3.1.11 Configuring optparse-applicative-0.13.2.0... Building optparse-applicative-0.13.2.0... Warning: /tmp/pkgConf-system-filepath-0.4.131529195746392035568.4: Unrecognized field dynamic-library-dirs on line 23 Configuring unix-time-0.3.7... Installed system-filepath-0.4.13.4 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 cryptonite-0.23... Installed unix-time-0.3.7 Building cryptonite-0.23... Configuring th-lift-instances-0.1.11... Installed th-reify-many-0.1.6 Building th-lift-instances-0.1.11... Configuring monad-control-1.0.1.0... Installed th-lift-instances-0.1.11 Building monad-control-1.0.1.0... Configuring cookie-0.4.2.1... Installed monad-control-1.0.1.0 Building cookie-0.4.2.1... Configuring blaze-markup-0.8.0.0... Installed cookie-0.4.2.1 Building blaze-markup-0.8.0.0... Configuring streaming-commons-0.1.18... Installed blaze-markup-0.8.0.0 Building streaming-commons-0.1.18... Configuring case-insensitive-1.2.0.10... Installed streaming-commons-0.1.18 Building case-insensitive-1.2.0.10... Configuring scientific-0.3.4.15... Installed case-insensitive-1.2.0.10 Building scientific-0.3.4.15... Configuring psqueues-0.2.2.3... Installed scientific-0.3.4.15 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 network-uri-2.6.1.0... Installed cryptonite-0.23 Building network-uri-2.6.1.0... Configuring uuid-types-1.0.3... Installed unordered-containers-0.2.8.0 Building uuid-types-1.0.3... Installed network-uri-2.6.1.0 Configuring th-orphans-0.13.3... Configuring fast-logger-2.4.10... Installed uuid-types-1.0.3 Building th-orphans-0.13.3... Building fast-logger-2.4.10... Configuring lifted-base-0.2.3.11... Installed fast-logger-2.4.10 Building lifted-base-0.2.3.11... Configuring http-media-0.6.4... Installed th-orphans-0.13.3 Configuring blaze-html-0.9.0.1... Installed lifted-base-0.2.3.11 Building http-media-0.6.4... Building blaze-html-0.9.0.1... Configuring http-types-0.9.1... Installed http-media-0.6.4 Building http-types-0.9.1... Configuring attoparsec-0.13.1.0... Installed http-types-0.9.1 Building attoparsec-0.13.1.0... Configuring vault-0.3.0.7... Installed blaze-html-0.9.0.1 Configuring http2-1.6.3... Installed attoparsec-0.13.1.0 Building vault-0.3.0.7... Building http2-1.6.3... Installed vault-0.3.0.7 Configuring th-desugar-1.6... Building th-desugar-1.6... Configuring resourcet-1.1.9... Installed http2-1.6.3 Building resourcet-1.1.9... Configuring aeson-1.2.0.0... Installed resourcet-1.1.9 Building aeson-1.2.0.0... Configuring attoparsec-iso8601-1.0.0.0... Installed th-desugar-1.6 Building attoparsec-iso8601-1.0.0.0... Configuring http-date-0.0.6.1... Installed attoparsec-iso8601-1.0.0.0 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... Configuring wai-3.2.1.1... Installed uri-bytestring-0.2.3.2 Building wai-3.2.1.1... Installed aeson-1.2.0.0 Configuring singletons-2.2... Configuring http-api-data-0.3.7.1... Installed wai-3.2.1.1 Building singletons-2.2... Building http-api-data-0.3.7.1... Warning: /tmp/pkgConf-http-api-data-0.3.79176792922006811972.1: Unrecognized field dynamic-library-dirs on line 22 Installed http-api-data-0.3.7.1 Configuring wai-logger-2.3.0... Building wai-logger-2.3.0... Installed wai-logger-2.3.0 Configuring warp-3.2.12... Building warp-3.2.12... Installed warp-3.2.12 Configuring servant-0.11... Building servant-0.11... Warning: /tmp/pkgConf-servant-015662888191371499336.11: Unrecognized field dynamic-library-dirs on line 33 Configuring wai-extra-3.0.19.1... Installed servant-0.11 Building wai-extra-3.0.19.1... Installed wai-extra-3.0.19.1 Configuring wai-app-static-3.1.6.1... 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.3... Building servant-zeppelin-0.1.0.3... Installed servant-zeppelin-0.1.0.3 Configuring servant-zeppelin-server-0.1.0.3... Building servant-zeppelin-server-0.1.0.3... Failed to install servant-zeppelin-server-0.1.0.3 Build log ( /home/builder/.cabal/logs/servant-zeppelin-server-0.1.0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-13962/servant-zeppelin-server-0.1.0.3' Configuring servant-zeppelin-server-0.1.0.3... Building servant-zeppelin-server-0.1.0.3... Preprocessing library servant-zeppelin-server-0.1.0.3... [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-13962/servant-zeppelin-server-0.1.0.3' cabal: Error: some packages failed to install: servant-zeppelin-server-0.1.0.3 failed during the building phase. The exception was: ExitFailure 1