*** setup configure Configuring gmap-0.1... Dependency AvlTree >=4.2: using AvlTree-4.2 Dependency COrdering -any: using COrdering-2.3 Dependency QuickCheck -any: using QuickCheck-1.2.0.1 Dependency array -any: using array-0.3.0.2 Dependency base >=3.0: using base-4.3.0.0 Dependency random -any: using random-1.0.0.3 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/gmap-0.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/gmap-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/gmap-0.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 gmap-0.1... Building gmap-0.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name gmap-0.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id AvlTree-4.2-33d17c9e8b5f1d334d33cdc03b071904 -package-id COrdering-2.3-f12118d7817845acfd4d9d04c1865ce2 -package-id QuickCheck-1.2.0.1-74759808019e1df7e1518fede67e0bb2 -package-id array-0.3.0.2-197667a808e421fc275e1d8f73f58618 -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id random-1.0.0.3-e73ca4e6797f67d6994ecb5329f5b9fc -O -O2 -Wall -XHaskell98 Data.GMap Data.GMap.AssocList Data.GMap.OrdMap Data.GMap.IntMap Data.GMap.ListMap Data.GMap.EitherMap Data.GMap.UnitMap Data.GMap.MaybeMap Data.GMap.CacheKeys Data.GMap.ChoiceMap Data.GMap.EnumMap Data.GMap.InjectKeys Data.GMap.TupleMap Test.GMap Test.GMap.Utils [ 1 of 15] Compiling Data.GMap ( src/Data/GMap.hs, dist/build/Data/GMap.o ) src/Data/GMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap.hs:129:1: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() src/Data/GMap.hs:366:1: Warning: Top-level binding with no type signature: disjointUnionError :: forall a. a src/Data/GMap.hs:632:1: Warning: Defined but not used: `partition' src/Data/GMap.hs:632:11: Warning: Defined but not used: `p' src/Data/GMap.hs:632:13: Warning: Defined but not used: `map0' src/Data/GMap.hs:638:1: Warning: Defined but not used: `partitionMaybe' src/Data/GMap.hs:638:16: Warning: Defined but not used: `p' src/Data/GMap.hs:638:18: Warning: Defined but not used: `map0' src/Data/GMap.hs:646:1: Warning: Defined but not used: `partitionAscList' src/Data/GMap.hs:654:1: Warning: Defined but not used: `partitionDescList' src/Data/GMap.hs:660:1: Warning: Defined but not used: `partitionAscListMaybe' src/Data/GMap.hs:668:1: Warning: Defined but not used: `partitionDescListMaybe' src/Data/GMap/AssocList.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/CacheKeys.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/CacheKeys.hs:1:16: Warning: -fno-monomorphism-restriction is deprecated: use -XNoMonomorphismRestriction or pragma {-# LANGUAGE NoMonomorphismRestriction #-} instead src/Data/GMap/CacheKeys.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead src/Data/GMap/ChoiceMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/ChoiceMap.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead src/Data/GMap/EitherMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/EnumMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/InjectKeys.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/InjectKeys.hs:1:16: Warning: -fno-monomorphism-restriction is deprecated: use -XNoMonomorphismRestriction or pragma {-# LANGUAGE NoMonomorphismRestriction #-} instead src/Data/GMap/IntMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/ListMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/ListMap.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead src/Data/GMap/MaybeMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/OrdMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/TupleMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Data/GMap/TupleMap.hs:1:16: Warning: -fno-monomorphism-restriction is deprecated: use -XNoMonomorphismRestriction or pragma {-# LANGUAGE NoMonomorphismRestriction #-} instead src/Data/GMap/UnitMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Test/GMap.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Test/GMap/Utils.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Test/GMap/Utils.hs:1:16: Warning: -fallow-undecidable-instances is deprecated: use -XUndecidableInstances or pragma {-# LANGUAGE UndecidableInstances #-} instead src/Test/GMap/Utils.hs:1:16: Warning: -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances #-} instead src/Test/GMap/Utils.hs:1:16: Warning: -fallow-incoherent-instances is deprecated: use -XIncoherentInstances or pragma {-# LANGUAGE IncoherentInstances #-} instead src/Test/GMap/Utils.hs:1:16: Warning: -fno-monomorphism-restriction is deprecated: use -XNoMonomorphismRestriction or pragma {-# LANGUAGE NoMonomorphismRestriction #-} instead [ 2 of 15] Compiling Data.GMap.AssocList ( src/Data/GMap/AssocList.hs, dist/build/Data/GMap/AssocList.o ) src/Data/GMap/AssocList.hs:8:1: Warning: The import of `Data.Ord' is redundant except perhaps to import instances from `Data.Ord' To import instances alone, use: import Data.Ord() src/Data/GMap/AssocList.hs:190:20: Warning: This binding for `sl' shadows the existing binding defined at src/Data/GMap/AssocList.hs:110:1 src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `empty' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `status' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `addSize' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `Data.GMap.lookup' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `alter' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `vennMaybe' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `isSubsetOf' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `isSubmapOf' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `mapMaybe' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `mapWithKey' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `mapWithKey'' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `Data.GMap.filter' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `foldAssocs' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `foldAssocs'' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `foldElemsUInt' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:202:10: Warning: No explicit method nor default method for `valid' In the instance declaration for `Map (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:203:10: Warning: No explicit method nor default method for `foldAssocsAsc' In the instance declaration for `OrderedMap (ImaginaryOrdMap k) k' src/Data/GMap/AssocList.hs:203:10: Warning: No explicit method nor default method for `foldAssocsDesc' In the instance declaration for `OrderedMap (ImaginaryOrdMap k) k' [ 3 of 15] Compiling Data.GMap.OrdMap ( src/Data/GMap/OrdMap.hs, dist/build/Data/GMap/OrdMap.o ) [ 4 of 15] Compiling Data.GMap.IntMap ( src/Data/GMap/IntMap.hs, dist/build/Data/GMap/IntMap.o ) SpecConstr Function `u{v smfU} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations SpecConstr Function `u{v smiI} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations SpecConstr Function `u{v smjf} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations SpecConstr Function `v{v smju} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations SpecConstr Function `v{v smjB} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations SpecConstr Function `v{v smjI} [lid]' has 9 call patterns, but the limit is 3 Use -fspec-constr-count=n to set the bound Use -dppr-debug to see specialisations src/Data/GMap/IntMap.hs:33:16: Warning: Ignoring unusable UNPACK pragma on the first argument of `N' In the definition of data constructor `N' In the data type declaration for `IntMap' src/Data/GMap/IntMap.hs:34:16: Warning: Ignoring unusable UNPACK pragma on the first argument of `Z' In the definition of data constructor `Z' In the data type declaration for `IntMap' src/Data/GMap/IntMap.hs:35:16: Warning: Ignoring unusable UNPACK pragma on the first argument of `P' In the definition of data constructor `P' In the data type declaration for `IntMap' src/Data/GMap/IntMap.hs:737:21: Warning: Bindings containing unlifted types should use an outermost bang pattern: hl = cH l In the expression: let hl = cH l in if hl ==# -1# then hl else let hr = ... in if hr ==# -1# then hr else if ((hr) -# (hl)) ==# delta then ((hr) +# 1#) else -1# In an equation for `cH_': cH_ delta l r = let hl = cH l in if hl ==# -1# then hl else let ... in if hr ==# -1# then hr else ... src/Data/GMap/IntMap.hs:739:45: Warning: Bindings containing unlifted types should use an outermost bang pattern: hr = cH r In the expression: let hr = cH r in if hr ==# -1# then hr else if ((hr) -# (hl)) ==# delta then ((hr) +# 1#) else -1# In the expression: if hl ==# -1# then hl else let hr = cH r in if hr ==# -1# then hr else if ((hr) -# (hl)) ==# delta then ((hr) +# 1#) else -1# In the expression: let hl = cH l in if hl ==# -1# then hl else let hr = ... in if hr ==# -1# then hr else if ((hr) -# (hl)) ==# delta then ((hr) +# 1#) else -1# src/Data/GMap/IntMap.hs:2032:17: Warning: Ignoring unusable UNPACK pragma on the first argument of `Cons' In the definition of data constructor `Cons' In the data type declaration for `IAList' src/Data/GMap/IntMap.hs:2759:31: Warning: Bindings containing unlifted types should use an outermost bang pattern: d = ((ht) -# (hs)) In the expression: let d = ((ht) -# (hs)) in if d ==# 1# then (# N ib s b t, ((ht) +# 1#) #) else sHL ht d t In an equation for `spliceHL': spliceHL ib s hs b t ht = let d = ((ht) -# (hs)) in if d ==# 1# then (# N ib s b t, ((ht) +# 1#) #) else sHL ht d t where {-# INLINE sHL #-} sHL _ _ E = error "spliceHL_: Bug0" sHL hr d (N ri rl ra rr) = let ... in r_ `seq` (# r_, hr #) sHL hr d (Z ri rl ra rr) = let ... in case r_ of { E -> ... Z _ _ _ _ -> ... _ -> ... } sHL hr d (P ri rl ra rr) = let ... in r_ `seq` (# r_, hr #) sLN 0# i l a r = Z i (Z ib s b l) a r sLN 1# i l a r = Z i (N ib s b l) a r sLN d i (N li ll la lr) a r = let ... in l_ `seq` N i l_ a r sLN d i (Z li ll la lr) a r = let ... in case l_ of { Z _ _ _ _ -> ... P _ _ _ _ -> ... _ -> ... } sLN d i (P li ll la lr) a r = let ... in l_ `seq` N i l_ a r sLN _ _ E _ _ = error "spliceHL: Bug3" sLZ 1# i l a r = P i (N ib s b l) a r sLZ d i (N li ll la lr) a r = let ... in l_ `seq` Z i l_ a r sLZ d i (Z li ll la lr) a r = let ... in case l_ of { Z _ _ _ _ -> ... P _ _ _ _ -> ... _ -> ... } sLZ d i (P li ll la lr) a r = let ... in l_ `seq` Z i l_ a r sLZ _ _ E _ _ = error "spliceHL: Bug5" .... src/Data/GMap/IntMap.hs:2833:31: Warning: Bindings containing unlifted types should use an outermost bang pattern: d = ((hs) -# (ht)) In the expression: let d = ((hs) -# (ht)) in if d ==# 1# then (# P ib s b t, ((hs) +# 1#) #) else sHR hs d s In an equation for `spliceHR': spliceHR ib s hs b t ht = let d = ((hs) -# (ht)) in if d ==# 1# then (# P ib s b t, ((hs) +# 1#) #) else sHR hs d s where {-# INLINE sHR #-} sHR _ _ E = error "spliceHL: Bug0" sHR hl d (N li ll la lr) = let ... in l_ `seq` (# l_, hl #) sHR hl d (Z li ll la lr) = let ... in case l_ of { E -> ... Z _ _ _ _ -> ... _ -> ... } sHR hl d (P li ll la lr) = let ... in l_ `seq` (# l_, hl #) sRP 0# i l a r = Z i l a (Z ib r b t) sRP 1# i l a r = Z i l a (P ib r b t) sRP d i l a (N ri rl ra rr) = let ... in r_ `seq` P i l a r_ sRP d i l a (Z ri rl ra rr) = let ... in case r_ of { Z _ _ _ _ -> ... N _ _ _ _ -> ... _ -> ... } sRP d i l a (P ri rl ra rr) = let ... in r_ `seq` P i l a r_ sRP _ _ _ _ E = error "spliceHL: Bug3" sRZ 1# i l a r = N i l a (P ib r b t) sRZ d i l a (N ri rl ra rr) = let ... in r_ `seq` Z i l a r_ sRZ d i l a (Z ri rl ra rr) = let ... in case r_ of { Z _ _ _ _ -> ... N _ _ _ _ -> ... _ -> ... } sRZ d i l a (P ri rl ra rr) = let ... in r_ `seq` Z i l a r_ sRZ _ _ _ _ E = error "spliceHL: Bug5" .... [ 5 of 15] Compiling Data.GMap.ListMap ( src/Data/GMap/ListMap.hs, dist/build/Data/GMap/ListMap.o ) src/Data/GMap/ListMap.hs:155:1: Warning: Defined but not used: `badAssocs' src/Data/GMap/ListMap.hs:1325:31: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: ([], _) [ 6 of 15] Compiling Data.GMap.InjectKeys ( src/Data/GMap/InjectKeys.hs, dist/build/Data/GMap/InjectKeys.o ) src/Data/GMap/InjectKeys.hs:22:1: Warning: The import of `Text.Read' is redundant except perhaps to import instances from `Text.Read' To import instances alone, use: import Text.Read() [ 7 of 15] Compiling Data.GMap.ChoiceMap ( src/Data/GMap/ChoiceMap.hs, dist/build/Data/GMap/ChoiceMap.o ) src/Data/GMap/ChoiceMap.hs:172:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:173:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) src/Data/GMap/ChoiceMap.hs:178:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:179:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) src/Data/GMap/ChoiceMap.hs:184:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:185:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) src/Data/GMap/ChoiceMap.hs:190:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:191:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) src/Data/GMap/ChoiceMap.hs:196:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:197:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) src/Data/GMap/ChoiceMap.hs:202:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C2of2 _, _) src/Data/GMap/ChoiceMap.hs:203:29: Warning: Pattern match(es) are non-exhaustive In a lambda abstraction: Patterns not matched: (C1of2 _, _) [ 8 of 15] Compiling Data.GMap.EitherMap ( src/Data/GMap/EitherMap.hs, dist/build/Data/GMap/EitherMap.o ) [ 9 of 15] Compiling Data.GMap.UnitMap ( src/Data/GMap/UnitMap.hs, dist/build/Data/GMap/UnitMap.o ) [10 of 15] Compiling Data.GMap.MaybeMap ( src/Data/GMap/MaybeMap.hs, dist/build/Data/GMap/MaybeMap.o ) [11 of 15] Compiling Data.GMap.CacheKeys ( src/Data/GMap/CacheKeys.hs, dist/build/Data/GMap/CacheKeys.o ) [12 of 15] Compiling Data.GMap.EnumMap ( src/Data/GMap/EnumMap.hs, dist/build/Data/GMap/EnumMap.o ) [13 of 15] Compiling Data.GMap.TupleMap ( src/Data/GMap/TupleMap.hs, dist/build/Data/GMap/TupleMap.o ) src/Data/GMap/TupleMap.hs:21:1: Warning: The import of `Data.List' is redundant except perhaps to import instances from `Data.List' To import instances alone, use: import Data.List() src/Data/GMap/TupleMap.hs:22:1: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() src/Data/GMap/TupleMap.hs:276:19: Warning: This binding for `map' shadows the existing binding imported from Data.GMap at src/Data/GMap/TupleMap.hs:12:1-16 (defined at src/Data/GMap.hs:306:9) [14 of 15] Compiling Test.GMap.Utils ( src/Test/GMap/Utils.hs, dist/build/Test/GMap/Utils.o ) src/Test/GMap/Utils.hs:81:1: Illegal generalised algebraic data declaration for `Test' (Use -XGADTs to allow GADTs) In the data type declaration for `Test'