Resolving dependencies... Configuring call-stack-0.1.0... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building call-stack-0.1.0... Installed call-stack-0.1.0 Configuring ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Installed base-compat-0.9.1 Building mtl-2.2.1... Building ghc-paths-0.1.0.9... Configuring old-locale-1.0.0.7... Installed ghc-paths-0.1.0.9 Building old-locale-1.0.0.7... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Building network-2.6.3.1... Configuring stm-2.4.4.1... Installed random-1.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 network-2.6.3.1 Configuring text-1.2.2.1... Installed syb-0.6 Building unix-compat-0.4.3.1... Building text-1.2.2.1... Configuring HUnit-1.5.0.0... Installed unix-compat-0.4.3.1 Building HUnit-1.5.0.0... Installed HUnit-1.5.0.0 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Configuring async-2.1.1... Installed regex-base-0.93.2 Building async-2.1.1... Configuring hslogger-1.2.10... Installed async-2.1.1 Building hslogger-1.2.10... Configuring old-time-1.1.0.3... Installed hslogger-1.2.10 Configuring filemanip-0.3.6.3... Installed text-1.2.2.1 Building filemanip-0.3.6.3... Building old-time-1.1.0.3... Configuring doctest-0.11.0... Installed filemanip-0.3.6.3 Building doctest-0.11.0... Installed old-time-1.1.0.3 Configuring hinotify-0.3.9... Building hinotify-0.3.9... Configuring regex-posix-0.95.2... Installed hinotify-0.3.9 Building regex-posix-0.95.2... Configuring system-filepath-0.4.13.4... Installed regex-posix-0.95.2 Configuring parsec-3.1.11... Installed doctest-0.11.0 Building parsec-3.1.11... Building system-filepath-0.4.13.4... Installed system-filepath-0.4.13.4 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Configuring fsnotify-0.2.1... Installed parsec-3.1.11 Building fsnotify-0.2.1... Installed regex-compat-0.95.1 Configuring MissingH-1.4.0.1... Building MissingH-1.4.0.1... Installed fsnotify-0.2.1 Installed MissingH-1.4.0.1 Downloading shadower-0.1.0.2... Configuring shadower-0.1.0.2... Building shadower-0.1.0.2... Failed to install shadower-0.1.0.2 Build log ( /home/builder/.cabal/logs/shadower-0.1.0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-3210/shadower-0.1.0.2' Configuring shadower-0.1.0.2... Building shadower-0.1.0.2... Preprocessing executable 'shadower' for shadower-0.1.0.2... [1 of 1] Compiling Main ( src/Shadower.hs, dist/build/shadower/shadower-tmp/Main.o ) src/Shadower.hs:27:32: 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 ‘(fromText $ pack path)’ In a stmt of a 'do' block: _ <- watchTree manager (fromText $ pack path) (const True) handler In the expression: do { _ <- watchTree manager (fromText $ pack path) (const True) handler; _ <- getLine; exitSuccess } src/Shadower.hs:33:68: 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 ‘file’ In the first argument of ‘maybeRunDocTests’, namely ‘(encodeString file)’ In the expression: maybeRunDocTests (encodeString file) cabal: Leaving directory '/tmp/cabal-tmp-3210/shadower-0.1.0.2' cabal: Error: some packages failed to install: shadower-0.1.0.2 failed during the building phase. The exception was: ExitFailure 1