Build #1 for TCache-0.10.0.1
| Package | TCache-0.10.0.1 |
|---|
| 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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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-29534/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
Downloading TCache-0.10.0.1...
Configuring TCache-0.10.0.1...
Building TCache-0.10.0.1...
Preprocessing library TCache-0.10.0.1...
[1 of 9] Compiling Data.TCache.IResource ( Data/TCache/IResource.hs, dist/build/Data/TCache/IResource.o )
[2 of 9] Compiling Data.TCache.Defs ( Data/TCache/Defs.hs, dist/build/Data/TCache/Defs.o )
[3 of 9] Compiling Data.TCache.Triggers ( Data/TCache/Triggers.hs, dist/build/Data/TCache/Triggers.o )
[4 of 9] Compiling Data.TCache ( Data/TCache.hs, dist/build/Data/TCache.o )
Data/TCache.hs:254: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:281: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:298: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:298: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:307: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:322: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:398: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:407: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:415: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:535: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:635: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:658: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:676: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:695: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:710: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:724: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:754: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:816: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:839: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 9] Compiling Data.TCache.DefaultPersistence ( Data/TCache/DefaultPersistence.hs, dist/build/Data/TCache/DefaultPersistence.o )
[6 of 9] Compiling Data.TCache.IndexQuery ( Data/TCache/IndexQuery.hs, dist/build/Data/TCache/IndexQuery.o )
[7 of 9] Compiling Data.TCache.IndexText ( Data/TCache/IndexText.hs, dist/build/Data/TCache/IndexText.o )
Data/TCache/IndexText.hs:133:15:
Could not deduce (Indexable a) arising from a use of `readDBRef'
from the context (IResource a, Typeable a, Typeable b)
bound by the type signature for
indext :: (IResource a, Typeable a, Typeable b) =>
(a -> b) -> (b -> [T.Text]) -> DBRef a -> Maybe a -> STM ()
at Data/TCache/IndexText.hs:(127,11)-(128,69)
Possible fix:
add (Indexable a) to the context of
the type signature for
indext :: (IResource a, Typeable a, Typeable b) =>
(a -> b) -> (b -> [T.Text]) -> DBRef a -> Maybe a -> STM ()
In a stmt of a 'do' block: moldreg <- readDBRef dbref
In the expression:
do { moldreg <- readDBRef dbref;
case (moldreg, mreg) of {
(Nothing, Just reg)
-> mapM_ (add refIndex t (keyResource reg)) . convert $ sel reg
(Just oldreg, Nothing)
-> mapM_ (del refIndex t (keyResource oldreg)) . convert
$ sel oldreg
(Just oldreg, Just reg) -> do { ... } } }
In an equation for `f1':
f1
= do { moldreg <- readDBRef dbref;
case (moldreg, mreg) of {
(Nothing, Just reg)
-> mapM_ (add refIndex t (keyResource reg)) . convert $ sel reg
(Just oldreg, Nothing)
-> mapM_ (del refIndex t (keyResource oldreg)) . convert
$ sel oldreg
(Just oldreg, Just reg) -> ... } }
where
[t1, t2] = typeRepArgs $! typeOf sel
t = show t1 ++ show t2
refIndex
= getDBRef . key $ IndexText t u u u u
where
u = undefined
Data/TCache/IndexText.hs:187:23:
Could not deduce (Indexable a) arising from a use of `containsElem'
from the context (IResource a, Typeable a, Typeable b)
bound by the type signature for
contains :: (IResource a, Typeable a, Typeable b) =>
(a -> b) -> String -> STM [DBRef a]
at Data/TCache/IndexText.hs:(179,6)-(182,19)
Possible fix:
add (Indexable a) to the context of
the type signature for
contains :: (IResource a, Typeable a, Typeable b) =>
(a -> b) -> String -> STM [DBRef a]
In the first argument of `map', namely `(containsElem sel)'
In the expression: map (containsElem sel)
In the expression:
map (containsElem sel) $ filter (\ t -> length t > 2) ws
Failed to install TCache-0.10.0.1
cabal: Error: some packages failed to install:
TCache-0.10.0.1 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.