Resolving dependencies... Configuring mtl-2.2.1... Configuring primitive-0.6.1.0... Downloading utf8-string-0.3... Building mtl-2.2.1... Building primitive-0.6.1.0... Installed mtl-2.2.1 Configuring random-1.1... Configuring utf8-string-0.3... Installed primitive-0.6.1.0 Building random-1.1... Building utf8-string-0.3... Configuring text-1.2.2.1... Installed utf8-string-0.3 Building text-1.2.2.1... Installed random-1.1 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Installed tf-random-0.5 Configuring QuickCheck-2.9.2... Building QuickCheck-2.9.2... Installed vector-0.11.0.0 Installed QuickCheck-2.9.2 Downloading morfette-0.4.3... Configuring morfette-0.4.3... Building morfette-0.4.3... Failed to install morfette-0.4.3 Build log ( /home/builder/.cabal/logs/morfette-0.4.3.log ): cabal: Entering directory '/tmp/cabal-tmp-11726/morfette-0.4.3' Configuring morfette-0.4.3... Building morfette-0.4.3... Preprocessing executable 'morfette' for morfette-0.4.3... [ 1 of 27] Compiling Paths_morfette ( dist/build/autogen/Paths_morfette.hs, dist/build/morfette/morfette-tmp/Paths_morfette.o ) [ 2 of 27] Compiling GramLab.Utils ( src/GramLab/Utils.hs, dist/build/morfette/morfette-tmp/GramLab/Utils.o ) [ 3 of 27] Compiling GramLab.Perceptron.Vector ( src/GramLab/Perceptron/Vector.hs, dist/build/morfette/morfette-tmp/GramLab/Perceptron/Vector.o ) [ 4 of 27] Compiling GramLab.Perceptron.Multiclass ( src/GramLab/Perceptron/Multiclass.hs, dist/build/morfette/morfette-tmp/GramLab/Perceptron/Multiclass.o ) [ 5 of 27] Compiling GramLab.Perceptron.IntModel ( src/GramLab/Perceptron/IntModel.hs, dist/build/morfette/morfette-tmp/GramLab/Perceptron/IntModel.o ) [ 6 of 27] Compiling GramLab.Morfette.Token ( src/GramLab/Morfette/Token.hs, dist/build/morfette/morfette-tmp/GramLab/Morfette/Token.o ) [ 7 of 27] Compiling GramLab.Morfette.MWE ( src/GramLab/Morfette/MWE.hs, dist/build/morfette/morfette-tmp/GramLab/Morfette/MWE.o ) [ 8 of 27] Compiling GramLab.Morfette.Lang.Conf ( src/GramLab/Morfette/Lang/Conf.hs, dist/build/morfette/morfette-tmp/GramLab/Morfette/Lang/Conf.o ) src/GramLab/Morfette/Lang/Conf.hs:88:1: error: • Non type-variable argument in the constraint: S.MonadState (Map.Map a a) m (Use FlexibleContexts to permit this) • When checking the inferred type atomize :: forall (m :: * -> *) a. (Ord a, S.MonadState (Map.Map a a) m) => a -> m a cabal: Leaving directory '/tmp/cabal-tmp-11726/morfette-0.4.3' cabal: Error: some packages failed to install: morfette-0.4.3 failed during the building phase. The exception was: ExitFailure 1