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 maquinitas-tidal-0.2.0 Building maquinitas-tidal-0.2.0 Failed to install maquinitas-tidal-0.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/maquinitas-tidal-0.2.0-8hXzwPhr6934XxUCcnYo75.log ): cabal: Entering directory '/tmp/cabal-tmp-28761/maquinitas-tidal-0.2.0' Configuring maquinitas-tidal-0.2.0... Preprocessing library for maquinitas-tidal-0.2.0.. Building library for maquinitas-tidal-0.2.0.. [1 of 5] Compiling KORGMR16 ( src/KORGMR16.hs, dist/build/KORGMR16.o ) [2 of 5] Compiling MFBTanzbar ( src/MFBTanzbar.hs, dist/build/MFBTanzbar.o ) [3 of 5] Compiling OtoBam ( src/OtoBam.hs, dist/build/OtoBam.o ) src/OtoBam.hs:12:8: error: parse error on input ‘=’ Perhaps you need a 'let' in a 'do' block? e.g. 'let x = 5' instead of 'x = 5' | 12 | type = 18 | ^ cabal: Leaving directory '/tmp/cabal-tmp-28761/maquinitas-tidal-0.2.0' cabal: Error: some packages failed to install: maquinitas-tidal-0.2.0-8hXzwPhr6934XxUCcnYo75 failed during the building phase. The exception was: ExitFailure 1