Build #2 for TCache-0.10.1.0

[all reports]

Package TCache-0.10.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies text-0.11.2.3, stm-2.4.2, old-time-1.1.0.1, mtl-2.1.2, directory-1.2.0.1, containers-0.5.0.0, bytestring-0.10.0.2, base-4.6.0.1, RefSerialize-0.3.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring RefSerialize-0.3.1.0...
Building RefSerialize-0.3.1.0...
Preprocessing library RefSerialize-0.3.1.0...
[1 of 3] Compiling Data.RefSerialize.Serialize ( Data/RefSerialize/Serialize.hs, dist/build/Data/RefSerialize/Serialize.o )

Data/RefSerialize/Serialize.hs:18: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/RefSerialize/Serialize.hs:26:17: Warning:
    In the use of type constructor or class `HT.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/RefSerialize/Serialize.hs:48:13: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:48:25: Warning:
    In the use of `HT.hashInt' (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/RefSerialize/Serialize.hs:50:53: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:53:36: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:57:35: Warning:
    In the use of `HT.delete' (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/RefSerialize/Serialize.hs:60:34: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:63:29: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:66:30: Warning:
    In the use of `HT.fromList' (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/RefSerialize/Serialize.hs:66:42: Warning:
    In the use of `HT.hashInt' (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/RefSerialize/Serialize.hs:77:31: Warning:
    In the use of `HT.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/RefSerialize/Serialize.hs:79:16: Warning:
    In the use of `HT.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."
[2 of 3] Compiling Data.RefSerialize.Parser ( Data/RefSerialize/Parser.hs, dist/build/Data/RefSerialize/Parser.o )
[3 of 3] Compiling Data.RefSerialize ( Data/RefSerialize.hs, dist/build/Data/RefSerialize.o )
In-place registering RefSerialize-0.3.1.0...
Running Haddock for RefSerialize-0.3.1.0...
Running hscolour for RefSerialize-0.3.1.0...
Preprocessing library RefSerialize-0.3.1.0...
Preprocessing library RefSerialize-0.3.1.0...

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:18: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.

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:26:17: Warning:
    In the use of type constructor or class `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:48:13: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:48:25: Warning:
    In the use of `HT.hashInt' (imported from Data.HashTable):
    Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:50:53: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:53:36: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:57:35: Warning:
    In the use of `HT.delete' (imported from Data.HashTable):
    Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:60:34: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:63:29: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:66:30: Warning:
    In the use of `HT.fromList' (imported from Data.HashTable):
    Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:66:42: Warning:
    In the use of `HT.hashInt' (imported from Data.HashTable):
    Deprecated: "Data.HashTable will be removed in GHC 7.8. Please use an alternative, e.g. the hashtables package, instead."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:77:31: Warning:
    In the use of `HT.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."

dist/build/tmp-15080/Data/RefSerialize/Serialize.hs:79:16: Warning:
    In the use of `HT.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."
Haddock coverage:
  10% (  2 / 20) in 'Data.RefSerialize.Serialize'
   2% (  1 / 48) in 'Data.RefSerialize.Parser'
  74% ( 23 / 31) in 'Data.RefSerialize'
