Resolving dependencies... Configuring mtl-2.2.1... Configuring syb-0.6... Building mtl-2.2.1... Building syb-0.6... Installed syb-0.6 Configuring text-1.2.2.1... Configuring haskell-src-1.0.2.0... Installed mtl-2.2.1 Building text-1.2.2.1... Building haskell-src-1.0.2.0... Configuring utf8-string-1.0.1.1... Installed haskell-src-1.0.2.0 Building utf8-string-1.0.1.1... Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Configuring blaze-builder-0.4.0.2... Installed utf8-string-1.0.1.1 Building blaze-builder-0.4.0.2... Installed blaze-builder-0.4.0.2 Installed parsec-3.1.11 Configuring mustache2hs-0.2.1... Building mustache2hs-0.2.1... Failed to install mustache2hs-0.2.1 Build log ( /home/builder/.cabal/logs/mustache2hs-0.2.1.log ): cabal: Entering directory '/tmp/cabal-tmp-8110/mustache2hs-0.2.1' Configuring mustache2hs-0.2.1... Building mustache2hs-0.2.1... Preprocessing executable 'mustache2hs' for mustache2hs-0.2.1... [1 of 2] Compiling ParseRecords ( ParseRecords.hs, dist/build/mustache2hs/mustache2hs-tmp/ParseRecords.o ) ParseRecords.hs:36:1: warning: [-Wtabs] Tab character found here, and in 19 further locations. Please use spaces instead. [2 of 2] Compiling Main ( mustache2hs.hs, dist/build/mustache2hs/mustache2hs-tmp/Main.o ) mustache2hs.hs:127:9: error: • Non type-variable argument in the constraint: Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type takeWhile1 :: forall (m :: * -> *) u s. Stream s m Char => (Char -> Bool) -> ParsecT s u m Text In an equation for ‘parser’: parser = do { body <- many1 (try (withPos comment) <|> try (withPos sectionInv) <|> try (withPos section) <|> try (withPos partial) <|> try (withPos tripleVar) <|> try (withPos ampVar) <|> try (withPos (mustache False (var True))) <|> try (withPos singlebrace) <|> try (withPos txt)); return $ filter (not . isMuComment . snd) body } where comment = mustache True $ do { _ <- char '!'; .... } sectionInv = liftA2 MuSectionInv (sectionPiece '^') parser <* sectionPiece '/' section = liftA2 MuSection (sectionPiece '#') parser <* sectionPiece '/' sectionPiece c = mustache True $ do { _ <- char c; .... } .... cabal: Leaving directory '/tmp/cabal-tmp-8110/mustache2hs-0.2.1' cabal: Error: some packages failed to install: mustache2hs-0.2.1 failed during the building phase. The exception was: ExitFailure 1