Resolving dependencies... Starting hashable-1.3.0.0 Starting syb-0.7.1 Building hashable-1.3.0.0 Building syb-0.7.1 Completed hashable-1.3.0.0 Starting unordered-containers-0.2.13.0 Completed syb-0.7.1 Building unordered-containers-0.2.13.0 Completed unordered-containers-0.2.13.0 Starting uniplate-1.6.13 Building uniplate-1.6.13 Completed uniplate-1.6.13 Starting ghc-lib-parser-ex-8.10.0.17 Building ghc-lib-parser-ex-8.10.0.17 Completed ghc-lib-parser-ex-8.10.0.17 Starting ghc-datasize-0.2.3 Building ghc-datasize-0.2.3 Failed to install ghc-datasize-0.2.3 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/ghc-datasize-0.2.3-JnILLQ3uHxbJ4AFnS9dPI1.log ): cabal: Entering directory '/tmp/cabal-tmp-24362/ghc-datasize-0.2.3' Configuring ghc-datasize-0.2.3... Preprocessing library for ghc-datasize-0.2.3.. Building library for ghc-datasize-0.2.3.. [1 of 1] Compiling GHC.DataSize ( src/GHC/DataSize.hs, dist/build/GHC/DataSize.o, dist/build/GHC/DataSize.dyn_o ) src/GHC/DataSize.hs:23:1: error: Could not load module ‘GHC.Exts.Heap’ It is a member of the hidden package ‘ghc-heap-8.10.2’. Perhaps you need to add ‘ghc-heap’ to the build-depends in your .cabal file. Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 23 | import GHC.Exts.Heap hiding (size) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/GHC/DataSize.hs:24:1: error: Could not load module ‘GHC.Exts.Heap.Constants’ It is a member of the hidden package ‘ghc-heap-8.10.2’. Perhaps you need to add ‘ghc-heap’ to the build-depends in your .cabal file. Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 24 | import GHC.Exts.Heap.Constants (wORD_SIZE) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-24362/ghc-datasize-0.2.3' cabal: Error: some packages failed to install: ghc-datasize-0.2.3-JnILLQ3uHxbJ4AFnS9dPI1 failed during the building phase. The exception was: ExitFailure 1