Resolving dependencies... Configuring call-stack-0.1.0... Configuring ghc-paths-0.1.0.9... Building call-stack-0.1.0... Configuring base-compat-0.9.1... Installed call-stack-0.1.0 Building base-compat-0.9.1... Building ghc-paths-0.1.0.9... Configuring mtl-2.2.1... Installed base-compat-0.9.1 Configuring old-locale-1.0.0.7... Installed ghc-paths-0.1.0.9 Building mtl-2.2.1... Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring random-1.1... Installed mtl-2.2.1 Building network-2.6.3.1... Building random-1.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 text-1.2.2.1... Installed network-2.6.3.1 Building text-1.2.2.1... Configuring unix-compat-0.4.3.1... Installed syb-0.6 Building unix-compat-0.4.3.1... Installed unix-compat-0.4.3.1 Configuring HUnit-1.5.0.0... Building HUnit-1.5.0.0... Configuring regex-base-0.93.2... Installed HUnit-1.5.0.0 Building regex-base-0.93.2... Configuring old-time-1.1.0.3... Installed regex-base-0.93.2 Building old-time-1.1.0.3... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Configuring async-2.1.1... Installed old-time-1.1.0.3 Building async-2.1.1... Configuring doctest-0.11.0... Installed async-2.1.1 Building doctest-0.11.0... Configuring filemanip-0.3.6.3... Installed hslogger-1.2.10 Building filemanip-0.3.6.3... Installed filemanip-0.3.6.3 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Configuring parsec-3.1.11... Installed regex-posix-0.95.2 Building parsec-3.1.11... Configuring hinotify-0.3.9... Installed doctest-0.11.0 Building hinotify-0.3.9... Configuring system-filepath-0.4.13.4... Installed hinotify-0.3.9 Installed parsec-3.1.11 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Configuring fsnotify-0.2.1... Installed regex-compat-0.95.1 Building system-filepath-0.4.13.4... Building fsnotify-0.2.1... Installed fsnotify-0.2.1 Configuring MissingH-1.4.0.1... Installed system-filepath-0.4.13.4 Building MissingH-1.4.0.1... Installed MissingH-1.4.0.1 Downloading shadower-0.1.0.4... Configuring shadower-0.1.0.4... Building shadower-0.1.0.4... Failed to install shadower-0.1.0.4 Build log ( /home/builder/.cabal/logs/shadower-0.1.0.4.log ): cabal: Entering directory '/tmp/cabal-tmp-4343/shadower-0.1.0.4' Configuring shadower-0.1.0.4... Building shadower-0.1.0.4... Preprocessing executable 'shadower' for shadower-0.1.0.4... [1 of 1] Compiling Main ( src/Shadower.hs, dist/build/shadower/shadower-tmp/Main.o ) src/Shadower.hs:28: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:34: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-4343/shadower-0.1.0.4' cabal: Error: some packages failed to install: shadower-0.1.0.4 failed during the building phase. The exception was: ExitFailure 1