Resolving dependencies... Configuring call-stack-0.1.0... Configuring base-compat-0.9.1... Building call-stack-0.1.0... Building base-compat-0.9.1... 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... Installed ghc-paths-0.1.0.9 Configuring network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Building network-2.6.3.1... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring safe-0.3.10... Installed random-1.1 Building safe-0.3.10... Configuring stm-2.4.4.1... Installed safe-0.3.10 Building stm-2.4.4.1... Configuring syb-0.6... Installed network-2.6.3.1 Building syb-0.6... Configuring text-1.2.2.1... Installed stm-2.4.4.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... 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 hslogger-1.2.10... Installed regex-base-0.93.2 Building hslogger-1.2.10... Configuring old-time-1.1.0.3... Installed hslogger-1.2.10 Configuring async-2.1.1... Installed text-1.2.2.1 Building async-2.1.1... Building old-time-1.1.0.3... Configuring filemanip-0.3.6.3... Installed async-2.1.1 Building filemanip-0.3.6.3... Configuring doctest-0.11.0... Installed old-time-1.1.0.3 Building doctest-0.11.0... 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 parsec-3.1.11 Configuring regex-compat-0.95.1... Installed hinotify-0.3.9 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 Configuring shadower-0.1.0.6... Building shadower-0.1.0.6... Failed to install shadower-0.1.0.6 Build log ( /home/builder/.cabal/logs/shadower-0.1.0.6.log ): cabal: Entering directory '/tmp/cabal-tmp-22059/shadower-0.1.0.6' Configuring shadower-0.1.0.6... Building shadower-0.1.0.6... Preprocessing executable 'shadower' for shadower-0.1.0.6... [1 of 2] Compiling ShadowerFunctions ( src/ShadowerFunctions.hs, dist/build/shadower/shadower-tmp/ShadowerFunctions.o ) src/ShadowerFunctions.hs:36: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/ShadowerFunctions.hs:42: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-22059/shadower-0.1.0.6' cabal: Error: some packages failed to install: shadower-0.1.0.6 failed during the building phase. The exception was: ExitFailure 1