Resolving dependencies... Configuring cmdargs-0.10.14... Configuring mtl-2.2.1... Building mtl-2.2.1... Building cmdargs-0.10.14... Installed mtl-2.2.1 Configuring stm-2.4.4.1... Building stm-2.4.4.1... Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... 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 unix-compat-0.4.3.1 Building text-1.2.2.1... Configuring async-2.1.1... Installed cmdargs-0.10.14 Building async-2.1.1... Configuring filemanip-0.3.6.3... Installed async-2.1.1 Building filemanip-0.3.6.3... Installed filemanip-0.3.6.3 Configuring hinotify-0.3.9... Building hinotify-0.3.9... Installed hinotify-0.3.9 Installed text-1.2.2.1 Configuring fsnotify-0.2.1... Configuring system-filepath-0.4.13.4... Building fsnotify-0.2.1... Configuring parsec-3.1.11... Installed fsnotify-0.2.1 Building system-filepath-0.4.13.4... Building parsec-3.1.11... Installed system-filepath-0.4.13.4 Installed parsec-3.1.11 Configuring json-0.9.1... Building json-0.9.1... Installed json-0.9.1 Configuring spy-0.10... Building spy-0.10... Failed to install spy-0.10 Build log ( /home/builder/.cabal/logs/spy-0.10.log ): cabal: Entering directory '/tmp/cabal-tmp-5924/spy-0.10' Configuring spy-0.10... Building spy-0.10... Preprocessing executable 'spy' for spy-0.10... [1 of 3] Compiling Spy.Run ( src/Spy/Run.hs, dist/build/spy/spy-tmp/Spy/Run.o ) [2 of 3] Compiling Spy.Watcher ( src/Spy/Watcher.hs, dist/build/spy/spy-tmp/Spy/Watcher.o ) src/Spy/Watcher.hs:53:22: error: • Couldn't match type ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ with ‘[Char]’ Expected type: FilePath Actual type: system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath • In the second argument of ‘watchTree’, namely ‘(decodeString $ dir config)’ In the first argument of ‘runIndefinitely’, namely ‘(watchTree wm (decodeString $ dir config) (not . skipEvent config . eventPath) (handleEvent config))’ In the expression: runIndefinitely (watchTree wm (decodeString $ dir config) (not . skipEvent config . eventPath) (handleEvent config)) (const after) src/Spy/Watcher.hs:109:39: error: • Couldn't match type ‘[Char]’ with ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ Expected type: system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath Actual type: FilePath • In the first argument of ‘encodeString’, namely ‘fp’ In the expression: encodeString fp In an equation for ‘eventPath’: eventPath (Added fp _) = encodeString fp src/Spy/Watcher.hs:110:42: error: • Couldn't match type ‘[Char]’ with ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ Expected type: system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath Actual type: FilePath • In the first argument of ‘encodeString’, namely ‘fp’ In the expression: encodeString fp In an equation for ‘eventPath’: eventPath (Modified fp _) = encodeString fp src/Spy/Watcher.hs:111:41: error: • Couldn't match type ‘[Char]’ with ‘system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath’ Expected type: system-filepath-0.4.13.4:Filesystem.Path.Internal.FilePath Actual type: FilePath • In the first argument of ‘encodeString’, namely ‘fp’ In the expression: encodeString fp In an equation for ‘eventPath’: eventPath (Removed fp _) = encodeString fp cabal: Leaving directory '/tmp/cabal-tmp-5924/spy-0.10' cabal: Error: some packages failed to install: spy-0.10 failed during the building phase. The exception was: ExitFailure 1