Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting mmsyn3-0.1.4.0 Starting mmsyn5-0.4.3.0 Starting primitive-0.7.0.0 Building mmsyn3-0.1.4.0 Building mmsyn5-0.4.3.0 Building primitive-0.7.0.0 Completed mmsyn5-0.4.3.0 Completed mmsyn3-0.1.4.0 Completed primitive-0.7.0.0 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed vector-0.12.1.2 Starting mmsyn2-0.1.7.0 Building mmsyn2-0.1.7.0 Completed mmsyn2-0.1.7.0 Starting mmsyn6ukr-0.6.3.1 Building mmsyn6ukr-0.6.3.1 Completed mmsyn6ukr-0.6.3.1 Starting mmsyn7s-0.6.2.0 Building mmsyn7s-0.6.2.0 Failed to install mmsyn7s-0.6.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/mmsyn7s-0.6.2.0-Df004VUStiL60idcQtXPRQ.log ): cabal: Entering directory '/tmp/cabal-tmp-12392/mmsyn7s-0.6.2.0' Configuring mmsyn7s-0.6.2.0... Preprocessing executable 'mmsyn7s' for mmsyn7s-0.6.2.0.. Building executable 'mmsyn7s' for mmsyn7s-0.6.2.0.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: MMSyn7.Syllable MMSyn7s [1 of 3] Compiling MMSyn7.Syllable ( MMSyn7/Syllable.hs, dist/build/mmsyn7s/mmsyn7s-tmp/MMSyn7/Syllable.o ) [2 of 3] Compiling MMSyn7s ( MMSyn7s.hs, dist/build/mmsyn7s/mmsyn7s-tmp/MMSyn7s.o ) MMSyn7s.hs:133:32: error: • Couldn't match type ‘[String]’ with ‘Char’ Expected type: [String] -> String Actual type: [String] -> [[String]] • In the second argument of ‘(.)’, namely ‘syllablesUkr . unwords’ In the expression: takeWordS m . syllablesUkr . unwords In the expression: takeWordS m . syllablesUkr . unwords $ yss | 133 | zss = takeWordS m . syllablesUkr . unwords $ yss | ^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-12392/mmsyn7s-0.6.2.0' cabal: Error: some packages failed to install: mmsyn7s-0.6.2.0-Df004VUStiL60idcQtXPRQ failed during the building phase. The exception was: ExitFailure 1