Resolving dependencies... Configuring asn1-types-0.2.2... Building asn1-types-0.2.2... Preprocessing library asn1-types-0.2.2... [1 of 5] Compiling Data.ASN1.Types.String ( Data/ASN1/Types/String.hs, dist/build/Data/ASN1/Types/String.o ) [2 of 5] Compiling Data.ASN1.Types.Lowlevel ( Data/ASN1/Types/Lowlevel.hs, dist/build/Data/ASN1/Types/Lowlevel.o ) [3 of 5] Compiling Data.ASN1.OID ( Data/ASN1/OID.hs, dist/build/Data/ASN1/OID.o ) [4 of 5] Compiling Data.ASN1.BitArray ( Data/ASN1/BitArray.hs, dist/build/Data/ASN1/BitArray.o ) [5 of 5] Compiling Data.ASN1.Types ( Data/ASN1/Types.hs, dist/build/Data/ASN1/Types.o ) In-place registering asn1-types-0.2.2... Running Haddock for asn1-types-0.2.2... Running hscolour for asn1-types-0.2.2... Preprocessing library asn1-types-0.2.2... Preprocessing library asn1-types-0.2.2... Haddock coverage: 100% ( 5 / 5) in 'Data.ASN1.Types.String' 100% ( 8 / 8) in 'Data.ASN1.Types.Lowlevel' 100% ( 5 / 5) in 'Data.ASN1.OID' 100% ( 10 / 10) in 'Data.ASN1.BitArray' 100% ( 13 / 13) in 'Data.ASN1.Types' Documentation created: dist/doc/html/asn1-types/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/asn1-types-0.2.2 Registering asn1-types-0.2.2... Installed asn1-types-0.2.2 Configuring cereal-0.4.0.1... Building cereal-0.4.0.1... Preprocessing library cereal-0.4.0.1... [1 of 5] Compiling Data.Serialize.Builder ( src/Data/Serialize/Builder.hs, dist/build/Data/Serialize/Builder.o ) [2 of 5] Compiling Data.Serialize.Put ( src/Data/Serialize/Put.hs, dist/build/Data/Serialize/Put.o ) [3 of 5] Compiling Data.Serialize.Get ( src/Data/Serialize/Get.hs, dist/build/Data/Serialize/Get.o ) [4 of 5] Compiling Data.Serialize.IEEE754 ( src/Data/Serialize/IEEE754.hs, dist/build/Data/Serialize/IEEE754.o ) [5 of 5] Compiling Data.Serialize ( src/Data/Serialize.hs, dist/build/Data/Serialize.o ) In-place registering cereal-0.4.0.1... Running Haddock for cereal-0.4.0.1... Running hscolour for cereal-0.4.0.1... Preprocessing library cereal-0.4.0.1... Preprocessing library cereal-0.4.0.1... Haddock coverage: 96% ( 26 / 27) in 'Data.Serialize.Builder' 69% ( 29 / 42) in 'Data.Serialize.Put' 94% ( 50 / 53) in 'Data.Serialize.Get' 100% ( 11 / 11) in 'Data.Serialize.IEEE754' Cannot find documentation for: $example 100% ( 11 / 11) in 'Data.Serialize' Warning: Data.Serialize.Put: could not find link destinations for: Data.Serialize.Put.PairS Warning: Data.Serialize.Get: could not find link destinations for: Data.Serialize.Get.get Documentation created: dist/doc/html/cereal/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/cereal-0.4.0.1 Registering cereal-0.4.0.1... Installed cereal-0.4.0.1 Configuring cpu-0.1.2... Building cpu-0.1.2... Preprocessing library cpu-0.1.2... [1 of 3] Compiling System.Arch ( System/Arch.hs, dist/build/System/Arch.o ) [2 of 3] Compiling System.Endian ( System/Endian.hs, dist/build/System/Endian.o ) [3 of 3] Compiling System.Cpuid ( System/Cpuid.hs, dist/build/System/Cpuid.o ) In-place registering cpu-0.1.2... Running Haddock for cpu-0.1.2... Running hscolour for cpu-0.1.2... Preprocessing library cpu-0.1.2... Preprocessing library cpu-0.1.2... Haddock coverage: 100% ( 3 / 3) in 'System.Arch' 100% ( 15 / 15) in 'System.Endian' 100% ( 3 / 3) in 'System.Cpuid' Documentation created: dist/doc/html/cpu/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/cpu-0.1.2 Registering cpu-0.1.2... Installed cpu-0.1.2 [1 of 1] Compiling Main ( /tmp/entropy-0.2.2.4-27436/entropy-0.2.2.4/Setup.hs, /tmp/entropy-0.2.2.4-27436/entropy-0.2.2.4/dist/setup/Main.o ) Linking /tmp/entropy-0.2.2.4-27436/entropy-0.2.2.4/dist/setup/setup ... Configuring entropy-0.2.2.4... Result of RDRAND Test: True Building entropy-0.2.2.4... Preprocessing library entropy-0.2.2.4... [1 of 1] Compiling System.Entropy ( System/Entropy.hs, dist/build/System/Entropy.o ) In-place registering entropy-0.2.2.4... Running Haddock for entropy-0.2.2.4... Running hscolour for entropy-0.2.2.4... Preprocessing library entropy-0.2.2.4... Preprocessing library entropy-0.2.2.4... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 100% ( 6 / 6) in 'System.Entropy' Documentation created: dist/doc/html/entropy/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/entropy-0.2.2.4 Registering entropy-0.2.2.4... Installed entropy-0.2.2.4 Configuring primitive-0.5.1.0... Building primitive-0.5.1.0... Preprocessing library primitive-0.5.1.0... [ 1 of 10] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o ) [ 2 of 10] Compiling Data.Primitive.MachDeps ( Data/Primitive/MachDeps.hs, dist/build/Data/Primitive/MachDeps.o ) [ 3 of 10] Compiling Data.Primitive.Internal.Operations ( Data/Primitive/Internal/Operations.hs, dist/build/Data/Primitive/Internal/Operations.o ) [ 4 of 10] Compiling Control.Monad.Primitive ( Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o ) [ 5 of 10] Compiling Data.Primitive.Types ( Data/Primitive/Types.hs, dist/build/Data/Primitive/Types.o ) [ 6 of 10] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs, dist/build/Data/Primitive/Array.o ) [ 7 of 10] Compiling Data.Primitive.ByteArray ( Data/Primitive/ByteArray.hs, dist/build/Data/Primitive/ByteArray.o ) [ 8 of 10] Compiling Data.Primitive.Addr ( Data/Primitive/Addr.hs, dist/build/Data/Primitive/Addr.o ) [ 9 of 10] Compiling Data.Primitive ( Data/Primitive.hs, dist/build/Data/Primitive.o ) [10 of 10] Compiling Data.Primitive.MutVar ( Data/Primitive/MutVar.hs, dist/build/Data/Primitive/MutVar.o ) In-place registering primitive-0.5.1.0... Running Haddock for primitive-0.5.1.0... Running hscolour for primitive-0.5.1.0... Preprocessing library primitive-0.5.1.0... Preprocessing library primitive-0.5.1.0... Haddock coverage: 67% ( 2 / 3) in 'Data.Primitive.Internal.Compat' 3% ( 1 / 35) in 'Data.Primitive.MachDeps' 3% ( 1 / 29) in 'Data.Primitive.Internal.Operations' Warning: Control.Monad.Primitive: We do not support associated types in instances yet. These instances are affected: Control.Monad.Primitive.PrimMonad GHC.Types.IO, Control.Monad.Primitive.PrimMonad (GHC.ST.ST s) 71% ( 10 / 14) in 'Control.Monad.Primitive' 100% ( 3 / 3) in 'Data.Primitive.Types' 100% ( 13 / 13) in 'Data.Primitive.Array' 93% ( 27 / 29) in 'Data.Primitive.ByteArray' 100% ( 16 / 16) in 'Data.Primitive.Addr' 100% ( 7 / 7) in 'Data.Primitive' 100% ( 7 / 7) in 'Data.Primitive.MutVar' Documentation created: dist/doc/html/primitive/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/primitive-0.5.1.0 Registering primitive-0.5.1.0... Installed primitive-0.5.1.0 Configuring tagged-0.7... Building tagged-0.7... Preprocessing library tagged-0.7... [1 of 2] Compiling Data.Proxy ( old/Data/Proxy.hs, dist/build/Data/Proxy.o ) [2 of 2] Compiling Data.Tagged ( src/Data/Tagged.hs, dist/build/Data/Tagged.o ) In-place registering tagged-0.7... Running Haddock for tagged-0.7... Running hscolour for tagged-0.7... Preprocessing library tagged-0.7... Preprocessing library tagged-0.7... Haddock coverage: 80% ( 4 / 5) in 'Data.Proxy' 92% ( 11 / 12) in 'Data.Tagged' Documentation created: dist/doc/html/tagged/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/tagged-0.7 Registering tagged-0.7... Installed tagged-0.7 Configuring crypto-pubkey-types-0.4.0... Building crypto-pubkey-types-0.4.0... Preprocessing library crypto-pubkey-types-0.4.0... [1 of 5] Compiling Crypto.Types.PubKey.ECC ( Crypto/Types/PubKey/ECC.hs, dist/build/Crypto/Types/PubKey/ECC.o ) [2 of 5] Compiling Crypto.Types.PubKey.ECDSA ( Crypto/Types/PubKey/ECDSA.hs, dist/build/Crypto/Types/PubKey/ECDSA.o ) [3 of 5] Compiling Crypto.Types.PubKey.DH ( Crypto/Types/PubKey/DH.hs, dist/build/Crypto/Types/PubKey/DH.o ) [4 of 5] Compiling Crypto.Types.PubKey.DSA ( Crypto/Types/PubKey/DSA.hs, dist/build/Crypto/Types/PubKey/DSA.o ) [5 of 5] Compiling Crypto.Types.PubKey.RSA ( Crypto/Types/PubKey/RSA.hs, dist/build/Crypto/Types/PubKey/RSA.o ) In-place registering crypto-pubkey-types-0.4.0... Running Haddock for crypto-pubkey-types-0.4.0... Running hscolour for crypto-pubkey-types-0.4.0... Preprocessing library crypto-pubkey-types-0.4.0... Preprocessing library crypto-pubkey-types-0.4.0... Haddock coverage: 100% ( 11 / 11) in 'Crypto.Types.PubKey.ECC' 100% ( 4 / 4) in 'Crypto.Types.PubKey.ECDSA' 100% ( 5 / 5) in 'Crypto.Types.PubKey.DH' 100% ( 10 / 10) in 'Crypto.Types.PubKey.DSA' 100% ( 8 / 8) in 'Crypto.Types.PubKey.RSA' Documentation created: dist/doc/html/crypto-pubkey-types/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/crypto-pubkey-types-0.4.0 Registering crypto-pubkey-types-0.4.0... Installed crypto-pubkey-types-0.4.0 Configuring vector-0.10.9.1... Building vector-0.10.9.1... Preprocessing library vector-0.10.9.1... [ 1 of 19] Compiling Data.Vector.Storable.Internal ( Data/Vector/Storable/Internal.hs, dist/build/Data/Vector/Storable/Internal.o ) [ 2 of 19] Compiling Data.Vector.Fusion.Util ( Data/Vector/Fusion/Util.hs, dist/build/Data/Vector/Fusion/Util.o ) [ 3 of 19] Compiling Data.Vector.Fusion.Stream.Size ( Data/Vector/Fusion/Stream/Size.hs, dist/build/Data/Vector/Fusion/Stream/Size.o ) Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `*' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `abs' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `signum' In the instance declaration for `Num Size' [ 4 of 19] Compiling Data.Vector.Internal.Check ( Data/Vector/Internal/Check.hs, dist/build/Data/Vector/Internal/Check.o ) [ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package primitive-0.5.1.0 ... linking ... done. Loading package array-0.4.0.1 ... linking ... done. Loading package deepseq-1.3.0.1 ... linking ... done. [ 6 of 19] Compiling Data.Vector.Fusion.Stream ( Data/Vector/Fusion/Stream.hs, dist/build/Data/Vector/Fusion/Stream.o ) [ 7 of 19] Compiling Data.Vector.Generic.Mutable ( Data/Vector/Generic/Mutable.hs, dist/build/Data/Vector/Generic/Mutable.o ) [ 8 of 19] Compiling Data.Vector.Generic.Base ( Data/Vector/Generic/Base.hs, dist/build/Data/Vector/Generic/Base.o ) [ 9 of 19] Compiling Data.Vector.Generic.New ( Data/Vector/Generic/New.hs, dist/build/Data/Vector/Generic/New.o ) [10 of 19] Compiling Data.Vector.Generic ( Data/Vector/Generic.hs, dist/build/Data/Vector/Generic.o ) [11 of 19] Compiling Data.Vector.Primitive.Mutable ( Data/Vector/Primitive/Mutable.hs, dist/build/Data/Vector/Primitive/Mutable.o ) [12 of 19] Compiling Data.Vector.Primitive ( Data/Vector/Primitive.hs, dist/build/Data/Vector/Primitive.o ) [13 of 19] Compiling Data.Vector.Storable.Mutable ( Data/Vector/Storable/Mutable.hs, dist/build/Data/Vector/Storable/Mutable.o ) [14 of 19] Compiling Data.Vector.Storable ( Data/Vector/Storable.hs, dist/build/Data/Vector/Storable.o ) [15 of 19] Compiling Data.Vector.Unboxed.Base ( Data/Vector/Unboxed/Base.hs, dist/build/Data/Vector/Unboxed/Base.o ) [16 of 19] Compiling Data.Vector.Unboxed ( Data/Vector/Unboxed.hs, dist/build/Data/Vector/Unboxed.o ) [17 of 19] Compiling Data.Vector.Unboxed.Mutable ( Data/Vector/Unboxed/Mutable.hs, dist/build/Data/Vector/Unboxed/Mutable.o ) [18 of 19] Compiling Data.Vector.Mutable ( Data/Vector/Mutable.hs, dist/build/Data/Vector/Mutable.o ) [19 of 19] Compiling Data.Vector ( Data/Vector.hs, dist/build/Data/Vector.o ) In-place registering vector-0.10.9.1... Running Haddock for vector-0.10.9.1... Running hscolour for vector-0.10.9.1... Preprocessing library vector-0.10.9.1... Preprocessing library vector-0.10.9.1... Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `*' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `abs' In the instance declaration for `Num Size' Data/Vector/Fusion/Stream/Size.hs:25:10: Warning: No explicit method or default declaration for `signum' In the instance declaration for `Num Size' Haddock coverage: 25% ( 1 / 4) in 'Data.Vector.Storable.Internal' 100% ( 5 / 5) in 'Data.Vector.Fusion.Util' 100% ( 6 / 6) in 'Data.Vector.Fusion.Stream.Size' 11% ( 1 / 9) in 'Data.Vector.Internal.Check' 83% (104 /126) in 'Data.Vector.Fusion.Stream.Monadic' 85% ( 88 /104) in 'Data.Vector.Fusion.Stream' 64% ( 42 / 66) in 'Data.Vector.Generic.Mutable' 100% ( 3 / 3) in 'Data.Vector.Generic.Base' 5% ( 1 / 20) in 'Data.Vector.Generic.New' 93% (215 /232) in 'Data.Vector.Generic' 76% ( 38 / 50) in 'Data.Vector.Primitive.Mutable' Warning: Data.Vector.Primitive: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 97% (185 /191) in 'Data.Vector.Primitive' 79% ( 46 / 58) in 'Data.Vector.Storable.Mutable' Warning: Data.Vector.Storable: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 97% (194 /200) in 'Data.Vector.Storable' Warning: Data.Vector.Unboxed.Base: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable, MVector, Vector 17% ( 1 / 6) in 'Data.Vector.Unboxed.Base' 96% (201 /210) in 'Data.Vector.Unboxed' 77% ( 47 / 61) in 'Data.Vector.Unboxed.Mutable' 76% ( 37 / 49) in 'Data.Vector.Mutable' Warning: Data.Vector: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Mutable 94% (199 /212) in 'Data.Vector' Documentation created: dist/doc/html/vector/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/vector-0.10.9.1 Registering vector-0.10.9.1... Installed vector-0.10.9.1 Configuring crypto-api-0.12.2.2... Building crypto-api-0.12.2.2... Preprocessing library crypto-api-0.12.2.2... [1 of 8] Compiling Crypto.CPoly ( Crypto/CPoly.hs, dist/build/Crypto/CPoly.o ) [2 of 8] Compiling Crypto.Types ( Crypto/Types.hs, dist/build/Crypto/Types.o ) [3 of 8] Compiling Crypto.Util ( Crypto/Util.hs, dist/build/Crypto/Util.o ) [4 of 8] Compiling Crypto.Random ( Crypto/Random.hs, dist/build/Crypto/Random.o ) [5 of 8] Compiling Crypto.Classes ( Crypto/Classes.hs, dist/build/Crypto/Classes.o ) [6 of 8] Compiling Crypto.HMAC ( Crypto/HMAC.hs, dist/build/Crypto/HMAC.o ) [7 of 8] Compiling Crypto.Padding ( Crypto/Padding.hs, dist/build/Crypto/Padding.o ) [8 of 8] Compiling Crypto.Modes ( Crypto/Modes.hs, dist/build/Crypto/Modes.o ) In-place registering crypto-api-0.12.2.2... Running Haddock for crypto-api-0.12.2.2... Running hscolour for crypto-api-0.12.2.2... Preprocessing library crypto-api-0.12.2.2... Preprocessing library crypto-api-0.12.2.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: transformers-0.3.0.0 Haddock coverage: 0% ( 0 / 4) in 'Crypto.CPoly' 100% ( 4 / 4) in 'Crypto.Types' 91% ( 10 / 11) in 'Crypto.Util' 90% ( 9 / 10) in 'Crypto.Random' 100% ( 24 / 24) in 'Crypto.Classes' 100% ( 4 / 4) in 'Crypto.HMAC' 100% ( 13 / 13) in 'Crypto.Padding' 100% ( 27 / 27) in 'Crypto.Modes' Warning: Crypto.Modes: could not find link destinations for: Crypto.Modes.ecb' Documentation created: dist/doc/html/crypto-api/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/crypto-api-0.12.2.2 Registering crypto-api-0.12.2.2... Installed crypto-api-0.12.2.2 Downloading cryptocipher-0.3.1... Configuring cryptocipher-0.3.1... Building cryptocipher-0.3.1... Preprocessing library cryptocipher-0.3.1... [ 1 of 13] Compiling Number.Polynomial ( Number/Polynomial.hs, dist/build/Number/Polynomial.o ) [ 2 of 13] Compiling Number.Basic ( Number/Basic.hs, dist/build/Number/Basic.o ) [ 3 of 13] Compiling Number.Serialize ( Number/Serialize.hs, dist/build/Number/Serialize.o ) [ 4 of 13] Compiling Number.Generate ( Number/Generate.hs, dist/build/Number/Generate.o ) [ 5 of 13] Compiling Number.ModArithmetic ( Number/ModArithmetic.hs, dist/build/Number/ModArithmetic.o ) [ 6 of 13] Compiling Number.Prime ( Number/Prime.hs, dist/build/Number/Prime.o ) [ 7 of 13] Compiling Crypto.Cipher.DSA ( Crypto/Cipher/DSA.hs, dist/build/Crypto/Cipher/DSA.o ) Crypto/Cipher/DSA.hs:44:45: Couldn't match expected type `Signature' with actual type `(Integer, Integer)' In the expression: (r, s) In the first argument of `Right', namely `((r, s), rng')' In the expression: Right ((r, s), rng') Crypto/Cipher/DSA.hs:46:29: Couldn't match expected type `(t0, t1, t2)' with actual type `Params' In the return type of a call of `private_params' In the expression: private_params pk In a pattern binding: (p, g, q) = private_params pk Crypto/Cipher/DSA.hs:52:8: Couldn't match expected type `Signature' with actual type `(Integer, Integer)' In the pattern: (r, s) In an equation for `verify': verify (r, s) hash pk m | r <= 0 || r >= q || s <= 0 || s >= q = Left InvalidSignature | otherwise = Right $ v == r where (p, g, q) = public_params pk y = public_y pk hm = os2ip $ hash m w = fromJust $ inverse s q .... Crypto/Cipher/DSA.hs:57:27: Couldn't match expected type `(t0, t1, t2)' with actual type `Params' In the return type of a call of `public_params' In the expression: public_params pk In a pattern binding: (p, g, q) = public_params pk Failed to install cryptocipher-0.3.1 cabal: Error: some packages failed to install: cryptocipher-0.3.1 failed during the building phase. The exception was: ExitFailure 1