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 Boolean-0.2.4 Starting call-stack-0.1.0 Starting newtype-generics-0.5.3 Starting NumInstances-1.4 Building Boolean-0.2.4 Building NumInstances-1.4 Building call-stack-0.1.0 Building newtype-generics-0.5.3 Completed call-stack-0.1.0 Starting tagged-0.8.6 Completed newtype-generics-0.5.3 Starting MemoTrie-0.6.9 Building tagged-0.8.6 Completed Boolean-0.2.4 Building MemoTrie-0.6.9 Completed NumInstances-1.4 Completed MemoTrie-0.6.9 Starting vector-space-0.16 Completed tagged-0.8.6 Building vector-space-0.16 Completed vector-space-0.16 Starting manifolds-core-0.5.0.2 Building manifolds-core-0.5.0.2 Failed to install manifolds-core-0.5.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/manifolds-core-0.5.0.2-27FmaUkFv7CCHCbxL2zNOO.log ): cabal: Entering directory '/tmp/cabal-tmp-19537/manifolds-core-0.5.0.2' Configuring manifolds-core-0.5.0.2... Preprocessing library for manifolds-core-0.5.0.2.. Building library for manifolds-core-0.5.0.2.. [1 of 4] Compiling Math.Manifold.VectorSpace.ZeroDimensional ( Math/Manifold/VectorSpace/ZeroDimensional.hs, dist/build/Math/Manifold/VectorSpace/ZeroDimensional.o ) Math/Manifold/VectorSpace/ZeroDimensional.hs:25:10: error: • No instance for (Semigroup (ZeroDim s)) arising from the superclasses of an instance declaration • In the instance declaration for ‘Monoid (ZeroDim s)’ | 25 | instance Monoid (ZeroDim s) where | ^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-19537/manifolds-core-0.5.0.2' cabal: Error: some packages failed to install: manifolds-core-0.5.0.2-27FmaUkFv7CCHCbxL2zNOO failed during the building phase. The exception was: ExitFailure 1