Resolving dependencies... Downloading ghc-heap-view-0.5.6... Configuring ghc-heap-view-0.5.6... Building ghc-heap-view-0.5.6... Failed to install ghc-heap-view-0.5.6 Build log ( /home/builder/.cabal/logs/ghc-heap-view-0.5.6.log ): cabal: Entering directory '/tmp/cabal-tmp-25252/ghc-heap-view-0.5.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-25252/ghc-heap-view-0.5.6/dist/setup/setup.hs, /tmp/cabal-tmp-25252/ghc-heap-view-0.5.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-25252/ghc-heap-view-0.5.6/dist/setup/setup ... Configuring ghc-heap-view-0.5.6... Building ghc-heap-view-0.5.6... Preprocessing library ghc-heap-view-0.5.6... [1 of 4] Compiling GHC.Disassembler ( src/GHC/Disassembler.hs, dist/build/GHC/Disassembler.o ) src/GHC/Disassembler.hs:15:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() src/GHC/Disassembler.hs:17:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() [2 of 4] Compiling GHC.HeapView ( src/GHC/HeapView.hs, dist/build/GHC/HeapView.o ) src/GHC/HeapView.hs:60:1: warning: [-Wdodgy-imports] Module ‘Foreign’ does not export ‘unsafePerformIO’ [3 of 4] Compiling GHC.HeapView.Debug ( src/GHC/HeapView/Debug.hs, dist/build/GHC/HeapView/Debug.o ) src/GHC/HeapView/Debug.hs:10:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() [4 of 4] Compiling GHC.AssertNF ( src/GHC/AssertNF.hs, dist/build/GHC/AssertNF.o ) src/GHC/AssertNF.hs:30:1: warning: [-Wunused-imports] The import of ‘Data.Functor’ is redundant except perhaps to import instances from ‘Data.Functor’ To import instances alone, use: import Data.Functor() cbits/HeapViewPrim.cmm:81:52: error: error: macro "ALLOC_PRIM" passed 3 arguments, but takes just 1 ALLOC_PRIM (data_arr_sz, R1_PTR, slurpClosurezh); ^ `gcc' failed in phase `C Compiler'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-25252/ghc-heap-view-0.5.6' cabal: Error: some packages failed to install: ghc-heap-view-0.5.6 failed during the building phase. The exception was: ExitFailure 1