Resolving dependencies... Configuring stm-2.4.4.1... Configuring mtl-2.2.1... Building mtl-2.2.1... Building stm-2.4.4.1... Installed stm-2.4.4.1 Configuring text-1.2.2.2... Building text-1.2.2.2... Configuring unix-compat-0.4.3.1... Installed mtl-2.2.1 Building unix-compat-0.4.3.1... Configuring transformers-compat-0.5.1.4... Installed unix-compat-0.4.3.1 Building transformers-compat-0.5.1.4... Configuring async-2.1.1.1... Installed transformers-compat-0.5.1.4 Building async-2.1.1.1... Installed async-2.1.1.1 Configuring transformers-base-0.4.4... Building transformers-base-0.4.4... Configuring exceptions-0.8.3... Installed transformers-base-0.4.4 Building exceptions-0.8.3... Installed exceptions-0.8.3 Configuring monad-control-1.0.2.2... Building monad-control-1.0.2.2... Installed text-1.2.2.2 Configuring system-filepath-0.4.13.4... Configuring hashable-1.2.6.1... Installed monad-control-1.0.2.2 Building hashable-1.2.6.1... Building system-filepath-0.4.13.4... Installed hashable-1.2.6.1 Configuring constraints-0.9.1... Building constraints-0.9.1... Warning: /tmp/pkgConf-system-filepath-0.4.131911759956749241873.4: Unrecognized field dynamic-library-dirs on line 23 Configuring lifted-base-0.2.3.11... Installed system-filepath-0.4.13.4 Building lifted-base-0.2.3.11... Configuring system-fileio-0.3.16.3... Installed lifted-base-0.2.3.11 Building system-fileio-0.3.16.3... Configuring enclosed-exceptions-1.0.2... Installed constraints-0.9.1 Installed system-fileio-0.3.16.3 Configuring lifted-async-0.9.3... Building enclosed-exceptions-1.0.2... Building lifted-async-0.9.3... Installed enclosed-exceptions-1.0.2 Installed lifted-async-0.9.3 Configuring shelly-1.6.8.5... Building shelly-1.6.8.5... Failed to install shelly-1.6.8.5 Build log ( /home/builder/.cabal/logs/shelly-1.6.8.5.log ): cabal: Entering directory '/tmp/cabal-tmp-4123/shelly-1.6.8.5' Configuring shelly-1.6.8.5... Building shelly-1.6.8.5... Preprocessing library shelly-1.6.8.5... [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:130:1: warning: [-Wunused-imports] The import of ‘Monoid’ from module ‘Data.Monoid’ is redundant src/Shelly.hs:322:13: warning: [-Wunused-matches] Defined but not used: ‘fp’ src/Shelly.hs:380: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:105: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:118:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead src/Shelly/Lifted.hs:143: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:143: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:144: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:243: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:244: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:245: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:247: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:248: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:249: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 ) [6 of 6] Compiling Shelly.Unix ( src/Shelly/Unix.hs, dist/build/Shelly/Unix.o ) Preprocessing executable 'drain' for shelly-1.6.8.5... cabal: can't find source for drain in . cabal: Leaving directory '/tmp/cabal-tmp-4123/shelly-1.6.8.5' cabal: Error: some packages failed to install: shelly-1.6.8.5 failed during the building phase. The exception was: ExitFailure 1