Resolving dependencies... Configuring Boolean-0.2.4... Configuring NumInstances-1.4... Building Boolean-0.2.4... Building NumInstances-1.4... Installed Boolean-0.2.4 Configuring StateVar-1.1.1.0... Building StateVar-1.1.1.0... Installed NumInstances-1.4 Configuring base-orphans-0.8... Building base-orphans-0.8... Installed StateVar-1.1.1.0 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed base-orphans-0.8 Configuring call-stack-0.1.0... Installed cabal-doctest-1.0.6 Configuring cereal-0.5.5.0... Building call-stack-0.1.0... Building cereal-0.5.5.0... Installed call-stack-0.1.0 Configuring hashable-1.2.7.0... Building hashable-1.2.7.0... Installed hashable-1.2.7.0 Configuring integer-logarithms-1.0.2.1... Building integer-logarithms-1.0.2.1... Installed cereal-0.5.5.0 Configuring newtype-generics-0.5.3... Building newtype-generics-0.5.3... Installed integer-logarithms-1.0.2.1 Configuring parallel-3.2.1.1... Building parallel-3.2.1.1... Installed newtype-generics-0.5.3 Configuring pragmatic-show-0.1.2.0... Building pragmatic-show-0.1.2.0... Installed parallel-3.2.1.1 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed pragmatic-show-0.1.2.0 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring reflection-2.1.4... Building reflection-2.1.4... Installed reflection-2.1.4 Configuring semigroups-0.18.5... Building semigroups-0.18.5... Installed primitive-0.6.4.0 Configuring split-0.2.3.3... Building split-0.2.3.3... Installed semigroups-0.18.5 Configuring storable-complex-0.2.2... Building storable-complex-0.2.2... Installed split-0.2.3.3 Configuring tagged-0.8.6... Installed storable-complex-0.2.2 Configuring th-abstraction-0.2.8.0... Building tagged-0.8.6... Building th-abstraction-0.2.8.0... Installed tagged-0.8.6 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed th-abstraction-0.2.8.0 Configuring void-0.7.2... Building void-0.7.2... Installed void-0.7.2 Configuring contravariant-1.5... Building contravariant-1.5... Installed transformers-compat-0.6.2 Configuring unordered-containers-0.2.9.0... Building unordered-containers-0.2.9.0... Installed contravariant-1.5 Configuring MemoTrie-0.6.9... Building MemoTrie-0.6.9... Installed MemoTrie-0.6.9 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed unordered-containers-0.2.9.0 Configuring scientific-0.3.6.2... Building scientific-0.3.6.2... Installed scientific-0.3.6.2 Configuring distributive-0.6... Building distributive-0.6... Installed distributive-0.6 Configuring transformers-base-0.4.5.2... Building transformers-base-0.4.5.2... Installed transformers-base-0.4.5.2 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed exceptions-0.10.0 Configuring vector-space-0.12... Building vector-space-0.12... Failed to install vector-space-0.12 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/vector-space-0.12-HNKkRZRzskF3curooMHP40.log ): cabal: Entering directory '/tmp/cabal-tmp-8013/vector-space-0.12' Configuring vector-space-0.12... Preprocessing library for vector-space-0.12.. Building library for vector-space-0.12.. [1 of 9] Compiling Data.VectorSpace.Generic ( src/Data/VectorSpace/Generic.hs, dist/build/Data/VectorSpace/Generic.o ) [2 of 9] Compiling Data.AdditiveGroup ( src/Data/AdditiveGroup.hs, dist/build/Data/AdditiveGroup.o ) src/Data/AdditiveGroup.hs:190:10: error: • Could not deduce (Semigroup (Sum a)) arising from the superclasses of an instance declaration from the context: AdditiveGroup a bound by the instance declaration at src/Data/AdditiveGroup.hs:190:10-42 There are instances for similar types: instance Num a => Semigroup (base-4.11.1.0:Data.Semigroup.Internal.Sum a) -- Defined in ‘base-4.11.1.0:Data.Semigroup.Internal’ • In the instance declaration for ‘Monoid (Sum a)’ | 190 | instance AdditiveGroup a => Monoid (Sum a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-8013/vector-space-0.12' Configuring bytes-0.15.5... Building bytes-0.15.5... Installed vector-0.12.0.1 Installed bytes-0.15.5 cabal: Error: some packages failed to install: dde-0.3.0-4CKZzi84EfDLt4JaJJ4b4e depends on dde-0.3.0 which failed to install. free-vector-spaces-0.1.5.0-JVp8b9RS0rf3iRAwUAX8t9 depends on free-vector-spaces-0.1.5.0 which failed to install. rc-0.3.0.0-KmXl2Q8Ga0f3BQvuFvVJue depends on rc-0.3.0.0 which failed to install. vector-space-0.12-HNKkRZRzskF3curooMHP40 failed during the building phase. The exception was: ExitFailure 1