=> Building devel/hs-hashed-storage Started : Friday, 20 JUL 2018 at 05:18:18 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for hs-hashed-storage-0.5.11_6: DOCS=on: Build and/or install documentation DYNAMIC=on: Add support for dynamic linking HSCOLOUR=off: Colorize generated documentation by HsColour PROFILE=off: Add support for profiling ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/devel/hs-hashed-storage XDG_CONFIG_HOME=/construction/devel/hs-hashed-storage HOME=/construction/devel/hs-hashed-storage TMPDIR="/construction/devel/hs-hashed-storage/tmp" PATH=/construction/devel/hs-hashed-storage/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --libdir=/usr/local/lib/cabal/ghc-8.4.3 --libsubdir=hashed-storage-0.5.11 --flags="-test" --with-gcc=cc --with-ld=ld --with-ar=ar --haddock-options=-w --with-haddock=/usr/local/bin/haddock --enable-shared --enable-executable-dynamic --disable-profiling --disable-library-profiling -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- DESTDIR=/construction/devel/hs-hashed-storage/stage TMPDIR=/construction/devel/hs-hashed-storage/tmp XDG_DATA_HOME=/construction/devel/hs-hashed-storage XDG_CONFIG_HOME=/construction/devel/hs-hashed-storage HOME=/construction/devel/hs-hashed-storage TMPDIR="/construction/devel/hs-hashed-storage/tmp" PATH=/construction/devel/hs-hashed-storage/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/hs-hashed-storage/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- GHC_VERSION=8.4.3 PORTNAME=hashed-storage PORTVERSION=0.5.11 LIBDIR_REL=lib/cabal/ghc-8.4.3/hashed-storage-0.5.11 PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11" EXAMPLESDIR="share/examples/cabal/ghc-8.4.3/hashed-storage-0.5.11" DATADIR="share/cabal/ghc-8.4.3/hashed-storage-0.5.11" WWWDIR="www/hashed-storage" ETCDIR="etc/hashed-storage" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cabal/ghc-8.4.3/hashed-storage-0.5.11 DOCSDIR=/usr/local/share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11 EXAMPLESDIR=/usr/local/share/examples/cabal/ghc-8.4.3/hashed-storage-0.5.11 WWWDIR=/usr/local/www/hashed-storage ETCDIR=/usr/local/etc/hashed-storage -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> hs-hashed-storage-0.5.11_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> hs-hashed-storage-0.5.11_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hs-hashed-storage-0.5.11_6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by hs-hashed-storage-0.5.11_6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by hs-hashed-storage-0.5.11_6 for building => SHA256 Checksum OK for cabal/hashed-storage-0.5.11.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by hs-hashed-storage-0.5.11_6 for building ===> Extracting for hs-hashed-storage-0.5.11_6 => SHA256 Checksum OK for cabal/hashed-storage-0.5.11.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for hs-hashed-storage-0.5.11_6 ===> Applying ports patches for hs-hashed-storage-0.5.11_6 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> hs-hashed-storage-0.5.11_6 depends on executable: ghc - not found ===> Installing existing package /packages/All/ghc-8.4.3.txz Installing ghc-8.4.3... `-- Installing gmp-6.1.2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gmp-6.1.2: .......... done `-- Installing libffi-3.2.1_2... `-- Extracting libffi-3.2.1_2: .......... done `-- Installing libiconv-1.14_11... `-- Extracting libiconv-1.14_11: .......... done `-- Installing ncurses-6.0.0s20171223_1... `-- Extracting ncurses-6.0.0s20171223_1: .......... done Extracting ghc-8.4.3: .......... done ignoring (possibly broken) abi-depends field for packages ===> hs-hashed-storage-0.5.11_6 depends on executable: ghc - found ===> Returning to build of hs-hashed-storage-0.5.11_6 ===> hs-hashed-storage-0.5.11_6 depends on package: ghc>=8.4.3 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-dataenc>=0 - not found ===> Installing existing package /packages/All/hs-dataenc-0.14.0.7_6.txz Installing hs-dataenc-0.14.0.7_6... Extracting hs-dataenc-0.14.0.7_6: .......... done ===> hs-hashed-storage-0.5.11_6 depends on package: hs-dataenc>=0 - found ===> Returning to build of hs-hashed-storage-0.5.11_6 ===> hs-hashed-storage-0.5.11_6 depends on package: hs-extensible-exceptions>=0 - not found ===> Installing existing package /packages/All/hs-extensible-exceptions-0.1.1.4_11.txz Installing hs-extensible-exceptions-0.1.1.4_11... Extracting hs-extensible-exceptions-0.1.1.4_11: .......... done ===> hs-hashed-storage-0.5.11_6 depends on package: hs-extensible-exceptions>=0 - found ===> Returning to build of hs-hashed-storage-0.5.11_6 ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mmap>=0.5 - not found ===> Installing existing package /packages/All/hs-mmap-0.5.9_6.txz Installing hs-mmap-0.5.9_6... Extracting hs-mmap-0.5.9_6: .......... done ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mmap>=0.5 - found ===> Returning to build of hs-hashed-storage-0.5.11_6 ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mtl>=0 - not found ===> Installing existing package /packages/All/hs-mtl-2.2.1_4.txz Installing hs-mtl-2.2.1_4... Extracting hs-mtl-2.2.1_4: .......... done ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mtl>=0 - found ===> Returning to build of hs-hashed-storage-0.5.11_6 ===> hs-hashed-storage-0.5.11_6 depends on package: hs-zlib>=0 - not found ===> Installing existing package /packages/All/hs-zlib-0.6.1.2_3.txz Installing hs-zlib-0.6.1.2_3... Extracting hs-zlib-0.6.1.2_3: .......... done ===> hs-hashed-storage-0.5.11_6 depends on package: hs-zlib>=0 - found ===> Returning to build of hs-hashed-storage-0.5.11_6 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> hs-hashed-storage-0.5.11_6 depends on shared library: libgmp.so - found (/usr/local/lib/libgmp.so) ===> hs-hashed-storage-0.5.11_6 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so) -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for hs-hashed-storage-0.5.11_6 [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Setup.hs:14:1: warning: [-Wdeprecations] Module `System.Cmd' is deprecated: Use "System.Process" instead | 14 | import System.Cmd( system ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Setup.hs:27:3: warning: [-Wdeprecations] In the use of `runTests' (imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks): Deprecated: "Please use the new testing interface instead!" | 27 | runTests = \ _ _ _ lbi -> do | ^^^^^^^^ Linking ./setup ... Configuring hashed-storage-0.5.11... Warning: 'ghc-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for hs-hashed-storage-0.5.11_6 Preprocessing library for hashed-storage-0.5.11.. Building library for hashed-storage-0.5.11.. on the commandline: warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead [ 1 of 12] Compiling Bundled.Posix ( dist/build/Bundled/Posix.hs, dist/build/Bundled/Posix.o ) Bundled/Posix.hsc:16:1: warning: [-Wunused-imports] The import of ‘c_stat’ from module ‘System.Posix.Internals’ is redundant | 16 | import System.Posix.Internals | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Bundled/Posix.hsc:42:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: bsToPath :: BS.ByteString -> (Foreign.C.String.CString -> IO a) -> IO a | 42 | bsToPath = unsafeUseAsCString | ^^^^^^^^ Bundled/Posix.hsc:43:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: strToPath :: String -> (Foreign.C.String.CString -> IO a) -> IO a | 43 | strToPath = withCString | ^^^^^^^^^ [ 2 of 12] Compiling Bundled.SHA256 ( Bundled/SHA256.hs, dist/build/Bundled/SHA256.o ) [ 3 of 12] Compiling Storage.Hashed.AnchoredPath ( Storage/Hashed/AnchoredPath.hs, dist/build/Storage/Hashed/AnchoredPath.o ) [ 4 of 12] Compiling Storage.Hashed.Hash ( Storage/Hashed/Hash.hs, dist/build/Storage/Hashed/Hash.o ) [ 5 of 12] Compiling Storage.Hashed.Tree ( Storage/Hashed/Tree.hs, dist/build/Storage/Hashed/Tree.o ) Storage/Hashed/Tree.hs:32:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 32 | import Prelude hiding( lookup, filter, all, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:43:1: warning: [-Wunused-imports] The import of ‘liftM’ from module ‘Control.Monad’ is redundant | 43 | import Control.Monad( filterM, liftM ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:202:27: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:197:28 | 202 | Just sub -> do | ^^^ Storage/Hashed/Tree.hs:207:39: warning: [-Wunused-matches] Defined but not used: ‘s’ | 207 | badBlob (_, f@(File (Blob s h))) = | ^ Storage/Hashed/Tree.hs:210:13: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘render’: Patterns not matched: (_, SubTree _) (_, Stub _ _) | 210 | render (name, f@(File (Blob _ h))) = do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Tree.hs:237:23: warning: [-Wunused-local-binds] Defined but not used: ‘subs’ | 237 | let subs = (catMaybes [ (,) name `fmap` wibble path name item | ^^^^ Storage/Hashed/Tree.hs:362:50: warning: [-Wtype-defaults] • Defaulting the following constraint to type ‘Integer’ Num t0 arising from a use of ‘countmap’ • In the first argument of ‘seq’, namely ‘countmap items'’ In the ‘items’ field of a record In the expression: t {items = countmap items' `seq` items', treeHash = if unmod then treeHash t else NoHash} | 362 | where fix t unmod items' = (unmod, t { items = countmap items' `seq` items' | ^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:383:46: warning: [-Wname-shadowing] This binding for ‘mod’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Real’) | 383 | Just (SubTree s) -> let (mod, sub) = subtree s in (mod, SubTree sub) | ^^^ Storage/Hashed/Tree.hs:383:51: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:380:20 | 383 | Just (SubTree s) -> let (mod, sub) = subtree s in (mod, SubTree sub) | ^^^ Storage/Hashed/Tree.hs:396:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: countmap :: Num a1 => M.Map k a2 -> a1 | 396 | countmap = M.fold (\_ i -> i + 1) 0 | ^^^^^^^^ Storage/Hashed/Tree.hs:396:12: warning: [-Wdeprecations] In the use of ‘fold’ (imported from Data.Map): Deprecated: "As of version 0.5, replaced by 'foldr'." | 396 | countmap = M.fold (\_ i -> i + 1) 0 | ^^^^^^ Storage/Hashed/Tree.hs:413:25: warning: [-Wname-shadowing] This binding for ‘pred’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Enum’) | 413 | partiallyUpdateTree fun pred t' = go (AnchoredPath []) t' | ^^^^ Storage/Hashed/Tree.hs:416:19: warning: [-Wname-shadowing] This binding for ‘t'’ shadows the existing binding bound at Storage/Hashed/Tree.hs:413:30 | 416 | SubTree t' <- fun . SubTree $ t { items = items' | ^^ Storage/Hashed/Tree.hs:458:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘unstub’: Patterns not matched: (File _) | 458 | unstub (Stub s _) = s | ^^^^^^^^^^^^^^^^^^^^^... [ 6 of 12] Compiling Storage.Hashed.Monad ( Storage/Hashed/Monad.hs, dist/build/Storage/Hashed/Monad.o ) Storage/Hashed/Monad.hs:25:1: warning: [-Wunused-imports] The import of ‘Storage.Hashed.Hash’ is redundant except perhaps to import instances from ‘Storage.Hashed.Hash’ To import instances alone, use: import Storage.Hashed.Hash() | 25 | import Storage.Hashed.Hash | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:35:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 35 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:91:12: warning: [-Wunused-matches] Defined but not used: ‘current’ | 91 | flush = do current <- get | ^^^^^^^ Storage/Hashed/Monad.hs:93:72: warning: [-Wunused-matches] Defined but not used: ‘s’ | 93 | dirs' <- gets tree >>= \t -> return [ path | (path, SubTree s) <- list t ] | ^ Storage/Hashed/Monad.hs:142:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: renameChanged :: MonadState (TreeState m1) m2 => AnchoredPath -> AnchoredPath -> m2 () | 142 | renameChanged from to = modify $ \st -> st { changed = rename' $ changed st } | ^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:146:32: warning: [-Wname-shadowing] This binding for ‘from’ shadows the existing binding bound at Storage/Hashed/Monad.hs:142:15 | 146 | relative (AnchoredPath from) (AnchoredPath x) = AnchoredPath $ drop (length from) x | ^^^^ Storage/Hashed/Monad.hs:159:21: warning: [-Wunused-foralls] Unused quantified type variable ‘e’ In the type ‘forall e m. (Monad m, Functor m) => AnchoredPath -> TreeMonad m ()’ | 159 | flushItem :: forall e m. (Monad m, Functor m) => AnchoredPath -> TreeMonad m () | ^ Storage/Hashed/Monad.hs:183:27: warning: [-Wunused-matches] Defined but not used: ‘age_’ | 183 | go ((path, (size, age_)):chs) = do | ^^^^ Storage/Hashed/Monad.hs:227:15: warning: [-Wunused-matches] Defined but not used: ‘old’ | 227 | local (\old -> dir') act | ^^^ Storage/Hashed/Monad.hs:231:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 231 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Monad.hs:242:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 242 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Monad.hs:246:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 246 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Monad.hs:264:12: warning: [-Wunused-matches] Defined but not used: ‘to'’ | 264 | to' <- expandTo to | ^^^ Storage/Hashed/Monad.hs:269:22: warning: [-Wunused-foralls] Unused quantified type variable ‘e’ In the type ‘forall m a e. (Monad m, Functor m) => (Tree m -> AnchoredPath -> a) -> Tree m -> AnchoredPath -> m a’ | 269 | findM' :: forall m a e. (Monad m, Functor m) | ^ [ 7 of 12] Compiling Storage.Hashed.Utils ( Storage/Hashed/Utils.hs, dist/build/Storage/Hashed/Utils.o ) Storage/Hashed/Utils.hs:7:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 7 | import Prelude hiding ( lookup, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Utils.hs:9:1: warning: [-Wunused-imports] The import of ‘System.IO.MMap’ is redundant except perhaps to import instances from ‘System.IO.MMap’ To import instances alone, use: import System.IO.MMap() | 9 | import System.IO.MMap( mmapFileByteString ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 12] Compiling Storage.Hashed.Plain ( Storage/Hashed/Plain.hs, dist/build/Storage/Hashed/Plain.o ) Storage/Hashed/Plain.hs:17:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString’ is redundant except perhaps to import instances from ‘Data.ByteString’ To import instances alone, use: import Data.ByteString() | 17 | import qualified Data.ByteString as BS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:24:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 24 | import Control.Monad( forM_ ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:29:1: warning: [-Wunused-imports] The import of ‘find, modifyTree’ from module ‘Storage.Hashed.Tree’ is redundant | 29 | import Storage.Hashed.Tree( Tree(), TreeItem(..) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Plain.hs:32:1: warning: [-Wunused-imports] The import of ‘replaceItem, Storage.Hashed.Monad.TreeState(tree)’ from module ‘Storage.Hashed.Monad’ is redundant | 32 | import Storage.Hashed.Monad( TreeIO, runTreeMonad, initialState, tree, replaceItem ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:33:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 33 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:34:1: warning: [-Wunused-imports] The import of ‘gets, modify’ from module ‘Control.Monad.State’ is redundant | 34 | import Control.Monad.State( liftIO, gets, modify ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:75:22: warning: [-Wunused-matches] Defined but not used: ‘dir’ | 75 | plainTreeIO action t dir = runTreeMonad action $ initialState t (\_ -> return NoHash) updatePlain | ^^^ [ 9 of 12] Compiling Storage.Hashed.Packed ( Storage/Hashed/Packed.hs, dist/build/Storage/Hashed/Packed.o ) Storage/Hashed/Packed.hs:97:24: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘t ()’ Suppress this warning by saying ‘_ <- forM bits $ \ (hash, blob) -> do BL.writeFile (loosePath os hash) blob’ | 97 | do forM bits $ \(hash, blob) -> do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Packed.hs:141:22: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘[()]’ Suppress this warning by saying ‘_ <- initHatchery’ | 141 | initHatchery | ^^^^^^^^^^^^ Storage/Hashed/Packed.hs:143:11: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘initHatchery’: Guards do not cover entire pattern space | 143 | where initHatchery | fmt == Loose = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Packed.hs:174:24: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘_lookup’: Patterns not matched: (SHA1 _) _ _ | 174 | _lookup NoHash _ _ = return Nothing | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... [10 of 12] Compiling Storage.Hashed.Index ( Storage/Hashed/Index.hs, dist/build/Storage/Hashed/Index.o ) Storage/Hashed/Index.hs:61:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 61 | import Prelude hiding ( lookup, readFile, writeFile, catch, filter ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Index.hs:84:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString.Lazy’ is redundant except perhaps to import instances from ‘Data.ByteString.Lazy’ To import instances alone, use: import Data.ByteString.Lazy() | 84 | import qualified Data.ByteString.Lazy as BL | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Index.hs:349:8: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘Int’ Suppress this warning by saying ‘_ <- create (SubTree reference) (AnchoredPath []) size_magic’ | 349 | do create (SubTree reference) (AnchoredPath []) size_magic | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [11 of 12] Compiling Storage.Hashed.Darcs ( Storage/Hashed/Darcs.hs, dist/build/Storage/Hashed/Darcs.o ) Storage/Hashed/Darcs.hs:7:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 7 | import Prelude hiding ( lookup, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:23:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 23 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:27:1: warning: [-Wunused-imports] The qualified import of ‘Storage.Hashed.Tree’ is redundant except perhaps to import instances from ‘Storage.Hashed.Tree’ To import instances alone, use: import Storage.Hashed.Tree() | 27 | import qualified Storage.Hashed.Tree as Tree | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:142:11: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘update’: Patterns not matched: (Stub _ _) | 142 | where update (SubTree t) = return . SubTree $ t { treeHash = darcsTreeHash t } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Darcs.hs:147:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: darcsHash :: Monad m => TreeItem m -> m Hash | 147 | darcsHash (SubTree t) = return $ darcsTreeHash t | ^^^^^^^^^ Storage/Hashed/Darcs.hs:147:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘darcsHash’: Patterns not matched: (Stub _ _) | 147 | darcsHash (SubTree t) = return $ darcsTreeHash t | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Darcs.hs:149:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: darcshash :: Monad m => p -> m Hash | 149 | darcshash _ = return NoHash | ^^^^^^^^^ Storage/Hashed/Darcs.hs:190:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: readDarcsHashed :: FilePath -> (Maybe Int, Hash) -> IO (Tree IO) | 190 | readDarcsHashed = readDarcsHashed' False | ^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:191:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: readDarcsHashedNosize :: FilePath -> Hash -> IO (Tree IO) | 191 | readDarcsHashedNosize dir hash = readDarcsHashed' True dir (Nothing, hash) | ^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:203:8: warning: [-Wunused-matches] Defined but not used: ‘os'’ | 203 | os' <- mapM dump $ map fromJust dirs | ^^^ Storage/Hashed/Darcs.hs:233:22: warning: [-Wunused-matches] Defined but not used: ‘path’ | 233 | updateFile path b@(Blob _ !h) = do | ^^^^ Storage/Hashed/Darcs.hs:241:21: warning: [-Wunused-matches] Defined but not used: ‘path’ | 241 | updateSub path s = do | ^^^^ Storage/Hashed/Darcs.hs:305:11: warning: [-Wname-shadowing] This binding for ‘tree’ shadows the existing binding imported from ‘Storage.Hashed.Monad’ at Storage/Hashed/Darcs.hs:32:1-27 (and originally defined at Storage/Hashed/Monad.hs:42:32-35) | 305 | Right tree -> return . Right $ tree | ^^^^ [12 of 12] Compiling Storage.Hashed ( Storage/Hashed.hs, dist/build/Storage/Hashed.o ) ignoring (possibly broken) abi-depends field for packages Preprocessing library for hashed-storage-0.5.11.. Running Haddock on library for hashed-storage-0.5.11.. Bundled/Posix.hsc:16:1: warning: [-Wunused-imports] The import of ‘c_stat’ from module ‘System.Posix.Internals’ is redundant | 16 | import System.Posix.Internals | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Bundled/Posix.hsc:42:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: bsToPath :: BS.ByteString -> (Foreign.C.String.CString -> IO a) -> IO a | 42 | bsToPath = unsafeUseAsCString | ^^^^^^^^ Bundled/Posix.hsc:43:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: strToPath :: String -> (Foreign.C.String.CString -> IO a) -> IO a | 43 | strToPath = withCString | ^^^^^^^^^ Storage/Hashed/Tree.hs:32:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 32 | import Prelude hiding( lookup, filter, all, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:43:1: warning: [-Wunused-imports] The import of ‘liftM’ from module ‘Control.Monad’ is redundant | 43 | import Control.Monad( filterM, liftM ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:202:27: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:197:28 | 202 | Just sub -> do | ^^^ Storage/Hashed/Tree.hs:207:39: warning: [-Wunused-matches] Defined but not used: ‘s’ | 207 | badBlob (_, f@(File (Blob s h))) = | ^ Storage/Hashed/Tree.hs:237:23: warning: [-Wunused-local-binds] Defined but not used: ‘subs’ | 237 | let subs = (catMaybes [ (,) name `fmap` wibble path name item | ^^^^ Storage/Hashed/Tree.hs:362:50: warning: [-Wtype-defaults] • Defaulting the following constraint to type ‘Integer’ Num t0 arising from a use of ‘countmap’ • In the first argument of ‘seq’, namely ‘countmap items'’ In the ‘items’ field of a record In the expression: t {items = countmap items' `seq` items', treeHash = if unmod then treeHash t else NoHash} | 362 | where fix t unmod items' = (unmod, t { items = countmap items' `seq` items' | ^^^^^^^^^^^^^^^ Storage/Hashed/Tree.hs:383:46: warning: [-Wname-shadowing] This binding for ‘mod’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Real’) | 383 | Just (SubTree s) -> let (mod, sub) = subtree s in (mod, SubTree sub) | ^^^ Storage/Hashed/Tree.hs:383:51: warning: [-Wname-shadowing] This binding for ‘sub’ shadows the existing binding bound at Storage/Hashed/Tree.hs:380:20 | 383 | Just (SubTree s) -> let (mod, sub) = subtree s in (mod, SubTree sub) | ^^^ Storage/Hashed/Tree.hs:396:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: countmap :: Num a1 => M.Map k a2 -> a1 | 396 | countmap = M.fold (\_ i -> i + 1) 0 | ^^^^^^^^ Storage/Hashed/Tree.hs:396:12: warning: [-Wdeprecations] In the use of ‘fold’ (imported from Data.Map): Deprecated: "As of version 0.5, replaced by 'foldr'." | 396 | countmap = M.fold (\_ i -> i + 1) 0 | ^^^^^^ Storage/Hashed/Tree.hs:413:25: warning: [-Wname-shadowing] This binding for ‘pred’ shadows the existing binding imported from ‘Prelude’ at Storage/Hashed/Tree.hs:32:1-51 (and originally defined in ‘GHC.Enum’) | 413 | partiallyUpdateTree fun pred t' = go (AnchoredPath []) t' | ^^^^ Storage/Hashed/Tree.hs:416:19: warning: [-Wname-shadowing] This binding for ‘t'’ shadows the existing binding bound at Storage/Hashed/Tree.hs:413:30 | 416 | SubTree t' <- fun . SubTree $ t { items = items' | ^^ Storage/Hashed/Monad.hs:25:1: warning: [-Wunused-imports] The import of ‘Storage.Hashed.Hash’ is redundant except perhaps to import instances from ‘Storage.Hashed.Hash’ To import instances alone, use: import Storage.Hashed.Hash() | 25 | import Storage.Hashed.Hash | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:35:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 35 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:91:12: warning: [-Wunused-matches] Defined but not used: ‘current’ | 91 | flush = do current <- get | ^^^^^^^ Storage/Hashed/Monad.hs:93:72: warning: [-Wunused-matches] Defined but not used: ‘s’ | 93 | dirs' <- gets tree >>= \t -> return [ path | (path, SubTree s) <- list t ] | ^ Storage/Hashed/Monad.hs:142:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: renameChanged :: MonadState (TreeState m1) m2 => AnchoredPath -> AnchoredPath -> m2 () | 142 | renameChanged from to = modify $ \st -> st { changed = rename' $ changed st } | ^^^^^^^^^^^^^ Storage/Hashed/Monad.hs:146:32: warning: [-Wname-shadowing] This binding for ‘from’ shadows the existing binding bound at Storage/Hashed/Monad.hs:142:15 | 146 | relative (AnchoredPath from) (AnchoredPath x) = AnchoredPath $ drop (length from) x | ^^^^ Storage/Hashed/Monad.hs:159:21: warning: [-Wunused-foralls] Unused quantified type variable ‘e’ In the type ‘forall e m. (Monad m, Functor m) => AnchoredPath -> TreeMonad m ()’ | 159 | flushItem :: forall e m. (Monad m, Functor m) => AnchoredPath -> TreeMonad m () | ^ Storage/Hashed/Monad.hs:183:27: warning: [-Wunused-matches] Defined but not used: ‘age_’ | 183 | go ((path, (size, age_)):chs) = do | ^^^^ Storage/Hashed/Monad.hs:227:15: warning: [-Wunused-matches] Defined but not used: ‘old’ | 227 | local (\old -> dir') act | ^^^ Storage/Hashed/Monad.hs:264:12: warning: [-Wunused-matches] Defined but not used: ‘to'’ | 264 | to' <- expandTo to | ^^^ Storage/Hashed/Monad.hs:269:22: warning: [-Wunused-foralls] Unused quantified type variable ‘e’ In the type ‘forall m a e. (Monad m, Functor m) => (Tree m -> AnchoredPath -> a) -> Tree m -> AnchoredPath -> m a’ | 269 | findM' :: forall m a e. (Monad m, Functor m) | ^ Storage/Hashed/Monad.hs:231:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 231 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Monad.hs:242:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 242 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Monad.hs:246:12: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘AnchoredPath’ Suppress this warning by saying ‘_ <- expandTo p’ | 246 | do expandTo p | ^^^^^^^^^^ Storage/Hashed/Utils.hs:7:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 7 | import Prelude hiding ( lookup, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Utils.hs:9:1: warning: [-Wunused-imports] The import of ‘System.IO.MMap’ is redundant except perhaps to import instances from ‘System.IO.MMap’ To import instances alone, use: import System.IO.MMap() | 9 | import System.IO.MMap( mmapFileByteString ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:17:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString’ is redundant except perhaps to import instances from ‘Data.ByteString’ To import instances alone, use: import Data.ByteString() | 17 | import qualified Data.ByteString as BS | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:24:1: warning: [-Wunused-imports] The import of ‘Control.Monad’ is redundant except perhaps to import instances from ‘Control.Monad’ To import instances alone, use: import Control.Monad() | 24 | import Control.Monad( forM_ ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:29:1: warning: [-Wunused-imports] The import of ‘find, modifyTree’ from module ‘Storage.Hashed.Tree’ is redundant | 29 | import Storage.Hashed.Tree( Tree(), TreeItem(..) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Plain.hs:32:1: warning: [-Wunused-imports] The import of ‘replaceItem, Storage.Hashed.Monad.TreeState(tree)’ from module ‘Storage.Hashed.Monad’ is redundant | 32 | import Storage.Hashed.Monad( TreeIO, runTreeMonad, initialState, tree, replaceItem ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:33:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 33 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:34:1: warning: [-Wunused-imports] The import of ‘gets, modify’ from module ‘Control.Monad.State’ is redundant | 34 | import Control.Monad.State( liftIO, gets, modify ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Plain.hs:75:22: warning: [-Wunused-matches] Defined but not used: ‘dir’ | 75 | plainTreeIO action t dir = runTreeMonad action $ initialState t (\_ -> return NoHash) updatePlain | ^^^ Storage/Hashed/Packed.hs:97:24: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘t ()’ Suppress this warning by saying ‘_ <- forM bits $ \ (hash, blob) -> do BL.writeFile (loosePath os hash) blob’ | 97 | do forM bits $ \(hash, blob) -> do | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Storage/Hashed/Packed.hs:141:22: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘[()]’ Suppress this warning by saying ‘_ <- initHatchery’ | 141 | initHatchery | ^^^^^^^^^^^^ Storage/Hashed/Index.hs:61:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 61 | import Prelude hiding ( lookup, readFile, writeFile, catch, filter ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Index.hs:84:1: warning: [-Wunused-imports] The qualified import of ‘Data.ByteString.Lazy’ is redundant except perhaps to import instances from ‘Data.ByteString.Lazy’ To import instances alone, use: import Data.ByteString.Lazy() | 84 | import qualified Data.ByteString.Lazy as BL | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Index.hs:349:8: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘Int’ Suppress this warning by saying ‘_ <- create (SubTree reference) (AnchoredPath []) size_magic’ | 349 | do create (SubTree reference) (AnchoredPath []) size_magic | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:7:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ | 7 | import Prelude hiding ( lookup, catch ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:23:1: warning: [-Wunused-imports] The qualified import of ‘Data.Set’ is redundant except perhaps to import instances from ‘Data.Set’ To import instances alone, use: import Data.Set() | 23 | import qualified Data.Set as S | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:27:1: warning: [-Wunused-imports] The qualified import of ‘Storage.Hashed.Tree’ is redundant except perhaps to import instances from ‘Storage.Hashed.Tree’ To import instances alone, use: import Storage.Hashed.Tree() | 27 | import qualified Storage.Hashed.Tree as Tree | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:147:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: darcsHash :: Monad m => TreeItem m -> m Hash | 147 | darcsHash (SubTree t) = return $ darcsTreeHash t | ^^^^^^^^^ Storage/Hashed/Darcs.hs:149:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: darcshash :: Monad m => p -> m Hash | 149 | darcshash _ = return NoHash | ^^^^^^^^^ Storage/Hashed/Darcs.hs:190:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: readDarcsHashed :: FilePath -> (Maybe Int, Hash) -> IO (Tree IO) | 190 | readDarcsHashed = readDarcsHashed' False | ^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:191:1: warning: [-Wmissing-signatures] Top-level binding with no type signature: readDarcsHashedNosize :: FilePath -> Hash -> IO (Tree IO) | 191 | readDarcsHashedNosize dir hash = readDarcsHashed' True dir (Nothing, hash) | ^^^^^^^^^^^^^^^^^^^^^ Storage/Hashed/Darcs.hs:203:8: warning: [-Wunused-matches] Defined but not used: ‘os'’ | 203 | os' <- mapM dump $ map fromJust dirs | ^^^ Storage/Hashed/Darcs.hs:233:22: warning: [-Wunused-matches] Defined but not used: ‘path’ | 233 | updateFile path b@(Blob _ !h) = do | ^^^^ Storage/Hashed/Darcs.hs:241:21: warning: [-Wunused-matches] Defined but not used: ‘path’ | 241 | updateSub path s = do | ^^^^ Storage/Hashed/Darcs.hs:305:11: warning: [-Wname-shadowing] This binding for ‘tree’ shadows the existing binding imported from ‘Storage.Hashed.Monad’ at Storage/Hashed/Darcs.hs:32:1-27 (and originally defined at Storage/Hashed/Monad.hs:42:32-35) | 305 | Right tree -> return . Right $ tree | ^^^^ Haddock coverage: 73% ( 11 / 15) in 'Storage.Hashed.AnchoredPath' Missing documentation for: Name (Storage/Hashed/AnchoredPath.hs:18) anchoredRoot (Storage/Hashed/AnchoredPath.hs:90) flatten (Storage/Hashed/AnchoredPath.hs:66) makeName (Storage/Hashed/AnchoredPath.hs:71) 44% ( 4 / 9) in 'Storage.Hashed.Hash' Missing documentation for: Module header Hash (Storage/Hashed/Hash.hs:20) encodeBase64u (Storage/Hashed/Hash.hs:39) rawHash (Storage/Hashed/Hash.hs:72) match (Storage/Hashed/Hash.hs:77) 60% ( 27 / 45) in 'Storage.Hashed.Tree' Missing documentation for: Blob (Storage/Hashed/Tree.hs:50) TreeItem (Storage/Hashed/Tree.hs:51) ItemType (Storage/Hashed/Tree.hs:55) Hash (Storage/Hashed/Hash.hs:20) makeTree (Storage/Hashed/Tree.hs:104) makeTreeWithHash (Storage/Hashed/Tree.hs:108) emptyTree (Storage/Hashed/Tree.hs:91) emptyBlob (Storage/Hashed/Tree.hs:95) makeBlob (Storage/Hashed/Tree.hs:98) makeBlobBS (Storage/Hashed/Tree.hs:101) expandUpdate (Storage/Hashed/Tree.hs:154) items (Storage/Hashed/Tree.hs:71) listImmediate (Storage/Hashed/Tree.hs:77) itemType (Storage/Hashed/Tree.hs:86) zipTrees (Storage/Hashed/Tree.hs:288) FilterTree (Storage/Hashed/Tree.hs:227) updateSubtrees (Storage/Hashed/Tree.hs:398) addMissingHashes (Storage/Hashed/Tree.hs:446) 38% ( 10 / 26) in 'Storage.Hashed.Monad' Missing documentation for: virtualTreeIO (Storage/Hashed/Monad.hs:118) createDirectory (Storage/Hashed/Monad.hs:76) rename (Storage/Hashed/Monad.hs:78) copy (Storage/Hashed/Monad.hs:79) unlink (Storage/Hashed/Monad.hs:77) withDirectory (Storage/Hashed/Monad.hs:61) currentDirectory (Storage/Hashed/Monad.hs:60) tree (Storage/Hashed/Monad.hs:42) TreeIO (Storage/Hashed/Monad.hs:57) runTreeMonad (Storage/Hashed/Monad.hs:102) initialState (Storage/Hashed/Monad.hs:81) findM (Storage/Hashed/Monad.hs:275) findFileM (Storage/Hashed/Monad.hs:281) findTreeM (Storage/Hashed/Monad.hs:278) TreeRO (Storage/Hashed/Monad.hs:59) TreeRW (Storage/Hashed/Monad.hs:72) 75% ( 3 / 4) in 'Storage.Hashed.Plain' Missing documentation for: readPlainTree (Storage/Hashed/Plain.hs:44) 57% ( 12 / 21) in 'Storage.Hashed.Packed' Missing documentation for: lookup (Storage/Hashed/Packed.hs:129) load (Storage/Hashed/Packed.hs:151) format (Storage/Hashed/Packed.hs:70) blockLookup (Storage/Hashed/Packed.hs:68) hatchery (Storage/Hashed/Packed.hs:76) mature (Storage/Hashed/Packed.hs:77) roots (Storage/Hashed/Packed.hs:78) references (Storage/Hashed/Packed.hs:79) rootdir (Storage/Hashed/Packed.hs:80) 71% ( 5 / 7) in 'Storage.Hashed.Index' Missing documentation for: updateIndex (Storage/Hashed/Index.hs:315) Index (Storage/Hashed/Index.hs:235) 41% ( 11 / 27) in 'Storage.Hashed.Darcs' Missing documentation for: darcsEncodeWhiteBS (Storage/Hashed/Darcs.hs:65) decodeDarcsHash (Storage/Hashed/Darcs.hs:68) decodeDarcsSize (Storage/Hashed/Darcs.hs:73) darcsLocation (Storage/Hashed/Darcs.hs:81) darcsFormatDir (Storage/Hashed/Darcs.hs:94) darcsParseDir (Storage/Hashed/Darcs.hs:110) darcsUpdateDirHashes (Storage/Hashed/Darcs.hs:136) darcsUpdateHashes (Storage/Hashed/Darcs.hs:140) darcsHash (Storage/Hashed/Darcs.hs:147) darcshash (Storage/Hashed/Darcs.hs:149) darcsAddMissingHashes (Storage/Hashed/Darcs.hs:151) readDarcsHashed (Storage/Hashed/Darcs.hs:190) readDarcsHashedNosize (Storage/Hashed/Darcs.hs:191) storePackedDarcsPristine (Storage/Hashed/Darcs.hs:284) darcsPristineRefs (Storage/Hashed/Darcs.hs:292) darcsCheckExpand (Storage/Hashed/Darcs.hs:299) 79% ( 11 / 14) in 'Storage.Hashed' Missing documentation for: Module header readPlainTree (Storage/Hashed/Plain.hs:44) readDarcsHashed (Storage/Hashed/Darcs.hs:190) Documentation created: dist/doc/html/hashed-storage/index.html -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> hs-hashed-storage-0.5.11_6 depends on executable: ghc - found ===> hs-hashed-storage-0.5.11_6 depends on package: ghc>=8.4.3 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-dataenc>=0 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-extensible-exceptions>=0 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mmap>=0.5 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-mtl>=0 - found ===> hs-hashed-storage-0.5.11_6 depends on package: hs-zlib>=0 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for hs-hashed-storage-0.5.11_6 ===> Generating temporary packing list Installing library in /construction/devel/hs-hashed-storage/stage/usr/local/lib/cabal/ghc-8.4.3/hashed-storage-0.5.11 ================ CONTENTS OF TMPPLIST =================== /usr/local/share/licenses/hs-hashed-storage-0.5.11_6/catalog.mk /usr/local/share/licenses/hs-hashed-storage-0.5.11_6/LICENSE /usr/local/share/licenses/hs-hashed-storage-0.5.11_6/BSD3CLAUSE lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Bundled/Posix.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Bundled/Posix.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Bundled/SHA256.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Bundled/SHA256.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/AnchoredPath.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/AnchoredPath.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Darcs.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Darcs.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Hash.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Hash.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Index.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Index.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Monad.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Monad.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Packed.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Packed.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Plain.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Plain.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Tree.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Tree.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Utils.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed/Utils.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed.dyn_hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/Storage/Hashed.hi lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/libHShashed-storage-0.5.11-CXcyaU75x2P3fIPG29toT1.a lib/cabal/ghc-8.4.3/hashed-storage-0.5.11/register.sh lib/cabal/ghc-8.4.3/x86_64-dragonfly-ghc-8.4.3/libHShashed-storage-0.5.11-CXcyaU75x2P3fIPG29toT1-ghc8.4.3.so share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/LICENSE share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-AnchoredPath.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Darcs.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Hash.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Index.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Monad.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Packed.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Plain.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed-Tree.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/Storage-Hashed.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/doc-index.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/haddock-bundle.min.js share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/hashed-storage.haddock share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/hslogo-16.png share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/index.html share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/meta.json share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/minus.gif share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/ocean.css share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/plus.gif share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/quick-jump.css share/doc/cabal/ghc-8.4.3/hashed-storage-0.5.11/html/synopsis.png ========================================================= ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for hs-hashed-storage-0.5.11_6 file sizes/checksums [51]: . done packing files [51]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 JUL 2018 at 05:20:05 UTC Duration: 00:01:47