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 function-builder-0.1.0.0 Building function-builder-0.1.0.0 Failed to install function-builder-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/function-builder-0.1.0.0-1GWBMJZ0H26B9TdcblYECz.log ): cabal: Entering directory '/tmp/cabal-tmp-14930/function-builder-0.1.0.0' Configuring function-builder-0.1.0.0... Preprocessing library for function-builder-0.1.0.0.. Building library for function-builder-0.1.0.0.. [1 of 1] Compiling Data.FunctionBuilder ( src/Data/FunctionBuilder.hs, dist/build/Data/FunctionBuilder.o ) src/Data/FunctionBuilder.hs:44:1: error: Could not find module ‘Data.Tagged’ Use -v to see a list of the files searched for. | 44 | import Data.Tagged | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-14930/function-builder-0.1.0.0' cabal: Error: some packages failed to install: function-builder-0.1.0.0-1GWBMJZ0H26B9TdcblYECz failed during the building phase. The exception was: ExitFailure 1