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... Warning: The following packages are likely to be broken by the reinstalls: Cabal-2.4.0.1 libiserv-8.6.1 ghci-8.6.1 ghc-8.6.1 ghc-boot-8.6.1 Continuing even though the plan contains dangerous reinstalls. Starting Only-0.1 Starting StateVar-1.1.1.1 Building Only-0.1 Building StateVar-1.1.1.1 Completed StateVar-1.1.1.1 Starting base-compat-0.10.5 Completed Only-0.1 Starting base-orphans-0.8 Building base-compat-0.10.5 Building base-orphans-0.8 Completed base-orphans-0.8 Starting bytestring-builder-0.10.8.2.0 Building bytestring-builder-0.10.8.2.0 Completed bytestring-builder-0.10.8.2.0 Starting cabal-doctest-1.0.6 Building cabal-doctest-1.0.6 Completed base-compat-0.10.5 Starting call-stack-0.1.0 Completed cabal-doctest-1.0.6 Starting containers-0.5.11.0 Building call-stack-0.1.0 Building containers-0.5.11.0 Completed call-stack-0.1.0 Starting dependent-sum-0.4 Building dependent-sum-0.4 Completed dependent-sum-0.4 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed dlist-0.8.0.5 Starting finite-typelits-0.1.4.2 Building finite-typelits-0.1.4.2 Completed finite-typelits-0.1.4.2 Starting haskell-src-exts-1.20.3 Building haskell-src-exts-1.20.3 Completed containers-0.5.11.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting microlens-0.4.10 Building microlens-0.4.10 Completed microlens-0.4.10 Starting postgresql-libpq-0.9.4.2 Building postgresql-libpq-0.9.4.2 Completed postgresql-libpq-0.9.4.2 Starting pqueue-1.4.1.2 Building pqueue-1.4.1.2 Completed pqueue-1.4.1.2 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed primitive-0.6.4.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting tagged-0.8.6 Building tagged-0.8.6 Completed tagged-0.8.6 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed time-locale-compat-0.1.1.5 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed transformers-compat-0.6.2 Starting void-0.7.2 Building void-0.7.2 Completed void-0.7.2 Starting contravariant-1.5 Building contravariant-1.5 Completed contravariant-1.5 Starting indexed-list-literals-0.2.1.2 Building indexed-list-literals-0.2.1.2 Completed indexed-list-literals-0.2.1.2 Starting th-abstraction-0.2.10.0 Building th-abstraction-0.2.10.0 Completed haskell-src-exts-1.20.3 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed th-abstraction-0.2.10.0 Starting dependent-map-0.2.4.0 Building dependent-map-0.2.4.0 Completed parallel-3.2.2.0 Starting binary-0.8.6.0 Building binary-0.8.6.0 Completed dependent-map-0.2.4.0 Starting vector-0.12.0.2 Building vector-0.12.0.2 Completed binary-0.8.6.0 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting text-1.2.3.1 Building text-1.2.3.1 Completed vector-0.12.0.2 Starting comonad-5.0.4 Building comonad-5.0.4 Completed text-1.2.3.1 Starting parsec-3.1.13.0 Building parsec-3.1.13.0 Completed comonad-5.0.4 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed parsec-3.1.13.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed bifunctors-5.5.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting case-insensitive-1.2.0.11 Completed unordered-containers-0.2.9.0 Starting network-uri-2.6.1.0 Building case-insensitive-1.2.0.11 Building network-uri-2.6.1.0 Completed case-insensitive-1.2.0.11 Starting profunctors-5.3 Building profunctors-5.3 Completed network-uri-2.6.1.0 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed profunctors-5.3 Starting semigroupoids-5.3.1 Completed attoparsec-0.13.2.2 Starting invariant-0.5.1 Building invariant-0.5.1 Building semigroupoids-5.3.1 Completed invariant-0.5.1 Starting aeson-1.4.2.0 Building aeson-1.4.2.0 Completed semigroupoids-5.3.1 Starting free-5.1 Building free-5.1 Completed free-5.1 Starting adjunctions-4.4 Building adjunctions-4.4 Completed aeson-1.4.2.0 Starting postgresql-simple-0.6 Building postgresql-simple-0.6 Completed adjunctions-4.4 Starting vector-sized-1.0.4.0 Building vector-sized-1.0.4.0 Failed to install vector-sized-1.0.4.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/vector-sized-1.0.4.0-7y9DF1R6qby8oMhJ1XaMCU.log ): cabal: Entering directory '/tmp/cabal-tmp-7558/vector-sized-1.0.4.0' Configuring vector-sized-1.0.4.0... Preprocessing library for vector-sized-1.0.4.0.. Building library for vector-sized-1.0.4.0.. [1 of 8] Compiling Data.Vector.Generic.Mutable.Sized.Internal ( src/Data/Vector/Generic/Mutable/Sized/Internal.hs, dist/build/Data/Vector/Generic/Mutable/Sized/Internal.o ) [2 of 8] Compiling Data.Vector.Generic.Mutable.Sized ( src/Data/Vector/Generic/Mutable/Sized.hs, dist/build/Data/Vector/Generic/Mutable/Sized.o ) [3 of 8] Compiling Data.Vector.Generic.Sized.Internal ( src/Data/Vector/Generic/Sized/Internal.hs, dist/build/Data/Vector/Generic/Sized/Internal.o ) [4 of 8] Compiling Data.Vector.Generic.Sized ( src/Data/Vector/Generic/Sized.hs, dist/build/Data/Vector/Generic/Sized.o ) src/Data/Vector/Generic/Sized.hs:975:63: error: • Expected kind ‘* -> Nat -> Nat’, but ‘n’ has kind ‘Nat’ • In the second argument of ‘Vector’, namely ‘(n * m)’ In the type signature: concatMap :: (VG.Vector v a, VG.Vector v b) => (a -> Vector v m b) -> Vector v n a -> Vector v (n * m) b | 975 | => (a -> Vector v m b) -> Vector v n a -> Vector v (n*m) b | ^^^ cabal: Leaving directory '/tmp/cabal-tmp-7558/vector-sized-1.0.4.0' Starting kan-extensions-5.2 Building kan-extensions-5.2 Completed kan-extensions-5.2 Completed postgresql-simple-0.6 cabal: Error: some packages failed to install: beam-core-0.7.2.2-E9csKA2aERd8tubfmVf9Bt depends on beam-core-0.7.2.2 which failed to install. beam-migrate-0.3.2.1-8vHjRSiZ73HFXYqKeJEvjk depends on beam-migrate-0.3.2.1 which failed to install. beam-newtype-field-0.2.0.0-GLM0gCBF65gGzX0RKBBlBy depends on beam-newtype-field-0.2.0.0 which failed to install. vector-sized-1.0.4.0-7y9DF1R6qby8oMhJ1XaMCU failed during the building phase. The exception was: ExitFailure 1