Resolving dependencies... Configuring ansi-terminal-0.6.3.1... Configuring appar-0.1.4... Building ansi-terminal-0.6.3.1... Building appar-0.1.4... 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 byteorder-1.0.4... Installed auto-update-0.1.4 Building byteorder-1.0.4... Configuring base64-bytestring-1.0.0.1... Installed byteorder-1.0.4 Building base64-bytestring-1.0.0.1... Configuring cabal-doctest-1.0.2... Installed base-compat-0.9.3 Building cabal-doctest-1.0.2... Configuring bytestring-builder-0.10.8.1.0... Installed base64-bytestring-1.0.0.1 Building bytestring-builder-0.10.8.1.0... Configuring dlist-0.8.0.2... Installed bytestring-builder-0.10.8.1.0 Configuring data-default-class-0.1.2.0... Installed cabal-doctest-1.0.2 Building dlist-0.8.0.2... Building data-default-class-0.1.2.0... Configuring file-embed-0.0.10... Installed data-default-class-0.1.2.0 Building file-embed-0.0.10... Configuring easy-file-0.2.1... Installed dlist-0.8.0.2 Building easy-file-0.2.1... Configuring foundation-0.0.9... Installed file-embed-0.0.10 Configuring integer-logarithms-1.0.1... Installed easy-file-0.2.1 Building foundation-0.0.9... 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 safe-0.3.14... Installed primitive-0.6.2.0 Building safe-0.3.14... Configuring stm-2.4.4.1... Installed safe-0.3.14 Building stm-2.4.4.1... Configuring split-0.2.3.2... Installed stm-2.4.4.1 Building split-0.2.3.2... Configuring stringsearch-0.3.6.6... Installed split-0.2.3.2 Building stringsearch-0.3.6.6... Configuring syb-0.7... Installed foundation-0.0.9 Configuring text-1.2.2.2... Installed stringsearch-0.3.6.6 Building syb-0.7... 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 utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Configuring unix-compat-0.4.3.1... Installed utf8-string-1.0.1.1 Building unix-compat-0.4.3.1... 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 Configuring word8-0.1.2... Installed unix-compat-0.4.3.1 Building zlib-0.6.1.2... Building word8-0.1.2... Installed word8-0.1.2 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Configuring old-time-1.1.0.3... Installed zlib-0.6.1.2 Configuring iproute-1.7.1... Installed ansi-wl-pprint-0.6.7.3 Building iproute-1.7.1... Building old-time-1.1.0.3... Configuring simple-sendfile-0.2.25... Installed old-time-1.1.0.3 Configuring async-2.1.1.1... Installed iproute-1.7.1 Building simple-sendfile-0.2.25... Building async-2.1.1.1... Configuring vector-0.12.0.1... Installed simple-sendfile-0.2.25 Configuring th-expand-syns-0.4.3.0... Installed async-2.1.1.1 Building vector-0.12.0.1... 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 blaze-builder-0.4.0.2... Installed tagged-0.8.5 Building blaze-builder-0.4.0.2... Configuring hashable-1.2.6.0... Installed vector-0.12.0.1 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 parsec-3.1.11... Installed hashable-1.2.6.0 Building parsec-3.1.11... Configuring string-conversions-0.4.0.1... Installed mime-types-0.1.0.7 Building string-conversions-0.4.0.1... Configuring system-filepath-0.4.13.4... Installed parsec-3.1.11 Installed string-conversions-0.4.0.1 Configuring optparse-applicative-0.13.2.0... Building optparse-applicative-0.13.2.0... Building system-filepath-0.4.13.4... Configuring th-reify-many-0.1.6... Installed optparse-applicative-0.13.2.0 Building th-reify-many-0.1.6... Warning: /tmp/pkgConf-system-filepath-0.4.13133535434087755422.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 monad-control-1.0.1.0... Installed th-reify-many-0.1.6 Building monad-control-1.0.1.0... Configuring cryptonite-0.23... Installed unix-time-0.3.7 Configuring blaze-markup-0.8.0.0... Installed monad-control-1.0.1.0 Building cryptonite-0.23... Building blaze-markup-0.8.0.0... Configuring th-lift-instances-0.1.11... Installed blaze-markup-0.8.0.0 Building th-lift-instances-0.1.11... Configuring cookie-0.4.2.1... Installed th-lift-instances-0.1.11 Building cookie-0.4.2.1... Configuring case-insensitive-1.2.0.10... Installed cookie-0.4.2.1 Building case-insensitive-1.2.0.10... Configuring streaming-commons-0.1.18... Installed case-insensitive-1.2.0.10 Building streaming-commons-0.1.18... Configuring psqueues-0.2.2.3... Installed streaming-commons-0.1.18 Building psqueues-0.2.2.3... Configuring scientific-0.3.4.14... Installed psqueues-0.2.2.3 Building scientific-0.3.4.14... Configuring unordered-containers-0.2.8.0... Installed scientific-0.3.4.14 Building unordered-containers-0.2.8.0... Configuring uuid-types-1.0.3... Installed unordered-containers-0.2.8.0 Building uuid-types-1.0.3... Configuring network-uri-2.6.1.0... Installed cryptonite-0.23 Building network-uri-2.6.1.0... Installed uuid-types-1.0.3 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 blaze-html-0.9.0.1... Installed fast-logger-2.4.10 Building blaze-html-0.9.0.1... Configuring http-media-0.6.4... Installed lifted-base-0.2.3.11 Building http-media-0.6.4... Configuring th-orphans-0.13.3... Installed http-media-0.6.4 Building th-orphans-0.13.3... Configuring http-types-0.9.1... Installed th-orphans-0.13.3 Building http-types-0.9.1... Configuring http2-1.6.3... Installed blaze-html-0.9.0.1 Building http2-1.6.3... Configuring vault-0.3.0.7... Installed http-types-0.9.1 Building vault-0.3.0.7... Configuring attoparsec-0.13.1.0... Installed vault-0.3.0.7 Building attoparsec-0.13.1.0... Configuring resourcet-1.1.9... Installed http2-1.6.3 Building resourcet-1.1.9... Configuring th-desugar-1.6... Installed attoparsec-0.13.1.0 Building th-desugar-1.6... Configuring wai-3.2.1.1... Installed resourcet-1.1.9 Building wai-3.2.1.1... Installed wai-3.2.1.1 Configuring attoparsec-iso8601-1.0.0.0... 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 uri-bytestring-0.2.3.2... Installed th-desugar-1.6 Building uri-bytestring-0.2.3.2... Configuring http-date-0.0.6.1... Installed uri-bytestring-0.2.3.2 Building http-date-0.0.6.1... Configuring wai-logger-2.3.0... Installed http-date-0.0.6.1 Building wai-logger-2.3.0... Installed aeson-1.2.0.0 Configuring singletons-2.2... Building singletons-2.2... Configuring http-api-data-0.3.7.1... Installed wai-logger-2.3.0 Building http-api-data-0.3.7.1... Warning: /tmp/pkgConf-http-api-data-0.3.71046741222337739299.1: Unrecognized field dynamic-library-dirs on line 22 Configuring warp-3.2.12... Installed http-api-data-0.3.7.1 Building warp-3.2.12... Installed warp-3.2.12 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.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-7338/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-7338/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