Resolving dependencies... Configuring NewBinary-0.1.1... Building NewBinary-0.1.1... Preprocessing library NewBinary-0.1.1... [1 of 2] Compiling NewBinary.FastMutInt ( NewBinary/FastMutInt.lhs, dist/build/NewBinary/FastMutInt.o ) NewBinary/FastMutInt.lhs:24:1: Warning: Module `GHC.IOBase' is deprecated: use GHC.IO instead NewBinary/FastMutInt.lhs:46:9: Warning: Pattern bindings containing unlifted types should use an outermost bang pattern: I# size = 8 In an equation for `newFastMutInt': newFastMutInt = IO $ \ s -> case newByteArray# size s of { (# s, arr #) -> ... } where I# size = 8 [2 of 2] Compiling NewBinary.Binary ( NewBinary/Binary.hs, dist/build/NewBinary/Binary.o ) NewBinary/Binary.hs:355:16: Not in scope: data constructor `IOException' NewBinary/Binary.hs:372:16: Not in scope: data constructor `IOException' NewBinary/Binary.hs:693:14: Not in scope: data constructor `S#' Perhaps you meant one of these: `I#' (imported from GHC.Exts), `C#' (imported from GHC.Exts), `D#' (imported from GHC.Exts) NewBinary/Binary.hs:694:14: Not in scope: data constructor `J#' Perhaps you meant one of these: `I#' (imported from GHC.Exts), `C#' (imported from GHC.Exts), `D#' (imported from GHC.Exts) NewBinary/Binary.hs:705:27: Not in scope: data constructor `S#' Perhaps you meant one of these: `I#' (imported from GHC.Exts), `C#' (imported from GHC.Exts), `D#' (imported from GHC.Exts) NewBinary/Binary.hs:709:27: Not in scope: data constructor `J#' Perhaps you meant one of these: `I#' (imported from GHC.Exts), `C#' (imported from GHC.Exts), `D#' (imported from GHC.Exts) Failed to install NewBinary-0.1.1 cabal: Error: some packages failed to install: NewBinary-0.1.1 failed during the building phase. The exception was: ExitFailure 1