Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-orphans-0.5.4... Building ansi-terminal-0.6.2.3... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring base64-bytestring-1.0.0.1... Building base64-bytestring-1.0.0.1... Configuring dlist-0.8.0.2... Installed ansi-terminal-0.6.2.3 Building dlist-0.8.0.2... Configuring fail-4.9.0.0... Installed base64-bytestring-1.0.0.1 Building fail-4.9.0.0... Configuring ghc-paths-0.1.0.9... Installed fail-4.9.0.0 Configuring integer-logarithms-1... Installed dlist-0.8.0.2 Building integer-logarithms-1... Configuring loop-0.3.0... Installed integer-logarithms-1 Building ghc-paths-0.1.0.9... Building loop-0.3.0... Configuring nats-1.1.1... Installed ghc-paths-0.1.0.9 Building nats-1.1.1... Configuring mtl-2.2.1... Installed loop-0.3.0 Configuring primitive-0.6.2.0... Installed nats-1.1.1 Building mtl-2.2.1... Building primitive-0.6.2.0... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring semigroups-0.18.2... Installed primitive-0.6.2.0 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring syb-0.6... Installed random-1.1 Building syb-0.6... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Configuring unix-compat-0.4.3.1... Installed syb-0.6 Building unix-compat-0.4.3.1... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed unix-compat-0.4.3.1 Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Configuring old-time-1.1.0.3... Installed ansi-wl-pprint-0.6.7.3 Building old-time-1.1.0.3... Configuring vector-0.12.0.0... Installed old-time-1.1.0.3 Building vector-0.12.0.0... Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Configuring StateVar-1.1.0.4... Installed tf-random-0.5 Building StateVar-1.1.0.4... Configuring async-2.1.1... Installed StateVar-1.1.0.4 Building async-2.1.1... Configuring exceptions-0.8.3... Installed async-2.1.1 Building exceptions-0.8.3... Configuring mmorph-1.0.9... Installed exceptions-0.8.3 Building mmorph-1.0.9... Configuring transformers-base-0.4.4... Installed mmorph-1.0.9 Building transformers-base-0.4.4... Configuring tagged-0.8.5... Installed transformers-base-0.4.4 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring optparse-applicative-0.12.1.0... Building optparse-applicative-0.12.1.0... Configuring hashable-1.2.5.0... Installed vector-0.12.0.0 Building hashable-1.2.5.0... Configuring polyparse-1.12... Installed optparse-applicative-0.12.1.0 Configuring system-filepath-0.4.13.4... Installed hashable-1.2.5.0 Building polyparse-1.12... Building system-filepath-0.4.13.4... Configuring parsec-3.1.11... Installed system-filepath-0.4.13.4 Building parsec-3.1.11... Configuring hint-0.6.0... Installed polyparse-1.12 Building hint-0.6.0... Configuring monad-control-1.0.1.0... Installed parsec-3.1.11 Building monad-control-1.0.1.0... Configuring QuickCheck-2.9.2... Installed monad-control-1.0.1.0 Building QuickCheck-2.9.2... Configuring distributive-0.5.1... Installed hint-0.6.0 Building distributive-0.5.1... Installed distributive-0.5.1 Configuring matrix-0.3.5.0... Building matrix-0.3.5.0... Configuring constraints-0.8... Installed QuickCheck-2.9.2 Building constraints-0.8... Configuring scientific-0.3.4.10... Installed matrix-0.3.5.0 Building scientific-0.3.4.10... Configuring void-0.7.1... Installed constraints-0.8 Building void-0.7.1... Configuring unordered-containers-0.2.7.2... Installed void-0.7.1 Building unordered-containers-0.2.7.2... Configuring system-fileio-0.3.16.3... Installed scientific-0.3.4.10 Building system-fileio-0.3.16.3... Configuring lifted-base-0.2.3.8... Installed system-fileio-0.3.16.3 Building lifted-base-0.2.3.8... Configuring cpphs-1.20.2... Installed lifted-base-0.2.3.8 Installed unordered-containers-0.2.7.2 Configuring contravariant-1.4... Building cpphs-1.20.2... Building contravariant-1.4... Configuring enclosed-exceptions-1.0.2... Installed contravariant-1.4 Building enclosed-exceptions-1.0.2... Configuring attoparsec-0.13.1.0... Installed enclosed-exceptions-1.0.2 Building attoparsec-0.13.1.0... Configuring resourcet-1.1.9... Installed cpphs-1.20.2 Building resourcet-1.1.9... Configuring lifted-async-0.9.1... Installed resourcet-1.1.9 Building lifted-async-0.9.1... Installed attoparsec-0.13.1.0 Configuring comonad-5... Installed lifted-async-0.9.1 Configuring conduit-1.2.8... Building conduit-1.2.8... Building comonad-5... Configuring haskell-src-exts-1.19.1... Installed comonad-5 Building haskell-src-exts-1.19.1... Installed conduit-1.2.8 Configuring aeson-0.11.2.1... Building aeson-0.11.2.1... Configuring shelly-1.6.8.1... Installed aeson-0.11.2.1 Building shelly-1.6.8.1... Configuring bifunctors-5.4.1... Failed to install shelly-1.6.8.1 Build log ( /home/builder/.cabal/logs/shelly-1.6.8.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27013/shelly-1.6.8.1' Configuring shelly-1.6.8.1... Building shelly-1.6.8.1... Preprocessing library shelly-1.6.8.1... [1 of 6] Compiling Shelly.Base ( src/Shelly/Base.hs, dist/build/Shelly/Base.o ) src/Shelly/Base.hs:39:1: warning: [-Wunused-imports] The import of ‘ProcessHandle’ from module ‘System.Process’ is redundant src/Shelly/Base.hs:42:1: warning: [-Wunused-imports] The import of ‘liftM’ from module ‘Control.Monad’ is redundant [2 of 6] Compiling Shelly.Find ( src/Shelly/Find.hs, dist/build/Shelly/Find.o ) src/Shelly/Find.hs:67:5: warning: [-Wname-shadowing] This binding for ‘traverse’ shadows the existing binding imported from ‘Prelude’ at src/Shelly/Find.hs:11:1-32 (and originally defined in ‘Data.Traversable’) [3 of 6] Compiling Shelly ( src/Shelly.hs, dist/build/Shelly.o ) src/Shelly.hs:129:1: warning: [-Wunused-imports] The import of ‘Monoid’ from module ‘Data.Monoid’ is redundant src/Shelly.hs:321:13: warning: [-Wunused-matches] Defined but not used: ‘fp’ src/Shelly.hs:376:5: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘toHandle’: Patterns not matched: (Just NoStream) [4 of 6] Compiling Shelly.Lifted ( src/Shelly/Lifted.hs, dist/build/Shelly/Lifted.o ) src/Shelly/Lifted.hs:104:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() src/Shelly/Lifted.hs:117:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead src/Shelly/Lifted.hs:142:11: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:142:43: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:143:16: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:242:29: warning: [-Wdeprecations] In the use of type constructor or class ‘Error’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:243:29: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:244:18: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:246:9: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:247:41: warning: [-Wdeprecations] In the use of ‘runErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Shelly/Lifted.hs:248:31: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [5 of 6] Compiling Shelly.Pipe ( src/Shelly/Pipe.hs, dist/build/Shelly/Pipe.o ) src/Shelly/Pipe.hs:122:1: error: • The default type ‘Text’ is not an instance of ‘Num’ • When checking the types in a default declaration cabal: Leaving directory '/tmp/cabal-tmp-27013/shelly-1.6.8.1' Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring pdf-slave-template-1.2.0.0... Building pdf-slave-template-1.2.0.0... Installed pdf-slave-template-1.2.0.0 Configuring yaml-0.8.21.1... Building yaml-0.8.21.1... Configuring semigroupoids-5.1... Installed yaml-0.8.21.1 Building semigroupoids-5.1... Installed semigroupoids-5.1 Configuring wl-pprint-extras-3.5.0.5... Building wl-pprint-extras-3.5.0.5... Installed wl-pprint-extras-3.5.0.5 Configuring HaTeX-3.17.1.0... Building HaTeX-3.17.1.0... Installed HaTeX-3.17.1.0 Installed haskell-src-exts-1.19.1 Configuring haskintex-0.7.0.1... Building haskintex-0.7.0.1... Installed haskintex-0.7.0.1 cabal: Error: some packages failed to install: pdf-slave-1.3.1.0 depends on shelly-1.6.8.1 which failed to install. shelly-1.6.8.1 failed during the building phase. The exception was: ExitFailure 1