Resolving dependencies... Configuring call-stack-0.1.0... Configuring cmdargs-0.10.14... Building call-stack-0.1.0... Building cmdargs-0.10.14... Configuring mtl-2.2.1... Installed call-stack-0.1.0 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 network-2.6.3.1... Installed old-locale-1.0.0.7 Building network-2.6.3.1... Configuring random-1.1... Installed cmdargs-0.10.14 Configuring text-1.2.2.1... Installed network-2.6.3.1 Building random-1.1... Building text-1.2.2.1... Installed random-1.1 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Configuring IfElse-0.85... Installed HUnit-1.5.0.0 Building IfElse-0.85... Configuring old-time-1.1.0.3... Installed IfElse-0.85 Building old-time-1.1.0.3... Configuring regex-base-0.93.2... Installed old-time-1.1.0.3 Building regex-base-0.93.2... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Installed regex-base-0.93.2 Configuring parsec-3.1.11... Building parsec-3.1.11... Configuring regex-posix-0.95.2... Installed hslogger-1.2.10 Building regex-posix-0.95.2... Installed parsec-3.1.11 Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Configuring MissingH-1.4.0.1... Building MissingH-1.4.0.1... Installed MissingH-1.4.0.1 Configuring HSH-2.1.2... Building HSH-2.1.2... Failed to install HSH-2.1.2 Build log ( /home/builder/.cabal/logs/HSH-2.1.2.log ): cabal: Entering directory '/tmp/cabal-tmp-2205/HSH-2.1.2' Configuring HSH-2.1.2... Warning: 'ghc-options: -threaded' has no effect for libraries. It should only be used for executables. Building HSH-2.1.2... Preprocessing library HSH-2.1.2... on the commandline: warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [1 of 4] Compiling HSH.Channel ( HSH/Channel.hs, dist/build/HSH/Channel.o ) HSH/Channel.hs:61:42: warning: [-Wname-shadowing] This binding for ‘h’ shadows the existing binding bound at HSH/Channel.hs:59:22 HSH/Channel.hs:62:39: warning: [-Wname-shadowing] This binding for ‘h’ shadows the existing binding bound at HSH/Channel.hs:59:22 [2 of 4] Compiling HSH.Command ( HSH/Command.hs, dist/build/HSH/Command.o ) HSH/Command.hs:38:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ HSH/Command.hs:43:1: warning: [-Wunused-imports] The import of ‘Data.Maybe.Utils’ is redundant except perhaps to import instances from ‘Data.Maybe.Utils’ To import instances alone, use: import Data.Maybe.Utils() HSH/Command.hs:45:1: warning: [-Wunused-imports] The import of ‘Data.List.Utils’ is redundant except perhaps to import instances from ‘Data.List.Utils’ To import instances alone, use: import Data.List.Utils() HSH/Command.hs:50:1: warning: [-Wunused-imports] The import of ‘Control.Concurrent’ is redundant except perhaps to import instances from ‘Control.Concurrent’ To import instances alone, use: import Control.Concurrent() HSH/Command.hs:58:1: warning: [-Wunused-top-binds] Defined but not used: ‘d’ HSH/Command.hs:59:1: warning: [-Wunused-top-binds] Defined but not used: ‘dr’ HSH/Command.hs:60:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: em :: String -> IO () HSH/Command.hs:113:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (Handle -> Handle -> IO ()) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:115:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (Channel -> IO Channel) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:117:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (String -> String) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:119:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> String) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:121:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (String -> IO String) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:123:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> IO String) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:125:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (BSL.ByteString -> BSL.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:127:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> BSL.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:129:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (BSL.ByteString -> IO BSL.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:131:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> IO BSL.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:133:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (BS.ByteString -> BS.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:135:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> BS.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:137:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (BS.ByteString -> IO BS.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:139:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> IO BS.ByteString) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:234:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show ([String] -> [String]) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:236:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> [String]) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:238:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show ([String] -> IO [String]) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:240:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show (() -> IO [String]) To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. HSH/Command.hs:289:14: warning: [-Wmissing-fields] • Fields of ‘CreateProcess’ not initialised: detach_console, create_new_console, new_session, child_group, child_user • In the expression: CreateProcess {cmdspec = c, cwd = Nothing, env = environ, std_in = UseHandle ih, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} In an equation for ‘cp’: cp = CreateProcess {cmdspec = c, cwd = Nothing, env = environ, std_in = UseHandle ih, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} In the expression: let cp = CreateProcess {cmdspec = c, cwd = Nothing, env = environ, std_in = UseHandle ih, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} in do { (_, oh', _, ph) <- createProcess cp; let oh = ...; return (ChanHandle oh, [(printCmdSpec c, waitForProcess ph)]) } HSH/Command.hs:298:1: warning: [-Wtabs] Tab character found here, and in 23 further locations. Please use spaces instead. HSH/Command.hs:309:14: warning: [-Wmissing-fields] • Fields of ‘CreateProcess’ not initialised: detach_console, create_new_console, new_session, child_group, child_user • In the expression: CreateProcess {cmdspec = cspec, cwd = Nothing, env = environ, std_in = CreatePipe, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} In an equation for ‘cp’: cp = CreateProcess {cmdspec = cspec, cwd = Nothing, env = environ, std_in = CreatePipe, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} In the expression: let cp = CreateProcess {cmdspec = cspec, cwd = Nothing, env = environ, std_in = CreatePipe, std_out = CreatePipe, std_err = Inherit, close_fds = True, create_group = False, delegate_ctlc = False} in do { (ih', oh', _, ph) <- createProcess cp; let ih = ...; let oh = ...; .... } HSH/Command.hs:344:38: warning: [-Wname-shadowing] This binding for ‘env’ shadows the existing binding imported from ‘System.Process’ at HSH/Command.hs:51:1-21 (and originally defined in ‘process-1.4.2.0:System.Process.Common’) HSH/Command.hs:464:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘c’ Suppress this warning by saying ‘_ <- evalfunc c’ HSH/Command.hs:586:1: warning: [-Worphans] Orphan instance: instance [overlap ok] Show EnvironFilter To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. [3 of 4] Compiling HSH.ShellEquivs ( HSH/ShellEquivs.hs, dist/build/HSH/ShellEquivs.o ) HSH/ShellEquivs.hs:385:48: error: Ambiguous occurrence ‘isSymbolicLink’ It could refer to either ‘SD.isSymbolicLink’, imported from ‘System.Directory’ at HSH/ShellEquivs.hs:89:1-48 or ‘System.Posix.Files.isSymbolicLink’, imported from ‘System.Posix.Files’ at HSH/ShellEquivs.hs:94:43-56 (and originally defined in ‘unix-2.7.2.0:System.Posix.Files.Common’) HSH/ShellEquivs.hs:395:52: error: Ambiguous occurrence ‘isSymbolicLink’ It could refer to either ‘SD.isSymbolicLink’, imported from ‘System.Directory’ at HSH/ShellEquivs.hs:89:1-48 or ‘System.Posix.Files.isSymbolicLink’, imported from ‘System.Posix.Files’ at HSH/ShellEquivs.hs:94:43-56 (and originally defined in ‘unix-2.7.2.0:System.Posix.Files.Common’) cabal: Leaving directory '/tmp/cabal-tmp-2205/HSH-2.1.2' cabal: Error: some packages failed to install: HSH-2.1.2 failed during the building phase. The exception was: ExitFailure 1 clean-home-0.0.2 depends on HSH-2.1.2 which failed to install.