==> Building on glaceon ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 607 100% 0.00kB/s 0:00:00 607 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 57 100% 55.66kB/s 0:00:00 57 100% 55.66kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 700 37% 683.59kB/s 0:00:00 1,868 100% 1.78MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) haskell-crypton-1.0.1-2.log 740 100% 722.66kB/s 0:00:00 740 100% 722.66kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ sent 1,051 bytes received 186 bytes 824.67 bytes/sec total size is 3,757 speedup is 3.04 ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 --repo extra on remote host... ==> WARNING: unsupported architecture: riscv64 ==> Building haskell-crypton  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building haskell-crypton for [extra] (riscv64) ]2;🔵 Container arch-nspawn-2792507 on glaceon.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: haskell-crypton 1.0.1-2 (Sat Aug 9 16:46:14 2025) ==> Retrieving sources...  -> Found crypton-1.0.1.tar.gz ==> Validating source files with sha256sums... crypton-1.0.1.tar.gz ... Passed ]2;🔵 Container arch-nspawn-2793604 on glaceon.felixc.at\==> Making package: haskell-crypton 1.0.1-2 (Sat Aug 9 16:46:45 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/numactl 2.0.19-1 0.20 MiB extra/ghc-libs 9.4.8-1.3 139.60 MiB extra/haskell-basement 0.0.16-3 6.04 MiB extra/haskell-memory 0.18.0-44 1.24 MiB Total Installed Size: 147.08 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing numactl... installing ghc-libs... installing haskell-basement... installing haskell-memory... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Registering Haskell modules... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (21) New Version Net Change extra/haskell-ansi-terminal 1.0.2-28.1 0.28 MiB extra/haskell-ansi-terminal-types 0.11.5-68.1 0.53 MiB extra/haskell-call-stack 0.4.0-254.1 0.06 MiB extra/haskell-colour 2.3.6-278.1 0.87 MiB extra/haskell-erf 2.0.0.0-26.1 0.06 MiB extra/haskell-optparse-applicative 0.18.1.0-16.2 1.61 MiB extra/haskell-prettyprinter 1.7.1-232.1 1.49 MiB extra/haskell-prettyprinter-ansi-terminal 1.1.3-242.2 0.30 MiB extra/haskell-quickcheck 2.14.3-164.1 3.72 MiB extra/haskell-random 1.2.1.2-105.1 2.06 MiB extra/haskell-splitmix 0.1.0.5-93.1 0.19 MiB extra/haskell-tagged 0.8.9-2.1 0.32 MiB extra/haskell-transformers-compat 0.7.2-3.1 0.80 MiB core/libedit 20250104_3.1-1 0.25 MiB extra/llvm14 14.0.6-5 83.34 MiB extra/llvm14-libs 14.0.6-5 104.95 MiB extra/ghc 9.4.8-1.3 288.07 MiB extra/haskell-tasty 1.4.3-152.2 1.49 MiB extra/haskell-tasty-hunit 0.10.1-125.2 0.13 MiB extra/haskell-tasty-kat 0.0.3-207 0.13 MiB extra/haskell-tasty-quickcheck 0.10.2-488.3 0.17 MiB Total Installed Size: 490.81 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm14-libs... installing llvm14... installing ghc... installing haskell-colour... installing haskell-ansi-terminal-types... installing haskell-ansi-terminal... installing haskell-prettyprinter... installing haskell-prettyprinter-ansi-terminal... installing haskell-transformers-compat... installing haskell-optparse-applicative... installing haskell-tagged... installing haskell-tasty... installing haskell-call-stack... installing haskell-tasty-hunit... installing haskell-tasty-kat... installing haskell-erf... installing haskell-splitmix... installing haskell-random... installing haskell-quickcheck... installing haskell-tasty-quickcheck... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Registering Haskell modules... [?25h==> Retrieving sources...  -> Found crypton-1.0.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting crypton-1.0.1.tar.gz with bsdtar ==> Starting build()... Configuring crypton-1.0.1... Preprocessing library for crypton-1.0.1.. Building library for crypton-1.0.1.. [ 1 of 137] Compiling Crypto.Cipher.DES.Primitive ( Crypto/Cipher/DES/Primitive.hs, dist/build/Crypto/Cipher/DES/Primitive.dyn_o ) [ 2 of 137] Compiling Crypto.Data.Padding ( Crypto/Data/Padding.hs, dist/build/Crypto/Data/Padding.dyn_o ) [ 3 of 137] Compiling Crypto.Error.Types ( Crypto/Error/Types.hs, dist/build/Crypto/Error/Types.dyn_o ) [ 4 of 137] Compiling Crypto.Error ( Crypto/Error.hs, dist/build/Crypto/Error.dyn_o ) [ 5 of 137] Compiling Crypto.Internal.Compat ( Crypto/Internal/Compat.hs, dist/build/Crypto/Internal/Compat.dyn_o ) [ 6 of 137] Compiling Crypto.Internal.ByteArray ( Crypto/Internal/ByteArray.hs, dist/build/Crypto/Internal/ByteArray.dyn_o ) [ 7 of 137] Compiling Crypto.Cipher.Types.Utils ( Crypto/Cipher/Types/Utils.hs, dist/build/Crypto/Cipher/Types/Utils.dyn_o ) [ 8 of 137] Compiling Crypto.Internal.CompatPrim ( Crypto/Internal/CompatPrim.hs, dist/build/Crypto/Internal/CompatPrim.dyn_o ) [ 9 of 137] Compiling Crypto.Internal.DeepSeq ( Crypto/Internal/DeepSeq.hs, dist/build/Crypto/Internal/DeepSeq.dyn_o ) [ 10 of 137] Compiling Crypto.Cipher.Types.Base ( Crypto/Cipher/Types/Base.hs, dist/build/Crypto/Cipher/Types/Base.dyn_o ) [ 11 of 137] Compiling Crypto.Cipher.Types.Stream ( Crypto/Cipher/Types/Stream.hs, dist/build/Crypto/Cipher/Types/Stream.dyn_o ) [ 12 of 137] Compiling Crypto.Internal.Imports ( Crypto/Internal/Imports.hs, dist/build/Crypto/Internal/Imports.dyn_o ) [ 13 of 137] Compiling Crypto.Internal.Builder ( Crypto/Internal/Builder.hs, dist/build/Crypto/Internal/Builder.dyn_o ) [ 14 of 137] Compiling Crypto.Hash.Types ( Crypto/Hash/Types.hs, dist/build/Crypto/Hash/Types.dyn_o ) [ 15 of 137] Compiling Crypto.Hash.Whirlpool ( Crypto/Hash/Whirlpool.hs, dist/build/Crypto/Hash/Whirlpool.dyn_o ) [ 16 of 137] Compiling Crypto.Hash.Tiger ( Crypto/Hash/Tiger.hs, dist/build/Crypto/Hash/Tiger.dyn_o ) [ 17 of 137] Compiling Crypto.Hash.Skein512 ( Crypto/Hash/Skein512.hs, dist/build/Crypto/Hash/Skein512.dyn_o ) [ 18 of 137] Compiling Crypto.Hash.Skein256 ( Crypto/Hash/Skein256.hs, dist/build/Crypto/Hash/Skein256.dyn_o ) [ 19 of 137] Compiling Crypto.Hash.SHA512t ( Crypto/Hash/SHA512t.hs, dist/build/Crypto/Hash/SHA512t.dyn_o ) [ 20 of 137] Compiling Crypto.Hash.SHA512 ( Crypto/Hash/SHA512.hs, dist/build/Crypto/Hash/SHA512.dyn_o ) [ 21 of 137] Compiling Crypto.Hash.SHA384 ( Crypto/Hash/SHA384.hs, dist/build/Crypto/Hash/SHA384.dyn_o ) [ 22 of 137] Compiling Crypto.Hash.SHA3 ( Crypto/Hash/SHA3.hs, dist/build/Crypto/Hash/SHA3.dyn_o ) [ 23 of 137] Compiling Crypto.Hash.SHA256 ( Crypto/Hash/SHA256.hs, dist/build/Crypto/Hash/SHA256.dyn_o ) [ 24 of 137] Compiling Crypto.Hash.SHA224 ( Crypto/Hash/SHA224.hs, dist/build/Crypto/Hash/SHA224.dyn_o ) [ 25 of 137] Compiling Crypto.Hash.SHA1 ( Crypto/Hash/SHA1.hs, dist/build/Crypto/Hash/SHA1.dyn_o ) [ 26 of 137] Compiling Crypto.Hash.RIPEMD160 ( Crypto/Hash/RIPEMD160.hs, dist/build/Crypto/Hash/RIPEMD160.dyn_o ) [ 27 of 137] Compiling Crypto.Hash.MD5 ( Crypto/Hash/MD5.hs, dist/build/Crypto/Hash/MD5.dyn_o ) [ 28 of 137] Compiling Crypto.Hash.MD4 ( Crypto/Hash/MD4.hs, dist/build/Crypto/Hash/MD4.dyn_o ) [ 29 of 137] Compiling Crypto.Hash.MD2 ( Crypto/Hash/MD2.hs, dist/build/Crypto/Hash/MD2.dyn_o ) [ 30 of 137] Compiling Crypto.Hash.Keccak ( Crypto/Hash/Keccak.hs, dist/build/Crypto/Hash/Keccak.dyn_o ) [ 31 of 137] Compiling Crypto.Hash.IO ( Crypto/Hash/IO.hs, dist/build/Crypto/Hash/IO.dyn_o ) [ 32 of 137] Compiling Crypto.Hash.Blake2sp ( Crypto/Hash/Blake2sp.hs, dist/build/Crypto/Hash/Blake2sp.dyn_o ) [ 33 of 137] Compiling Crypto.Hash.Blake2s ( Crypto/Hash/Blake2s.hs, dist/build/Crypto/Hash/Blake2s.dyn_o ) [ 34 of 137] Compiling Crypto.Hash.Blake2bp ( Crypto/Hash/Blake2bp.hs, dist/build/Crypto/Hash/Blake2bp.dyn_o ) [ 35 of 137] Compiling Crypto.Hash.Blake2b ( Crypto/Hash/Blake2b.hs, dist/build/Crypto/Hash/Blake2b.dyn_o ) [ 36 of 137] Compiling Crypto.Cipher.Types.GF ( Crypto/Cipher/Types/GF.hs, dist/build/Crypto/Cipher/Types/GF.dyn_o ) [ 37 of 137] Compiling Crypto.Cipher.Types.AEAD ( Crypto/Cipher/Types/AEAD.hs, dist/build/Crypto/Cipher/Types/AEAD.dyn_o ) [ 38 of 137] Compiling Crypto.Cipher.Types.Block ( Crypto/Cipher/Types/Block.hs, dist/build/Crypto/Cipher/Types/Block.dyn_o ) [ 39 of 137] Compiling Crypto.Cipher.Types ( Crypto/Cipher/Types.hs, dist/build/Crypto/Cipher/Types.dyn_o ) [ 40 of 137] Compiling Crypto.ConstructHash.MiyaguchiPreneel ( Crypto/ConstructHash/MiyaguchiPreneel.hs, dist/build/Crypto/ConstructHash/MiyaguchiPreneel.dyn_o ) [ 41 of 137] Compiling Crypto.Cipher.Utils ( Crypto/Cipher/Utils.hs, dist/build/Crypto/Cipher/Utils.dyn_o ) [ 42 of 137] Compiling Crypto.Cipher.TripleDES ( Crypto/Cipher/TripleDES.hs, dist/build/Crypto/Cipher/TripleDES.dyn_o ) [ 43 of 137] Compiling Crypto.Cipher.DES ( Crypto/Cipher/DES.hs, dist/build/Crypto/Cipher/DES.dyn_o ) [ 44 of 137] Compiling Crypto.Cipher.Salsa ( Crypto/Cipher/Salsa.hs, dist/build/Crypto/Cipher/Salsa.dyn_o ) [ 45 of 137] Compiling Crypto.Cipher.XSalsa ( Crypto/Cipher/XSalsa.hs, dist/build/Crypto/Cipher/XSalsa.dyn_o ) [ 46 of 137] Compiling Crypto.Cipher.RC4 ( Crypto/Cipher/RC4.hs, dist/build/Crypto/Cipher/RC4.dyn_o ) [ 47 of 137] Compiling Crypto.Cipher.ChaCha ( Crypto/Cipher/ChaCha.hs, dist/build/Crypto/Cipher/ChaCha.dyn_o ) [ 48 of 137] Compiling Crypto.Cipher.AES.Primitive ( Crypto/Cipher/AES/Primitive.hs, dist/build/Crypto/Cipher/AES/Primitive.dyn_o ) [ 49 of 137] Compiling Crypto.Cipher.AES ( Crypto/Cipher/AES.hs, dist/build/Crypto/Cipher/AES.dyn_o ) [ 50 of 137] Compiling Crypto.Internal.Nat ( Crypto/Internal/Nat.hs, dist/build/Crypto/Internal/Nat.dyn_o ) [ 51 of 137] Compiling Crypto.Hash.SHAKE ( Crypto/Hash/SHAKE.hs, dist/build/Crypto/Hash/SHAKE.dyn_o ) [ 52 of 137] Compiling Crypto.Hash.Blake2 ( Crypto/Hash/Blake2.hs, dist/build/Crypto/Hash/Blake2.dyn_o ) [ 53 of 137] Compiling Crypto.Hash.Algorithms ( Crypto/Hash/Algorithms.hs, dist/build/Crypto/Hash/Algorithms.dyn_o ) [ 54 of 137] Compiling Crypto.Hash ( Crypto/Hash.hs, dist/build/Crypto/Hash.dyn_o ) [ 55 of 137] Compiling Crypto.Internal.WordArray ( Crypto/Internal/WordArray.hs, dist/build/Crypto/Internal/WordArray.dyn_o ) [ 56 of 137] Compiling Crypto.Cipher.Twofish.Primitive ( Crypto/Cipher/Twofish/Primitive.hs, dist/build/Crypto/Cipher/Twofish/Primitive.dyn_o ) Crypto/Cipher/Twofish/Primitive.hs:84:19: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word32]’ not matched: [] [_] [_, _] [_, _, _] ... | 84 | where [k0, k1, k2, k3] = fmap (\offset -> arrayRead32 ks $ (8 + 4 * ind) + offset) [0..3] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Crypto/Cipher/Twofish/Primitive.hs:119:19: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word32]’ not matched: [] [_] [_, _] [_, _, _] ... | 119 | where [k0, k1, k2, k3] = fmap (\offset -> arrayRead32 ks $ (4 + 4 * ind) + offset) [0..3] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Crypto/Cipher/Twofish/Primitive.hs:210:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word8]’ not matched: [] [_] [_, _] [_, _, _] ... | 210 | [w0, w1, w2, w3, w4, w5, w6, w7, w8, w9, w10, w11, w12, w13, w14, w15] = take 16 ws | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Crypto/Cipher/Twofish/Primitive.hs:258:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word8]’ not matched: [] [_] [_, _] [_, _, _] ... | 258 | [y0, y1, y2, y3] = take 4 input | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 57 of 137] Compiling Crypto.Cipher.Twofish ( Crypto/Cipher/Twofish.hs, dist/build/Crypto/Cipher/Twofish.dyn_o ) [ 58 of 137] Compiling Crypto.Cipher.CAST5.Primitive ( Crypto/Cipher/CAST5/Primitive.hs, dist/build/Crypto/Cipher/CAST5/Primitive.dyn_o ) [ 59 of 137] Compiling Crypto.Cipher.CAST5 ( Crypto/Cipher/CAST5.hs, dist/build/Crypto/Cipher/CAST5.dyn_o ) [ 60 of 137] Compiling Crypto.Cipher.Blowfish.Box ( Crypto/Cipher/Blowfish/Box.hs, dist/build/Crypto/Cipher/Blowfish/Box.dyn_o ) [ 61 of 137] Compiling Crypto.Cipher.Blowfish.Primitive ( Crypto/Cipher/Blowfish/Primitive.hs, dist/build/Crypto/Cipher/Blowfish/Primitive.dyn_o ) [ 62 of 137] Compiling Crypto.Cipher.Blowfish ( Crypto/Cipher/Blowfish.hs, dist/build/Crypto/Cipher/Blowfish.dyn_o ) [ 63 of 137] Compiling Crypto.Internal.Words ( Crypto/Internal/Words.hs, dist/build/Crypto/Internal/Words.dyn_o ) [ 64 of 137] Compiling Crypto.Cipher.Camellia.Primitive ( Crypto/Cipher/Camellia/Primitive.hs, dist/build/Crypto/Cipher/Camellia/Primitive.dyn_o ) [ 65 of 137] Compiling Crypto.Cipher.Camellia ( Crypto/Cipher/Camellia.hs, dist/build/Crypto/Cipher/Camellia.dyn_o ) [ 66 of 137] Compiling Crypto.KDF.Argon2 ( Crypto/KDF/Argon2.hs, dist/build/Crypto/KDF/Argon2.dyn_o ) [ 67 of 137] Compiling Crypto.KDF.BCryptPBKDF ( Crypto/KDF/BCryptPBKDF.hs, dist/build/Crypto/KDF/BCryptPBKDF.dyn_o ) [ 68 of 137] Compiling Crypto.MAC.CMAC ( Crypto/MAC/CMAC.hs, dist/build/Crypto/MAC/CMAC.dyn_o ) [ 69 of 137] Compiling Crypto.MAC.HMAC ( Crypto/MAC/HMAC.hs, dist/build/Crypto/MAC/HMAC.dyn_o ) [ 70 of 137] Compiling Crypto.KDF.PBKDF2 ( Crypto/KDF/PBKDF2.hs, dist/build/Crypto/KDF/PBKDF2.dyn_o ) [ 71 of 137] Compiling Crypto.KDF.Scrypt ( Crypto/KDF/Scrypt.hs, dist/build/Crypto/KDF/Scrypt.dyn_o ) [ 72 of 137] Compiling Crypto.KDF.HKDF ( Crypto/KDF/HKDF.hs, dist/build/Crypto/KDF/HKDF.dyn_o ) [ 73 of 137] Compiling Crypto.MAC.KMAC ( Crypto/MAC/KMAC.hs, dist/build/Crypto/MAC/KMAC.dyn_o ) [ 74 of 137] Compiling Crypto.MAC.KeyedBlake2 ( Crypto/MAC/KeyedBlake2.hs, dist/build/Crypto/MAC/KeyedBlake2.dyn_o ) [ 75 of 137] Compiling Crypto.MAC.Poly1305 ( Crypto/MAC/Poly1305.hs, dist/build/Crypto/MAC/Poly1305.dyn_o ) [ 76 of 137] Compiling Crypto.Cipher.ChaChaPoly1305 ( Crypto/Cipher/ChaChaPoly1305.hs, dist/build/Crypto/Cipher/ChaChaPoly1305.dyn_o ) [ 77 of 137] Compiling Crypto.Number.Compat ( Crypto/Number/Compat.hs, dist/build/Crypto/Number/Compat.dyn_o ) Crypto/Number/Compat.hs:57:22: warning: [-Wdeprecations] In the use of ‘gcdExtInteger’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerGcde instead" | 57 | where (# g, s #) = gcdExtInteger a b | ^^^^^^^^^^^^^ Crypto/Number/Compat.hs:90:40: warning: [-Wdeprecations] In the use of ‘powModInteger’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerPowMod# instead" | 90 | gmpPowModInteger b e m = GmpSupported (powModInteger b e m) | ^^^^^^^^^^^^^ Crypto/Number/Compat.hs:101:13: warning: [-Wdeprecations] In the use of ‘recipModInteger’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerRecipMod# instead" | 101 | where r = recipModInteger g m | ^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:132:49: warning: [-Wdeprecations] In the use of ‘sizeInBaseInteger’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerSizeInBase# instead" | 132 | gmpSizeInBytes n = GmpSupported (I# (word2Int# (sizeInBaseInteger n 256#))) | ^^^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:140:48: warning: [-Wdeprecations] In the use of ‘sizeInBaseInteger’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerSizeInBase# instead" | 140 | gmpSizeInBits n = GmpSupported (I# (word2Int# (sizeInBaseInteger n 2#))) | ^^^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:149:10: warning: [-Wdeprecations] In the use of ‘exportIntegerToAddr’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerToAddr# instead" | 149 | _ <- exportIntegerToAddr n addr 1# | ^^^^^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:163:10: warning: [-Wdeprecations] In the use of ‘exportIntegerToAddr’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerToAddr# instead" | 163 | _ <- exportIntegerToAddr n addr 0# | ^^^^^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:177:5: warning: [-Wdeprecations] In the use of ‘importIntegerFromAddr’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerFromAddr# instead" | 177 | importIntegerFromAddr addr (int2Word# n) 1# | ^^^^^^^^^^^^^^^^^^^^^ Crypto/Number/Compat.hs:189:5: warning: [-Wdeprecations] In the use of ‘importIntegerFromAddr’ (imported from GHC.Integer.GMP.Internals): Deprecated: "Use integerFromAddr# instead" | 189 | importIntegerFromAddr addr (int2Word# n) 0# | ^^^^^^^^^^^^^^^^^^^^^ [ 78 of 137] Compiling Crypto.Number.Basic ( Crypto/Number/Basic.hs, dist/build/Crypto/Number/Basic.dyn_o ) [ 79 of 137] Compiling Crypto.ECC.Simple.Types ( Crypto/ECC/Simple/Types.hs, dist/build/Crypto/ECC/Simple/Types.dyn_o ) [ 80 of 137] Compiling Crypto.Number.F2m ( Crypto/Number/F2m.hs, dist/build/Crypto/Number/F2m.dyn_o ) [ 81 of 137] Compiling Crypto.Number.ModArithmetic ( Crypto/Number/ModArithmetic.hs, dist/build/Crypto/Number/ModArithmetic.dyn_o ) [ 82 of 137] Compiling Crypto.Number.Nat ( Crypto/Number/Nat.hs, dist/build/Crypto/Number/Nat.dyn_o ) [ 83 of 137] Compiling Crypto.Number.Serialize.Internal ( Crypto/Number/Serialize/Internal.hs, dist/build/Crypto/Number/Serialize/Internal.dyn_o ) [ 84 of 137] Compiling Crypto.Number.Serialize ( Crypto/Number/Serialize.hs, dist/build/Crypto/Number/Serialize.dyn_o ) [ 85 of 137] Compiling Crypto.Number.Serialize.Internal.LE ( Crypto/Number/Serialize/Internal/LE.hs, dist/build/Crypto/Number/Serialize/Internal/LE.dyn_o ) [ 86 of 137] Compiling Crypto.Number.Serialize.LE ( Crypto/Number/Serialize/LE.hs, dist/build/Crypto/Number/Serialize/LE.dyn_o ) [ 87 of 137] Compiling Crypto.OTP ( Crypto/OTP.hs, dist/build/Crypto/OTP.dyn_o ) [ 88 of 137] Compiling Crypto.PubKey.ECC.Types ( Crypto/PubKey/ECC/Types.hs, dist/build/Crypto/PubKey/ECC/Types.dyn_o ) [ 89 of 137] Compiling Crypto.PubKey.Internal ( Crypto/PubKey/Internal.hs, dist/build/Crypto/PubKey/Internal.dyn_o ) [ 90 of 137] Compiling Crypto.PubKey.MaskGenFunction ( Crypto/PubKey/MaskGenFunction.hs, dist/build/Crypto/PubKey/MaskGenFunction.dyn_o ) [ 91 of 137] Compiling Crypto.PubKey.RSA.Types ( Crypto/PubKey/RSA/Types.hs, dist/build/Crypto/PubKey/RSA/Types.dyn_o ) [ 92 of 137] Compiling Crypto.PubKey.RSA.Prim ( Crypto/PubKey/RSA/Prim.hs, dist/build/Crypto/PubKey/RSA/Prim.dyn_o ) [ 93 of 137] Compiling Crypto.Random.Entropy.Source ( Crypto/Random/Entropy/Source.hs, dist/build/Crypto/Random/Entropy/Source.dyn_o ) [ 94 of 137] Compiling Crypto.Random.Entropy.Unix ( Crypto/Random/Entropy/Unix.hs, dist/build/Crypto/Random/Entropy/Unix.dyn_o ) [ 95 of 137] Compiling Crypto.Random.Entropy.Backend ( Crypto/Random/Entropy/Backend.hs, dist/build/Crypto/Random/Entropy/Backend.dyn_o ) [ 96 of 137] Compiling Crypto.Random.Entropy.Unsafe ( Crypto/Random/Entropy/Unsafe.hs, dist/build/Crypto/Random/Entropy/Unsafe.dyn_o ) [ 97 of 137] Compiling Crypto.Random.Entropy ( Crypto/Random/Entropy.hs, dist/build/Crypto/Random/Entropy.dyn_o ) [ 98 of 137] Compiling Crypto.Random.EntropyPool ( Crypto/Random/EntropyPool.hs, dist/build/Crypto/Random/EntropyPool.dyn_o ) [ 99 of 137] Compiling Crypto.Random.Types ( Crypto/Random/Types.hs, dist/build/Crypto/Random/Types.dyn_o ) [100 of 137] Compiling Crypto.Random.SystemDRG ( Crypto/Random/SystemDRG.hs, dist/build/Crypto/Random/SystemDRG.dyn_o ) [101 of 137] Compiling Crypto.Random.ChaChaDRG ( Crypto/Random/ChaChaDRG.hs, dist/build/Crypto/Random/ChaChaDRG.dyn_o ) [102 of 137] Compiling Crypto.Random ( Crypto/Random.hs, dist/build/Crypto/Random.dyn_o ) [103 of 137] Compiling Crypto.Random.Probabilistic ( Crypto/Random/Probabilistic.hs, dist/build/Crypto/Random/Probabilistic.dyn_o ) [104 of 137] Compiling Crypto.PubKey.Ed448 ( Crypto/PubKey/Ed448.hs, dist/build/Crypto/PubKey/Ed448.dyn_o ) [105 of 137] Compiling Crypto.PubKey.Ed25519 ( Crypto/PubKey/Ed25519.hs, dist/build/Crypto/PubKey/Ed25519.dyn_o ) [106 of 137] Compiling Crypto.PubKey.ECC.P256 ( Crypto/PubKey/ECC/P256.hs, dist/build/Crypto/PubKey/ECC/P256.dyn_o ) [107 of 137] Compiling Crypto.PubKey.Curve448 ( Crypto/PubKey/Curve448.hs, dist/build/Crypto/PubKey/Curve448.dyn_o ) [108 of 137] Compiling Crypto.PubKey.Curve25519 ( Crypto/PubKey/Curve25519.hs, dist/build/Crypto/PubKey/Curve25519.dyn_o ) [109 of 137] Compiling Crypto.KDF.BCrypt ( Crypto/KDF/BCrypt.hs, dist/build/Crypto/KDF/BCrypt.dyn_o ) [110 of 137] Compiling Crypto.ECC.Edwards25519 ( Crypto/ECC/Edwards25519.hs, dist/build/Crypto/ECC/Edwards25519.dyn_o ) [111 of 137] Compiling Crypto.Cipher.AESGCMSIV ( Crypto/Cipher/AESGCMSIV.hs, dist/build/Crypto/Cipher/AESGCMSIV.dyn_o ) Crypto/Cipher/AESGCMSIV.hs:193:23: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe (IV c)’ not matched: Nothing | 193 | where toIV bs = let Just iv = makeIV (bs :: Bytes) in iv | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [112 of 137] Compiling Crypto.Number.Generate ( Crypto/Number/Generate.hs, dist/build/Crypto/Number/Generate.dyn_o ) [113 of 137] Compiling Crypto.PubKey.ECC.Prim ( Crypto/PubKey/ECC/Prim.hs, dist/build/Crypto/PubKey/ECC/Prim.dyn_o ) [114 of 137] Compiling Crypto.PubKey.ECC.ECDSA ( Crypto/PubKey/ECC/ECDSA.hs, dist/build/Crypto/PubKey/ECC/ECDSA.dyn_o ) [115 of 137] Compiling Crypto.PubKey.ECC.Generate ( Crypto/PubKey/ECC/Generate.hs, dist/build/Crypto/PubKey/ECC/Generate.dyn_o ) [116 of 137] Compiling Crypto.PubKey.DSA ( Crypto/PubKey/DSA.hs, dist/build/Crypto/PubKey/DSA.dyn_o ) [117 of 137] Compiling Crypto.Number.Prime ( Crypto/Number/Prime.hs, dist/build/Crypto/Number/Prime.dyn_o ) [118 of 137] Compiling Crypto.PubKey.Rabin.Types ( Crypto/PubKey/Rabin/Types.hs, dist/build/Crypto/PubKey/Rabin/Types.dyn_o ) [119 of 137] Compiling Crypto.PubKey.Rabin.OAEP ( Crypto/PubKey/Rabin/OAEP.hs, dist/build/Crypto/PubKey/Rabin/OAEP.dyn_o ) [120 of 137] Compiling Crypto.PubKey.Rabin.RW ( Crypto/PubKey/Rabin/RW.hs, dist/build/Crypto/PubKey/Rabin/RW.dyn_o ) [121 of 137] Compiling Crypto.PubKey.Rabin.Modified ( Crypto/PubKey/Rabin/Modified.hs, dist/build/Crypto/PubKey/Rabin/Modified.dyn_o ) [122 of 137] Compiling Crypto.PubKey.Rabin.Basic ( Crypto/PubKey/Rabin/Basic.hs, dist/build/Crypto/PubKey/Rabin/Basic.dyn_o ) [123 of 137] Compiling Crypto.PubKey.RSA ( Crypto/PubKey/RSA.hs, dist/build/Crypto/PubKey/RSA.dyn_o ) [124 of 137] Compiling Crypto.PubKey.RSA.PSS ( Crypto/PubKey/RSA/PSS.hs, dist/build/Crypto/PubKey/RSA/PSS.dyn_o ) [125 of 137] Compiling Crypto.PubKey.RSA.PKCS15 ( Crypto/PubKey/RSA/PKCS15.hs, dist/build/Crypto/PubKey/RSA/PKCS15.dyn_o ) [126 of 137] Compiling Crypto.PubKey.RSA.OAEP ( Crypto/PubKey/RSA/OAEP.hs, dist/build/Crypto/PubKey/RSA/OAEP.dyn_o ) [127 of 137] Compiling Crypto.PubKey.DH ( Crypto/PubKey/DH.hs, dist/build/Crypto/PubKey/DH.dyn_o ) [128 of 137] Compiling Crypto.PubKey.ElGamal ( Crypto/PubKey/ElGamal.hs, dist/build/Crypto/PubKey/ElGamal.dyn_o ) [129 of 137] Compiling Crypto.PubKey.ECC.DH ( Crypto/PubKey/ECC/DH.hs, dist/build/Crypto/PubKey/ECC/DH.dyn_o ) Crypto/PubKey/ECC/DH.hs:47:5: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Point’ not matched: PointO | 47 | Point x _ = pointMul curve db qa | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [130 of 137] Compiling Crypto.ECC.Simple.Prim ( Crypto/ECC/Simple/Prim.hs, dist/build/Crypto/ECC/Simple/Prim.dyn_o ) [131 of 137] Compiling Crypto.ECC ( Crypto/ECC.hs, dist/build/Crypto/ECC.dyn_o ) [132 of 137] Compiling Crypto.PubKey.EdDSA ( Crypto/PubKey/EdDSA.hs, dist/build/Crypto/PubKey/EdDSA.dyn_o ) [133 of 137] Compiling Crypto.PubKey.ECIES ( Crypto/PubKey/ECIES.hs, dist/build/Crypto/PubKey/ECIES.dyn_o ) [134 of 137] Compiling Crypto.PubKey.ECDSA ( Crypto/PubKey/ECDSA.hs, dist/build/Crypto/PubKey/ECDSA.dyn_o ) [135 of 137] Compiling Crypto.Data.AFIS ( Crypto/Data/AFIS.hs, dist/build/Crypto/Data/AFIS.dyn_o ) [136 of 137] Compiling Crypto.System.CPU ( Crypto/System/CPU.hs, dist/build/Crypto/System/CPU.dyn_o ) [137 of 137] Compiling Crypto.Tutorial ( Crypto/Tutorial.hs, dist/build/Crypto/Tutorial.dyn_o ) Preprocessing test suite 'test-crypton' for crypton-1.0.1.. Building test suite 'test-crypton' for crypton-1.0.1.. [ 1 of 58] Compiling BCryptPBKDF ( tests/BCryptPBKDF.hs, dist/build/test-crypton/test-crypton-tmp/BCryptPBKDF.dyn_o ) [ 2 of 58] Compiling KAT_AES.KATCBC ( tests/KAT_AES/KATCBC.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATCBC.dyn_o ) [ 3 of 58] Compiling KAT_AES.KATCCM ( tests/KAT_AES/KATCCM.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATCCM.dyn_o ) [ 4 of 58] Compiling KAT_AES.KATECB ( tests/KAT_AES/KATECB.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATECB.dyn_o ) [ 5 of 58] Compiling KAT_AES.KATGCM ( tests/KAT_AES/KATGCM.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATGCM.dyn_o ) [ 6 of 58] Compiling KAT_AES.KATOCB3 ( tests/KAT_AES/KATOCB3.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATOCB3.dyn_o ) [ 7 of 58] Compiling KAT_AES.KATXTS ( tests/KAT_AES/KATXTS.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES/KATXTS.dyn_o ) [ 8 of 58] Compiling KAT_PBKDF2 ( tests/KAT_PBKDF2.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PBKDF2.dyn_o ) [ 9 of 58] Compiling KAT_RC4 ( tests/KAT_RC4.hs, dist/build/test-crypton/test-crypton-tmp/KAT_RC4.dyn_o ) [10 of 58] Compiling KAT_Scrypt ( tests/KAT_Scrypt.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Scrypt.dyn_o ) [11 of 58] Compiling Utils ( tests/Utils.hs, dist/build/test-crypton/test-crypton-tmp/Utils.dyn_o ) [12 of 58] Compiling Imports ( tests/Imports.hs, dist/build/test-crypton/test-crypton-tmp/Imports.dyn_o ) [13 of 58] Compiling Salsa ( tests/Salsa.hs, dist/build/test-crypton/test-crypton-tmp/Salsa.dyn_o ) [14 of 58] Compiling Poly1305 ( tests/Poly1305.hs, dist/build/test-crypton/test-crypton-tmp/Poly1305.dyn_o ) [15 of 58] Compiling Padding ( tests/Padding.hs, dist/build/test-crypton/test-crypton-tmp/Padding.dyn_o ) [16 of 58] Compiling Number.F2m ( tests/Number/F2m.hs, dist/build/test-crypton/test-crypton-tmp/Number/F2m.dyn_o ) [17 of 58] Compiling Number ( tests/Number.hs, dist/build/test-crypton/test-crypton-tmp/Number.dyn_o ) [18 of 58] Compiling KAT_PubKey.Rabin ( tests/KAT_PubKey/Rabin.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/Rabin.dyn_o ) [19 of 58] Compiling KAT_PubKey.RSA ( tests/KAT_PubKey/RSA.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/RSA.dyn_o ) tests/KAT_PubKey/RSA.hs:95:11: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either RSA.Error ByteString’ not matched: Left _ | 95 | Right bs = sig vector | ^^^^^^^^^^^^^^^^^^^^^ [20 of 58] Compiling KAT_PubKey.PSS ( tests/KAT_PubKey/PSS.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/PSS.dyn_o ) [21 of 58] Compiling KAT_PubKey.P256 ( tests/KAT_PubKey/P256.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/P256.dyn_o ) [22 of 58] Compiling KAT_PubKey.OAEP ( tests/KAT_PubKey/OAEP.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/OAEP.dyn_o ) [23 of 58] Compiling KAT_PubKey.ECDSA ( tests/KAT_PubKey/ECDSA.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/ECDSA.dyn_o ) [24 of 58] Compiling KAT_PubKey.ECC ( tests/KAT_PubKey/ECC.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/ECC.dyn_o ) [25 of 58] Compiling KAT_PubKey.DSA ( tests/KAT_PubKey/DSA.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey/DSA.dyn_o ) [26 of 58] Compiling KAT_PubKey ( tests/KAT_PubKey.hs, dist/build/test-crypton/test-crypton-tmp/KAT_PubKey.dyn_o ) [27 of 58] Compiling KAT_OTP ( tests/KAT_OTP.hs, dist/build/test-crypton/test-crypton-tmp/KAT_OTP.dyn_o ) tests/KAT_OTP.hs:76:1: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either String (TOTPParams SHA1)’ not matched: Left _ | 76 | Right totpSHA1Params = mkTOTPParams SHA1 0 30 OTP8 TwoSteps | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/KAT_OTP.hs:77:1: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either String (TOTPParams SHA256)’ not matched: Left _ | 77 | Right totpSHA256Params = mkTOTPParams SHA256 0 30 OTP8 TwoSteps | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/KAT_OTP.hs:78:1: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either String (TOTPParams SHA512)’ not matched: Left _ | 78 | Right totpSHA512Params = mkTOTPParams SHA512 0 30 OTP8 TwoSteps | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [28 of 58] Compiling KAT_MiyaguchiPreneel ( tests/KAT_MiyaguchiPreneel.hs, dist/build/test-crypton/test-crypton-tmp/KAT_MiyaguchiPreneel.dyn_o ) [29 of 58] Compiling KAT_KMAC ( tests/KAT_KMAC.hs, dist/build/test-crypton/test-crypton-tmp/KAT_KMAC.dyn_o ) [30 of 58] Compiling KAT_HMAC ( tests/KAT_HMAC.hs, dist/build/test-crypton/test-crypton-tmp/KAT_HMAC.dyn_o ) [31 of 58] Compiling KAT_HKDF ( tests/KAT_HKDF.hs, dist/build/test-crypton/test-crypton-tmp/KAT_HKDF.dyn_o ) [32 of 58] Compiling KAT_EdDSA ( tests/KAT_EdDSA.hs, dist/build/test-crypton/test-crypton-tmp/KAT_EdDSA.dyn_o ) tests/KAT_EdDSA.hs:18:34: warning: [-Wtype-equality-requires-operators] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators | 18 | , HashDigestSize hash ~ EdDSA.CurveDigestSize curve | ^ [33 of 58] Compiling KAT_Ed448 ( tests/KAT_Ed448.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Ed448.dyn_o ) [34 of 58] Compiling KAT_Ed25519 ( tests/KAT_Ed25519.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Ed25519.dyn_o ) [35 of 58] Compiling KAT_Curve448 ( tests/KAT_Curve448.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Curve448.dyn_o ) [36 of 58] Compiling KAT_Curve25519 ( tests/KAT_Curve25519.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Curve25519.dyn_o ) [37 of 58] Compiling KAT_CMAC ( tests/KAT_CMAC.hs, dist/build/test-crypton/test-crypton-tmp/KAT_CMAC.dyn_o ) [38 of 58] Compiling KAT_Blake2 ( tests/KAT_Blake2.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Blake2.dyn_o ) [39 of 58] Compiling KAT_Argon2 ( tests/KAT_Argon2.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Argon2.dyn_o ) [40 of 58] Compiling KAT_AFIS ( tests/KAT_AFIS.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AFIS.dyn_o ) [41 of 58] Compiling KAT_AESGCMSIV ( tests/KAT_AESGCMSIV.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AESGCMSIV.dyn_o ) [42 of 58] Compiling Hash ( tests/Hash.hs, dist/build/test-crypton/test-crypton-tmp/Hash.dyn_o ) [43 of 58] Compiling ECDSA ( tests/ECDSA.hs, dist/build/test-crypton/test-crypton-tmp/ECDSA.dyn_o ) tests/ECDSA.hs:54:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe ECC.Signature’ not matched: Nothing | 54 | Just sigECC = ECC.signWith kECC privECC hashAlg msg | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/ECDSA.hs:55:13: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Maybe (ECDSA.Signature curve)’ not matched: Nothing | 55 | Just sigECDSA = ECDSA.signWith prx kECDSA privECDSA hashAlg msg | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [44 of 58] Compiling ECC.Edwards25519 ( tests/ECC/Edwards25519.hs, dist/build/test-crypton/test-crypton-tmp/ECC/Edwards25519.dyn_o ) [45 of 58] Compiling ECC ( tests/ECC.hs, dist/build/test-crypton/test-crypton-tmp/ECC.dyn_o ) tests/ECC.hs:273:29: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘Either String ByteString’ not matched: Left _ | 273 | vpEncodedPoint vector = let Right bs = convertFromBase Base16 (vpHex vector) in bs | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/ECC.hs:288:17: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘CryptoFailable (ECC.Point curve)’ not matched: CryptoFailed _ | 288 | CryptoPassed public = ECC.decodePoint prx $ vpEncodedPoint vector | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [46 of 58] Compiling ChaChaPoly1305 ( tests/ChaChaPoly1305.hs, dist/build/test-crypton/test-crypton-tmp/ChaChaPoly1305.dyn_o ) [47 of 58] Compiling ChaCha ( tests/ChaCha.hs, dist/build/test-crypton/test-crypton-tmp/ChaCha.dyn_o ) [48 of 58] Compiling BlockCipher ( tests/BlockCipher.hs, dist/build/test-crypton/test-crypton-tmp/BlockCipher.dyn_o ) [49 of 58] Compiling KAT_Twofish ( tests/KAT_Twofish.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Twofish.dyn_o ) [50 of 58] Compiling KAT_TripleDES ( tests/KAT_TripleDES.hs, dist/build/test-crypton/test-crypton-tmp/KAT_TripleDES.dyn_o ) [51 of 58] Compiling KAT_DES ( tests/KAT_DES.hs, dist/build/test-crypton/test-crypton-tmp/KAT_DES.dyn_o ) [52 of 58] Compiling KAT_Camellia ( tests/KAT_Camellia.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Camellia.dyn_o ) [53 of 58] Compiling KAT_CAST5 ( tests/KAT_CAST5.hs, dist/build/test-crypton/test-crypton-tmp/KAT_CAST5.dyn_o ) [54 of 58] Compiling KAT_Blowfish ( tests/KAT_Blowfish.hs, dist/build/test-crypton/test-crypton-tmp/KAT_Blowfish.dyn_o ) [55 of 58] Compiling KAT_AES ( tests/KAT_AES.hs, dist/build/test-crypton/test-crypton-tmp/KAT_AES.dyn_o ) [56 of 58] Compiling BCrypt ( tests/BCrypt.hs, dist/build/test-crypton/test-crypton-tmp/BCrypt.dyn_o ) [57 of 58] Compiling XSalsa ( tests/XSalsa.hs, dist/build/test-crypton/test-crypton-tmp/XSalsa.dyn_o ) [58 of 58] Compiling Main ( tests/Tests.hs, dist/build/test-crypton/test-crypton-tmp/Main.dyn_o ) [59 of 59] Linking dist/build/test-crypton/test-crypton Unregistering crypton-1.0.1... ==> Starting check()... Running 1 test suites... Test suite test-crypton: RUNNING... crypton runtime CPU: OK [] number num-bits: OK (0.03s) +++ OK, passed 100 tests. num-bits2: OK +++ OK, passed 100 tests. generate-param: OK (0.01s) +++ OK, passed 100 tests. generate-param2: OK +++ OK, passed 100 tests. generate-param-odd: OK +++ OK, passed 100 tests. generate-range: OK +++ OK, passed 100 tests. generate-prime: OK (9.26s) +++ OK, passed 100 tests. generate-safe-prime: OK (29.73s) +++ OK, passed 100 tests. as-power-of-2-and-odd: OK +++ OK, passed 100 tests. squareRoot: OK (2.09s) +++ OK, passed 100 tests. marshalling-be: OK +++ OK, passed 100 tests. marshalling-le: OK +++ OK, passed 100 tests. be-rev-le: OK +++ OK, passed 100 tests. be-rev-le-40: OK +++ OK, passed 100 tests. le-rev-be: OK +++ OK, passed 100 tests. le-rev-be-40: OK +++ OK, passed 100 tests. marshalling-kat-to-bytearray 0: OK 1: OK 2: OK 3: OK 4: OK marshalling-kat-to-integer 0: OK 1: OK 2: OK 3: OK 4: OK number.F2m addF2m commutative: OK +++ OK, passed 100 tests. associative: OK +++ OK, passed 100 tests. 0 is neutral: OK +++ OK, passed 100 tests. nullable: OK +++ OK, passed 100 tests. works per bit: OK +++ OK, passed 100 tests. modF2m idempotent: OK +++ OK, passed 100 tests. upper bound: OK +++ OK, passed 100 tests. reach upper: OK +++ OK, passed 100 tests. lower bound: OK +++ OK, passed 100 tests. reach lower: OK +++ OK, passed 100 tests. additive: OK +++ OK, passed 100 tests. mulF2m commutative: OK +++ OK, passed 100 tests. associative: OK +++ OK, passed 100 tests. 1 is neutral: OK +++ OK, passed 100 tests. 0 is annihilator: OK +++ OK, passed 100 tests. distributive: OK +++ OK, passed 100 tests. squareF2m sqr(a) == a * a: OK +++ OK, passed 100 tests. sqrt(a) * sqrt(a) = a in GF(2^16): OK (4.02s) +++ OK, passed 1 test. powF2m 2 is square: OK +++ OK, passed 100 tests. 1 is identity: OK +++ OK, passed 100 tests. 0 is annihilator: OK +++ OK, passed 100 tests. (a * b) ^ c == (a ^ c) * (b ^ c): OK +++ OK, passed 100 tests. a ^ (b + c) == (a ^ b) * (a ^ c): OK +++ OK, passed 100 tests. a ^ (b * c) == (a ^ b) ^ c: OK +++ OK, passed 100 tests. invF2m 1 / a * a == 1: OK +++ OK, passed 100 tests. 1 / a == a (mod a^2-1): OK +++ OK, passed 100 tests. divF2m 1 / a == inv a: OK +++ OK, passed 100 tests. a / b == a * inv b: OK +++ OK, passed 100 tests. a * b / b == a: OK +++ OK, passed 100 tests. hash KATs MD2 1: OK 2: OK 3: OK MD4 1: OK 2: OK 3: OK MD5 1: OK 2: OK 3: OK SHA1 1: OK 2: OK 3: OK SHA224 1: OK 2: OK 3: OK SHA256 1: OK 2: OK 3: OK SHA384 1: OK 2: OK 3: OK SHA512 1: OK 2: OK 3: OK SHA512/224 1: OK 2: OK 3: OK SHA512/256 1: OK 2: OK 3: OK RIPEMD160 1: OK 2: OK 3: OK Tiger 1: OK 2: OK 3: OK Skein256-256 1: OK 2: OK 3: OK Skein512-384 1: OK 2: OK 3: OK Skein512-512 1: OK 2: OK 3: OK Whirlpool 1: OK 2: OK 3: OK Keccak-224 1: OK 2: OK 3: OK Keccak-256 1: OK 2: OK 3: OK Keccak-384 1: OK 2: OK 3: OK Keccak-512 1: OK 2: OK 3: OK SHA3-224 1: OK 2: OK 3: OK SHA3-256 1: OK 2: OK 3: OK SHA3-384 1: OK 2: OK 3: OK SHA3-512 1: OK 2: OK 3: OK Blake2b-160 1: OK 2: OK 3: OK Blake2b-224 1: OK 2: OK 3: OK Blake2b-256 1: OK 2: OK 3: OK Blake2b-384 1: OK 2: OK 3: OK Blake2b-512 1: OK 2: OK 3: OK Blake2s-160 1: OK 2: OK 3: OK Blake2s-224 1: OK 2: OK 3: OK Blake2s-256 1: OK 2: OK 3: OK SHAKE128_4096 1: OK 2: OK 3: OK SHAKE256_4096 1: OK 2: OK 3: OK Blake2b 160 1: OK 2: OK 3: OK Blake2b 224 1: OK 2: OK 3: OK Blake2b 256 1: OK 2: OK 3: OK Blake2b 384 1: OK 2: OK 3: OK Blake2b 512 1: OK 2: OK 3: OK Blake2s 160 1: OK 2: OK 3: OK Blake2s 224 1: OK 2: OK 3: OK Blake2s 256 1: OK 2: OK 3: OK Chunking MD2: OK (0.40s) +++ OK, passed 100 tests. MD4: OK (0.34s) +++ OK, passed 100 tests. MD5: OK (0.34s) +++ OK, passed 100 tests. SHA1: OK (0.35s) +++ OK, passed 100 tests. SHA224: OK (0.37s) +++ OK, passed 100 tests. SHA256: OK (0.36s) +++ OK, passed 100 tests. SHA384: OK (0.42s) +++ OK, passed 100 tests. SHA512: OK (0.35s) +++ OK, passed 100 tests. SHA512/224: OK (0.37s) +++ OK, passed 100 tests. SHA512/256: OK (0.35s) +++ OK, passed 100 tests. RIPEMD160: OK (0.33s) +++ OK, passed 100 tests. Tiger: OK (0.35s) +++ OK, passed 100 tests. Skein256-256: OK (0.31s) +++ OK, passed 100 tests. Skein512-384: OK (0.35s) +++ OK, passed 100 tests. Skein512-512: OK (0.38s) +++ OK, passed 100 tests. Whirlpool: OK (0.36s) +++ OK, passed 100 tests. Keccak-224: OK (0.37s) +++ OK, passed 100 tests. Keccak-256: OK (0.35s) +++ OK, passed 100 tests. Keccak-384: OK (0.37s) +++ OK, passed 100 tests. Keccak-512: OK (0.39s) +++ OK, passed 100 tests. SHA3-224: OK (0.38s) +++ OK, passed 100 tests. SHA3-256: OK (0.35s) +++ OK, passed 100 tests. SHA3-384: OK (0.36s) +++ OK, passed 100 tests. SHA3-512: OK (0.41s) +++ OK, passed 100 tests. Blake2b-160: OK (0.37s) +++ OK, passed 100 tests. Blake2b-224: OK (0.38s) +++ OK, passed 100 tests. Blake2b-256: OK (0.35s) +++ OK, passed 100 tests. Blake2b-384: OK (0.37s) +++ OK, passed 100 tests. Blake2b-512: OK (0.33s) +++ OK, passed 100 tests. Blake2s-160: OK (0.35s) +++ OK, passed 100 tests. Blake2s-224: OK (0.37s) +++ OK, passed 100 tests. Blake2s-256: OK (0.35s) +++ OK, passed 100 tests. SHAKE128_4096: OK (0.35s) +++ OK, passed 100 tests. SHAKE256_4096: OK (0.42s) +++ OK, passed 100 tests. Blake2b 160: OK (0.33s) +++ OK, passed 100 tests. Blake2b 224: OK (0.34s) +++ OK, passed 100 tests. Blake2b 256: OK (0.36s) +++ OK, passed 100 tests. Blake2b 384: OK (0.34s) +++ OK, passed 100 tests. Blake2b 512: OK (0.35s) +++ OK, passed 100 tests. Blake2s 160: OK (0.39s) +++ OK, passed 100 tests. Blake2s 224: OK (0.36s) +++ OK, passed 100 tests. Blake2s 256: OK (0.37s) +++ OK, passed 100 tests. Prefix MD5: OK (0.27s) +++ OK, passed 100 tests. SHA1: OK (0.27s) +++ OK, passed 100 tests. SHA224: OK (0.27s) +++ OK, passed 100 tests. SHA256: OK (0.28s) +++ OK, passed 100 tests. SHA384: OK (0.29s) +++ OK, passed 100 tests. SHA512: OK (0.26s) +++ OK, passed 100 tests. Hybrid MD5: OK (0.50s) +++ OK, passed 100 tests. SHA1: OK (0.50s) +++ OK, passed 100 tests. SHA224: OK (0.50s) +++ OK, passed 100 tests. SHA256: OK (0.50s) +++ OK, passed 100 tests. SHA384: OK (0.46s) +++ OK, passed 100 tests. SHA512: OK (0.48s) +++ OK, passed 100 tests. Truncating SHAKE128 1: OK 2: OK 3: OK 4: OK 5: OK 6: OK 7: OK 8: OK Padding Cases 1: OK 2: OK 3: OK ZeroCases 1: OK 2: OK 3: OK ConstructHash MiyaguchiPreneel KATs aes128 1: OK 2: OK 3: OK 4: OK MAC Poly1305 V0: OK Chunking: OK (0.09s) +++ OK, passed 100 tests. Blake2 KATs Blake2b_512 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK Blake2bp_512 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK Blake2s_512 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK Blake2sp_512 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK properties Blake2b_512 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.12s) +++ OK, passed 100 tests. Blake2bp_512 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. Blake2s_256 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.11s) +++ OK, passed 100 tests. Blake2sp_256 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.12s) +++ OK, passed 100 tests. CMAC KAT - NIST test vectors aes128 1: OK 2: OK 3: OK 4: OK 5: OK 6: OK 7: OK aes192 1: OK 2: OK 3: OK 4: OK 5: OK 6: OK 7: OK aes256 1: OK 2: OK 3: OK 4: OK 5: OK 6: OK 7: OK Three Key TDEA 1: OK 2: OK (0.01s) 3: OK 4: OK (0.03s) 5: OK (0.02s) 6: OK (0.05s) 7: OK (0.07s) Two Key TDEA 1: OK (0.01s) 2: OK (0.01s) 3: OK 4: OK (0.03s) 5: OK (0.03s) 6: OK (0.06s) 7: OK (0.07s) HMAC KATs md5 1: OK incr-1: OK 2: OK incr-2: OK sha1 1: OK incr-1: OK 2: OK incr-2: OK sha256 1: OK incr-1: OK 2: OK incr-2: OK keccak-224 1: OK incr-1: OK keccak-256 1: OK incr-1: OK keccak-384 1: OK incr-1: OK keccak-512 1: OK incr-1: OK sha3-224 1: OK incr-1: OK sha3-256 1: OK incr-1: OK sha3-384 1: OK incr-1: OK sha3-512 1: OK incr-1: OK properties MD5 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. SHA1 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.13s) +++ OK, passed 100 tests. SHA256 list-one: OK (0.03s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. SHA3_224 list-one: OK (0.02s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. SHA3_256 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. SHA3_384 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.12s) +++ OK, passed 100 tests. SHA3_512 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.16s) +++ OK, passed 100 tests. KMAC KATs SHAKE128 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK SHAKE256 1: OK incr-1: OK 2: OK incr-2: OK 3: OK incr-3: OK properties SHAKE128_256 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.14s) +++ OK, passed 100 tests. SHAKE256_512 list-one: OK (0.04s) +++ OK, passed 100 tests. list-multi: OK (0.12s) +++ OK, passed 100 tests. Curve25519 KATs 0: OK 1: OK 2: OK 3: OK Curve448 KATs 0: OK 1: OK 2: FAIL tests/KAT_Curve448.hs:19: expected: PublicKey "\155\b\247\204\&1\183\227\230}\"\213\174\161!\aJ';\210\184=\224\156c\250\167=,\"\197\217\187\200\&6drA\217S\212\f[\DC2\218\136\DC2\rS\ETB\DEL\128\229\&2\196\US\160" but got: PublicKey "L\t\234=\137\DLE9\232\165\159\132\&7`\147f\STX\144=Z\253\175\204\NUL\145\232\204\SI\224\243\188\ENQ\208n\DC45o\SO~\t;\128\198F\146\US^\164\226\&3>`\209K\186\164\CAN" Use -p '/Curve448.KATs.2/' to rerun this test only. 3: OK Ed25519 gen secretkey: OK (0.03s) gen publickey 0: OK 1: OK 2: OK 3: OK 4: OK gen signature 0: OK 1: OK 2: OK 3: OK 4: OK verify sig 0: OK 1: OK 2: OK 3: OK 4: OK Ed448 gen secretkey: OK gen publickey 0: FAIL tests/KAT_Ed448.hs:68: expected: PublicKey "_\215D\155Y\180a\253,\231\135\236aj\212j\GS\161\&4$\133\167\SO\US\138\SO\167]\128\233gx\237\241$v\155F\199\ACK\ESC\214x=\241\229\SIl\209\250\SUB\190\175\232%a\128" but got: PublicKey "T\234\191y\211d\190\227\b\184\nkK\252\156\157o\SO\221PH&\138\SOH\242\DEL4\183\FS\254^\231uN,\154\201\143\245\136\209\&9\254\204\210\233\NUL\DLE\207x\239?0=\246N\128" Use -p '/Ed448.gen publickey.0/' to rerun this test only. 1: FAIL (0.01s) tests/KAT_Ed448.hs:68: expected: PublicKey "C\186(\244\&0\205\255Ej\229\&1T_~\205\n\200\&4\165]\147X\192\&7+\250\flg\152\192\134j\234\SOH\235\NULt(\STX\184C\142\164\203\130\SYN\156#Q`b{L:\148\128" but got: PublicKey "=i6\CANP\ETX\ESC\234a\DC22\136\136\161&\225\210\212\169\255\230\179\162\177co9t\EOTB\bEnZ$\178\244\139\163\250\226iUq4\234\150\&6\227\132\225R\208-\199!\NUL" Use -p '/Ed448.gen publickey.1/' to rerun this test only. 2: FAIL tests/KAT_Ed448.hs:68: expected: PublicKey "\220\234\158x\243Z\ESC\243I\154\131\ESC\DLE\184l\144\170\192\FS\216Kg\160\DLE\155U\163n\147(\177\227e\252\225a\215\FS\231\DC3\SUBT>\164\203_~\159\GS\139\NULidG\NUL\DC4\NUL" but got: PublicKey "\140j\185\143\154\212\222\SUB\EMS\DLE+\246\207}\t\"\168\247H\148Agix\249\231\&1\190\174\252\DC4A\183\SOfK\165\205\254}\156\v\221L\130\175\235\202v\n9\187r2\184\128" Use -p '/Ed448.gen publickey.2/' to rerun this test only. 3: FAIL tests/KAT_Ed448.hs:68: expected: PublicKey ";\161m\160\198\242\204\US0\CANw@uo^y\141k\197\252\SOH]|c\204\149\DLE\238?\212J\220$\216\233h\182\228no\148\209\155\148Sark\215^\DC4\158\240\152\ETB\245\128" but got: PublicKey "\FS\NAK\197\229\191\NUL:\240\213\233\141\179h/Y\223\132\190\201/\191\232<\249tQ\135\b}\144\133\&7\254_BZ\175\145SCn\b\155]q\137Y\253\191\165\159\SO\211\201\134\220\NUL" Use -p '/Ed448.gen publickey.3/' to rerun this test only. 4: FAIL tests/KAT_Ed448.hs:68: expected: PublicKey "\179\218\a\155\n\164\147\165w )\240F{\174\190\229\168\DC1-\157:\"S#a\218)O{\179\129\\]\197\158\ETBkM\159\&8\FS\160\147\142\DC3\198\192{\ETBK\230]\250W\142\128" but got: PublicKey "\179&T\194\227\nx\195\157I\"\SO\179\157F\243\159)\137&b\STX\240^\190O\234\225\211\NAK\ACK\233\210%d\249\186\185\135d\174w\144\ETB\183i\161\237\238\179\209\EOT\164<\b\220\128" Use -p '/Ed448.gen publickey.4/' to rerun this test only. 5: FAIL (0.02s) tests/KAT_Ed448.hs:68: expected: PublicKey "\223\151\ENQ\245\142\219\171\128,\DEL\131c\207\229V\n\177\198\DC3, \169\241\221\SYN4\131\162o\138\197:9\214\128\139\244\161\223\189&\ESC\t\155\176;?\181\t\ACK\203(\189\138\b\US\NUL" but got: PublicKey "\221'\184\132~}/\CAN)JZVk\222F\133\"\213\187\222m\168\159\170+\209*M\186\DEL\SUB\194\SI\NULH\172\161/\230\249=\ESC\173\253\229\&8\t\195\132y\204\133\200\&7\202\DEL\128" Use -p '/Ed448.gen publickey.5/' to rerun this test only. 6: Test suite test-crypton: FAIL Test suite logged to: dist/test/crypton-1.0.1-test-crypton.log 0 of 1 test suites (0 of 1 test cases) passed. ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list haskell-crypton-1.0.1-2-riscv64-build.log haskell-crypton-1.0.1-2-riscv64-check.log sent 62 bytes received 8,865 bytes 5,951.33 bytes/sec total size is 62,220 speedup is 6.97