Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring base-compat-0.9.1... Building base64-bytestring-1.0.0.1... Building base-compat-0.9.1... Installed base64-bytestring-1.0.0.1 Configuring byteable-0.1.1... Building byteable-0.1.1... Configuring cereal-0.5.4.0... Installed base-compat-0.9.1 Building cereal-0.5.4.0... Configuring data-default-class-0.1.2.0... Installed byteable-0.1.1 Building data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Installed data-default-class-0.1.2.0 Building dlist-0.8.0.2... Configuring foundation-0.0.2... Installed cereal-0.5.4.0 Configuring hourglass-0.2.10... Installed dlist-0.8.0.2 Building foundation-0.0.2... Building hourglass-0.2.10... Configuring mtl-2.2.1... Installed hourglass-0.2.10 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 primitive-0.6.1.0... Installed old-locale-1.0.0.7 Building primitive-0.6.1.0... Configuring network-2.6.3.1... Installed primitive-0.6.1.0 Building network-2.6.3.1... Configuring random-1.1... Installed network-2.6.3.1 Building random-1.1... Configuring stm-2.4.4.1... Installed foundation-0.0.2 Building stm-2.4.4.1... Configuring tar-0.5.0.3... Installed random-1.1 Building tar-0.5.0.3... Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.1 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 text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring unix-compat-0.4.3.1... Installed tar-0.5.0.3 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 pem-0.2.2... Building pem-0.2.2... Configuring socks-0.5.5... Installed pem-0.2.2 Building socks-0.5.5... Configuring vector-0.11.0.0... Installed text-1.2.2.1 Configuring async-2.1.1... Installed socks-0.5.5 Building vector-0.11.0.0... Building async-2.1.1... Configuring memory-0.14... Installed async-2.1.1 Building memory-0.14... Configuring exceptions-0.8.3... Installed memory-0.14 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 mmorph-1.0.9... Installed tagged-0.8.5 Building mmorph-1.0.9... Installed mmorph-1.0.9 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring mime-types-0.1.0.7... Installed vector-0.11.0.0 Building mime-types-0.1.0.7... Configuring blaze-builder-0.4.0.2... Installed hashable-1.2.4.0 Building blaze-builder-0.4.0.2... Configuring system-filepath-0.4.13.4... Installed blaze-builder-0.4.0.2 Configuring asn1-types-0.3.2... Installed mime-types-0.1.0.7 Building asn1-types-0.3.2... Building system-filepath-0.4.13.4... Configuring parsec-3.1.11... Installed asn1-types-0.3.2 Building parsec-3.1.11... Configuring monad-control-1.0.1.0... Installed system-filepath-0.4.13.4 Building monad-control-1.0.1.0... Configuring cryptonite-0.21... Installed monad-control-1.0.1.0 Building cryptonite-0.21... Installed parsec-3.1.11 Configuring constraints-0.8... Building constraints-0.8... Configuring scientific-0.3.4.9... Installed constraints-0.8 Building scientific-0.3.4.9... Configuring case-insensitive-1.2.0.7... Installed scientific-0.3.4.9 Building case-insensitive-1.2.0.7... Configuring cookie-0.4.2.1... Installed case-insensitive-1.2.0.7 Building cookie-0.4.2.1... Configuring unordered-containers-0.2.7.1... Installed cookie-0.4.2.1 Building unordered-containers-0.2.7.1... Configuring system-fileio-0.3.16.3... Installed unordered-containers-0.2.7.1 Building system-fileio-0.3.16.3... Configuring asn1-encoding-0.9.4... Installed system-fileio-0.3.16.3 Building asn1-encoding-0.9.4... Configuring streaming-commons-0.1.16... Installed asn1-encoding-0.9.4 Building streaming-commons-0.1.16... Configuring lifted-base-0.2.3.8... Installed cryptonite-0.21 Building lifted-base-0.2.3.8... Configuring network-uri-2.6.1.0... Installed lifted-base-0.2.3.8 Building network-uri-2.6.1.0... Installed streaming-commons-0.1.16 Configuring http-types-0.9.1... Building http-types-0.9.1... Configuring asn1-parse-0.9.4... Installed network-uri-2.6.1.0 Building asn1-parse-0.9.4... Configuring enclosed-exceptions-1.0.2... Installed http-types-0.9.1 Configuring attoparsec-0.13.1.0... Installed asn1-parse-0.9.4 Building enclosed-exceptions-1.0.2... Building attoparsec-0.13.1.0... Configuring lifted-async-0.9.0... Installed enclosed-exceptions-1.0.2 Building lifted-async-0.9.0... Configuring resourcet-1.1.9... Installed lifted-async-0.9.0 Building resourcet-1.1.9... Installed attoparsec-0.13.1.0 Configuring http-client-0.5.4... Building http-client-0.5.4... Configuring x509-1.6.5... Installed resourcet-1.1.9 Building x509-1.6.5... Configuring shelly-1.6.8.1... Installed x509-1.6.5 Building shelly-1.6.8.1... Configuring aeson-1.0.2.1... Installed http-client-0.5.4 Building aeson-1.0.2.1... Configuring conduit-1.2.8... 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-25565/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-25565/shelly-1.6.8.1' Building conduit-1.2.8... Configuring x509-store-1.6.2... Installed conduit-1.2.8 Building x509-store-1.6.2... Installed x509-store-1.6.2 Configuring zlib-conduit-1.1.0... Building zlib-conduit-1.1.0... Configuring x509-validation-1.6.5... Installed zlib-conduit-1.1.0 Building x509-validation-1.6.5... Configuring x509-system-1.6.4... Installed x509-validation-1.6.5 Building x509-system-1.6.4... Configuring conduit-extra-1.1.15... Installed x509-system-1.6.4 Building conduit-extra-1.1.15... Installed aeson-1.0.2.1 Configuring tls-1.3.9... Building tls-1.3.9... Installed conduit-extra-1.1.15 Installed tls-1.3.9 Configuring connection-0.2.6... Building connection-0.2.6... Installed connection-0.2.6 Configuring http-client-tls-0.3.3... Building http-client-tls-0.3.3... Installed http-client-tls-0.3.3 Configuring http-conduit-2.2.3... Building http-conduit-2.2.3... Installed http-conduit-2.2.3 cabal: Error: some packages failed to install: mega-sdist-0.2.0.9 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