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.2.2 Starting primitive-0.7.0.0 Building mmsyn5-0.4.2.2 Building mmsyn3-0.1.4.0 Building primitive-0.7.0.0 Completed mmsyn5-0.4.2.2 Completed mmsyn3-0.1.4.0 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Starting mmsyn2-0.1.7.0 Building mmsyn2-0.1.7.0 Completed mmsyn2-0.1.7.0 Starting mmsyn6ukr-0.6.2.0 Building mmsyn6ukr-0.6.2.0 Completed mmsyn6ukr-0.6.2.0 Starting mmsyn7ukr-0.5.0.1 Building mmsyn7ukr-0.5.0.1 Completed mmsyn7ukr-0.5.0.1 Starting mmsyn7l-0.1.1.0 Building mmsyn7l-0.1.1.0 Failed to install mmsyn7l-0.1.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/mmsyn7l-0.1.1.0-5ECmM7ijJDG7NvqnAmUqm.log ): cabal: Entering directory '/tmp/cabal-tmp-10498/mmsyn7l-0.1.1.0' Configuring mmsyn7l-0.1.1.0... Preprocessing executable 'mmsyn7l' for mmsyn7l-0.1.1.0.. Building executable 'mmsyn7l' for mmsyn7l-0.1.1.0.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules: MMSyn7l [1 of 2] Compiling MMSyn7l ( MMSyn7l.hs, dist/build/mmsyn7l/mmsyn7l-tmp/MMSyn7l.o ) MMSyn7l.hs:147:14: error: • Couldn't match expected type ‘IO ()’ with actual type ‘Double -> IO ()’ • Probable cause: ‘changeVol2’ is applied to too few arguments In the expression: changeVol2 file xs In a stmt of a 'do' block: if take 1 xs == "-" then changeVol2 file xs else do let ys = ... .... volS file (ratio * ampl) removeFile file .... In the expression: do let delta = (- 1.0) - ampl xs = filter (\ x -> ...) change0 if take 1 xs == "-" then changeVol2 file xs else do let ... .... | 147 | then changeVol2 file xs | ^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-10498/mmsyn7l-0.1.1.0' cabal: Error: some packages failed to install: mmsyn7l-0.1.1.0-5ECmM7ijJDG7NvqnAmUqm failed during the building phase. The exception was: ExitFailure 1