*** setup configure Configuring uvector-0.1.1.1... Flags chosen: safe=False Dependency base <6: using base-4.3.0.0 Dependency ghc-prim -any: using ghc-prim-0.2.0.0 Using Cabal-1.10.0.0 compiled by ghc-7.0 Using compiler: ghc-7.0.1 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/uvector-0.1.1.1/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/uvector-0.1.1.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/uvector-0.1.1.1 Using alex version 2.3.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.8.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.17 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.25 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library uvector-0.1.1.1... Building uvector-0.1.1.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name uvector-0.1.1.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -Icbits -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id ghc-prim-0.2.0.0-0713122c5f9038c6f0355a37e294e054 -O -fno-spec-constr-threshold -fglasgow-exts -O2 -fvia-C -optc-O3 -fspec-constr -funbox-strict-fields -fdicts-cheap -fno-method-sharing -fmax-simplifier-iterations10 -fliberate-case-threshold100 -XHaskell98 -XMagicHash -XUnboxedTuples -XCPP -XBangPatterns -XExistentialQuantification -XScopedTypeVariables -XTypeOperators -XRank2Types -XTypeFamilies -XForeignFunctionInterface Data.Array.Vector Data.Array.Vector.UArr Data.Array.Vector.Prim.BUArr Data.Array.Vector.Prim.Debug Data.Array.Vector.Prim.Hyperstrict Data.Array.Vector.Prim.Text Data.Array.Vector.Stream Data.Array.Vector.Strict.Stream Data.Array.Vector.Strict.Basics Data.Array.Vector.Strict.Enum Data.Array.Vector.Strict.Sums Data.Array.Vector.Strict.Permute Data.Array.Vector.Strict.Text on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead on the commandline: Warning: The -fvia-C flag will be removed in a future GHC release [ 5 of 13] Compiling Data.Array.Vector.Prim.BUArr ( Data/Array/Vector/Prim/BUArr.hs, dist/build/Data/Array/Vector/Prim/BUArr.o ) Data/Array/Vector/Prim/BUArr.hs:663:3: Couldn't match type `s' with `s3' because this skolem type variable would escape: `s3' This skolem is bound by the polymorphic type `forall s. ST s a' The following variables have types that mention s fill0 :: MBUArr s e -> ST s Int (bound at Data/Array/Vector/Prim/BUArr.hs:669:5) In the first argument of `runST', namely `(do { marr <- newMBU n; n' <- fill0 marr; unsafeFreezeMBU marr n' })' In the expression: runST (do { marr <- newMBU n; n' <- fill0 marr; unsafeFreezeMBU marr n' }) In an equation for `unstreamBU': unstreamBU (Stream next s n) = runST (do { marr <- newMBU n; n' <- fill0 marr; unsafeFreezeMBU marr n' }) where fill0 marr = fill s 0 where fill s i = i `seq` ... Data/Array/Vector/Prim/BUArr.hs:704:3: Couldn't match type `s1' with `s2' because this skolem type variable would escape: `s2' This skolem is bound by the polymorphic type `forall s. ST s a' The following variables have types that mention s1 copy0 :: MBUArr s1 e -> ST s1 () (bound at Data/Array/Vector/Prim/BUArr.hs:711:5) In the first argument of `runST', namely `(do { ma <- newMBU n; copy0 ma; unsafeFreezeMBU ma n })' In the expression: runST (do { ma <- newMBU n; copy0 ma; unsafeFreezeMBU ma n }) In an equation for `extractBU': extractBU arr i n = runST (do { ma <- newMBU n; copy0 ma; unsafeFreezeMBU ma n }) where fence = n `min` (lengthBU arr - i) copy0 ma = copy 0 where copy off | off == fence = return () | otherwise = ...