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 hashable-1.2.7.0 Starting primitive-0.7.0.0 Building hashable-1.2.7.0 Building primitive-0.7.0.0 Completed hashable-1.2.7.0 Completed primitive-0.7.0.0 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed vector-0.12.0.3 Downloading hashtables-1.2.3.2 Downloaded hashtables-1.2.3.2 Starting hashtables-1.2.3.2 Building hashtables-1.2.3.2 Failed to install hashtables-1.2.3.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hashtables-1.2.3.2-ADOUeiGcL4y8CDEp35ftZ0.log ): cabal: Entering directory '/tmp/cabal-tmp-4859/hashtables-1.2.3.2' Configuring hashtables-1.2.3.2... Preprocessing library for hashtables-1.2.3.2.. Building library for hashtables-1.2.3.2.. [ 1 of 12] Compiling Data.HashTable.Class ( src/Data/HashTable/Class.hs, dist/build/Data/HashTable/Class.o ) [ 2 of 12] Compiling Data.HashTable.Internal.Array ( src/Data/HashTable/Internal/Array.hs, dist/build/Data/HashTable/Internal/Array.o ) [ 3 of 12] Compiling Data.HashTable.Internal.IntArray ( src/Data/HashTable/Internal/IntArray.hs, dist/build/Data/HashTable/Internal/IntArray.o ) src/Data/HashTable/Internal/IntArray.hs:23:44: error: Module ‘Data.Primitive.Types’ does not export ‘Addr(..)’ | 23 | import Data.Primitive.Types (Addr (..)) | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-4859/hashtables-1.2.3.2' cabal: Error: some packages failed to install: hashtables-1.2.3.2-ADOUeiGcL4y8CDEp35ftZ0 failed during the building phase. The exception was: ExitFailure 1