Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring base16-bytestring-0.1.1.6... Building base16-bytestring-0.1.1.6... Building base64-bytestring-1.0.0.1... Installed base16-bytestring-0.1.1.6 Configuring failure-0.2.0.3... Building failure-0.2.0.3... Configuring mtl-2.2.1... Installed base64-bytestring-1.0.0.1 Building mtl-2.2.1... Configuring primitive-0.6.1.0... Installed failure-0.2.0.3 Building primitive-0.6.1.0... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring network-2.6.3.1... Installed primitive-0.6.1.0 Configuring split-0.2.3.1... Installed random-1.1 Building network-2.6.3.1... Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed split-0.2.3.1 Building stm-2.4.4.1... Configuring semigroups-0.18.2... Installed stm-2.4.4.1 Building semigroups-0.18.2... Configuring transformers-compat-0.5.1.4... Installed semigroups-0.18.2 Configuring text-1.2.2.1... Installed network-2.6.3.1 Building transformers-compat-0.5.1.4... Building text-1.2.2.1... Configuring unix-compat-0.4.3.1... Installed transformers-compat-0.5.1.4 Building unix-compat-0.4.3.1... Configuring zlib-0.6.1.2... Installed unix-compat-0.4.3.1 Building zlib-0.6.1.2... Installed zlib-0.6.1.2 Configuring async-2.1.1... Building async-2.1.1... Configuring mmorph-1.0.9... Installed async-2.1.1 Building mmorph-1.0.9... Configuring exceptions-0.8.3... Installed mmorph-1.0.9 Building exceptions-0.8.3... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building tagged-0.8.5... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring monad-control-1.0.1.0... Building monad-control-1.0.1.0... Configuring hashable-1.2.4.0... Installed monad-control-1.0.1.0 Building hashable-1.2.4.0... Configuring blaze-builder-0.4.0.2... Installed hashable-1.2.4.0 Building blaze-builder-0.4.0.2... Installed blaze-builder-0.4.0.2 Configuring lifted-base-0.2.3.8... Building lifted-base-0.2.3.8... Configuring unordered-containers-0.2.7.1... Installed lifted-base-0.2.3.8 Building unordered-containers-0.2.7.1... Configuring constraints-0.8... Installed vector-0.11.0.0 Building constraints-0.8... Configuring void-0.7.1... Installed unordered-containers-0.2.7.1 Building void-0.7.1... Configuring streaming-commons-0.1.16... Installed void-0.7.1 Building streaming-commons-0.1.16... Installed constraints-0.8 Configuring resourcet-1.1.8.1... Building resourcet-1.1.8.1... Installed streaming-commons-0.1.16 Configuring chunked-data-0.3.0... Building chunked-data-0.3.0... Configuring mwc-random-0.13.5.0... Installed resourcet-1.1.8.1 Building mwc-random-0.13.5.0... Configuring scientific-0.3.4.9... Installed chunked-data-0.3.0 Building scientific-0.3.4.9... Configuring vector-algorithms-0.7.0.1... Installed mwc-random-0.13.5.0 Building vector-algorithms-0.7.0.1... Configuring lifted-async-0.9.0... Installed scientific-0.3.4.9 Building lifted-async-0.9.0... Installed lifted-async-0.9.0 Configuring conduit-1.2.8... Building conduit-1.2.8... Configuring attoparsec-0.13.1.0... Installed vector-algorithms-0.7.0.1 Building attoparsec-0.13.1.0... Configuring mono-traversable-1.0.1... Installed conduit-1.2.8 Building mono-traversable-1.0.1... Installed attoparsec-0.13.1.0 Configuring conduit-extra-1.1.15... Building conduit-extra-1.1.15... Installed conduit-extra-1.1.15 Installed mono-traversable-1.0.1 Configuring conduit-combinators-1.0.8.3... Building conduit-combinators-1.0.8.3... Installed conduit-combinators-1.0.8.3 Configuring gitlib-3.1.1... Building gitlib-3.1.1... Installed gitlib-3.1.1 Configuring gitlib-sample-3.0.1... Building gitlib-sample-3.0.1... Failed to install gitlib-sample-3.0.1 Build log ( /home/builder/.cabal/logs/gitlib-sample-3.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-21441/gitlib-sample-3.0.1' Configuring gitlib-sample-3.0.1... Building gitlib-sample-3.0.1... Preprocessing library gitlib-sample-3.0.1... [1 of 1] Compiling Git.Sample ( Git/Sample.hs, dist/build/Git/Sample.o ) Git/Sample.hs:46:10: error: • Could not deduce (Monad m) arising from the superclasses of an instance declaration from the context: (Applicative m, Failure Git.GitException m, MonadReader env m, HasSampleRepository env) bound by the instance declaration at Git/Sample.hs:(46,10)-(48,43) Possible fix: add (Monad m) to the context of the instance declaration • In the instance declaration for ‘Git.MonadGit SampleRepository m’ Git/Sample.hs:46:10: error: • Could not deduce (exceptions-0.8.3:Control.Monad.Catch.MonadThrow m) arising from the superclasses of an instance declaration from the context: (Applicative m, Failure Git.GitException m, MonadReader env m, HasSampleRepository env) bound by the instance declaration at Git/Sample.hs:(46,10)-(48,43) Possible fix: add (exceptions-0.8.3:Control.Monad.Catch.MonadThrow m) to the context of the instance declaration • In the instance declaration for ‘Git.MonadGit SampleRepository m’ cabal: Leaving directory '/tmp/cabal-tmp-21441/gitlib-sample-3.0.1' cabal: Error: some packages failed to install: gitlib-sample-3.0.1 failed during the building phase. The exception was: ExitFailure 1