Resolving dependencies... Downloading rangemin-1.1.0... Configuring rangemin-1.1.0... Building rangemin-1.1.0... Preprocessing library rangemin-1.1.0... on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead on the commandline: Warning: The -fvia-c flag does nothing; it will be removed in a future GHC release Data/RangeMin/Internal/HandyList.hs:2:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 6] Compiling Data.RangeMin.Internal.HandyList ( Data/RangeMin/Internal/HandyList.hs, dist/build/Data/RangeMin/Internal/HandyList.o ) Data/RangeMin/Internal/HandyList.hs:49:20: Couldn't match expected type ‘Bool’ with actual type ‘Int#’ In the expression: j# `remInt#` bS# ==# 0# In the expression: if j# `remInt#` bS# ==# 0# then BA j# [] ((x : b) `c` bs) else BA j# (x : b) bs In the expression: let j# = i# -# 1# in if j# `remInt#` bS# ==# 0# then BA j# [] ((x : b) `c` bs) else BA j# (x : b) bs Data/RangeMin/Internal/HandyList.hs:148:50: Pattern bindings containing unlifted types should use an outermost bang pattern: I# xx = fromEnum x In the expression: let I# xx = fromEnum x in map toEnum (build (\ c _ -> unckdEFIntFB c xx)) When checking the transformation rule "efInt" Data/RangeMin/Internal/HandyList.hs:149:59: Pattern bindings containing unlifted types should use an outermost bang pattern: I# xx = fromEnum x In the expression: let I# xx = fromEnum x I# yy = fromEnum y in map toEnum (build (\ c _ -> unckdEFDIntFB c xx yy)) When checking the transformation rule "efdInt" Data/RangeMin/Internal/HandyList.hs:149:79: Pattern bindings containing unlifted types should use an outermost bang pattern: I# yy = fromEnum y In the expression: let I# xx = fromEnum x I# yy = fromEnum y in map toEnum (build (\ c _ -> unckdEFDIntFB c xx yy)) When checking the transformation rule "efdInt" Failed to install rangemin-1.1.0 cabal: Error: some packages failed to install: rangemin-1.1.0 failed during the building phase. The exception was: ExitFailure 1