Resolving dependencies... Configuring cmdargs-0.10.5... Building cmdargs-0.10.5... Preprocessing library cmdargs-0.10.5... [ 1 of 25] Compiling System.Console.CmdArgs.Implicit.Ann ( System/Console/CmdArgs/Implicit/Ann.hs, dist/build/System/Console/CmdArgs/Implicit/Ann.o ) [ 2 of 25] Compiling System.Console.CmdArgs.Implicit.UI ( System/Console/CmdArgs/Implicit/UI.hs, dist/build/System/Console/CmdArgs/Implicit/UI.o ) [ 3 of 25] Compiling System.Console.CmdArgs.Verbosity ( System/Console/CmdArgs/Verbosity.hs, dist/build/System/Console/CmdArgs/Verbosity.o ) [ 4 of 25] Compiling System.Console.CmdArgs.Implicit.Type ( System/Console/CmdArgs/Implicit/Type.hs, dist/build/System/Console/CmdArgs/Implicit/Type.o ) [ 5 of 25] Compiling System.Console.CmdArgs.Explicit.SplitJoin ( System/Console/CmdArgs/Explicit/SplitJoin.hs, dist/build/System/Console/CmdArgs/Explicit/SplitJoin.o ) [ 6 of 25] Compiling System.Console.CmdArgs.Explicit.ExpandArgsAt ( System/Console/CmdArgs/Explicit/ExpandArgsAt.hs, dist/build/System/Console/CmdArgs/Explicit/ExpandArgsAt.o ) [ 7 of 25] Compiling System.Console.CmdArgs.Explicit.Type ( System/Console/CmdArgs/Explicit/Type.hs, dist/build/System/Console/CmdArgs/Explicit/Type.o ) [ 8 of 25] Compiling System.Console.CmdArgs.Explicit.Process ( System/Console/CmdArgs/Explicit/Process.hs, dist/build/System/Console/CmdArgs/Explicit/Process.o ) [ 9 of 25] Compiling System.Console.CmdArgs.Explicit.Complete ( System/Console/CmdArgs/Explicit/Complete.hs, dist/build/System/Console/CmdArgs/Explicit/Complete.o ) [10 of 25] Compiling System.Console.CmdArgs.Helper ( System/Console/CmdArgs/Helper.hs, dist/build/System/Console/CmdArgs/Helper.o ) [11 of 25] Compiling System.Console.CmdArgs.Default ( System/Console/CmdArgs/Default.hs, dist/build/System/Console/CmdArgs/Default.o ) [12 of 25] Compiling System.Console.CmdArgs.Text ( System/Console/CmdArgs/Text.hs, dist/build/System/Console/CmdArgs/Text.o ) [13 of 25] Compiling System.Console.CmdArgs.Explicit.Help ( System/Console/CmdArgs/Explicit/Help.hs, dist/build/System/Console/CmdArgs/Explicit/Help.o ) [14 of 25] Compiling System.Console.CmdArgs.Explicit ( System/Console/CmdArgs/Explicit.hs, dist/build/System/Console/CmdArgs/Explicit.o ) [15 of 25] Compiling System.Console.CmdArgs.GetOpt ( System/Console/CmdArgs/GetOpt.hs, dist/build/System/Console/CmdArgs/GetOpt.o ) [16 of 25] Compiling Data.Generics.Any ( Data/Generics/Any.hs, dist/build/Data/Generics/Any.o ) Data/Generics/Any.hs:65:17: Warning: In the use of `tyConString' (imported from Data.Data, but defined in Data.Typeable.Internal): Deprecated: "renamed to tyConName; tyConModule and tyConPackage are also available." [17 of 25] Compiling Data.Generics.Any.Prelude ( Data/Generics/Any/Prelude.hs, dist/build/Data/Generics/Any/Prelude.o ) [18 of 25] Compiling System.Console.CmdArgs.Implicit.Reader ( System/Console/CmdArgs/Implicit/Reader.hs, dist/build/System/Console/CmdArgs/Implicit/Reader.o ) [19 of 25] Compiling System.Console.CmdArgs.Annotate ( System/Console/CmdArgs/Annotate.hs, dist/build/System/Console/CmdArgs/Annotate.o ) [20 of 25] Compiling System.Console.CmdArgs.Implicit.Local ( System/Console/CmdArgs/Implicit/Local.hs, dist/build/System/Console/CmdArgs/Implicit/Local.o ) [21 of 25] Compiling System.Console.CmdArgs.Implicit.Reform ( System/Console/CmdArgs/Implicit/Reform.hs, dist/build/System/Console/CmdArgs/Implicit/Reform.o ) [22 of 25] Compiling System.Console.CmdArgs.Implicit.Global ( System/Console/CmdArgs/Implicit/Global.hs, dist/build/System/Console/CmdArgs/Implicit/Global.o ) [23 of 25] Compiling System.Console.CmdArgs.Implicit ( System/Console/CmdArgs/Implicit.hs, dist/build/System/Console/CmdArgs/Implicit.o ) [24 of 25] Compiling System.Console.CmdArgs.Quote ( System/Console/CmdArgs/Quote.hs, dist/build/System/Console/CmdArgs/Quote.o ) [25 of 25] Compiling System.Console.CmdArgs ( System/Console/CmdArgs.hs, dist/build/System/Console/CmdArgs.o ) In-place registering cmdargs-0.10.5... Running Haddock for cmdargs-0.10.5... Running hscolour for cmdargs-0.10.5... Preprocessing library cmdargs-0.10.5... Preprocessing library cmdargs-0.10.5... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: transformers-0.3.0.0 dist/build/tmp-15379/Data/Generics/Any.hs:65:17: Warning: In the use of `tyConString' (imported from Data.Data, but defined in Data.Typeable.Internal): Deprecated: "renamed to tyConName; tyConModule and tyConPackage are also available." Haddock coverage: 50% ( 1 / 2) in 'System.Console.CmdArgs.Implicit.Ann' 100% ( 21 / 21) in 'System.Console.CmdArgs.Implicit.UI' 100% ( 8 / 8) in 'System.Console.CmdArgs.Verbosity' 25% ( 2 / 8) in 'System.Console.CmdArgs.Implicit.Type' 67% ( 2 / 3) in 'System.Console.CmdArgs.Explicit.SplitJoin' 50% ( 1 / 2) in 'System.Console.CmdArgs.Explicit.ExpandArgsAt' 86% ( 24 / 28) in 'System.Console.CmdArgs.Explicit.Type' 50% ( 1 / 2) in 'System.Console.CmdArgs.Explicit.Process' 60% ( 3 / 5) in 'System.Console.CmdArgs.Explicit.Complete' 100% ( 8 / 8) in 'System.Console.CmdArgs.Helper' 100% ( 2 / 2) in 'System.Console.CmdArgs.Default' 100% ( 5 / 5) in 'System.Console.CmdArgs.Text' 67% ( 2 / 3) in 'System.Console.CmdArgs.Explicit.Help' 93% ( 43 / 46) in 'System.Console.CmdArgs.Explicit' 100% ( 8 / 8) in 'System.Console.CmdArgs.GetOpt' 4% ( 1 / 26) in 'Data.Generics.Any' 0% ( 0 / 20) in 'Data.Generics.Any.Prelude' 0% ( 0 / 3) in 'System.Console.CmdArgs.Implicit.Reader' 100% ( 17 / 17) in 'System.Console.CmdArgs.Annotate' 9% ( 1 / 11) in 'System.Console.CmdArgs.Implicit.Local' 0% ( 0 / 2) in 'System.Console.CmdArgs.Implicit.Reform' 0% ( 0 / 2) in 'System.Console.CmdArgs.Implicit.Global' 100% ( 50 / 50) in 'System.Console.CmdArgs.Implicit' 100% ( 9 / 9) in 'System.Console.CmdArgs.Quote' 100% ( 2 / 2) in 'System.Console.CmdArgs' Warning: System.Console.CmdArgs.Implicit: could not find link destinations for: System.Console.CmdArgs.Implicit.Type.CmdArgsPrivate GHC.IO.Handle.Types.Handle__ Documentation created: dist/doc/html/cmdargs/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/cmdargs-0.10.5 Registering cmdargs-0.10.5... Installed cmdargs-0.10.5 Configuring system-filepath-0.4.8... Building system-filepath-0.4.8... Preprocessing library system-filepath-0.4.8... [1 of 4] Compiling Filesystem.Path.Internal ( lib/Filesystem/Path/Internal.hs, dist/build/Filesystem/Path/Internal.o ) [2 of 4] Compiling Filesystem.Path ( lib/Filesystem/Path.hs, dist/build/Filesystem/Path.o ) [3 of 4] Compiling Filesystem.Path.Rules ( lib/Filesystem/Path/Rules.hs, dist/build/Filesystem/Path/Rules.o ) [4 of 4] Compiling Filesystem.Path.CurrentOS ( lib/Filesystem/Path/CurrentOS.hs, dist/build/Filesystem/Path/CurrentOS.o ) In-place registering system-filepath-0.4.8... Running Haddock for system-filepath-0.4.8... Running hscolour for system-filepath-0.4.8... Preprocessing library system-filepath-0.4.8... Preprocessing library system-filepath-0.4.8... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: text-0.11.2.3 Haddock coverage: 9% ( 2 / 23) in 'Filesystem.Path.Internal' 97% ( 33 / 34) in 'Filesystem.Path' 94% ( 17 / 18) in 'Filesystem.Path.Rules' 92% ( 12 / 13) in 'Filesystem.Path.CurrentOS' Warning: Filesystem.Path: could not find link destinations for: Data.Text.Internal.Text Warning: Filesystem.Path.Rules: could not find link destinations for: Data.Text.Internal.Text Warning: Filesystem.Path.CurrentOS: could not find link destinations for: Data.Text.Internal.Text Documentation created: dist/doc/html/system-filepath/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/system-filepath-0.4.8 Registering system-filepath-0.4.8... Installed system-filepath-0.4.8 Configuring unix-compat-0.4.1.1... Building unix-compat-0.4.1.1... Preprocessing library unix-compat-0.4.1.1... [1 of 8] Compiling System.PosixCompat.User ( dist/build/System/PosixCompat/User.hs, dist/build/System/PosixCompat/User.o ) [2 of 8] Compiling System.PosixCompat.Unistd ( src/System/PosixCompat/Unistd.hs, dist/build/System/PosixCompat/Unistd.o ) [3 of 8] Compiling System.PosixCompat.Types ( src/System/PosixCompat/Types.hs, dist/build/System/PosixCompat/Types.o ) [4 of 8] Compiling System.PosixCompat.Extensions ( dist/build/System/PosixCompat/Extensions.hs, dist/build/System/PosixCompat/Extensions.o ) [5 of 8] Compiling System.PosixCompat.Time ( src/System/PosixCompat/Time.hs, dist/build/System/PosixCompat/Time.o ) [6 of 8] Compiling System.PosixCompat.Temp ( src/System/PosixCompat/Temp.hs, dist/build/System/PosixCompat/Temp.o ) [7 of 8] Compiling System.PosixCompat.Files ( dist/build/System/PosixCompat/Files.hs, dist/build/System/PosixCompat/Files.o ) [8 of 8] Compiling System.PosixCompat ( src/System/PosixCompat.hs, dist/build/System/PosixCompat.o ) In-place registering unix-compat-0.4.1.1... Running Haddock for unix-compat-0.4.1.1... Running hscolour for unix-compat-0.4.1.1... Preprocessing library unix-compat-0.4.1.1... Preprocessing library unix-compat-0.4.1.1... Haddock coverage: 91% ( 21 / 23) in 'System.PosixCompat.User' 75% ( 6 / 8) in 'System.PosixCompat.Unistd' 100% ( 2 / 2) in 'System.PosixCompat.Types' 71% ( 5 / 7) in 'System.PosixCompat.Extensions' 100% ( 2 / 2) in 'System.PosixCompat.Time' 100% ( 2 / 2) in 'System.PosixCompat.Temp' 99% ( 77 / 78) in 'System.PosixCompat.Files' 100% ( 8 / 8) in 'System.PosixCompat' Documentation created: dist/doc/html/unix-compat/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/unix-compat-0.4.1.1 Registering unix-compat-0.4.1.1... Installed unix-compat-0.4.1.1 Configuring system-fileio-0.3.11... Building system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... [1 of 1] Compiling Filesystem ( lib/Filesystem.hs, dist/build/Filesystem.o ) lib/Filesystem.hs:79:1: Warning: The import of `when' from module `Control.Monad' is redundant lib/Filesystem.hs:95:1: Warning: The import of `System.IO.Error' is redundant except perhaps to import instances from `System.IO.Error' To import instances alone, use: import System.IO.Error() lib/Filesystem.hs:922:1: Warning: Defined but not used: `throwErrnoPathIfMinus1' In-place registering system-fileio-0.3.11... Running Haddock for system-fileio-0.3.11... Running hscolour for system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... Preprocessing library system-fileio-0.3.11... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: text-0.11.2.3 dist/build/tmp-15379/lib/Filesystem.hs:79:1: Warning: The import of `when' from module `Control.Monad' is redundant dist/build/tmp-15379/lib/Filesystem.hs:95:1: Warning: The import of `System.IO.Error' is redundant except perhaps to import instances from `System.IO.Error' To import instances alone, use: import System.IO.Error() dist/build/tmp-15379/lib/Filesystem.hs:922:1: Warning: Defined but not used: `throwErrnoPathIfMinus1' Haddock coverage: 100% ( 46 / 46) in 'Filesystem' Warning: Filesystem: could not find link destinations for: Data.Text.Internal.Text Documentation created: dist/doc/html/system-fileio/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/system-fileio-0.3.11 Registering system-fileio-0.3.11... Installed system-fileio-0.3.11 Configuring shelly-1.3.2... Building shelly-1.3.2... Preprocessing library shelly-1.3.2... [1 of 4] Compiling Shelly.Base ( src/Shelly/Base.hs, dist/build/Shelly/Base.o ) [2 of 4] Compiling Shelly.Find ( src/Shelly/Find.hs, dist/build/Shelly/Find.o ) [3 of 4] Compiling Shelly ( src/Shelly.hs, dist/build/Shelly.o ) [4 of 4] Compiling Shelly.Pipe ( src/Shelly/Pipe.hs, dist/build/Shelly/Pipe.o ) In-place registering shelly-1.3.2... Running Haddock for shelly-1.3.2... Running hscolour for shelly-1.3.2... Preprocessing library shelly-1.3.2... Preprocessing library shelly-1.3.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: mtl-2.1.2, text-0.11.2.3, transformers-0.3.0.0 Haddock coverage: Warning: Couldn't find .haddock for export Data.Text.Internal.Text Warning: Couldn't find .haddock for export Control.Monad.IO.Class.liftIO 62% ( 24 / 39) in 'Shelly.Base' 100% ( 7 / 7) in 'Shelly.Find' Warning: Couldn't find .haddock for export Control.Monad.IO.Class.liftIO 91% (121 /133) in 'Shelly' Warning: Couldn't find .haddock for export Control.Monad.IO.Class.liftIO 94% (117 /125) in 'Shelly.Pipe' Warning: Shelly: could not find link destinations for: Control.Monad.IO.Class.MonadIO Data.Text.Internal.Text Shelly.ToFilePath Shelly.Base.State Warning: Shelly.Pipe: could not find link destinations for: Control.Monad.IO.Class.MonadIO Data.Text.Internal.Text Shelly.Pipe.ShellCommand Shelly.ToFilePath Shelly.Base.State Documentation created: dist/doc/html/shelly/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/shelly-1.3.2 Registering shelly-1.3.2... Installed shelly-1.3.2 Downloading cr-1.0... Configuring cr-1.0... Building cr-1.0... Preprocessing executable 'cr' for cr-1.0... [1 of 1] Compiling Main ( Cr.hs, dist/build/cr/cr-tmp/Main.o ) Cr.hs:85:16: Couldn't match type `Data.Text.Internal.Text' with `Text' Expected type: Data.Text.Internal.Text -> Text Actual type: Text -> Text In the second argument of `(<$>)', namely `strip' In the first argument of `(<$>)', namely `unpack <$> strip' In a stmt of a 'do' block: unpack <$> strip <$> run "git" ["rev-list", "--max-count", "1", "HEAD"] Failed to install cr-1.0 cabal: Error: some packages failed to install: cr-1.0 failed during the building phase. The exception was: ExitFailure 1