1. * Package: dev-haskell/hashed-storage-0.5.9
  2. * Repository: gentoo
  3. * Maintainer: haskell@gentoo.org
  4. * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU
  5. * FEATURES: sandbox test userpriv usersandbox
  6. >>> Unpacking source...
  7. >>> Unpacking hashed-storage-0.5.9.tar.gz to /tmp/portage/dev-haskell/hashed-storage-0.5.9/work
  8. >>> Source unpacked in /tmp/portage/dev-haskell/hashed-storage-0.5.9/work
  9. >>> Preparing source in /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9 ...
  10. >>> Source prepared.
  11. >>> Configuring source in /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9 ...
  12. * Using cabal-1.14.0.
  13. /usr/bin/ghc -package Cabal-1.14.0 --make /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9/Setup.hs -o setup
  14. [1 of 1] Compiling Main ( /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9/Setup.hs, /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9/Setup.o )
  15. /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9/Setup.hs:2:34:
  16. Warning: In the use of `runTests'
  17. (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks):
  18. Deprecated: "Please use the new testing interface instead!"
  19. Linking setup ...
  20. ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=hashed-storage-0.5.9/ghc-7.4.1 --datadir=/usr/share/ --datasubdir=hashed-storage-0.5.9/ghc-7.4.1 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/hashed-storage-0.5.9 --verbose --flags=test
  21. Configuring hashed-storage-0.5.9...
  22. Flags chosen: hpc=False, diff=False, test=True
  23. Dependency HUnit -any: using HUnit-1.2.4.3
  24. Dependency QuickCheck >=2.3: using QuickCheck-2.4.2
  25. Dependency base ==4.*: using base-4.5.0.0
  26. Dependency binary -any: using binary-0.5.1.0
  27. Dependency bytestring -any: using bytestring-0.9.2.1
  28. Dependency containers -any: using containers-0.4.2.1
  29. Dependency dataenc -any: using dataenc-0.14.0.3
  30. Dependency directory -any: using directory-1.1.0.2
  31. Dependency extensible-exceptions -any: using extensible-exceptions-0.1.1.4
  32. Dependency filepath -any: using filepath-1.3.0.0
  33. Dependency mmap ==0.5.*: using mmap-0.5.7
  34. Dependency mtl -any: using mtl-2.1.1
  35. Dependency process >=1.0.1: using process-1.1.0.1
  36. Dependency test-framework -any: using test-framework-0.6
  37. Dependency test-framework-hunit -any: using test-framework-hunit-0.2.7
  38. Dependency test-framework-quickcheck2 -any: using
  39. test-framework-quickcheck2-0.2.12.2
  40. Dependency zip-archive -any: using zip-archive-0.1.1.8
  41. Dependency zlib -any: using zlib-0.5.3.3
  42. Using Cabal-1.14.0 compiled by ghc-7.4
  43. Using compiler: ghc-7.4.1
  44. Using install prefix: /usr
  45. Binaries installed in: /usr/bin
  46. Libraries installed in: /usr/lib64/hashed-storage-0.5.9/ghc-7.4.1
  47. Private binaries installed in: /usr/libexec
  48. Data files installed in: /usr/share/hashed-storage-0.5.9/ghc-7.4.1
  49. Documentation installed in: /usr/share/doc/hashed-storage-0.5.9
  50. Using alex version 3.0.2 found on system at: /usr/bin/alex
  51. Using ar found on system at: /usr/bin/ar
  52. Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
  53. No cpphs found
  54. No ffihugs found
  55. Using gcc version 4.7.1 found on system at: /usr/bin/gcc
  56. Using ghc version 7.4.1 given by user at: /usr/bin/ghc
  57. Using ghc-pkg version 7.4.1 given by user at: /usr/bin/ghc-pkg
  58. No greencard found
  59. No haddock found
  60. Using happy version 1.18.9 found on system at: /usr/bin/happy
  61. No hmake found
  62. Using hpc version 0.6 found on system at: /usr/bin/hpc
  63. Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
  64. No hscolour found
  65. No hugs found
  66. No jhc found
  67. Using ld found on system at: /usr/bin/ld
  68. No lhc found
  69. No lhc-pkg found
  70. No nhc98 found
  71. Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
  72. Using ranlib found on system at: /usr/bin/ranlib
  73. Using strip found on system at: /usr/bin/strip
  74. Using tar found on system at: /bin/tar
  75. No uhc found
  76. >>> Source configured.
  77. >>> Compiling source in /tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9 ...
  78. ./setup build
  79. Building hashed-storage-0.5.9...
  80. Preprocessing library hashed-storage-0.5.9...
  81. on the commandline:
  82. Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead
  83. [ 1 of 12] Compiling Bundled.SHA256 ( Bundled/SHA256.hs, dist/build/Bundled/SHA256.o )
  84. Bundled/SHA256.hs:9:1:
  85. Warning: In the use of `unsafePerformIO'
  86. (imported from Foreign):
  87. Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
  88. [ 2 of 12] Compiling Storage.Hashed.Hash ( Storage/Hashed/Hash.hs, dist/build/Storage/Hashed/Hash.o )
  89. [ 3 of 12] Compiling Bundled.Posix ( dist/build/Bundled/Posix.hs, dist/build/Bundled/Posix.o )
  90. Bundled/Posix.hsc:16:1:
  91. Warning: The import of `c_stat'
  92. from module `System.Posix.Internals' is redundant
  93. Bundled/Posix.hsc:42:1:
  94. Warning: Top-level binding with no type signature:
  95. bsToPath :: forall a.
  96. BS.ByteString -> (Foreign.C.String.CString -> IO a) -> IO a
  97. Bundled/Posix.hsc:43:1:
  98. Warning: Top-level binding with no type signature:
  99. strToPath :: forall a.
  100. String -> (Foreign.C.String.CString -> IO a) -> IO a
  101. [ 4 of 12] Compiling Storage.Hashed.Utils ( Storage/Hashed/Utils.hs, dist/build/Storage/Hashed/Utils.o )
  102. Storage/Hashed/Utils.hs:9:1:
  103. Warning: The import of `System.IO.MMap' is redundant
  104. except perhaps to import instances from `System.IO.MMap'
  105. To import instances alone, use: import System.IO.MMap()
  106. [ 5 of 12] Compiling Storage.Hashed.AnchoredPath ( Storage/Hashed/AnchoredPath.hs, dist/build/Storage/Hashed/AnchoredPath.o )
  107. [ 6 of 12] Compiling Storage.Hashed.Tree ( Storage/Hashed/Tree.hs, dist/build/Storage/Hashed/Tree.o )
  108. Storage/Hashed/Tree.hs:31:1:
  109. Warning: In the use of `catch'
  110. (imported from Prelude, but defined in System.IO.Error):
  111. Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
  112. Storage/Hashed/Tree.hs:42:1:
  113. Warning: The import of `liftM'
  114. from module `Control.Monad' is redundant
  115. Storage/Hashed/Tree.hs:201:27:
  116. Warning: This binding for `sub' shadows the existing binding
  117. bound at Storage/Hashed/Tree.hs:196:28
  118. Storage/Hashed/Tree.hs:206:39: Warning: Defined but not used: `s'
  119. Storage/Hashed/Tree.hs:209:13:
  120. Warning: Pattern match(es) are non-exhaustive
  121. In an equation for `render':
  122. Patterns not matched:
  123. (_, SubTree _)
  124. (_, Stub _ _)
  125. Storage/Hashed/Tree.hs:236:23:
  126. Warning: Defined but not used: `subs'
  127. Storage/Hashed/Tree.hs:361:50:
  128. Warning: Defaulting the following constraint(s) to type `Integer'
  129. (Num t0) arising from a use of `countmap'
  130. In the first argument of `seq', namely countmap items'
  131. In the `items' field of a record
  132. In the expression:
  133. t {items = countmap items' `seq` items',
  134. treeHash = if unmod then treeHash t else NoHash}
  135. Storage/Hashed/Tree.hs:382:46:
  136. Warning: This binding for `mod' shadows the existing binding
  137. imported from `Prelude' at Storage/Hashed/Tree.hs:31:1-44
  138. (and originally defined in `GHC.Real')
  139. Storage/Hashed/Tree.hs:382:51:
  140. Warning: This binding for `sub' shadows the existing binding
  141. bound at Storage/Hashed/Tree.hs:379:20
  142. Storage/Hashed/Tree.hs:395:1:
  143. Warning: Top-level binding with no type signature:
  144. countmap :: forall a b k. Num b => M.Map k a -> b
  145. Storage/Hashed/Tree.hs:412:25:
  146. Warning: This binding for `pred' shadows the existing binding
  147. imported from `Prelude' at Storage/Hashed/Tree.hs:31:1-44
  148. (and originally defined in `GHC.Enum')
  149. Storage/Hashed/Tree.hs:415:19:
  150. Warning: This binding for t' shadows the existing binding
  151. bound at Storage/Hashed/Tree.hs:412:30
  152. Storage/Hashed/Tree.hs:457:1:
  153. Warning: Pattern match(es) are non-exhaustive
  154. In an equation for `unstub': Patterns not matched: File _
  155. [ 7 of 12] Compiling Storage.Hashed.Index ( Storage/Hashed/Index.hs, dist/build/Storage/Hashed/Index.o )
  156. Storage/Hashed/Index.hs:84:1:
  157. Warning: The import of `Data.ByteString.Lazy' is redundant
  158. except perhaps to import instances from `Data.ByteString.Lazy'
  159. To import instances alone, use: import Data.ByteString.Lazy()
  160. Storage/Hashed/Index.hs:349:8:
  161. Warning: A do-notation statement discarded a result of type Int.
  162. Suppress this warning by saying "_ <- create
  163. ((Storage.Hashed.Tree.$WSubTree) reference)
  164. (Storage.Hashed.AnchoredPath.AnchoredPath
  165. (ghc-prim:GHC.Types.[]))
  166. size_magic",
  167. or by using the flag -fno-warn-unused-do-bind
  168. [ 8 of 12] Compiling Storage.Hashed.Monad ( Storage/Hashed/Monad.hs, dist/build/Storage/Hashed/Monad.o )
  169. Storage/Hashed/Monad.hs:25:1:
  170. Warning: The import of `Storage.Hashed.Hash' is redundant
  171. except perhaps to import instances from `Storage.Hashed.Hash'
  172. To import instances alone, use: import Storage.Hashed.Hash()
  173. Storage/Hashed/Monad.hs:35:1:
  174. Warning: The import of `Data.Set' is redundant
  175. except perhaps to import instances from `Data.Set'
  176. To import instances alone, use: import Data.Set()
  177. Storage/Hashed/Monad.hs:91:12:
  178. Warning: Defined but not used: `current'
  179. Storage/Hashed/Monad.hs:93:72: Warning: Defined but not used: `s'
  180. Storage/Hashed/Monad.hs:142:1:
  181. Warning: Top-level binding with no type signature:
  182. renameChanged :: forall (m :: * -> *) (m1 :: * -> *).
  183. MonadState (TreeState m1) m =>
  184. AnchoredPath -> AnchoredPath -> m ()
  185. Storage/Hashed/Monad.hs:146:32:
  186. Warning: This binding for `from' shadows the existing binding
  187. bound at Storage/Hashed/Monad.hs:142:15
  188. Storage/Hashed/Monad.hs:159:21:
  189. Warning: Unused quantified type variable `e'
  190. In the type `forall e m. (Monad m, Functor m) =>
  191. AnchoredPath -> TreeMonad m ()'
  192. In the type signature for `flushItem'
  193. Storage/Hashed/Monad.hs:183:27:
  194. Warning: Defined but not used: `age_'
  195. Storage/Hashed/Monad.hs:227:15:
  196. Warning: Defined but not used: `old'
  197. Storage/Hashed/Monad.hs:231:12:
  198. Warning: A do-notation statement discarded a result of type AnchoredPath.
  199. Suppress this warning by saying "_ <- expandTo p",
  200. or by using the flag -fno-warn-unused-do-bind
  201. Storage/Hashed/Monad.hs:242:12:
  202. Warning: A do-notation statement discarded a result of type AnchoredPath.
  203. Suppress this warning by saying "_ <- expandTo p",
  204. or by using the flag -fno-warn-unused-do-bind
  205. Storage/Hashed/Monad.hs:246:12:
  206. Warning: A do-notation statement discarded a result of type AnchoredPath.
  207. Suppress this warning by saying "_ <- expandTo p",
  208. or by using the flag -fno-warn-unused-do-bind
  209. Storage/Hashed/Monad.hs:264:12: Warning: Defined but not used: to'
  210. Storage/Hashed/Monad.hs:269:22:
  211. Warning: Unused quantified type variable `e'
  212. In the type `forall m a e. (Monad m, Functor m) =>
  213. (Tree m -> AnchoredPath -> a) -> Tree m -> AnchoredPath -> m a'
  214. In the type signature for findM'
  215. [ 9 of 12] Compiling Storage.Hashed.Plain ( Storage/Hashed/Plain.hs, dist/build/Storage/Hashed/Plain.o )
  216. Storage/Hashed/Plain.hs:17:1:
  217. Warning: The import of `Data.ByteString' is redundant
  218. except perhaps to import instances from `Data.ByteString'
  219. To import instances alone, use: import Data.ByteString()
  220. Storage/Hashed/Plain.hs:24:1:
  221. Warning: The import of `Control.Monad' is redundant
  222. except perhaps to import instances from `Control.Monad'
  223. To import instances alone, use: import Control.Monad()
  224. Storage/Hashed/Plain.hs:29:1:
  225. Warning: The import of `find, modifyTree'
  226. from module `Storage.Hashed.Tree' is redundant
  227. Storage/Hashed/Plain.hs:32:1:
  228. Warning: The import of `tree, replaceItem'
  229. from module `Storage.Hashed.Monad' is redundant
  230. Storage/Hashed/Plain.hs:33:1:
  231. Warning: The import of `Data.Set' is redundant
  232. except perhaps to import instances from `Data.Set'
  233. To import instances alone, use: import Data.Set()
  234. Storage/Hashed/Plain.hs:34:1:
  235. Warning: The import of `modify, gets'
  236. from module `Control.Monad.State' is redundant
  237. Storage/Hashed/Plain.hs:75:22: Warning: Defined but not used: `dir'
  238. [10 of 12] Compiling Storage.Hashed.Packed ( Storage/Hashed/Packed.hs, dist/build/Storage/Hashed/Packed.o )
  239. Storage/Hashed/Packed.hs:97:24:
  240. Warning: A do-notation statement discarded a result of type [()].
  241. Suppress this warning by saying "_ <- ($)
  242. forM bits
  243. \ (hash, blob)
  244. -> do { BL.writeFile
  245. (loosePath os hash) blob }",
  246. or by using the flag -fno-warn-unused-do-bind
  247. Storage/Hashed/Packed.hs:141:22:
  248. Warning: A do-notation statement discarded a result of type [()].
  249. Suppress this warning by saying "_ <- initHatchery",
  250. or by using the flag -fno-warn-unused-do-bind
  251. Storage/Hashed/Packed.hs:143:11:
  252. Warning: Pattern match(es) are non-exhaustive
  253. In an equation for `initHatchery': Patterns not matched:
  254. Storage/Hashed/Packed.hs:174:24:
  255. Warning: Pattern match(es) are non-exhaustive
  256. In an equation for `_lookup': Patterns not matched: (SHA1 _) _ _
  257. [11 of 12] Compiling Storage.Hashed.Darcs ( Storage/Hashed/Darcs.hs, dist/build/Storage/Hashed/Darcs.o )
  258. Storage/Hashed/Darcs.hs:7:1:
  259. Warning: In the use of `catch'
  260. (imported from Prelude, but defined in System.IO.Error):
  261. Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
  262. Storage/Hashed/Darcs.hs:22:1:
  263. Warning: The import of `Data.Set' is redundant
  264. except perhaps to import instances from `Data.Set'
  265. To import instances alone, use: import Data.Set()
  266. Storage/Hashed/Darcs.hs:26:1:
  267. Warning: The import of `Storage.Hashed.Tree' is redundant
  268. except perhaps to import instances from `Storage.Hashed.Tree'
  269. To import instances alone, use: import Storage.Hashed.Tree()
  270. Storage/Hashed/Darcs.hs:141:11:
  271. Warning: Pattern match(es) are non-exhaustive
  272. In an equation for `update': Patterns not matched: Stub _ _
  273. Storage/Hashed/Darcs.hs:146:1:
  274. Warning: Top-level binding with no type signature:
  275. darcsHash :: forall (m :: * -> *).
  276. (Monad m, Functor m) =>
  277. TreeItem m -> m Hash
  278. Storage/Hashed/Darcs.hs:146:1:
  279. Warning: Pattern match(es) are non-exhaustive
  280. In an equation for `darcsHash': Patterns not matched: Stub _ _
  281. Storage/Hashed/Darcs.hs:148:1:
  282. Warning: Top-level binding with no type signature:
  283. darcshash :: forall t (m :: * -> *). Monad m => t -> m Hash
  284. Storage/Hashed/Darcs.hs:189:1:
  285. Warning: Top-level binding with no type signature:
  286. readDarcsHashed :: FilePath -> (Maybe Int, Hash) -> IO (Tree IO)
  287. Storage/Hashed/Darcs.hs:190:1:
  288. Warning: Top-level binding with no type signature:
  289. readDarcsHashedNosize :: FilePath -> Hash -> IO (Tree IO)
  290. Storage/Hashed/Darcs.hs:202:8: Warning: Defined but not used: os'
  291. Storage/Hashed/Darcs.hs:232:22:
  292. Warning: Defined but not used: `path'
  293. Storage/Hashed/Darcs.hs:240:21:
  294. Warning: Defined but not used: `path'
  295. Storage/Hashed/Darcs.hs:304:11:
  296. Warning: This binding for `tree' shadows the existing binding
  297. imported from `Storage.Hashed.Monad' at Storage/Hashed/Darcs.hs:31:1-27
  298. (and originally defined at Storage/Hashed/Monad.hs:42:32-35)
  299. [12 of 12] Compiling Storage.Hashed ( Storage/Hashed.hs, dist/build/Storage/Hashed.o )
  300. Registering hashed-storage-0.5.9...
  301. Preprocessing executable 'hashed-storage-test' for hashed-storage-0.5.9...
  302. [ 1 of 14] Compiling Bundled.SHA256 ( Bundled/SHA256.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Bundled/SHA256.o )
  303. Bundled/SHA256.hs:9:1:
  304. Warning: In the use of `unsafePerformIO'
  305. (imported from Foreign):
  306. Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
  307. [ 2 of 14] Compiling Bundled.Posix ( dist/build/hashed-storage-test/hashed-storage-test-tmp/Bundled/Posix.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Bundled/Posix.o )
  308. Bundled/Posix.hsc:16:1:
  309. Warning: The import of `c_stat'
  310. from module `System.Posix.Internals' is redundant
  311. Bundled/Posix.hsc:42:1:
  312. Warning: Top-level binding with no type signature:
  313. bsToPath :: forall a.
  314. BS.ByteString -> (Foreign.C.String.CString -> IO a) -> IO a
  315. Bundled/Posix.hsc:43:1:
  316. Warning: Top-level binding with no type signature:
  317. strToPath :: forall a.
  318. String -> (Foreign.C.String.CString -> IO a) -> IO a
  319. [ 3 of 14] Compiling Storage.Hashed.Utils ( Storage/Hashed/Utils.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Utils.o )
  320. Storage/Hashed/Utils.hs:9:1:
  321. Warning: The import of `System.IO.MMap' is redundant
  322. except perhaps to import instances from `System.IO.MMap'
  323. To import instances alone, use: import System.IO.MMap()
  324. [ 4 of 14] Compiling Storage.Hashed.Hash ( Storage/Hashed/Hash.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Hash.o )
  325. [ 5 of 14] Compiling Storage.Hashed.AnchoredPath ( Storage/Hashed/AnchoredPath.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/AnchoredPath.o )
  326. [ 6 of 14] Compiling Storage.Hashed.Tree ( Storage/Hashed/Tree.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Tree.o )
  327. Storage/Hashed/Tree.hs:31:1:
  328. Warning: In the use of `catch'
  329. (imported from Prelude, but defined in System.IO.Error):
  330. Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
  331. Storage/Hashed/Tree.hs:42:1:
  332. Warning: The import of `liftM'
  333. from module `Control.Monad' is redundant
  334. Storage/Hashed/Tree.hs:201:27:
  335. Warning: This binding for `sub' shadows the existing binding
  336. bound at Storage/Hashed/Tree.hs:196:28
  337. Storage/Hashed/Tree.hs:206:39: Warning: Defined but not used: `s'
  338. Storage/Hashed/Tree.hs:209:13:
  339. Warning: Pattern match(es) are non-exhaustive
  340. In an equation for `render':
  341. Patterns not matched:
  342. (_, SubTree _)
  343. (_, Stub _ _)
  344. Storage/Hashed/Tree.hs:236:23:
  345. Warning: Defined but not used: `subs'
  346. Storage/Hashed/Tree.hs:382:46:
  347. Warning: This binding for `mod' shadows the existing binding
  348. imported from `Prelude' at Storage/Hashed/Tree.hs:31:1-44
  349. (and originally defined in `GHC.Real')
  350. Storage/Hashed/Tree.hs:382:51:
  351. Warning: This binding for `sub' shadows the existing binding
  352. bound at Storage/Hashed/Tree.hs:379:20
  353. Storage/Hashed/Tree.hs:395:1:
  354. Warning: Top-level binding with no type signature:
  355. countmap :: forall a k. M.Map k a -> Integer
  356. Storage/Hashed/Tree.hs:395:30:
  357. Warning: Defaulting the following constraint(s) to type `Integer'
  358. (Num b0) arising from a use of `+'
  359. In the expression: i + 1
  360. In the first argument of `M.fold', namely `(\ _ i -> i + 1)'
  361. In the expression: M.fold (\ _ i -> i + 1) 0
  362. Storage/Hashed/Tree.hs:412:25:
  363. Warning: This binding for `pred' shadows the existing binding
  364. imported from `Prelude' at Storage/Hashed/Tree.hs:31:1-44
  365. (and originally defined in `GHC.Enum')
  366. Storage/Hashed/Tree.hs:415:19:
  367. Warning: This binding for t' shadows the existing binding
  368. bound at Storage/Hashed/Tree.hs:412:30
  369. Storage/Hashed/Tree.hs:457:1:
  370. Warning: Pattern match(es) are non-exhaustive
  371. In an equation for `unstub': Patterns not matched: File _
  372. [ 7 of 14] Compiling Storage.Hashed.Index ( Storage/Hashed/Index.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Index.o )
  373. Storage/Hashed/Index.hs:84:1:
  374. Warning: The import of `Data.ByteString.Lazy' is redundant
  375. except perhaps to import instances from `Data.ByteString.Lazy'
  376. To import instances alone, use: import Data.ByteString.Lazy()
  377. Storage/Hashed/Index.hs:349:8:
  378. Warning: A do-notation statement discarded a result of type Int.
  379. Suppress this warning by saying "_ <- create
  380. ((Storage.Hashed.Tree.$WSubTree) reference)
  381. (Storage.Hashed.AnchoredPath.AnchoredPath
  382. (ghc-prim:GHC.Types.[]))
  383. size_magic",
  384. or by using the flag -fno-warn-unused-do-bind
  385. [ 8 of 14] Compiling Storage.Hashed.Monad ( Storage/Hashed/Monad.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Monad.o )
  386. Storage/Hashed/Monad.hs:25:1:
  387. Warning: The import of `Storage.Hashed.Hash' is redundant
  388. except perhaps to import instances from `Storage.Hashed.Hash'
  389. To import instances alone, use: import Storage.Hashed.Hash()
  390. Storage/Hashed/Monad.hs:35:1:
  391. Warning: The import of `Data.Set' is redundant
  392. except perhaps to import instances from `Data.Set'
  393. To import instances alone, use: import Data.Set()
  394. Storage/Hashed/Monad.hs:91:12:
  395. Warning: Defined but not used: `current'
  396. Storage/Hashed/Monad.hs:93:72: Warning: Defined but not used: `s'
  397. Storage/Hashed/Monad.hs:142:1:
  398. Warning: Top-level binding with no type signature:
  399. renameChanged :: forall (m :: * -> *) (m1 :: * -> *).
  400. MonadState (TreeState m1) m =>
  401. AnchoredPath -> AnchoredPath -> m ()
  402. Storage/Hashed/Monad.hs:146:32:
  403. Warning: This binding for `from' shadows the existing binding
  404. bound at Storage/Hashed/Monad.hs:142:15
  405. Storage/Hashed/Monad.hs:159:21:
  406. Warning: Unused quantified type variable `e'
  407. In the type `forall e m. (Monad m, Functor m) =>
  408. AnchoredPath -> TreeMonad m ()'
  409. In the type signature for `flushItem'
  410. Storage/Hashed/Monad.hs:183:27:
  411. Warning: Defined but not used: `age_'
  412. Storage/Hashed/Monad.hs:227:15:
  413. Warning: Defined but not used: `old'
  414. Storage/Hashed/Monad.hs:231:12:
  415. Warning: A do-notation statement discarded a result of type AnchoredPath.
  416. Suppress this warning by saying "_ <- expandTo p",
  417. or by using the flag -fno-warn-unused-do-bind
  418. Storage/Hashed/Monad.hs:242:12:
  419. Warning: A do-notation statement discarded a result of type AnchoredPath.
  420. Suppress this warning by saying "_ <- expandTo p",
  421. or by using the flag -fno-warn-unused-do-bind
  422. Storage/Hashed/Monad.hs:246:12:
  423. Warning: A do-notation statement discarded a result of type AnchoredPath.
  424. Suppress this warning by saying "_ <- expandTo p",
  425. or by using the flag -fno-warn-unused-do-bind
  426. Storage/Hashed/Monad.hs:264:12: Warning: Defined but not used: to'
  427. Storage/Hashed/Monad.hs:269:22:
  428. Warning: Unused quantified type variable `e'
  429. In the type `forall m a e. (Monad m, Functor m) =>
  430. (Tree m -> AnchoredPath -> a) -> Tree m -> AnchoredPath -> m a'
  431. In the type signature for findM'
  432. [ 9 of 14] Compiling Storage.Hashed.Packed ( Storage/Hashed/Packed.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Packed.o )
  433. Storage/Hashed/Packed.hs:97:24:
  434. Warning: A do-notation statement discarded a result of type [()].
  435. Suppress this warning by saying "_ <- ($)
  436. forM bits
  437. \ (hash, blob)
  438. -> do { BL.writeFile
  439. (loosePath os hash) blob }",
  440. or by using the flag -fno-warn-unused-do-bind
  441. Storage/Hashed/Packed.hs:141:22:
  442. Warning: A do-notation statement discarded a result of type [()].
  443. Suppress this warning by saying "_ <- initHatchery",
  444. or by using the flag -fno-warn-unused-do-bind
  445. Storage/Hashed/Packed.hs:143:11:
  446. Warning: Pattern match(es) are non-exhaustive
  447. In an equation for `initHatchery': Patterns not matched:
  448. Storage/Hashed/Packed.hs:174:24:
  449. Warning: Pattern match(es) are non-exhaustive
  450. In an equation for `_lookup': Patterns not matched: (SHA1 _) _ _
  451. [10 of 14] Compiling Storage.Hashed.Plain ( Storage/Hashed/Plain.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Plain.o )
  452. Storage/Hashed/Plain.hs:17:1:
  453. Warning: The import of `Data.ByteString' is redundant
  454. except perhaps to import instances from `Data.ByteString'
  455. To import instances alone, use: import Data.ByteString()
  456. Storage/Hashed/Plain.hs:24:1:
  457. Warning: The import of `Control.Monad' is redundant
  458. except perhaps to import instances from `Control.Monad'
  459. To import instances alone, use: import Control.Monad()
  460. Storage/Hashed/Plain.hs:29:1:
  461. Warning: The import of `find, modifyTree'
  462. from module `Storage.Hashed.Tree' is redundant
  463. Storage/Hashed/Plain.hs:32:1:
  464. Warning: The import of `tree, replaceItem'
  465. from module `Storage.Hashed.Monad' is redundant
  466. Storage/Hashed/Plain.hs:33:1:
  467. Warning: The import of `Data.Set' is redundant
  468. except perhaps to import instances from `Data.Set'
  469. To import instances alone, use: import Data.Set()
  470. Storage/Hashed/Plain.hs:34:1:
  471. Warning: The import of `modify, gets'
  472. from module `Control.Monad.State' is redundant
  473. Storage/Hashed/Plain.hs:75:22: Warning: Defined but not used: `dir'
  474. [11 of 14] Compiling Storage.Hashed.Darcs ( Storage/Hashed/Darcs.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Darcs.o )
  475. Storage/Hashed/Darcs.hs:7:1:
  476. Warning: In the use of `catch'
  477. (imported from Prelude, but defined in System.IO.Error):
  478. Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
  479. Storage/Hashed/Darcs.hs:22:1:
  480. Warning: The import of `Data.Set' is redundant
  481. except perhaps to import instances from `Data.Set'
  482. To import instances alone, use: import Data.Set()
  483. Storage/Hashed/Darcs.hs:26:1:
  484. Warning: The import of `Storage.Hashed.Tree' is redundant
  485. except perhaps to import instances from `Storage.Hashed.Tree'
  486. To import instances alone, use: import Storage.Hashed.Tree()
  487. Storage/Hashed/Darcs.hs:141:11:
  488. Warning: Pattern match(es) are non-exhaustive
  489. In an equation for `update': Patterns not matched: Stub _ _
  490. Storage/Hashed/Darcs.hs:146:1:
  491. Warning: Top-level binding with no type signature:
  492. darcsHash :: forall (m :: * -> *).
  493. (Monad m, Functor m) =>
  494. TreeItem m -> m Hash
  495. Storage/Hashed/Darcs.hs:146:1:
  496. Warning: Pattern match(es) are non-exhaustive
  497. In an equation for `darcsHash': Patterns not matched: Stub _ _
  498. Storage/Hashed/Darcs.hs:148:1:
  499. Warning: Top-level binding with no type signature:
  500. darcshash :: forall t (m :: * -> *). Monad m => t -> m Hash
  501. Storage/Hashed/Darcs.hs:189:1:
  502. Warning: Top-level binding with no type signature:
  503. readDarcsHashed :: FilePath -> (Maybe Int, Hash) -> IO (Tree IO)
  504. Storage/Hashed/Darcs.hs:190:1:
  505. Warning: Top-level binding with no type signature:
  506. readDarcsHashedNosize :: FilePath -> Hash -> IO (Tree IO)
  507. Storage/Hashed/Darcs.hs:202:8: Warning: Defined but not used: os'
  508. Storage/Hashed/Darcs.hs:232:22:
  509. Warning: Defined but not used: `path'
  510. Storage/Hashed/Darcs.hs:240:21:
  511. Warning: Defined but not used: `path'
  512. Storage/Hashed/Darcs.hs:304:11:
  513. Warning: This binding for `tree' shadows the existing binding
  514. imported from `Storage.Hashed.Monad' at Storage/Hashed/Darcs.hs:31:1-27
  515. (and originally defined at Storage/Hashed/Monad.hs:42:32-35)
  516. [12 of 14] Compiling Storage.Hashed ( Storage/Hashed.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed.o )
  517. [13 of 14] Compiling Storage.Hashed.Test ( Storage/Hashed/Test.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Storage/Hashed/Test.o )
  518. Storage/Hashed/Test.hs:9:1:
  519. Warning: The import of `System.Process' is redundant
  520. except perhaps to import instances from `System.Process'
  521. To import instances alone, use: import System.Process()
  522. Storage/Hashed/Test.hs:12:1:
  523. Warning: The import of `Control.Monad' is redundant
  524. except perhaps to import instances from `Control.Monad'
  525. To import instances alone, use: import Control.Monad()
  526. Storage/Hashed/Test.hs:19:1:
  527. Warning: The import of `Data.Int' is redundant
  528. except perhaps to import instances from `Data.Int'
  529. To import instances alone, use: import Data.Int()
  530. Storage/Hashed/Test.hs:20:1:
  531. Warning: The import of `Data.Bits' is redundant
  532. except perhaps to import instances from `Data.Bits'
  533. To import instances alone, use: import Data.Bits()
  534. Storage/Hashed/Test.hs:21:1:
  535. Warning: The import of `\\' from module `Data.List' is redundant
  536. Storage/Hashed/Test.hs:33:1:
  537. Warning: The import of `System.IO.Unsafe' is redundant
  538. except perhaps to import instances from `System.IO.Unsafe'
  539. To import instances alone, use: import System.IO.Unsafe()
  540. Storage/Hashed/Test.hs:53:1:
  541. Warning: Top-level binding with no type signature:
  542. blobs :: [(AnchoredPath, BL.ByteString)]
  543. Storage/Hashed/Test.hs:61:1:
  544. Warning: Top-level binding with no type signature:
  545. files :: [AnchoredPath]
  546. Storage/Hashed/Test.hs:63:1:
  547. Warning: Top-level binding with no type signature:
  548. dirs :: [AnchoredPath]
  549. Storage/Hashed/Test.hs:67:1:
  550. Warning: Top-level binding with no type signature:
  551. emptyStub :: TreeItem IO
  552. Storage/Hashed/Test.hs:69:1:
  553. Warning: Top-level binding with no type signature:
  554. testTree :: Tree IO
  555. Storage/Hashed/Test.hs:81:1:
  556. Warning: Top-level binding with no type signature:
  557. equals_testdata :: Tree IO -> IO ()
  558. Storage/Hashed/Test.hs:93:1:
  559. Warning: Top-level binding with no type signature:
  560. tests :: [test-framework-0.6:Test.Framework.Core.Test]
  561. Storage/Hashed/Test.hs:106:1:
  562. Warning: Top-level binding with no type signature:
  563. hashed :: [test-framework-0.6:Test.Framework.Core.Test]
  564. Storage/Hashed/Test.hs:120:28:
  565. Warning: This binding for `path' shadows the existing binding
  566. imported from `Test.HUnit' at Storage/Hashed/Test.hs:42:1-17
  567. (and originally defined in `Test.HUnit.Base')
  568. Storage/Hashed/Test.hs:140:1:
  569. Warning: Top-level binding with no type signature:
  570. index :: [test-framework-0.6:Test.Framework.Core.Test]
  571. Storage/Hashed/Test.hs:169:1:
  572. Warning: Top-level binding with no type signature:
  573. tree :: [test-framework-0.6:Test.Framework.Core.Test]
  574. Storage/Hashed/Test.hs:231:11:
  575. Warning: This binding for `path' shadows the existing binding
  576. imported from `Test.HUnit' at Storage/Hashed/Test.hs:42:1-17
  577. (and originally defined in `Test.HUnit.Base')
  578. Storage/Hashed/Test.hs:296:21:
  579. Warning: Defined but not used: `types'
  580. Storage/Hashed/Test.hs:298:21:
  581. Warning: Defined but not used: `types'
  582. Storage/Hashed/Test.hs:300:21:
  583. Warning: Defined but not used: `types'
  584. Storage/Hashed/Test.hs:302:21:
  585. Warning: Defined but not used: `types'
  586. Storage/Hashed/Test.hs:304:21:
  587. Warning: Defined but not used: `types'
  588. Storage/Hashed/Test.hs:308:21:
  589. Warning: Defined but not used: `types'
  590. Storage/Hashed/Test.hs:315:21:
  591. Warning: Defined but not used: `types'
  592. Storage/Hashed/Test.hs:328:1:
  593. Warning: Top-level binding with no type signature:
  594. packed :: [test-framework-0.6:Test.Framework.Core.Test]
  595. Storage/Hashed/Test.hs:351:41:
  596. Warning: This binding for `hash' shadows the existing binding
  597. defined at Storage/Hashed/Test.hs:430:1
  598. Storage/Hashed/Test.hs:371:1:
  599. Warning: Top-level binding with no type signature:
  600. utils :: [test-framework-0.6:Test.Framework.Core.Test]
  601. Storage/Hashed/Test.hs:381:61:
  602. Warning: Defined but not used: `types'
  603. Storage/Hashed/Test.hs:382:61:
  604. Warning: Defined but not used: `types'
  605. Storage/Hashed/Test.hs:386:21:
  606. Warning: Defined but not used: `types'
  607. Storage/Hashed/Test.hs:390:21:
  608. Warning: Defined but not used: `types'
  609. Storage/Hashed/Test.hs:393:62:
  610. Warning: Defaulting the following constraint(s) to type `Integer'
  611. (Eq a0)
  612. arising from a use of `@?=' at Storage/Hashed/Test.hs:393:62-64
  613. (Num a0) arising from a use of `f' at Storage/Hashed/Test.hs:393:58
  614. (Show a0)
  615. arising from a use of `@?=' at Storage/Hashed/Test.hs:393:62-64
  616. In the expression: fixFrom f 5 @?= 0
  617. In the expression:
  618. let
  619. f 0 = 0
  620. f n = f (n - 1)
  621. in fixFrom f 5 @?= 0
  622. In an equation for `check_fixFrom':
  623. check_fixFrom
  624. = let
  625. f 0 = 0
  626. f n = f (n - 1)
  627. in fixFrom f 5 @?= 0
  628. Storage/Hashed/Test.hs:400:31:
  629. Warning: This binding for `roots' shadows the existing binding
  630. imported from `Storage.Hashed.Packed' at Storage/Hashed/Test.hs:29:1-28
  631. (and originally defined at Storage/Hashed/Packed.hs:78:16-20)
  632. Storage/Hashed/Test.hs:402:33:
  633. Warning: Pattern match(es) are non-exhaustive
  634. In an equation for `refs':
  635. Patterns not matched: #x with #x `notElem` [0#, 1#, 2#, 3#, 4#]
  636. Storage/Hashed/Test.hs:408:33:
  637. Warning: This binding for `map' shadows the existing binding
  638. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  639. (and originally defined in `GHC.Base')
  640. Storage/Hashed/Test.hs:408:71:
  641. Warning: Defaulting the following constraint(s) to type `Integer'
  642. (Enum k0)
  643. arising from the arithmetic sequence `0 .. 10'
  644. at Storage/Hashed/Test.hs:408:71-77
  645. (Eq k0)
  646. arising from a use of `refs' at Storage/Hashed/Test.hs:408:56-59
  647. (Num k0)
  648. arising from the literal `1' at Storage/Hashed/Test.hs:407:51
  649. (Ord k0)
  650. arising from a use of `S.fromList'
  651. at Storage/Hashed/Test.hs:407:39-48
  652. (Show k0)
  653. arising from a use of `@?=' at Storage/Hashed/Test.hs:410:52-54
  654. In the expression: [0 .. 10]
  655. In a stmt of a list comprehension: n <- [0 .. 10]
  656. In the first argument of `M.fromList', namely
  657. `[(n, refs n) | n <- [0 .. 10]]'
  658. Storage/Hashed/Test.hs:412:48:
  659. Warning: This binding for `map' shadows the existing binding
  660. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  661. (and originally defined in `GHC.Base')
  662. Storage/Hashed/Test.hs:415:47:
  663. Warning: This binding for `map' shadows the existing binding
  664. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  665. (and originally defined in `GHC.Base')
  666. Storage/Hashed/Test.hs:420:50:
  667. Warning: This binding for `map' shadows the existing binding
  668. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  669. (and originally defined in `GHC.Base')
  670. Storage/Hashed/Test.hs:426:11:
  671. Warning: This binding for `lookup' shadows the existing bindings
  672. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  673. (and originally defined in `GHC.List')
  674. imported from `Storage.Hashed.Tree' at Storage/Hashed/Test.hs:25:1-26
  675. (and originally defined at Storage/Hashed/Tree.hs:117:1-6)
  676. imported from `Storage.Hashed.Packed' at Storage/Hashed/Test.hs:29:1-28
  677. (and originally defined at Storage/Hashed/Packed.hs:130:1-6)
  678. Storage/Hashed/Test.hs:430:1:
  679. Warning: Top-level binding with no type signature:
  680. hash :: [test-framework-0.6:Test.Framework.Core.Test]
  681. Storage/Hashed/Test.hs:435:1:
  682. Warning: Top-level binding with no type signature:
  683. monad :: [test-framework-0.6:Test.Framework.Core.Test]
  684. Storage/Hashed/Test.hs:448:1:
  685. Warning: Top-level binding with no type signature:
  686. posix :: [test-framework-0.6:Test.Framework.Core.Test]
  687. Storage/Hashed/Test.hs:479:17:
  688. Warning: Pattern match(es) are non-exhaustive
  689. In a case alternative:
  690. Patterns not matched: #x with #x `notElem` [0#, 1#]
  691. Storage/Hashed/Test.hs:480:19:
  692. Warning: Defaulting the following constraint(s) to type `Integer'
  693. (Eq t0)
  694. arising from the literal `0' at Storage/Hashed/Test.hs:480:19
  695. (Num t0)
  696. arising from the literal `0' at Storage/Hashed/Test.hs:478:38
  697. In the pattern: 0
  698. In a case alternative:
  699. 0 -> SHA256 . BS.pack <$> sequence [arbitrary | _ <- [1 .. 32]]
  700. In a stmt of a 'do' block:
  701. case tag of {
  702. 0 -> SHA256 . BS.pack <$> sequence [arbitrary | _ <- [1 .. 32]]
  703. 1 -> SHA1 . BS.pack <$> sequence [arbitrary | _ <- [1 .. 20]] }
  704. Storage/Hashed/Test.hs:480:73:
  705. Warning: Defaulting the following constraint(s) to type `Integer'
  706. (Enum t0)
  707. arising from the arithmetic sequence `1 .. 32'
  708. at Storage/Hashed/Test.hs:480:73-79
  709. (Num t0)
  710. arising from the literal `1' at Storage/Hashed/Test.hs:480:74
  711. In the expression: [1 .. 32]
  712. In a stmt of a list comprehension: _ <- [1 .. 32]
  713. In the first argument of `sequence', namely
  714. `[arbitrary | _ <- [1 .. 32]]'
  715. Storage/Hashed/Test.hs:481:71:
  716. Warning: Defaulting the following constraint(s) to type `Integer'
  717. (Enum t0)
  718. arising from the arithmetic sequence `1 .. 20'
  719. at Storage/Hashed/Test.hs:481:71-77
  720. (Num t0)
  721. arising from the literal `1' at Storage/Hashed/Test.hs:481:72
  722. In the expression: [1 .. 20]
  723. In a stmt of a list comprehension: _ <- [1 .. 20]
  724. In the first argument of `sequence', namely
  725. `[arbitrary | _ <- [1 .. 20]]'
  726. Storage/Hashed/Test.hs:538:1:
  727. Warning: Top-level binding with no type signature:
  728. shapeEq :: forall (m :: * -> *). Tree m -> Tree m -> Bool
  729. Storage/Hashed/Test.hs:539:1:
  730. Warning: Top-level binding with no type signature:
  731. expandedShapeEq :: forall (f :: * -> *).
  732. (Monad f, Functor f) =>
  733. Tree f -> Tree f -> f Bool
  734. Storage/Hashed/Test.hs:541:1:
  735. Warning: Top-level binding with no type signature:
  736. cmpcat :: [Maybe Ordering] -> Maybe Ordering
  737. Storage/Hashed/Test.hs:548:1:
  738. Warning: Top-level binding with no type signature:
  739. cmpTree :: forall (m :: * -> *).
  740. (Monad m, Functor m) =>
  741. Tree m -> Tree m -> m (Maybe Ordering)
  742. Storage/Hashed/Test.hs:552:22:
  743. Warning: This binding for `a' shadows the existing binding
  744. bound at Storage/Hashed/Test.hs:548:9
  745. Storage/Hashed/Test.hs:552:24:
  746. Warning: This binding for `b' shadows the existing binding
  747. bound at Storage/Hashed/Test.hs:548:11
  748. Storage/Hashed/Test.hs:553:29:
  749. Warning: This binding for `a' shadows the existing binding
  750. bound at Storage/Hashed/Test.hs:548:9
  751. Storage/Hashed/Test.hs:553:45:
  752. Warning: This binding for `b' shadows the existing binding
  753. bound at Storage/Hashed/Test.hs:548:11
  754. Storage/Hashed/Test.hs:558:1:
  755. Warning: Top-level binding with no type signature:
  756. cmpShape :: forall (m :: * -> *).
  757. Tree m -> Tree m -> Maybe Ordering
  758. Storage/Hashed/Test.hs:559:11:
  759. Warning: Pattern match(es) are non-exhaustive
  760. In an equation for `cmp': Patterns not matched: _ Nothing Nothing
  761. Storage/Hashed/Test.hs:571:1:
  762. Warning: Top-level binding with no type signature:
  763. nondarcs :: forall t. AnchoredPath -> t -> Bool
  764. Storage/Hashed/Test.hs:571:1:
  765. Warning: Pattern match(es) are non-exhaustive
  766. In an equation for `nondarcs':
  767. Patterns not matched: (AnchoredPath []) _
  768. Storage/Hashed/Test.hs:580:3:
  769. Warning: This binding for `hashed' shadows the existing binding
  770. defined at Storage/Hashed/Test.hs:106:1
  771. Storage/Hashed/Test.hs:583:18:
  772. Warning: This binding for `lines' shadows the existing binding
  773. imported from `Prelude' at Storage/Hashed/Test.hs:4:1-53
  774. (and originally defined in `Data.List')
  775. Storage/Hashed/Test.hs:587:31:
  776. Warning: This binding for `hash' shadows the existing binding
  777. defined at Storage/Hashed/Test.hs:430:1
  778. Storage/Hashed/Test.hs:465:10:
  779. Warning: orphan instance:
  780. instance (Arbitrary a, Ord a) => Arbitrary (S.Set a)
  781. Storage/Hashed/Test.hs:468:10:
  782. Warning: orphan instance:
  783. instance (Arbitrary k, Arbitrary v, Ord k) => Arbitrary (M.Map k v)
  784. Storage/Hashed/Test.hs:471:10:
  785. Warning: orphan instance: instance Arbitrary BL.ByteString
  786. Storage/Hashed/Test.hs:474:10:
  787. Warning: orphan instance: instance Arbitrary Hash
  788. Storage/Hashed/Test.hs:483:10:
  789. Warning: orphan instance:
  790. instance Monad m => Arbitrary (TreeItem m)
  791. Storage/Hashed/Test.hs:498:10:
  792. Warning: orphan instance: instance Monad m => Arbitrary (Tree m)
  793. Storage/Hashed/Test.hs:517:10:
  794. Warning: orphan instance: instance Show (Blob m)
  795. Storage/Hashed/Test.hs:520:10:
  796. Warning: orphan instance: instance Show (TreeItem m)
  797. Storage/Hashed/Test.hs:525:10:
  798. Warning: orphan instance: instance Show (Tree m)
  799. Storage/Hashed/Test.hs:530:10:
  800. Warning: orphan instance: instance Show (Int -> Int)
  801. [14 of 14] Compiling Main ( test.hs, dist/build/hashed-storage-test/hashed-storage-test-tmp/Main.o )
  802. test.hs:1:1:
  803. Warning: In the use of `catch'
  804. (imported from Prelude, but defined in System.IO.Error):
  805. Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
  806. test.hs:9:11:
  807. Warning: This binding for `zip' shadows the existing binding
  808. imported from `Prelude' at test.hs:1:1
  809. (and originally defined in `GHC.List')
  810. Linking dist/build/hashed-storage-test/hashed-storage-test ...
  811. >>> Source compiled.
  812. * >>> Test phase [cabal test]: dev-haskell/hashed-storage-0.5.9
  813. ./setup test
  814. Bundled.Posix:
  815. getFileStatus: [OK]
  816. getSymbolicLinkStatus: [OK]
  817. Storage.Hashed.Utils:
  818. xlate32: [OK, passed 100 tests]
  819. xlate64: [OK, passed 100 tests]
  820. align bounded: [Failed]
  821. Arguments exhausted after 16 tests
  822. align aligned: [Failed]
  823. Arguments exhausted after 17 tests
  824. reachable is a subset: [OK, passed 100 tests]
  825. roots are reachable: [30]
  826. [==========> ]
  827. roots are reachable: [Failed]
  828. Arguments exhausted after 31 tests
  829. nonexistent roots are not reachable: [OK, passed 100 tests]
  830. an example for reachable: [OK]
  831. fixFrom: [OK]
  832. mmap empty file: [OK]
  833. Storage.Hashed.Hash:
  834. decodeBase16 . encodeBase16 == id: [OK, passed 100 tests]
  835. decodeBase64u . encodeBase64u == id: [OK, passed 100 tests]
  836. Storage.Hashed.Tree:
  837. modifyTree: [OK]
  838. complex modifyTree: [OK]
  839. modifyTree removal: [OK]
  840. expand: [OK]
  841. expandPath: [OK]
  842. expandPath of sub: [OK]
  843. diffTrees: [OK]
  844. diffTrees identical: [OK]
  845. expandPath: [OK, passed 100 tests]
  846. shapeEq: [OK, passed 100 tests]
  847. expandedShapeEq: [OK, passed 100 tests]
  848. expand is identity: [OK, passed 100 tests]
  849. filter True is identity: [OK, passed 100 tests]
  850. filter False is empty: [OK, passed 100 tests]
  851. restrict both ways keeps shape: [10]
  852. [=============================================> ]
  853. restrict both ways keeps shape: [Failed]
  854. Arguments exhausted after 10 tests
  855. restrict is a subtree of both: [30]
  856. [===============================================> ]
  857. restrict is a subtree of both: [Failed]
  858. Arguments exhausted after 33 tests
  859. overlay keeps shape: [46]
  860. [================================================> ] overlay keeps shape: [62]
  861. [================================================> ] overlay keeps shape: [70]
  862. [================================================> ] overlay keeps shape: [76]
  863. [================================================> ] overlay keeps shape: [85]
  864. [================================================> ] overlay keeps shape: [92]
  865. [================================================> ]
  866. overlay keeps shape: [OK, passed 100 tests]
  867. overlay is superset of over: [49]
  868. [==================================================> ] overlay is superset of over: [66]
  869. [==================================================> ] overlay is superset of over: [76]
  870. [==================================================> ] overlay is superset of over: [83]
  871. [==================================================> ] overlay is superset of over: [88]
  872. [==================================================> ] overlay is superset of over: [94]
  873. [==================================================> ] overlay is superset of over: [99]
  874. [==================================================> ]
  875. overlay is superset of over: [OK, passed 100 tests]
  876. Storage.Hashed.Index:
  877. index versioning: [OK]
  878. index listing: [OK]
  879. index content: [OK]
  880. Storage.Hashed.Packed:
  881. loose pristine tree: [OK]
  882. load: [OK]
  883. live: [OK]
  884. compact: [OK]
  885. Storage.Hashed.Monad:
  886. path expansion: [OK]
  887. rename: [OK]
  888. Storage.Hashed:
  889. plain has all files: [OK]
  890. pristine has all files: [OK]
  891. pristine has no extras: [OK]
  892. pristine file contents match: [OK]
  893. plain file contents match: [OK]
  894. writePlainTree works: [OK]
  895. Properties Test Cases Total
  896. Passed 14 28 42
  897. Failed 5 0 5
  898. Total 19 28 47
  899. * ERROR: dev-haskell/hashed-storage-0.5.9 failed (test phase):
  900. * cabal test failed
  901. *
  902. * Call stack:
  903. * ebuild.sh, line 85: Called src_test
  904. * environment, line 2760: Called haskell-cabal_src_test
  905. * environment, line 2075: Called die
  906. * The specific snippet of code:
  907. * ./setup "$@" || die "cabal test failed";
  908. *
  909. * If you need support, post the output of `emerge --info '=dev-haskell/hashed-storage-0.5.9'`,
  910. * the complete build log and the output of `emerge -pqv '=dev-haskell/hashed-storage-0.5.9'`.
  911. * The complete build log is located at '/var/log/portage/dev-haskell:hashed-storage-0.5.9:20120620-065349.log'.
  912. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-haskell/hashed-storage-0.5.9/temp/build.log'.
  913. * The ebuild environment file is located at '/tmp/portage/dev-haskell/hashed-storage-0.5.9/temp/environment'.
  914. * Working directory: '/tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9'
  915. * S: '/tmp/portage/dev-haskell/hashed-storage-0.5.9/work/hashed-storage-0.5.9'
  916. >>> Install hashed-storage-0.5.9 into /tmp/portage/dev-haskell/hashed-storage-0.5.9/image/ category dev-haskell
  917. ./setup copy --destdir=/tmp/portage/dev-haskell/hashed-storage-0.5.9/image/
  918. Installing library in
  919. /tmp/portage/dev-haskell/hashed-storage-0.5.9/image/usr/lib64/hashed-storage-0.5.9/ghc-7.4.1
  920. Installing executable(s) in
  921. /tmp/portage/dev-haskell/hashed-storage-0.5.9/image/usr/bin
  922. Creating package registration file:
  923. /tmp/portage/dev-haskell/hashed-storage-0.5.9/temp/hashed-storage-0.5.9.conf
  924. Reading package info from stdin ... done.
  925. hashed-storage-0.5.9: Warning: library-dirs: /usr/lib64/hashed-storage-0.5.9/ghc-7.4.1 doesn't exist or isn't a directory
  926. hashed-storage-0.5.9: Warning: haddock-interfaces: /usr/share/doc/hashed-storage-0.5.9/html/hashed-storage.haddock doesn't exist or isn't a file
  927. hashed-storage-0.5.9: Warning: haddock-html: /usr/share/doc/hashed-storage-0.5.9/html doesn't exist or isn't a directory
  928. hashed-storage-0.5.9: dependency "HUnit-1.2.4.3-f4a14351f1b5bc251433d2f6f2eb7ba2" doesn't exist (ignoring)
  929. hashed-storage-0.5.9: dependency "QuickCheck-2.4.2-49cba1d6bcd55a51c6aa8a43de634047" doesn't exist (ignoring)
  930. hashed-storage-0.5.9: dependency "base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702" doesn't exist (ignoring)
  931. hashed-storage-0.5.9: dependency "binary-0.5.1.0-d85d747036d82514a2050c5da3cb178c" doesn't exist (ignoring)
  932. hashed-storage-0.5.9: dependency "bytestring-0.9.2.1-18f26186028d7c0e92e78edc9071d376" doesn't exist (ignoring)
  933. hashed-storage-0.5.9: dependency "containers-0.4.2.1-cfc6420ecc2194c9ed977b06bdfd9e69" doesn't exist (ignoring)
  934. hashed-storage-0.5.9: dependency "dataenc-0.14.0.3-16996cde65263ae5d6f9c721e211b4cc" doesn't exist (ignoring)
  935. hashed-storage-0.5.9: dependency "directory-1.1.0.2-ebacad9b5233212b1abbebce9b7e6524" doesn't exist (ignoring)
  936. hashed-storage-0.5.9: dependency "extensible-exceptions-0.1.1.4-d27a1ac47e54880cae007cceceb41580" doesn't exist (ignoring)
  937. hashed-storage-0.5.9: dependency "filepath-1.3.0.0-973f5e9fbed93e25cbe66dfeb6b99ad9" doesn't exist (ignoring)
  938. hashed-storage-0.5.9: dependency "mmap-0.5.7-8be47aa8d46855caf5102ec3d099e7d2" doesn't exist (ignoring)
  939. hashed-storage-0.5.9: dependency "mtl-2.1.1-801101765c9185fec3b8dbd5355f5550" doesn't exist (ignoring)
  940. hashed-storage-0.5.9: dependency "process-1.1.0.1-18dadd8ad5fc640f55a7afdc7aace500" doesn't exist (ignoring)
  941. hashed-storage-0.5.9: dependency "test-framework-0.6-48fcaa60d5126a1b2cd700401f1b6ecd" doesn't exist (ignoring)
  942. hashed-storage-0.5.9: dependency "test-framework-hunit-0.2.7-cea168fbf65254beb4de13ba707c8951" doesn't exist (ignoring)
  943. hashed-storage-0.5.9: dependency "test-framework-quickcheck2-0.2.12.2-56b5e021a89c6c5d6b371cc29762325b" doesn't exist (ignoring)
  944. hashed-storage-0.5.9: dependency "zip-archive-0.1.1.8-e94f22004866c67de59b8800243c9e9e" doesn't exist (ignoring)
  945. hashed-storage-0.5.9: dependency "zlib-0.5.3.3-25bc90418de17a311a72450ebca404a8" doesn't exist (ignoring)
  946. hashed-storage-0.5.9: import-dirs: /usr/lib64/hashed-storage-0.5.9/ghc-7.4.1 doesn't exist or isn't a directory (ignoring)
  947. hashed-storage-0.5.9: file Storage/Hashed.hi is missing (ignoring)
  948. hashed-storage-0.5.9: file Storage/Hashed/AnchoredPath.hi is missing (ignoring)
  949. hashed-storage-0.5.9: file Storage/Hashed/Index.hi is missing (ignoring)
  950. hashed-storage-0.5.9: file Storage/Hashed/Monad.hi is missing (ignoring)
  951. hashed-storage-0.5.9: file Storage/Hashed/Tree.hi is missing (ignoring)
  952. hashed-storage-0.5.9: file Storage/Hashed/Hash.hi is missing (ignoring)
  953. hashed-storage-0.5.9: file Storage/Hashed/Packed.hi is missing (ignoring)
  954. hashed-storage-0.5.9: file Storage/Hashed/Plain.hi is missing (ignoring)
  955. hashed-storage-0.5.9: file Storage/Hashed/Darcs.hi is missing (ignoring)
  956. hashed-storage-0.5.9: file Bundled/Posix.hi is missing (ignoring)
  957. hashed-storage-0.5.9: file Bundled/SHA256.hi is missing (ignoring)
  958. hashed-storage-0.5.9: file Storage/Hashed/Utils.hi is missing (ignoring)
  959. hashed-storage-0.5.9: cannot find libHShashed-storage-0.5.9.a on library path (ignoring)
  960. Writing new package config file... done.
  961. >>> Completed installing hashed-storage-0.5.9 into /tmp/portage/dev-haskell/hashed-storage-0.5.9/image/
  962. strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
  963. usr/lib64/hashed-storage-0.5.9/ghc-7.4.1/HShashed-storage-0.5.9.o
  964. usr/lib64/hashed-storage-0.5.9/ghc-7.4.1/libHShashed-storage-0.5.9.a
  965. ecompressdir: bzip2 -9 /usr/share/doc
  966. * Registering hashed-storage-0.5.9 ...
  967. hashed-storage-0.5.9: Warning: haddock-interfaces: /usr/share/doc/hashed-storage-0.5.9/html/hashed-storage.haddock doesn't exist or isn't a file
  968. hashed-storage-0.5.9: Warning: haddock-html: /usr/share/doc/hashed-storage-0.5.9/html doesn't exist or isn't a directory
  969. [ ok ]