Couldn't match kind ?*? with ?#? When matching types t1 :: * Addr# :: # In the expression: x In the expression: let x = x in x libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs:3170:1: error: Top-level bindings for unlifted types aren't allowed: proxy# = let x = x in x prefetchMutableByteArray2# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1195) prefetchAddr2# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1198) prefetchValue2# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1201) prefetchByteArray1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1204) prefetchMutableByteArray1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1207) prefetchAddr1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1210) prefetchValue1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1213) prefetchByteArray0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1216) prefetchMutableByteArray0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1219) prefetchAddr0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1222) prefetchValue0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1225) 100% ( 4 / 4) in 'GHC.Magic' 86% ( 12 / 14) in 'GHC.Types' Missing documentation for: Bool (libraries/ghc-prim/./GHC/Types.hs:43) Ordering (libraries/ghc-prim/./GHC/Types.hs:76) libraries/ghc-prim/ghc.mk:4: recipe for target 'libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock' failed gmake[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock] Error 1 Makefile:72: recipe for target 'all' failed gmake: *** [all] Error 2