Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building mtl-2.2.1... Building text-1.2.2.1... Installed mtl-2.2.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring JSONParser-0.1.0.1... Building JSONParser-0.1.0.1... Failed to install JSONParser-0.1.0.1 Build log ( /home/builder/.cabal/logs/JSONParser-0.1.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-10516/JSONParser-0.1.0.1' Configuring JSONParser-0.1.0.1... Building JSONParser-0.1.0.1... Preprocessing library JSONParser-0.1.0.1... [1 of 1] Compiling Text.JSONParser ( Text/JSONParser.hs, dist/build/Text/JSONParser.o ) Text/JSONParser.hs:25:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type spaceOut :: forall a (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m a -> Text.Parsec.Prim.ParsecT s u m a Text/JSONParser.hs:27:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseNull :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m JKey Text/JSONParser.hs:33:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseBool :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m JKey Text/JSONParser.hs:37:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseString :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m JKey Text/JSONParser.hs:42:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseEscapeChar :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m Char Text/JSONParser.hs:50:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseAsciiEscapeKey :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m Char Text/JSONParser.hs:51:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseUnicodePointCode :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m [Char] Text/JSONParser.hs:78:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseSign :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m Char Text/JSONParser.hs:79:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseNatChars :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m [Char] Text/JSONParser.hs:80:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseFractionalPart :: forall b (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m b Text/JSONParser.hs:81:1: error: • Non type-variable argument in the constraint: Text.Parsec.Prim.Stream s m Char (Use FlexibleContexts to permit this) • When checking the inferred type parseExponentPart :: forall (m :: * -> *) u s. Text.Parsec.Prim.Stream s m Char => Text.Parsec.Prim.ParsecT s u m Double cabal: Leaving directory '/tmp/cabal-tmp-10516/JSONParser-0.1.0.1' cabal: Error: some packages failed to install: JSONParser-0.1.0.1 failed during the building phase. The exception was: ExitFailure 1