Resolving dependencies... Downloading foundation-0.0.1... cabal: Entering directory '/tmp/cabal-tmp-9259/foundation-0.0.1' Configuring foundation-0.0.1... Building foundation-0.0.1... Preprocessing library foundation-0.0.1... [ 1 of 61] Compiling Foundation.Internal.PrimTypes ( Foundation/Internal/PrimTypes.hs, dist/build/Foundation/Internal/PrimTypes.o ) [ 2 of 61] Compiling Foundation.Internal.Identity ( Foundation/Internal/Identity.hs, dist/build/Foundation/Internal/Identity.o ) [ 3 of 61] Compiling Foundation.Internal.Primitive ( Foundation/Internal/Primitive.hs, dist/build/Foundation/Internal/Primitive.o ) [ 4 of 61] Compiling Foundation.String.Internal ( Foundation/String/Internal.hs, dist/build/Foundation/String/Internal.o ) [ 5 of 61] Compiling Foundation.Strict ( Foundation/Strict.hs, dist/build/Foundation/Strict.o ) [ 6 of 61] Compiling Foundation.Internal.Proxy ( Foundation/Internal/Proxy.hs, dist/build/Foundation/Internal/Proxy.o ) [ 7 of 61] Compiling Foundation.Internal.IsList ( Foundation/Internal/IsList.hs, dist/build/Foundation/Internal/IsList.o ) [ 8 of 61] Compiling Foundation.Internal.Base ( Foundation/Internal/Base.hs, dist/build/Foundation/Internal/Base.o ) [ 9 of 61] Compiling Foundation.Number ( Foundation/Number.hs, dist/build/Foundation/Number.o ) [10 of 61] Compiling Foundation.Partial ( Foundation/Partial.hs, dist/build/Foundation/Partial.o ) [11 of 61] Compiling Foundation.Array.Common ( Foundation/Array/Common.hs, dist/build/Foundation/Array/Common.o ) [12 of 61] Compiling Foundation.Convertible ( Foundation/Convertible.hs, dist/build/Foundation/Convertible.o ) [13 of 61] Compiling Foundation.Internal.Types ( Foundation/Internal/Types.hs, dist/build/Foundation/Internal/Types.o ) [14 of 61] Compiling Foundation.VFS.Path ( Foundation/VFS/Path.hs, dist/build/Foundation/VFS/Path.o ) [15 of 61] Compiling Foundation.VFS.URI ( Foundation/VFS/URI.hs, dist/build/Foundation/VFS/URI.o ) [16 of 61] Compiling Foundation.Collection.Keyed ( Foundation/Collection/Keyed.hs, dist/build/Foundation/Collection/Keyed.o ) [17 of 61] Compiling Foundation.Primitive.Monad ( Foundation/Primitive/Monad.hs, dist/build/Foundation/Primitive/Monad.o ) [18 of 61] Compiling Foundation.Primitive.FinalPtr ( Foundation/Primitive/FinalPtr.hs, dist/build/Foundation/Primitive/FinalPtr.o ) [19 of 61] Compiling Foundation.Primitive.Types ( Foundation/Primitive/Types.hs, dist/build/Foundation/Primitive/Types.o ) [20 of 61] Compiling Foundation.Array.Unboxed.Mutable ( Foundation/Array/Unboxed/Mutable.hs, dist/build/Foundation/Array/Unboxed/Mutable.o ) Foundation/Array/Unboxed/Mutable.hs:156:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: mutableForeignMem :: (PrimMonad prim, PrimType ty) => FinalPtr ty -> Int -> prim (MUArray ty (PrimState prim)) Foundation/Array/Unboxed/Mutable.hs:210:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: mutableLength :: PrimType ty => MUArray ty st -> Int [21 of 61] Compiling Foundation.Primitive ( Foundation/Primitive.hs, dist/build/Foundation/Primitive.o ) [22 of 61] Compiling Foundation.String.UTF8Table ( Foundation/String/UTF8Table.hs, dist/build/Foundation/String/UTF8Table.o ) [23 of 61] Compiling Foundation.Collection.List ( Foundation/Collection/List.hs, dist/build/Foundation/Collection/List.o ) [24 of 61] Compiling Foundation.Internal.MonadTrans ( Foundation/Internal/MonadTrans.hs, dist/build/Foundation/Internal/MonadTrans.o ) [25 of 61] Compiling Foundation.Primitive.Utils ( Foundation/Primitive/Utils.hs, dist/build/Foundation/Primitive/Utils.o ) [26 of 61] Compiling Foundation.Array.Unboxed ( Foundation/Array/Unboxed.hs, dist/build/Foundation/Array/Unboxed.o ) Foundation/Array/Unboxed.hs:185:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: foreignMem :: PrimType ty => FinalPtr ty -> Int -> UArray ty Foundation/Array/Unboxed.hs:191:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: fromForeignPtr :: PrimType ty => (ForeignPtr ty, Int, Int) -> UArray ty Foundation/Array/Unboxed.hs:201:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: lengthSize :: PrimType ty => UArray ty -> Size ty Foundation/Array/Unboxed.hs:267:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: unsafeFreezeShrink :: (PrimType ty, PrimMonad prim) => MUArray ty (PrimState prim) -> Size ty -> prim (UArray ty) Foundation/Array/Unboxed.hs:296:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: unsafeThaw :: (PrimType ty, PrimMonad prim) => UArray ty -> prim (MUArray ty (PrimState prim)) Foundation/Array/Unboxed.hs:370:1: warning: [-Wredundant-constraints] • Redundant constraint: Eq ty • In the type signature for: equal :: (PrimType ty, Eq ty) => UArray ty -> UArray ty -> Bool Foundation/Array/Unboxed.hs:661:11: warning: [-Winline-rule-shadowing] Rule "break (== ty)" may never fire because rule "Class op ==" for ‘==’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Foundation/Array/Unboxed.hs:662:11: warning: [-Winline-rule-shadowing] Rule "break (ty ==)" may never fire because rule "Class op ==" for ‘==’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Foundation/Array/Unboxed.hs:663:11: warning: [-Winline-rule-shadowing] Rule "break (== ty)" may never fire because rule "Class op ==" for ‘==’ might fire first Probable fix: add phase [n] or [~n] to the competing rule [27 of 61] Compiling Foundation.Array.Internal ( Foundation/Array/Internal.hs, dist/build/Foundation/Array/Internal.o ) [28 of 61] Compiling Foundation.Foreign ( Foundation/Foreign.hs, dist/build/Foundation/Foreign.o ) [29 of 61] Compiling Foundation.Collection.Element ( Foundation/Collection/Element.hs, dist/build/Foundation/Collection/Element.o ) [30 of 61] Compiling Foundation.Collection.Foldable ( Foundation/Collection/Foldable.hs, dist/build/Foundation/Collection/Foldable.o ) [31 of 61] Compiling Foundation.Collection.Indexed ( Foundation/Collection/Indexed.hs, dist/build/Foundation/Collection/Indexed.o ) [32 of 61] Compiling Foundation.Collection.InnerFunctor ( Foundation/Collection/InnerFunctor.hs, dist/build/Foundation/Collection/InnerFunctor.o ) Foundation/Collection/InnerFunctor.hs:12:13: warning: [-Wredundant-constraints] • Redundant constraints: (Element (f a) ~ a, f a ~ c) • In the type signature for: imap :: (Functor f, Element (f a) ~ a, f a ~ c) => (a -> a) -> f a -> f a [33 of 61] Compiling Foundation.Collection.Mutable ( Foundation/Collection/Mutable.hs, dist/build/Foundation/Collection/Mutable.o ) [34 of 61] Compiling Foundation.Collection.Sequential ( Foundation/Collection/Sequential.hs, dist/build/Foundation/Collection/Sequential.o ) [35 of 61] Compiling Foundation.Array.Unboxed.Builder ( Foundation/Array/Unboxed/Builder.hs, dist/build/Foundation/Array/Unboxed/Builder.o ) Foundation/Array/Unboxed/Builder.hs:33:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: appendTy :: (PrimMonad st, PrimType ty, Monad st) => ty -> ArrayBuilder ty st () [36 of 61] Compiling Foundation.Collection.Zippable ( Foundation/Collection/Zippable.hs, dist/build/Foundation/Collection/Zippable.o ) [37 of 61] Compiling Foundation.Collection ( Foundation/Collection.hs, dist/build/Foundation/Collection.o ) [38 of 61] Compiling Foundation.Array.Boxed ( Foundation/Array/Boxed.hs, dist/build/Foundation/Array/Boxed.o ) [39 of 61] Compiling Foundation.Array.Bitmap ( Foundation/Array/Bitmap.hs, dist/build/Foundation/Array/Bitmap.o ) [40 of 61] Compiling Foundation.Array.Unboxed.ByteArray ( Foundation/Array/Unboxed/ByteArray.hs, dist/build/Foundation/Array/Unboxed/ByteArray.o ) [41 of 61] Compiling Foundation.String.ModifiedUTF8 ( Foundation/String/ModifiedUTF8.hs, dist/build/Foundation/String/ModifiedUTF8.o ) [42 of 61] Compiling Foundation.String.Encoding.Encoding ( Foundation/String/Encoding/Encoding.hs, dist/build/Foundation/String/Encoding/Encoding.o ) Foundation/String/Encoding/Encoding.hs:59:5: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: encodingWrite :: (Encoding encoding, PrimMonad st, Monad st) => encoding -> Char -> ArrayBuilder (Unit encoding) st () In the ambiguity check for ‘encodingWrite’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: encodingWrite :: forall encoding. Encoding encoding => forall (st :: * -> *). (PrimMonad st, Monad st) => encoding -> Char -> ArrayBuilder (Unit encoding) st () Foundation/String/Encoding/Encoding.hs:80:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: convertFromTo :: (PrimMonad st, Monad st, Encoding input, PrimType (Unit input), Exception (Error input), Encoding output, PrimType (Unit output)) => input -> output -> UArray (Unit input) -> st (UArray (Unit output)) [43 of 61] Compiling Foundation.String.Encoding.ASCII7 ( Foundation/String/Encoding/ASCII7.hs, dist/build/Foundation/String/Encoding/ASCII7.o ) Foundation/String/Encoding/ASCII7.hs:76:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () [44 of 61] Compiling Foundation.String.Encoding.UTF16 ( Foundation/String/Encoding/UTF16.hs, dist/build/Foundation/String/Encoding/UTF16.o ) Foundation/String/Encoding/UTF16.hs:76:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word16 st () [45 of 61] Compiling Foundation.String.Encoding.UTF32 ( Foundation/String/Encoding/UTF32.hs, dist/build/Foundation/String/Encoding/UTF32.o ) Foundation/String/Encoding/UTF32.hs:46:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word32 st () [46 of 61] Compiling Foundation.String.Encoding.ISO_8859_1 ( Foundation/String/Encoding/ISO_8859_1.hs, dist/build/Foundation/String/Encoding/ISO_8859_1.o ) Foundation/String/Encoding/ISO_8859_1.hs:54:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () [47 of 61] Compiling Foundation.String.UTF8 ( Foundation/String/UTF8.hs, dist/build/Foundation/String/UTF8.o ) Foundation/String/UTF8.hs:286:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: writeWithBuilder :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () Foundation/String/UTF8.hs:576:11: warning: [-Winline-rule-shadowing] Rule "break (== 'c')" may never fire because rule "Class op ==" for ‘==’ might fire first Probable fix: add phase [n] or [~n] to the competing rule Foundation/String/UTF8.hs:941:1: warning: [-Wredundant-constraints] • Redundant constraint: Exception (Encoder.Error encoding) • In the type signature for: toEncoderBytes :: (Encoder.Encoding encoding, PrimType (Encoder.Unit encoding), Exception (Encoder.Error encoding)) => encoding -> UArray Word8 -> UArray Word8 [48 of 61] Compiling Foundation.Array ( Foundation/Array.hs, dist/build/Foundation/Array.o ) [49 of 61] Compiling Foundation.String ( Foundation/String.hs, dist/build/Foundation/String.o ) [50 of 61] Compiling Foundation.IO.Terminal ( Foundation/IO/Terminal.hs, dist/build/Foundation/IO/Terminal.o ) [51 of 61] Compiling Foundation.VFS.FilePath ( Foundation/VFS/FilePath.hs, dist/build/Foundation/VFS/FilePath.o ) [52 of 61] Compiling Foundation.VFS ( Foundation/VFS.hs, dist/build/Foundation/VFS.o ) [53 of 61] Compiling Foundation.IO.File ( Foundation/IO/File.hs, dist/build/Foundation/IO/File.o ) [54 of 61] Compiling Foundation.IO ( Foundation/IO.hs, dist/build/Foundation/IO.o ) [55 of 61] Compiling Foundation.Foreign.MemoryMap.Types ( Foundation/Foreign/MemoryMap/Types.hs, dist/build/Foundation/Foreign/MemoryMap/Types.o ) [56 of 61] Compiling Foundation.Foreign.MemoryMap.Posix ( dist/build/Foundation/Foreign/MemoryMap/Posix.hs, dist/build/Foundation/Foreign/MemoryMap/Posix.o ) [57 of 61] Compiling Foundation.Foreign.MemoryMap ( Foundation/Foreign/MemoryMap.hs, dist/build/Foundation/Foreign/MemoryMap.o ) [58 of 61] Compiling Foundation.IO.FileMap ( Foundation/IO/FileMap.hs, dist/build/Foundation/IO/FileMap.o ) [59 of 61] Compiling Foundation.System.Info ( Foundation/System/Info.hs, dist/build/Foundation/System/Info.o ) [60 of 61] Compiling Foundation.Tuple ( Foundation/Tuple.hs, dist/build/Foundation/Tuple.o ) [61 of 61] Compiling Foundation ( Foundation.hs, dist/build/Foundation.o ) Foundation.hs:166:1: warning: [-Wunused-imports] The import of ‘System.IO.Error’ is redundant except perhaps to import instances from ‘System.IO.Error’ To import instances alone, use: import System.IO.Error() Running Haddock for foundation-0.0.1... Running hscolour for foundation-0.0.1... Preprocessing library foundation-0.0.1... Preprocessing library foundation-0.0.1... Foundation/Array/Unboxed/Mutable.hs:156:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: mutableForeignMem :: (PrimMonad prim, PrimType ty) => FinalPtr ty -> Int -> prim (MUArray ty (PrimState prim)) Foundation/Array/Unboxed/Mutable.hs:210:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: mutableLength :: PrimType ty => MUArray ty st -> Int Foundation/Array/Unboxed.hs:185:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: foreignMem :: PrimType ty => FinalPtr ty -> Int -> UArray ty Foundation/Array/Unboxed.hs:191:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: fromForeignPtr :: PrimType ty => (ForeignPtr ty, Int, Int) -> UArray ty Foundation/Array/Unboxed.hs:201:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: lengthSize :: PrimType ty => UArray ty -> Size ty Foundation/Array/Unboxed.hs:267:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: unsafeFreezeShrink :: (PrimType ty, PrimMonad prim) => MUArray ty (PrimState prim) -> Size ty -> prim (UArray ty) Foundation/Array/Unboxed.hs:296:1: warning: [-Wredundant-constraints] • Redundant constraint: PrimType ty • In the type signature for: unsafeThaw :: (PrimType ty, PrimMonad prim) => UArray ty -> prim (MUArray ty (PrimState prim)) Foundation/Array/Unboxed.hs:370:1: warning: [-Wredundant-constraints] • Redundant constraint: Eq ty • In the type signature for: equal :: (PrimType ty, Eq ty) => UArray ty -> UArray ty -> Bool Foundation/Collection/InnerFunctor.hs:12:13: warning: [-Wredundant-constraints] • Redundant constraints: (Element (f a) ~ a, f a ~ c) • In the type signature for: imap :: (Functor f, Element (f a) ~ a, f a ~ c) => (a -> a) -> f a -> f a Foundation/Array/Unboxed/Builder.hs:33:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: appendTy :: (PrimMonad st, PrimType ty, Monad st) => ty -> ArrayBuilder ty st () Haddock coverage: 100% ( 4 / 4) in 'Foundation.Internal.PrimTypes' 100% ( 2 / 2) in 'Foundation.Internal.Identity' 57% ( 8 / 14) in 'Foundation.Internal.Primitive' Missing documentation for: pinned (Foundation/Internal/Primitive.hs:44) unpinned (Foundation/Internal/Primitive.hs:47) isPinned (Foundation/Internal/Primitive.hs:40) compatGetSizeofMutableByteArray# (Foundation/Internal/Primitive.hs:112) compatShrinkMutableByteArray# (Foundation/Internal/Primitive.hs:120) compatResizeMutableByteArray# (Foundation/Internal/Primitive.hs:133) 100% ( 1 / 1) in 'Foundation.String.Internal' 14% ( 1 / 7) in 'Foundation.Strict' Missing documentation for: strict1 (Foundation/Strict.hs:20) strict2 (Foundation/Strict.hs:23) strict3 (Foundation/Strict.hs:26) strict4 (Foundation/Strict.hs:29) strict5 (Foundation/Strict.hs:32) strict6 (Foundation/Strict.hs:35) 100% ( 3 / 3) in 'Foundation.Internal.Proxy' 100% ( 2 / 2) in 'Foundation.Internal.IsList' 96% ( 54 / 56) in 'Foundation.Internal.Base' Missing documentation for: Ordering Bool 100% ( 9 / 9) in 'Foundation.Number' 80% ( 8 / 10) in 'Foundation.Partial' Missing documentation for: fromLeft (Foundation/Partial.hs:76) fromRight (Foundation/Partial.hs:69) 50% ( 3 / 6) in 'Foundation.Array.Common' Missing documentation for: InvalidRecast (Foundation/Array/Common.hs:43) RecastSourceSize (Foundation/Array/Common.hs:38) RecastDestinationSize (Foundation/Array/Common.hs:40) 100% ( 2 / 2) in 'Foundation.Convertible' 50% ( 6 / 12) in 'Foundation.Internal.Types' Missing documentation for: offsetOfE (Foundation/Internal/Types.hs:55) offsetPlusE (Foundation/Internal/Types.hs:58) offsetMinusE (Foundation/Internal/Types.hs:61) offsetRecast (Foundation/Internal/Types.hs:64) +. (Foundation/Internal/Types.hs:52) sizeOfE (Foundation/Internal/Types.hs:86) 100% ( 7 / 7) in 'Foundation.VFS.Path' 29% ( 2 / 7) in 'Foundation.VFS.URI' Missing documentation for: URISchema (Foundation/VFS/URI.hs:27) URIAuthority (Foundation/VFS/URI.hs:28) URIQuery (Foundation/VFS/URI.hs:29) URIFragment (Foundation/VFS/URI.hs:30) URIPath (Foundation/VFS/URI.hs:31) 100% ( 2 / 2) in 'Foundation.Collection.Keyed' 100% ( 8 / 8) in 'Foundation.Primitive.Monad' 89% ( 8 / 9) in 'Foundation.Primitive.FinalPtr' Missing documentation for: withFinalPtrNoTouch (Foundation/Primitive/FinalPtr.hs:64) 43% ( 3 / 7) in 'Foundation.Primitive.Types' Missing documentation for: primOffsetOfE (Foundation/Primitive/Types.hs:270) primOffsetRecast (Foundation/Primitive/Types.hs:261) offsetAsSize (Foundation/Primitive/Types.hs:279) sizeAsOffset (Foundation/Primitive/Types.hs:275) 76% ( 13 / 17) in 'Foundation.Array.Unboxed.Mutable' Missing documentation for: sizeInMutableBytesOfContent (Foundation/Array/Unboxed/Mutable.hs:64) mutableSame (Foundation/Array/Unboxed/Mutable.hs:142) newNative (Foundation/Array/Unboxed/Mutable.hs:149) mutableForeignMem (Foundation/Array/Unboxed/Mutable.hs:156) 100% ( 3 / 3) in 'Foundation.Primitive' 100% ( 5 / 5) in 'Foundation.String.UTF8Table' 29% ( 2 / 7) in 'Foundation.Collection.List' Missing documentation for: revTake (Foundation/Collection/List.hs:33) revDrop (Foundation/Collection/List.hs:38) revSplitAt (Foundation/Collection/List.hs:43) uncons (Foundation/Collection/List.hs:48) unsnoc (Foundation/Collection/List.hs:52) 100% ( 3 / 3) in 'Foundation.Internal.MonadTrans' 71% ( 5 / 7) in 'Foundation.Primitive.Utils' Missing documentation for: primMutableAddrSlideToStart (Foundation/Primitive/Utils.hs:64) primMutableByteArraySlideToStart (Foundation/Primitive/Utils.hs:60) 34% ( 22 / 64) in 'Foundation.Array.Unboxed' Missing documentation for: recast (Foundation/Array/Unboxed.hs:496) unsafeRecast (Foundation/Array/Unboxed.hs:513) lengthSize (Foundation/Array/Unboxed.hs:201) freeze (Foundation/Array/Unboxed.hs:271) empty (Foundation/Array/Unboxed.hs:339) sub (Foundation/Array/Unboxed.hs:617) withPtr (Foundation/Array/Unboxed.hs:464) withMutablePtr (Foundation/Array/Unboxed.hs:488) unsafeFreezeShrink (Foundation/Array/Unboxed.hs:267) freezeShrink (Foundation/Array/Unboxed.hs:278) unsafeSlide (Foundation/Array/Unboxed.hs:284) unsafeUpdate (Foundation/Array/Unboxed.hs:453) unsafeIndexer (Foundation/Array/Unboxed.hs:174) map (Foundation/Array/Unboxed.hs:688) mapIndex (Foundation/Array/Unboxed.hs:691) findIndex (Foundation/Array/Unboxed.hs:629) null (Foundation/Array/Unboxed.hs:517) take (Foundation/Array/Unboxed.hs:521) drop (Foundation/Array/Unboxed.hs:533) splitAt (Foundation/Array/Unboxed.hs:545) revDrop (Foundation/Array/Unboxed.hs:591) revTake (Foundation/Array/Unboxed.hs:588) revSplitAt (Foundation/Array/Unboxed.hs:594) splitOn (Foundation/Array/Unboxed.hs:598) splitElem (Foundation/Array/Unboxed.hs:559) break (Foundation/Array/Unboxed.hs:643) breakElem (Foundation/Array/Unboxed.hs:665) intersperse (Foundation/Array/Unboxed.hs:670) span (Foundation/Array/Unboxed.hs:685) cons (Foundation/Array/Unboxed.hs:694) snoc (Foundation/Array/Unboxed.hs:705) uncons (Foundation/Array/Unboxed.hs:716) unsnoc (Foundation/Array/Unboxed.hs:723) find (Foundation/Array/Unboxed.hs:731) sortBy (Foundation/Array/Unboxed.hs:741) filter (Foundation/Array/Unboxed.hs:776) reverse (Foundation/Array/Unboxed.hs:779) foldl (Foundation/Array/Unboxed.hs:785) foldr (Foundation/Array/Unboxed.hs:793) foldl' (Foundation/Array/Unboxed.hs:801) foreignMem (Foundation/Array/Unboxed.hs:185) fromForeignPtr (Foundation/Array/Unboxed.hs:191) 50% ( 2 / 4) in 'Foundation.Array.Internal' Missing documentation for: fromForeignPtr (Foundation/Array/Unboxed.hs:191) recast (Foundation/Array/Unboxed.hs:496) 73% ( 8 / 11) in 'Foundation.Foreign' Missing documentation for: withFinalPtrNoTouch (Foundation/Primitive/FinalPtr.hs:64) foreignMem (Foundation/Array/Unboxed.hs:185) mutableForeignMem (Foundation/Array/Unboxed/Mutable.hs:156) 100% ( 2 / 2) in 'Foundation.Collection.Element' 100% ( 2 / 2) in 'Foundation.Collection.Foldable' 100% ( 2 / 2) in 'Foundation.Collection.Indexed' 50% ( 1 / 2) in 'Foundation.Collection.InnerFunctor' Missing documentation for: Module header 100% ( 2 / 2) in 'Foundation.Collection.Mutable' 100% ( 2 / 2) in 'Foundation.Collection.Sequential' 0% ( 0 / 4) in 'Foundation.Array.Unboxed.Builder' Missing documentation for: Module header ArrayBuilder (Foundation/Array/Unboxed/Builder.hs:30) appendTy (Foundation/Array/Unboxed/Builder.hs:33) build (Foundation/Array/Unboxed/Builder.hs:49) 33% ( 1 / 3) in 'Foundation.Collection.Zippable' Missing documentation for: BoxedZippable (Foundation/Collection/Zippable.hs:89) Zippable (Foundation/Collection/Zippable.hs:28) 80% ( 8 / 10) in 'Foundation.Collection' Missing documentation for: BoxedZippable (Foundation/Collection/Zippable.hs:89) Zippable (Foundation/Collection/Zippable.hs:28) 100% ( 3 / 3) in 'Foundation.Array.Boxed' 29% ( 4 / 14) in 'Foundation.Array.Bitmap' Missing documentation for: Bitmap (Foundation/Array/Bitmap.hs:45) MutableBitmap (Foundation/Array/Bitmap.hs:47) empty (Foundation/Array/Bitmap.hs:243) concat (Foundation/Array/Bitmap.hs:324) read (Foundation/Array/Bitmap.hs:206) unsafeRead (Foundation/Array/Bitmap.hs:192) write (Foundation/Array/Bitmap.hs:198) unsafeWrite (Foundation/Array/Bitmap.hs:184) snoc (Foundation/Array/Bitmap.hs:374) cons (Foundation/Array/Bitmap.hs:371) 20% ( 1 / 5) in 'Foundation.Array.Unboxed.ByteArray' Missing documentation for: Module header mutableByteArraySet (Foundation/Array/Unboxed/ByteArray.hs:19) mutableByteArraySetBetween (Foundation/Array/Unboxed/ByteArray.hs:26) m Foundation/String/Encoding/Encoding.hs:59:5: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: encodingWrite :: (Encoding encoding, PrimMonad st, Monad st) => encoding -> Char -> ArrayBuilder (Unit encoding) st () In the ambiguity check for ‘encodingWrite’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: encodingWrite :: forall encoding. Encoding encoding => forall (st :: * -> *). (PrimMonad st, Monad st) => encoding -> Char -> ArrayBuilder (Unit encoding) st () Foundation/String/Encoding/Encoding.hs:80:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: convertFromTo :: (PrimMonad st, Monad st, Encoding input, PrimType (Unit input), Exception (Error input), Encoding output, PrimType (Unit output)) => input -> output -> UArray (Unit input) -> st (UArray (Unit output)) Foundation/String/Encoding/ASCII7.hs:76:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () Foundation/String/Encoding/UTF16.hs:76:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word16 st () Foundation/String/Encoding/UTF32.hs:46:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word32 st () Foundation/String/Encoding/ISO_8859_1.hs:54:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: write :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () Foundation/String/UTF8.hs:286:1: warning: [-Wredundant-constraints] • Redundant constraint: Monad st • In the type signature for: writeWithBuilder :: (PrimMonad st, Monad st) => Char -> ArrayBuilder Word8 st () Foundation/String/UTF8.hs:941:1: warning: [-Wredundant-constraints] • Redundant constraint: Exception (Encoder.Error encoding) • In the type signature for: toEncoderBytes :: (Encoder.Encoding encoding, PrimType (Encoder.Unit encoding), Exception (Encoder.Error encoding)) => encoding -> UArray Word8 -> UArray Word8 Foundation.hs:166:1: warning: [-Wunused-imports] The import of ‘System.IO.Error’ is redundant except perhaps to import instances from ‘System.IO.Error’ To import instances alone, use: import System.IO.Error() utableByteArrayMove (Foundation/Array/Unboxed/ByteArray.hs:36) 100% ( 2 / 2) in 'Foundation.String.ModifiedUTF8' 67% ( 2 / 3) in 'Foundation.String.Encoding.Encoding' Missing documentation for: Encoding (Foundation/String/Encoding/Encoding.hs:26) 33% ( 1 / 3) in 'Foundation.String.Encoding.ASCII7' Missing documentation for: ASCII7 (Foundation/String/Encoding/ASCII7.hs:46) ASCII7_Invalid (Foundation/String/Encoding/ASCII7.hs:40) 33% ( 1 / 3) in 'Foundation.String.Encoding.UTF16' Missing documentation for: UTF16 (Foundation/String/Encoding/UTF16.hs:33) UTF16_Invalid (Foundation/String/Encoding/UTF16.hs:27) 33% ( 1 / 3) in 'Foundation.String.Encoding.UTF32' Missing documentation for: UTF32 (Foundation/String/Encoding/UTF32.hs:25) UTF32_Invalid (Foundation/String/Encoding/UTF32.hs:27) 33% ( 1 / 3) in 'Foundation.String.Encoding.ISO_8859_1' Missing documentation for: ISO_8859_1 (Foundation/String/Encoding/ISO_8859_1.hs:37) ISO_8859_1_Invalid (Foundation/String/Encoding/ISO_8859_1.hs:32) 38% ( 6 / 16) in 'Foundation.String.UTF8' Missing documentation for: create (Foundation/String/UTF8.hs:680) replicate (Foundation/String/UTF8.hs:656) Encoding (Foundation/String/UTF8.hs:856) fromBytes (Foundation/String/UTF8.hs:878) fromChunkBytes (Foundation/String/UTF8.hs:920) fromBytesLenient (Foundation/String/UTF8.hs:896) mutableValidate (Foundation/String/UTF8.hs:192) ValidationFailure (Foundation/String/UTF8.hs:123) lines (Foundation/String/UTF8.hs:958) words (Foundation/String/UTF8.hs:961) 78% ( 7 / 9) in 'Foundation.Array' Missing documentation for: Bitmap (Foundation/Array/Bitmap.hs:45) MutableBitmap (Foundation/Array/Bitmap.hs:47) 40% ( 4 / 10) in 'Foundation.String' Missing documentation for: Encoding (Foundation/String/UTF8.hs:856) fromBytes (Foundation/String/UTF8.hs:878) fromBytesLenient (Foundation/String/UTF8.hs:896) ValidationFailure (Foundation/String/UTF8.hs:123) lines (Foundation/String/UTF8.hs:958) words (Foundation/String/UTF8.hs:961) 100% ( 3 / 3) in 'Foundation.IO.Terminal' 82% ( 9 / 11) in 'Foundation.VFS.FilePath' Missing documentation for: filePathToString (Foundation/VFS/FilePath.hs:205) extension (Foundation/VFS/FilePath.hs:252) 92% ( 11 / 12) in 'Foundation.VFS' Missing documentation for: filePathToString (Foundation/VFS/FilePath.hs:205) 100% ( 10 / 10) in 'Foundation.IO.File' 100% ( 12 / 12) in 'Foundation.IO' 75% ( 3 / 4) in 'Foundation.Foreign.MemoryMap.Types' Missing documentation for: FileMapReadF (Foundation/Foreign/MemoryMap/Types.hs:34) 94% ( 16 / 17) in 'Foundation.Foreign.MemoryMap.Posix' Missing documentation for: fileMapRead (Foundation/Foreign/MemoryMap/Posix.hsc:246) 50% ( 2 / 4) in 'Foundation.Foreign.MemoryMap' Missing documentation for: Module header fileMapRead (Foundation/Foreign/MemoryMap/Posix.hsc:246) 100% ( 3 / 3) in 'Foundation.IO.FileMap' 85% ( 11 / 13) in 'Foundation.System.Info' Missing documentation for: OS (Foundation/System/Info.hs:42) Endianness (Foundation/System/Info.hs:111) 100% ( 7 / 7) in 'Foundation.Tuple' 98% (121 /123) in 'Foundation' Missing documentation for: Ordering Bool Warning: Foundation.Number: could not find link destinations for: ~ Warning: Foundation.Primitive: could not find link destinations for: Size8 Offset Warning: Foundation.Array.Internal: could not find link destinations for: Offset Size PinnedStatus Warning: Foundation.Collection: could not find link destinations for: ~ Warning: Foundation.Array: could not find link destinations for: ~ Size8 Offset Warning: Foundation.IO: could not find link destinations for: unsafeIndex unsafeRangeSize Warning: Foundation.System.Info: could not find link destinations for: Arch Warning: Foundation: could not find link destinations for: FD HandleType Array STArray ~ Id StateL StateR SingI sing Sing SingKind fromSing DemoteRep D:R:SingMaybeb0 SNothing SJust EqMaybe unsafeIndex unsafeRangeSize EqOrdering D:R:SingBoola0 STrue SFalse EqBool Size8 Offset D:R:URecCharp0 UChar uChar# EqEither D:R:URecWordp0 UWord uWord# D:R:URecIntp0 UInt uInt# D:R:URecFloatp0 UFloat uFloat# D:R:URecDoublep0 UDouble uDouble# Max Min Documentation created: dist/doc/html/foundation/index.html, dist/doc/html/foundation/foundation.txt Creating package registration file: /tmp/pkgConf-foundation-0.01315634022635723058.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/foundation-0.0.1-1SKsdw4nnd0LbEikizgDeb Registering foundation-0.0.1... cabal: Leaving directory '/tmp/cabal-tmp-9259/foundation-0.0.1' Installed foundation-0.0.1