Documentation created: dist/doc/html/RefSerialize/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/RefSerialize-0.3.1.0
Registering RefSerialize-0.3.1.0...
Installed RefSerialize-0.3.1.0
Configuring stm-2.4.2...
Building stm-2.4.2...
Preprocessing library stm-2.4.2...
[ 1 of 10] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/build/Control/Sequential/STM.o )
[ 2 of 10] Compiling Control.Concurrent.STM.TBQueue ( Control/Concurrent/STM/TBQueue.hs, dist/build/Control/Concurrent/STM/TBQueue.o )
[ 3 of 10] Compiling Control.Concurrent.STM.TQueue ( Control/Concurrent/STM/TQueue.hs, dist/build/Control/Concurrent/STM/TQueue.o )
[ 4 of 10] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.o )
[ 5 of 10] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/Control/Concurrent/STM/TMVar.o )
[ 6 of 10] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o )
[ 7 of 10] Compiling Control.Concurrent.STM.TArray ( Control/Concurrent/STM/TArray.hs, dist/build/Control/Concurrent/STM/TArray.o )
[ 8 of 10] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/Control/Monad/STM.o )
[ 9 of 10] Compiling Control.Concurrent.STM ( Control/Concurrent/STM.hs, dist/build/Control/Concurrent/STM.o )
[10 of 10] Compiling Control.Concurrent.STM.TSem ( Control/Concurrent/STM/TSem.hs, dist/build/Control/Concurrent/STM/TSem.o )
In-place registering stm-2.4.2...
Running Haddock for stm-2.4.2...
Running hscolour for stm-2.4.2...
Preprocessing library stm-2.4.2...
Preprocessing library stm-2.4.2...
Haddock coverage:
   0% (  0 / 11) in 'Control.Sequential.STM'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TBQueue'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TQueue'
 100% ( 18 / 18) in 'Control.Concurrent.STM.TChan'
 100% ( 15 / 15) in 'Control.Concurrent.STM.TMVar'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TVar'
 100% (  2 /  2) in 'Control.Concurrent.STM.TArray'
  90% (  9 / 10) in 'Control.Monad.STM'
 100% (  8 /  8) in 'Control.Concurrent.STM'
  40% (  2 /  5) in 'Control.Concurrent.STM.TSem'
Documentation created: dist/doc/html/stm/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/stm-2.4.2
Registering stm-2.4.2...
Installed stm-2.4.2
Configuring TCache-0.10.1.0...
Building TCache-0.10.1.0...
Preprocessing library TCache-0.10.1.0...
[ 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:185:44:
    Could not deduce (Indexable reg) arising from a use of `getIndexr'
    from the context (Queriable reg a)
      bound by the type signature for
                 selectorIndex :: Queriable reg a =>
                                  (reg -> a)
                                  -> DBRef (Index reg a) -> DBRef reg -> Maybe reg -> STM ()
      at Data/TCache/IndexQuery.hs:(165,6)-(167,74)
    Possible fix:
      add (Indexable reg) to the context of
        the type signature for
          selectorIndex :: Queriable reg a =>
                           (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' = ...;
                  .... }

Data/TCache/IndexQuery.hs:383:68:
    Could not deduce (Indexable reg) arising from a use of `readDBRef'
    from the context (Typeable reg,
                      IResource reg,
                      Typeable reg',
                      IResource reg',
                      Select (reg -> a) (STM [DBRef reg]) (STM [a]),
                      Select (reg' -> b) (STM [DBRef reg']) (STM [b]))
      bound by the instance declaration
      at Data/TCache/IndexQuery.hs:(374,11)-(378,89)
    Possible fix:
      add (Indexable reg) to the context of the instance declaration
    In the first argument of `mapM', namely `readDBRef'
    In the second argument of `(=<<)', namely `mapM readDBRef xs'
    In the second argument of `(=<<)', namely
      `return . catMaybes =<< mapM readDBRef xs'

Data/TCache/IndexQuery.hs:384:70:
    Could not deduce (Indexable reg') arising from a use of `readDBRef'
    from the context (Typeable reg,
                      IResource reg,
                      Typeable reg',
                      IResource reg',
                      Select (reg -> a) (STM [DBRef reg]) (STM [a]),
                      Select (reg' -> b) (STM [DBRef reg']) (STM [b]))
      bound by the instance declaration
      at Data/TCache/IndexQuery.hs:(374,11)-(378,89)
    Possible fix:
      add (Indexable reg') to the context of the instance declaration
    In the first argument of `mapM', namely `readDBRef'
    In the second argument of `(=<<)', namely `mapM readDBRef ys'
    In the second argument of `(=<<)', namely
      `return . catMaybes =<< mapM readDBRef ys'
Failed to install TCache-0.10.1.0
cabal: Error: some packages failed to install:
TCache-0.10.1.0 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.