Configuring TCache-0.10.2.1... Dependency RefSerialize ==0.3.1.0: using RefSerialize-0.3.1.0 Dependency base ==4.6.0.1: using base-4.6.0.1 Dependency bytestring ==0.10.0.2: using bytestring-0.10.0.2 Dependency containers ==0.5.0.0: using containers-0.5.0.0 Dependency directory ==1.2.0.1: using directory-1.2.0.1 Dependency mtl ==2.1.2: using mtl-2.1.2 Dependency old-time ==1.1.0.1: using old-time-1.1.0.1 Dependency stm ==2.4.2: using stm-2.4.2 Dependency text ==0.11.2.3: using text-0.11.2.3 Using Cabal-1.16.0.3 compiled by ghc-7.6 Using compiler: ghc-7.6.3 Using install prefix: /srv/hackage/var/build/cache/inst Binaries installed in: /srv/hackage/var/build/cache/inst/bin Libraries installed in: /srv/hackage/var/build/cache/inst/lib/TCache-0.10.2.1/ghc-7.6.3 Private binaries installed in: /srv/hackage/var/build/cache/inst/libexec Data files installed in: /srv/hackage/var/build/cache/inst/share/TCache-0.10.2.1 Documentation installed in: /srv/hackage/var/build/cache/inst/share/doc/TCache-0.10.2.1 Using alex version 3.0.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.7 found on system at: /usr/bin/gcc Using ghc version 7.6.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.6.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.13.2 found on system at: /usr/local/bin/haddock Using happy version 1.18.9 found on system at: /usr/bin/happy No hmake found Using hpc version 0.6 found on system at: /usr/local/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/bin/HsColour No hugs found No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found No pkg-config found 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 creating dist/build creating dist/build/autogen Building TCache-0.10.2.1... Preprocessing library TCache-0.10.2.1... Building library... creating dist/build /usr/local/bin/ghc --make -fbuilding-cabal-package -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name TCache-0.10.2.1 -hide-all-packages -package-db /srv/hackage/var/build/cache/inst/local.conf.d -package-db dist/package.conf.inplace -package-id RefSerialize-0.3.1.0-3fa720f8bdb3e28123d835c0021f590c -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -package-id bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f -package-id containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2 -package-id directory-1.2.0.1-91a788fd88acd7f149f0f10f5f1e23f2 -package-id mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 -package-id old-time-1.1.0.1-2f8ea093d0c7014780a8a5772f948883 -package-id stm-2.4.2-6be63108014c27d569a9b7e064390082 -package-id text-0.11.2.3-20bbe8fabd6e57647019c7050504c715 -XHaskell98 -XOverlappingInstances -XUndecidableInstances -XScopedTypeVariables -XDeriveDataTypeable Data.TCache Data.TCache.DefaultPersistence Data.TCache.Defs Data.TCache.IResource Data.TCache.IndexQuery Data.TCache.IndexText Data.TCache.Memoization Data.TCache.Triggers Data.Persistent.Collection Data.Persistent.IDynamic -O0 [ 1 of 10] Compiling Data.TCache.IResource ( Data/TCache/IResource.hs, dist/build/Data/TCache/IResource.o ) [ 2 of 10] Compiling Data.TCache.Defs ( Data/TCache/Defs.hs, dist/build/Data/TCache/Defs.o ) [ 3 of 10] Compiling Data.TCache.Triggers ( Data/TCache/Triggers.hs, dist/build/Data/TCache/Triggers.o ) [ 4 of 10] Compiling Data.TCache ( Data/TCache.hs, dist/build/Data/TCache.o ) Data/TCache.hs:299:1: Warning: Module `Data.HashTable' is deprecated: Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead. Data/TCache.hs:326:11: Warning: In the use of type constructor or class `HashTable' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:343:14: Warning: In the use of `new' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:343:25: Warning: In the use of `hashString' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:352:15: Warning: In the use of `toList' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:367:8: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:444:8: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:453:25: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:461:6: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:579:25: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:591:25: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:605:26: Warning: In the use of `toList' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:710:25: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:733:23: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:751:30: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:770:33: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:785:26: Warning: In the use of `H.lookup' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:799:26: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:831:16: Warning: In the use of `toList' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:891:16: Warning: In the use of `toList' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." Data/TCache.hs:914:47: Warning: In the use of `update' (imported from Data.HashTable): Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead." [ 5 of 10] Compiling Data.TCache.DefaultPersistence ( Data/TCache/DefaultPersistence.hs, dist/build/Data/TCache/DefaultPersistence.o ) [ 6 of 10] Compiling Data.TCache.IndexQuery ( Data/TCache/IndexQuery.hs, dist/build/Data/TCache/IndexQuery.o ) Data/TCache/IndexQuery.hs:203:44: Could not deduce (Show reg) arising from a use of `getIndexr' from the context (Queriable reg a, IResource reg) bound by the type signature for selectorIndex :: (Queriable reg a, IResource reg) => (reg -> a) -> DBRef (Index reg a) -> DBRef reg -> Maybe reg -> STM () at Data/TCache/IndexQuery.hs:(183,6)-(185,74) Possible fix: add (Show reg) to the context of the type signature for selectorIndex :: (Queriable reg a, IResource reg) => (reg -> a) -> DBRef (Index reg a) -> DBRef reg -> Maybe reg -> STM () In a stmt of a 'do' block: (rindex, Index index, dbrefs) <- getIndexr rindex val In the expression: do { let val = selector oldobj; (rindex, Index index, dbrefs) <- getIndexr rindex val; let dbrefs' = Data.List.delete pobject dbrefs; writeDBRef rindex $ Index (M.insert val dbrefs' index) } In a case alternative: (Just oldobj, Nothing) -> do { let val = ...; (rindex, Index index, dbrefs) <- getIndexr rindex val; let dbrefs' = ...; .... }