Build Information
Failed to build swift-homomorphic-encryption, reference main (1fba8b
), with Swift 6.2 (beta) for Android on 16 Aug 2025 22:47:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-homomorphic-encryption.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-homomorphic-encryption
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1fba8b7 Add PolyRq/removeLastRows (#227)
Submodule path 'swift-homomorphic-encryption-protobuf': checked out '33bce8625cb02a4007a3d6d66b8599cea7c203a7'
Submodule 'swift-homomorphic-encryption-protobuf' (https://github.com/apple/swift-homomorphic-encryption-protobuf) registered for path 'swift-homomorphic-encryption-protobuf'
Cloning into '/host/spi-builder-workspace/swift-homomorphic-encryption-protobuf'...
Cloned https://github.com/apple/swift-homomorphic-encryption.git
Revision (git rev-parse @):
1fba8b70c887339b3b41a4ff5754317a47722b78
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-homomorphic-encryption.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-homomorphic-encryption.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-log.git
[1/2094] Fetching swift-docc-plugin
[232/5980] Fetching swift-docc-plugin, swift-log
[4352/12315] Fetching swift-docc-plugin, swift-log, swift-numerics
[4832/28578] Fetching swift-docc-plugin, swift-log, swift-numerics, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
Fetching https://github.com/apple/swift-algorithms
[9243/24692] Fetching swift-docc-plugin, swift-numerics, swift-crypto
[9244/40345] Fetching swift-docc-plugin, swift-numerics, swift-crypto, swift-argument-parser
[25872/46313] Fetching swift-docc-plugin, swift-numerics, swift-crypto, swift-argument-parser, swift-algorithms
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.83s)
[30071/44219] Fetching swift-numerics, swift-crypto, swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
[14580/28566] Fetching swift-numerics, swift-crypto, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.46s)
[8775/22598] Fetching swift-numerics, swift-crypto
[22599/62717] Fetching swift-numerics, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (1.70s)
[15964/46454] Fetching swift-numerics, swift-protobuf
Fetched https://github.com/apple/swift-numerics from cache (5.83s)
Fetched https://github.com/apple/swift-protobuf from cache (5.89s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (6.27s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (2.19s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.40s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3454] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.34s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (0.99s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.35s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/467] Write sources
[5/467] Copying PrivacyInfo.xcprivacy
[5/467] Write sources
[35/467] Compiling _NumericsShims _NumericsShims.c
[36/467] Compiling CUtil zeroize.c
[37/467] Compiling fiat_p256_adx_sqr.S
[38/467] Compiling fiat_p256_adx_mul.S
[39/467] Write swift-version-8C5A4AE7A8CE2BA.txt
[40/467] Compiling fiat_curve25519_adx_square.S
[41/467] Compiling fiat_curve25519_adx_mul.S
[42/467] Compiling md5-x86_64-linux.S
[43/467] Compiling md5-x86_64-apple.S
[44/580] Compiling CCryptoBoringSSLShims shims.c
[45/585] Compiling ecdsa_p1363.cc
[46/585] Compiling md5-586-linux.S
[47/585] Compiling md5-586-apple.S
[48/585] Compiling a_bool.cc
[49/585] Compiling chacha20_poly1305_x86_64-linux.S
[50/585] Compiling a_bitstr.cc
[51/585] Compiling chacha20_poly1305_x86_64-apple.S
[52/585] Compiling chacha20_poly1305_armv8-win.S
[53/585] Compiling chacha20_poly1305_armv8-linux.S
[54/585] Compiling chacha20_poly1305_armv8-apple.S
[55/585] Compiling chacha-x86_64-linux.S
[56/585] Compiling chacha-x86_64-apple.S
[57/585] Compiling chacha-x86-linux.S
[58/585] Compiling chacha-x86-apple.S
[59/585] Compiling chacha-armv8-win.S
[60/585] Compiling chacha-armv8-apple.S
[61/585] Compiling chacha-armv8-linux.S
[62/585] Compiling chacha-armv4-linux.S
[63/585] Compiling aes128gcmsiv-x86_64-linux.S
[64/585] Compiling err_data.cc
[65/585] Compiling x86_64-mont5-linux.S
[65/585] Compiling aes128gcmsiv-x86_64-apple.S
[67/585] Compiling x86_64-mont5-apple.S
[68/585] Compiling x86_64-mont-linux.S
[69/585] Compiling x86-mont-linux.S
[70/585] Compiling x86_64-mont-apple.S
[71/585] Compiling vpaes-x86_64-linux.S
[72/585] Compiling x86-mont-apple.S
[73/585] Compiling vpaes-x86_64-apple.S
[74/585] Compiling vpaes-x86-linux.S
[75/585] Compiling vpaes-x86-apple.S
[76/585] Compiling vpaes-armv8-win.S
[77/585] Compiling vpaes-armv8-apple.S
[78/585] Compiling vpaes-armv7-linux.S
[79/585] Compiling vpaes-armv8-linux.S
[80/585] Compiling sha512-x86_64-linux.S
[81/585] Compiling sha512-x86_64-apple.S
[82/585] Compiling sha512-armv8-win.S
[83/585] Compiling sha512-armv8-apple.S
[84/585] Compiling sha512-armv8-linux.S
[85/585] Compiling sha512-armv4-linux.S
[86/585] Compiling sha512-586-linux.S
[87/585] Compiling sha256-x86_64-linux.S
[88/585] Compiling sha512-586-apple.S
[89/585] Compiling sha256-x86_64-apple.S
[90/585] Compiling sha256-armv8-win.S
[91/585] Compiling sha256-armv8-apple.S
[92/585] Compiling sha256-armv8-linux.S
[93/585] Compiling sha256-586-linux.S
[94/585] Compiling sha256-armv4-linux.S
[95/585] Compiling sha256-586-apple.S
[96/585] Compiling sha1-x86_64-linux.S
[97/585] Compiling sha1-x86_64-apple.S
[98/585] Compiling sha1-armv8-win.S
[99/585] Compiling sha1-armv8-apple.S
[100/585] Compiling sha1-armv4-large-linux.S
[101/585] Compiling sha1-armv8-linux.S
[102/585] Compiling sha1-586-linux.S
[103/585] Compiling sha1-586-apple.S
[104/585] Compiling rsaz-avx2-linux.S
[105/585] Compiling rsaz-avx2-apple.S
[106/585] Compiling rdrand-x86_64-linux.S
[107/585] Compiling rdrand-x86_64-apple.S
[108/585] Compiling p256_beeu-x86_64-asm-linux.S
[109/585] Compiling p256_beeu-x86_64-asm-apple.S
[110/585] Compiling p256_beeu-armv8-asm-win.S
[111/585] Compiling p256_beeu-armv8-asm-linux.S
[112/585] Compiling p256_beeu-armv8-asm-apple.S
[113/585] Compiling p256-x86_64-asm-linux.S
[114/585] Compiling p256-armv8-asm-win.S
[115/585] Compiling p256-x86_64-asm-apple.S
[116/585] Compiling p256-armv8-asm-apple.S
[117/585] Compiling ghashv8-armv8-win.S
[118/585] Compiling p256-armv8-asm-linux.S
[119/585] Compiling ghashv8-armv8-linux.S
[120/585] Compiling ghashv8-armv7-linux.S
[121/585] Compiling ghashv8-armv8-apple.S
[122/585] Compiling ghash-x86_64-linux.S
[123/585] Compiling ghash-x86_64-apple.S
[124/585] Compiling ghash-x86-linux.S
[125/585] Compiling ghash-x86-apple.S
[126/585] Compiling ghash-ssse3-x86_64-linux.S
[127/585] Compiling ghash-ssse3-x86_64-apple.S
[128/585] Compiling ghash-ssse3-x86-linux.S
[129/585] Compiling ghash-neon-armv8-win.S
[130/585] Compiling ghash-ssse3-x86-apple.S
[131/585] Compiling ghash-neon-armv8-linux.S
[132/585] Compiling ghash-armv4-linux.S
[133/585] Compiling ghash-neon-armv8-apple.S
[134/585] Compiling co-586-linux.S
[135/585] Compiling co-586-apple.S
[136/585] Compiling bn-armv8-win.S
[136/585] Compiling bsaes-armv7-linux.S
[138/585] Compiling bn-armv8-linux.S
[139/585] Compiling bn-armv8-apple.S
[140/585] Compiling bn-586-linux.S
[141/585] Compiling bn-586-apple.S
[142/585] Compiling armv8-mont-win.S
[143/585] Compiling armv8-mont-linux.S
[144/585] Compiling armv8-mont-apple.S
[145/585] Compiling armv4-mont-linux.S
[146/585] Compiling aesv8-gcm-armv8-win.S
[147/585] Compiling aesv8-gcm-armv8-apple.S
[148/585] Compiling aesv8-gcm-armv8-linux.S
[149/585] Compiling aesv8-armv8-win.S
[150/585] Compiling aesv8-armv8-linux.S
[151/585] Compiling aesv8-armv7-linux.S
[152/585] Compiling aesv8-armv8-apple.S
[153/585] Compiling aesni-x86_64-linux.S
[154/585] Compiling aesni-x86-linux.S
[155/585] Compiling aesni-x86_64-apple.S
[156/585] Compiling aesni-gcm-x86_64-linux.S
[157/585] Compiling aesni-x86-apple.S
[158/585] Compiling aesni-gcm-x86_64-apple.S
[159/585] Compiling aes-gcm-avx512-x86_64-linux.S
[160/585] Compiling aes-gcm-avx512-x86_64-apple.S
[161/585] Compiling aes-gcm-avx2-x86_64-linux.S
[162/585] Compiling aes-gcm-avx2-x86_64-apple.S
[164/585] Emitting module RealModule
[165/585] Compiling SwiftProtobuf AnyMessageStorage.swift
[166/585] Compiling SwiftProtobuf AnyUnpackError.swift
[167/586] Compiling RealModule Float80+Real.swift
[168/586] Compiling RealModule Real.swift
[169/586] Compiling SwiftASN1 TimeUtilities.swift
[170/586] Compiling SwiftASN1 UTCTime.swift
[171/588] Compiling SwiftASN1 ASN1Integer.swift
[172/588] Compiling SwiftASN1 ASN1Null.swift
[173/588] Compiling SwiftASN1 ASN1OctetString.swift
[174/588] Compiling SwiftASN1 ASN1Strings.swift
[175/588] Compiling SwiftASN1 ArraySliceBigint.swift
[176/588] Compiling SwiftASN1 GeneralizedTime.swift
[177/588] Compiling RealModule Double+Real.swift
[178/588] Compiling SwiftProtobuf BinaryDecodingError.swift
[179/588] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[180/588] Compiling RealModule Float16+Real.swift
[181/588] Compiling RealModule RealFunctions.swift
[184/588] Compiling RealModule AugmentedArithmetic.swift
[185/588] Compiling RealModule ElementaryFunctions.swift
[186/588] Compiling RealModule Float+Real.swift
[186/588] Compiling xwing.cc
[191/589] Compiling ModularArithmetic Scalar.swift
[192/589] Emitting module ModularArithmetic
[193/589] Compiling ModularArithmetic Modulus.swift
[194/595] Compiling x_x509a.cc
[195/595] Wrapping AST for RealModule for debugging
[196/595] Wrapping AST for ModularArithmetic for debugging
[197/595] Compiling x_x509.cc
[199/595] Emitting module SwiftASN1
[200/595] Compiling SwiftASN1 DER.swift
[201/595] Compiling SwiftASN1 Errors.swift
[202/595] Emitting module ComplexModule
[203/595] Compiling ComplexModule ElementaryFunctions.swift
[203/595] Compiling x_val.cc
[204/595] Compiling x_spki.cc
[205/595] Compiling x_sig.cc
[206/595] Compiling x_req.cc
[208/595] Compiling Logging MetadataProvider.swift
[209/595] Compiling SwiftASN1 ObjectIdentifier.swift
[210/595] Compiling SwiftASN1 PEMDocument.swift
[211/596] Compiling Logging Locks.swift
[212/596] Emitting module Logging
[213/596] Wrapping AST for SwiftASN1 for debugging
[215/596] Compiling Logging Logging.swift
[216/596] Compiling Logging LogHandler.swift
[217/597] Wrapping AST for Logging for debugging
[219/597] Compiling SwiftProtobuf Message+JSONAdditions.swift
[220/597] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[221/597] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[222/597] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[223/597] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[224/597] Compiling SwiftProtobuf Message.swift
[225/597] Compiling SwiftProtobuf MessageExtension.swift
[226/597] Compiling SwiftProtobuf NameMap.swift
[227/597] Compiling SwiftProtobuf PathDecoder.swift
[228/597] Compiling SwiftProtobuf PathVisitor.swift
[229/597] Compiling SwiftProtobuf ProtoNameProviding.swift
[230/597] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[231/597] Compiling SwiftProtobuf ProtobufMap.swift
[232/597] Compiling SwiftProtobuf SelectiveVisitor.swift
[233/597] Compiling SwiftProtobuf SimpleExtensionMap.swift
[234/597] Compiling SwiftProtobuf StringUtils.swift
[235/597] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[236/597] Compiling SwiftProtobuf SwiftProtobufError.swift
[237/597] Compiling SwiftProtobuf TextFormatDecoder.swift
[238/597] Compiling SwiftProtobuf TextFormatDecodingError.swift
[239/597] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[240/597] Compiling SwiftProtobuf TextFormatEncoder.swift
[241/597] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[241/608] Compiling x_pubkey.cc
[242/608] Compiling x_name.cc
[243/608] Compiling x_exten.cc
[244/608] Compiling x_crl.cc
[245/608] Compiling x_attrib.cc
[247/608] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[248/608] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[249/608] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[250/608] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[251/608] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[252/608] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[253/608] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[254/608] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[255/608] Compiling SwiftProtobuf HashVisitor.swift
[256/608] Compiling SwiftProtobuf Internal.swift
[257/608] Compiling SwiftProtobuf JSONDecoder.swift
[258/608] Compiling SwiftProtobuf JSONDecodingError.swift
[259/608] Compiling SwiftProtobuf JSONDecodingOptions.swift
[260/608] Compiling SwiftProtobuf JSONEncoder.swift
[261/608] Compiling SwiftProtobuf JSONEncodingError.swift
[262/608] Compiling SwiftProtobuf JSONEncodingOptions.swift
[263/608] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[264/608] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[265/608] Compiling SwiftProtobuf JSONScanner.swift
[266/608] Compiling SwiftProtobuf MathUtils.swift
[267/608] Compiling SwiftProtobuf Message+AnyAdditions.swift
[268/608] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[269/608] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[270/608] Compiling SwiftProtobuf Message+FieldMask.swift
[277/608] Compiling SwiftProtobuf ExtensionFields.swift
[278/608] Compiling SwiftProtobuf ExtensionMap.swift
[279/608] Compiling SwiftProtobuf FieldTag.swift
[280/608] Compiling SwiftProtobuf FieldTypes.swift
[281/608] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[282/608] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[282/608] Compiling x_all.cc
[283/608] Compiling x_algor.cc
[284/608] Compiling x509spki.cc
[285/608] Compiling x509rset.cc
[287/608] Compiling ComplexModule Complex.swift
[288/608] Compiling ComplexModule Differentiable.swift
[289/608] Compiling ComplexModule Arithmetic.swift
[289/609] Compiling x509name.cc
[291/609] Compiling x509cset.cc
[292/611] Wrapping AST for ComplexModule for debugging
[294/611] Compiling Numerics Numerics.swift
[295/611] Emitting module Numerics
[296/612] Wrapping AST for Numerics for debugging
[298/612] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[299/612] Compiling SwiftProtobuf TextFormatScanner.swift
[300/612] Compiling SwiftProtobuf TimeUtils.swift
[301/612] Compiling SwiftProtobuf UnknownStorage.swift
[302/612] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[303/612] Compiling SwiftProtobuf Varint.swift
[304/612] Compiling SwiftProtobuf Version.swift
[305/612] Compiling SwiftProtobuf Visitor.swift
[306/612] Compiling SwiftProtobuf WireFormat.swift
[307/612] Compiling SwiftProtobuf ZigZag.swift
[308/612] Compiling SwiftProtobuf any.pb.swift
[308/612] Compiling x509_vpm.cc
[309/612] Compiling x509_v3.cc
[310/612] Compiling x509_vfy.cc
[311/612] Compiling x509_txt.cc
[312/612] Compiling x509_trs.cc
[313/612] Compiling x509_set.cc
[314/612] Compiling x509_req.cc
[315/612] Compiling x509_obj.cc
[317/612] Emitting module SwiftProtobuf
[329/612] Compiling x509_ext.cc
[330/612] Compiling x509_lu.cc
[331/612] Compiling x509_def.cc
[332/612] Compiling x509_d2.cc
[333/612] Compiling x509_cmp.cc
[334/612] Compiling x509_att.cc
[335/612] Compiling x509.cc
[336/612] Compiling v3_skey.cc
[337/612] Compiling v3_purp.cc
[338/612] Compiling v3_utl.cc
[339/612] Compiling v3_prn.cc
[340/612] Compiling v3_pmaps.cc
[341/612] Compiling v3_pcons.cc
[342/612] Compiling v3_ocsp.cc
[343/612] Compiling v3_ncons.cc
[344/612] Compiling v3_lib.cc
[345/612] Compiling v3_int.cc
[346/612] Compiling v3_info.cc
[347/612] Compiling v3_ia5.cc
[348/612] Compiling v3_genn.cc
[349/612] Compiling v3_extku.cc
[350/612] Compiling v3_cpols.cc
[351/612] Compiling v3_enum.cc
[352/612] Compiling v3_crld.cc
[353/612] Compiling v3_bitst.cc
[354/612] Compiling v3_conf.cc
[355/612] Compiling v3_bcons.cc
[356/612] Compiling v3_akeya.cc
[357/612] Compiling v3_alt.cc
[358/612] Compiling v3_akey.cc
[359/612] Compiling t_x509a.cc
[360/612] Compiling t_x509.cc
[361/612] Compiling t_req.cc
[362/612] Compiling t_crl.cc
[363/612] Compiling i2d_pr.cc
[364/612] Compiling policy.cc
[365/612] Compiling rsa_pss.cc
[366/612] Compiling name_print.cc
[367/612] Compiling by_dir.cc
[368/612] Compiling by_file.cc
[369/612] Compiling asn1_gen.cc
[370/612] Compiling a_digest.cc
[371/612] Compiling algorithm.cc
[372/612] Compiling a_verify.cc
[373/612] Compiling a_sign.cc
[374/612] Compiling trust_token.cc
[375/612] Compiling voprf.cc
[376/612] Compiling thread_win.cc
[377/612] Compiling thread.cc
[378/612] Compiling thread_pthread.cc
[379/612] Compiling thread_none.cc
[380/612] Compiling pmbtoken.cc
[381/612] Compiling stack.cc
[382/612] Compiling siphash.cc
[383/612] Compiling sha512.cc
[384/612] Compiling sha256.cc
[385/612] Compiling slhdsa.cc
[386/612] Compiling sha1.cc
[387/612] Compiling rsa_print.cc
[388/612] Compiling spake2plus.cc
[389/612] Compiling rsa_extra.cc
[390/612] Compiling rsa_asn1.cc
[391/612] Compiling rsa_crypt.cc
[392/612] Compiling rc4.cc
[393/612] Compiling refcount.cc
[394/612] Compiling windows.cc
[395/612] Compiling rand.cc
[396/612] Compiling urandom.cc
[397/612] Compiling getentropy.cc
[398/612] Compiling trusty.cc
[399/612] Compiling ios.cc
[400/612] Compiling passive.cc
[401/612] Compiling poly1305_arm_asm.S
[402/612] Compiling forkunsafe.cc
[403/612] Compiling poly1305_vec.cc
[404/612] Compiling fork_detect.cc
[405/612] Compiling deterministic.cc
[406/612] Compiling pool.cc
[407/612] Compiling poly1305.cc
[408/612] Compiling poly1305_arm.cc
[410/612] Compiling SwiftProtobuf api.pb.swift
[411/612] Compiling SwiftProtobuf descriptor.pb.swift
[412/612] Compiling SwiftProtobuf duration.pb.swift
[413/612] Compiling SwiftProtobuf empty.pb.swift
[414/612] Compiling SwiftProtobuf field_mask.pb.swift
[415/612] Compiling SwiftProtobuf source_context.pb.swift
[416/612] Compiling SwiftProtobuf struct.pb.swift
[417/612] Compiling SwiftProtobuf timestamp.pb.swift
[418/612] Compiling SwiftProtobuf type.pb.swift
[419/612] Compiling SwiftProtobuf wrappers.pb.swift
[420/612] Compiling SwiftProtobuf resource_bundle_accessor.swift
[421/613] Compiling pkcs8.cc
[422/613] Wrapping AST for SwiftProtobuf for debugging
[423/613] Compiling pem_xaux.cc
[424/613] Compiling pkcs8_x509.cc
[425/613] Compiling p5_pbev2.cc
[426/613] Compiling pkcs7.cc
[427/613] Compiling pem_x509.cc
[428/613] Compiling pem_oth.cc
[429/613] Compiling pkcs7_x509.cc
[430/613] Compiling pem_pkey.cc
[431/613] Compiling mlkem.cc
[432/613] Compiling pem_lib.cc
[433/613] Compiling pem_info.cc
[434/613] Compiling pem_all.cc
[435/613] Compiling pem_pk8.cc
[436/613] Compiling obj_xref.cc
[437/613] Compiling mldsa.cc
[438/613] Compiling mem.cc
[439/613] Compiling poly_rq_mul.S
[440/613] Compiling lhash.cc
[441/613] Compiling obj.cc
[442/613] Compiling fips_shared_support.cc
[443/613] Compiling md5.cc
[444/613] Compiling md4.cc
[445/613] Compiling kyber.cc
[446/613] Compiling fuzzer_mode.cc
[447/613] Compiling ex_data.cc
[448/613] Compiling sign.cc
[449/613] Compiling scrypt.cc
[450/613] Compiling hrss.cc
[451/613] Compiling hpke.cc
[452/613] Compiling pbkdf.cc
[453/613] Compiling print.cc
[454/613] Compiling p_x25519.cc
[455/613] Compiling p_x25519_asn1.cc
[456/613] Compiling p_ed25519.cc
[457/613] Compiling p_rsa_asn1.cc
[458/613] Compiling p_rsa.cc
[459/613] Compiling p_ec.cc
[460/613] Compiling p_hkdf.cc
[461/613] Compiling p_ed25519_asn1.cc
[462/613] Compiling p_ec_asn1.cc
[463/613] Compiling p_dh.cc
[464/613] Compiling p_dsa_asn1.cc
[465/613] Compiling p_dh_asn1.cc
[466/613] Compiling err.cc
[467/613] Compiling evp.cc
[468/613] Compiling evp_ctx.cc
[469/613] Compiling evp_asn1.cc
[470/613] Compiling engine.cc
[471/613] Compiling ecdh.cc
[472/613] Compiling hash_to_curve.cc
[473/613] Compiling ecdsa_asn1.cc
[474/613] Compiling ec_derive.cc
[475/613] Compiling params.cc
[476/613] Compiling ec_asn1.cc
[477/613] Compiling dsa_asn1.cc
[478/613] Compiling dsa.cc
[479/613] Compiling x25519-asm-arm.S
[480/613] Compiling digest_extra.cc
[481/613] Compiling des.cc
[482/613] Compiling bcm.cc
[483/613] Compiling dh_asn1.cc
[484/613] Compiling curve25519_64_adx.cc
[485/613] Compiling spake25519.cc
[486/613] Compiling cpu_intel.cc
[487/613] Compiling crypto.cc
[488/613] Compiling cpu_arm_linux.cc
[489/613] Compiling cpu_aarch64_sysreg.cc
[490/613] Compiling cpu_aarch64_win.cc
[491/613] Compiling curve25519.cc
[492/613] Compiling cpu_arm_freebsd.cc
[493/613] Compiling cpu_aarch64_openbsd.cc
[494/613] Compiling cpu_aarch64_linux.cc
[495/613] Compiling get_cipher.cc
[496/613] Compiling cpu_aarch64_fuchsia.cc
[497/613] Compiling cpu_aarch64_apple.cc
[498/613] Compiling conf.cc
[499/613] Compiling tls_cbc.cc
[500/613] Compiling e_rc4.cc
[501/613] Compiling e_null.cc
[502/613] Compiling e_tls.cc
[503/613] Compiling e_rc2.cc
[504/613] Compiling cms.cc
[505/613] Compiling e_chacha20poly1305.cc
[506/613] Compiling e_des.cc
[507/613] Compiling e_aeseax.cc
[508/613] Compiling e_aesgcmsiv.cc
[509/613] Compiling derive_key.cc
[510/613] Compiling e_aesctrhmac.cc
[511/613] Compiling chacha.cc
[512/613] Compiling unicode.cc
[513/613] Compiling cbs.cc
[514/613] Compiling asn1_compat.cc
[515/613] Compiling cbb.cc
[516/613] Compiling sqrt.cc
[517/613] Compiling ber.cc
[518/613] Compiling div.cc
[519/613] Compiling exponentiation.cc
[520/613] Compiling buf.cc
[521/613] Compiling convert.cc
[522/613] Compiling blake2.cc
[523/613] Compiling printf.cc
[524/613] Compiling pair.cc
[525/613] Compiling bn_asn1.cc
[526/613] Compiling file.cc
[527/613] Compiling hexdump.cc
[528/613] Compiling fd.cc
[529/613] Compiling bio_mem.cc
[530/613] Compiling errno.cc
[531/613] Compiling base64.cc
[532/613] Compiling bio.cc
[533/613] Compiling tasn_typ.cc
[534/613] Compiling tasn_fre.cc
[535/613] Compiling tasn_new.cc
[536/613] Compiling tasn_enc.cc
[537/613] Compiling tasn_utl.cc
[538/613] Compiling f_string.cc
[539/613] Compiling posix_time.cc
[540/613] Compiling f_int.cc
[540/613] Compiling asn_pack.cc
[542/613] Compiling tasn_dec.cc
[543/613] Compiling asn1_par.cc
[544/613] Compiling a_utctm.cc
[545/613] Compiling a_time.cc
[546/613] Compiling a_type.cc
[547/613] Compiling asn1_lib.cc
[548/613] Compiling a_strex.cc
[549/613] Compiling a_strnid.cc
[550/613] Compiling a_octet.cc
[551/613] Compiling a_i2d_fp.cc
[551/613] Write sources
[556/615] Compiling a_object.cc
[557/615] Compiling a_dup.cc
[558/615] Compiling aes.cc
[559/615] Compiling a_mbstr.cc
[560/640] Compiling a_int.cc
[561/640] Compiling a_gentm.cc
[562/640] Compiling a_d2i_fp.cc
[564/648] Emitting module ArgumentParserToolInfo
[565/648] Compiling ArgumentParserToolInfo ToolInfo.swift
[566/649] Wrapping AST for ArgumentParserToolInfo for debugging
[568/657] Compiling Algorithms RandomSample.swift
[569/657] Compiling Algorithms Reductions.swift
[570/657] Compiling Algorithms Rotate.swift
[571/696] Compiling CryptoBoringWrapper RandomBytes.swift
[572/696] Emitting module CryptoBoringWrapper
[573/696] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[574/696] Compiling ArgumentParser CommandConfiguration.swift
[575/696] Compiling ArgumentParser CommandGroup.swift
[576/696] Compiling ArgumentParser EnumerableFlag.swift
[577/696] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[578/696] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[579/696] Compiling ArgumentParser ArgumentDecoder.swift
[580/696] Compiling ArgumentParser ArgumentDefinition.swift
[581/696] Compiling ArgumentParser ArgumentSet.swift
[582/696] Compiling ArgumentParser Option.swift
[583/696] Compiling ArgumentParser ParsableArguments.swift
[584/696] Compiling ArgumentParser ParsableCommand.swift
[585/696] Compiling ArgumentParser CompletionKind.swift
[586/696] Compiling ArgumentParser Errors.swift
[587/696] Compiling ArgumentParser Flag.swift
[588/696] Compiling ArgumentParser NameSpecification.swift
[589/696] Compiling ArgumentParser Argument.swift
[590/696] Compiling ArgumentParser ArgumentDiscussion.swift
[591/696] Compiling ArgumentParser ArgumentHelp.swift
[592/696] Compiling ArgumentParser ArgumentVisibility.swift
[593/696] Compiling ArgumentParser ExpressibleByArgument.swift
[594/696] Compiling ArgumentParser InputKey.swift
[595/696] Compiling ArgumentParser InputOrigin.swift
[596/696] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[597/696] Compiling CryptoBoringWrapper EllipticCurve.swift
[598/696] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[602/697] Compiling ArgumentParser Name.swift
[603/697] Compiling ArgumentParser Parsed.swift
[604/697] Compiling ArgumentParser ParsedValues.swift
[605/697] Compiling ArgumentParser ParserError.swift
[605/703] Wrapping AST for CryptoBoringWrapper for debugging
[607/774] Compiling Crypto HPKE-KEM-Curve25519.swift
[608/774] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[609/774] Compiling Crypto HPKE-KEM.swift
[610/774] Compiling Crypto HPKE-Errors.swift
[611/774] Compiling Crypto HPKE.swift
[612/774] Compiling Crypto HPKE-Context.swift
[613/774] Compiling Crypto AES-GCM.swift
[614/774] Compiling Crypto AES-GCM_boring.swift
[615/774] Compiling Crypto ChaChaPoly_boring.swift
[616/774] Compiling Crypto ChaChaPoly.swift
[617/774] Compiling Crypto X25519Keys.swift
[618/774] Compiling Crypto SymmetricKeys.swift
[619/774] Compiling Crypto HMAC.swift
[620/774] Compiling Crypto MACFunctions.swift
[621/774] Compiling Crypto MessageAuthenticationCode.swift
[622/774] Compiling Crypto AES.swift
[623/774] Compiling Crypto ECDSASignature_boring.swift
[624/774] Compiling Crypto ECDSA_boring.swift
[625/774] Compiling Crypto EdDSA_boring.swift
[626/774] Compiling Crypto ECDSA.swift
[627/784] Emitting module ArgumentParser
[632/784] Compiling Crypto Cipher.swift
[633/784] Compiling Crypto Nonces.swift
[634/784] Compiling Crypto ASN1.swift
[635/784] Compiling Crypto HPKE-KeySchedule.swift
[636/784] Compiling Crypto HPKE-Modes.swift
[637/784] Compiling Crypto Insecure.swift
[638/784] Compiling Crypto Insecure_HashFunctions.swift
[639/784] Compiling Crypto KEM.swift
[640/784] Compiling Crypto ECDH_boring.swift
[641/784] Emitting module Algorithms
[642/785] Wrapping AST for Algorithms for debugging
[644/785] Compiling Crypto HPKE-AEAD.swift
[645/785] Compiling Crypto HPKE-Ciphersuite.swift
[646/785] Compiling Crypto HPKE-KDF.swift
[647/785] Compiling Crypto HPKE-KexKeyDerivation.swift
[648/785] Compiling Crypto HPKE-LabeledExtract.swift
[649/785] Compiling Crypto HPKE-Utils.swift
[650/785] Compiling Crypto DHKEM.swift
[654/785] Compiling Crypto PKCS8PrivateKey.swift
[655/785] Compiling Crypto SEC1PrivateKey.swift
[656/785] Compiling Crypto SubjectPublicKeyInfo.swift
[657/785] Compiling Crypto CryptoError_boring.swift
[658/785] Compiling Crypto CryptoKitErrors.swift
[659/785] Compiling Crypto Digest_boring.swift
[660/785] Compiling Crypto Digest.swift
[661/785] Compiling Crypto Digests.swift
[662/785] Compiling Crypto HashFunctions.swift
[663/785] Compiling Crypto HashFunctions_SHA2.swift
[664/785] Emitting module Crypto
[665/785] Compiling Crypto Ed25519.swift
[666/785] Compiling Crypto Signature.swift
[667/785] Compiling Crypto CryptoKitErrors_boring.swift
[668/785] Compiling Crypto RNG_boring.swift
[669/785] Compiling Crypto SafeCompare_boring.swift
[670/785] Compiling Crypto Zeroization_boring.swift
[671/785] Compiling Crypto PrettyBytes.swift
[672/785] Compiling Crypto SafeCompare.swift
[673/785] Compiling Crypto SecureBytes.swift
[674/785] Compiling Crypto Zeroization.swift
[675/785] Compiling Crypto ASN1Any.swift
[676/785] Compiling Crypto ASN1BitString.swift
[677/785] Compiling Crypto ASN1Boolean.swift
[678/785] Compiling Crypto ASN1Identifier.swift
[679/785] Compiling Crypto ASN1Integer.swift
[680/785] Compiling Crypto ASN1Null.swift
[681/785] Compiling Crypto PEMDocument.swift
[687/785] Compiling Crypto ASN1OctetString.swift
[688/785] Compiling Crypto ASN1Strings.swift
[689/785] Compiling Crypto ArraySliceBigint.swift
[690/785] Compiling Crypto GeneralizedTime.swift
[691/785] Compiling Crypto ObjectIdentifier.swift
[692/785] Compiling Crypto ECDSASignature.swift
[719/786] Compiling Crypto ECDH.swift
[720/786] Compiling Crypto HKDF.swift
[721/786] Compiling Crypto AESWrap.swift
[722/786] Compiling Crypto AESWrap_boring.swift
[723/786] Compiling Crypto Ed25519_boring.swift
[724/786] Compiling Crypto NISTCurvesKeys_boring.swift
[725/786] Compiling Crypto X25519Keys_boring.swift
[726/786] Compiling Crypto Curve25519.swift
[727/786] Compiling Crypto Ed25519Keys.swift
[728/786] Compiling Crypto NISTCurvesKeys.swift
[738/786] Compiling Crypto DH.swift
[740/787] Wrapping AST for ArgumentParser for debugging
[741/787] Wrapping AST for Crypto for debugging
[743/837] Compiling _CryptoExtras PKCS8DERRepresentation.swift
[744/837] Compiling _CryptoExtras PKCS8PrivateKey.swift
[745/837] Compiling _CryptoExtras RFC8410AlgorithmIdentifier.swift
[746/837] Compiling _CryptoExtras ECToolbox_boring.swift
[747/837] Compiling _CryptoExtras ECToolbox.swift
[748/837] Compiling _CryptoExtras HashToField.swift
[749/837] Compiling _CryptoExtras KDF.swift
[750/844] Emitting module _CryptoExtras
[751/844] Compiling _CryptoExtras AES_CBC.swift
[752/844] Compiling _CryptoExtras AES_CFB.swift
[753/844] Compiling _CryptoExtras AES_CTR.swift
[754/844] Compiling _CryptoExtras AES_GCM_SIV.swift
[755/844] Compiling _CryptoExtras Block Function.swift
[756/844] Compiling _CryptoExtras AES_CFB_boring.swift
[757/844] Compiling _CryptoExtras AES_CTR_boring.swift
[758/844] Compiling _CryptoExtras PBKDF2_boring.swift
[759/844] Compiling _CryptoExtras PBKDF2_commoncrypto.swift
[760/844] Compiling _CryptoExtras PBKDF2.swift
[761/844] Compiling _CryptoExtras Scrypt_boring.swift
[762/844] Compiling _CryptoExtras Scrypt.swift
[763/844] Compiling _CryptoExtras OPRF.swift
[764/844] Compiling _CryptoExtras OPRFClient.swift
[765/844] Compiling _CryptoExtras AES_GCM_SIV_boring.swift
[766/844] Compiling _CryptoExtras CMAC.swift
[767/844] Compiling _CryptoExtras ARC+API.swift
[768/844] Compiling _CryptoExtras ARC.swift
[769/844] Compiling _CryptoExtras ARCCredential.swift
[770/844] Compiling _CryptoExtras ARCEncoding.swift
[771/844] Compiling _CryptoExtras ARCPrecredential.swift
[772/844] Compiling _CryptoExtras ARCPresentation.swift
[773/844] Compiling _CryptoExtras ARCRequest.swift
[774/844] Compiling _CryptoExtras ARCResponse.swift
[775/844] Compiling _CryptoExtras ARCServer.swift
[776/844] Compiling _CryptoExtras ChaCha20CTR_boring.swift
[777/844] Compiling _CryptoExtras ChaCha20CTR.swift
[778/844] Compiling _CryptoExtras ObjectIdentifier.swift
[779/844] Compiling _CryptoExtras BoringSSLHelpers.swift
[780/844] Compiling _CryptoExtras CryptoKitErrors_boring.swift
[781/844] Compiling _CryptoExtras Data+Extensions.swift
[782/844] Compiling _CryptoExtras DigestType.swift
[783/844] Compiling _CryptoExtras Error.swift
[784/844] Compiling _CryptoExtras I2OSP.swift
[785/844] Compiling _CryptoExtras IntegerEncoding.swift
[786/844] Compiling _CryptoExtras OPRFServer.swift
[787/844] Compiling _CryptoExtras VOPRF+API.swift
[788/844] Compiling _CryptoExtras VOPRFClient.swift
[789/844] Compiling _CryptoExtras VOPRFServer.swift
[790/844] Compiling _CryptoExtras RSA+BlindSigning.swift
[791/844] Compiling _CryptoExtras RSA.swift
[792/844] Compiling _CryptoExtras RSA_boring.swift
[793/844] Compiling _CryptoExtras PEMDocument.swift
[794/844] Compiling _CryptoExtras PrettyBytes.swift
[795/844] Compiling _CryptoExtras SubjectPublicKeyInfo.swift
[796/844] Compiling _CryptoExtras DLEQ.swift
[797/844] Compiling _CryptoExtras Prover.swift
[798/844] Compiling _CryptoExtras Verifier.swift
[799/844] Compiling _CryptoExtras ZKPToolbox.swift
[800/845] Wrapping AST for _CryptoExtras for debugging
[802/883] Compiling HomomorphicEncryption Keys.swift
[803/883] Compiling HomomorphicEncryption Modulus.swift
[804/883] Compiling HomomorphicEncryption NoOpScheme.swift
[805/883] Compiling HomomorphicEncryption Plaintext.swift
[806/883] Compiling HomomorphicEncryption Galois.swift
[807/883] Compiling HomomorphicEncryption Encoding.swift
/host/spi-builder-workspace/Sources/HomomorphicEncryption/EncryptionParameters.swift:125:62: error: no exact matches in call to global function 'log2'
123 | throw HeError.invalidEncryptionParameters(self)
124 | }
125 | let log2CoefficientModulus = coefficientModuli.map { log2(Float($0)) }.reduce(0, +)
| `- error: no exact matches in call to global function 'log2'
126 | guard try log2CoefficientModulus <= Float(Self.maxLog2CoefficientModulus(
127 | degree: polyDegree,
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
[808/883] Compiling HomomorphicEncryption EncryptionParameters.swift
/host/spi-builder-workspace/Sources/HomomorphicEncryption/EncryptionParameters.swift:125:62: error: no exact matches in call to global function 'log2'
123 | throw HeError.invalidEncryptionParameters(self)
124 | }
125 | let log2CoefficientModulus = coefficientModuli.map { log2(Float($0)) }.reduce(0, +)
| `- error: no exact matches in call to global function 'log2'
126 | guard try log2CoefficientModulus <= Float(Self.maxLog2CoefficientModulus(
127 | degree: polyDegree,
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
[809/883] Compiling HomomorphicEncryption Error.swift
/host/spi-builder-workspace/Sources/HomomorphicEncryption/EncryptionParameters.swift:125:62: error: no exact matches in call to global function 'log2'
123 | throw HeError.invalidEncryptionParameters(self)
124 | }
125 | let log2CoefficientModulus = coefficientModuli.map { log2(Float($0)) }.reduce(0, +)
| `- error: no exact matches in call to global function 'log2'
126 | guard try log2CoefficientModulus <= Float(Self.maxLog2CoefficientModulus(
127 | degree: polyDegree,
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
[810/883] Compiling HomomorphicEncryption HeScheme.swift
/host/spi-builder-workspace/Sources/HomomorphicEncryption/EncryptionParameters.swift:125:62: error: no exact matches in call to global function 'log2'
123 | throw HeError.invalidEncryptionParameters(self)
124 | }
125 | let log2CoefficientModulus = coefficientModuli.map { log2(Float($0)) }.reduce(0, +)
| `- error: no exact matches in call to global function 'log2'
126 | guard try log2CoefficientModulus <= Float(Self.maxLog2CoefficientModulus(
127 | degree: polyDegree,
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
[811/883] Compiling HomomorphicEncryption HeSchemeAsync.swift
/host/spi-builder-workspace/Sources/HomomorphicEncryption/EncryptionParameters.swift:125:62: error: no exact matches in call to global function 'log2'
123 | throw HeError.invalidEncryptionParameters(self)
124 | }
125 | let log2CoefficientModulus = coefficientModuli.map { log2(Float($0)) }.reduce(0, +)
| `- error: no exact matches in call to global function 'log2'
126 | guard try log2CoefficientModulus <= Float(Self.maxLog2CoefficientModulus(
127 | degree: polyDegree,
Foundation.log2:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func log2(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:164:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
162 | long double log1pl(long double __x);
163 |
164 | double log2(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
165 | float log2f(float __x);
166 | long double log2l(long double __x);
[812/888] Compiling HomomorphicEncryption RnsBaseConverter.swift
[813/888] Compiling HomomorphicEncryption RnsTool.swift
[814/888] Compiling HomomorphicEncryption Scalar.swift
[815/888] Compiling HomomorphicEncryption Serialize.swift
[816/888] Compiling HomomorphicEncryption SerializedCiphertext.swift
[817/888] Compiling HomomorphicEncryption PolyCollection.swift
[818/888] Compiling HomomorphicEncryption PolyContext.swift
[819/888] Compiling HomomorphicEncryption PolyRq+Ntt.swift
[820/888] Compiling HomomorphicEncryption PolyRq+Randomize.swift
[821/888] Compiling HomomorphicEncryption PolyRq+Serialize.swift
[822/888] Compiling HomomorphicEncryption SerializedKeys.swift
[823/888] Compiling HomomorphicEncryption SerializedPlaintext.swift
[824/888] Compiling HomomorphicEncryption Util.swift
[825/888] Compiling HomomorphicEncryption Version.swift
[826/888] Compiling HomomorphicEncryption Zeroization.swift
[827/888] Compiling HomomorphicEncryption PolyRq.swift
[828/888] Compiling HomomorphicEncryption BufferedRng.swift
[829/888] Compiling HomomorphicEncryption NistAes128Ctr.swift
[830/888] Compiling HomomorphicEncryption NistCtrDrbg.swift
[831/888] Compiling HomomorphicEncryption PseudoRandomNumberGenerator.swift
[832/888] Compiling HomomorphicEncryption Bfv.swift
[833/888] Compiling HomomorphicEncryption Ciphertext.swift
[834/888] Compiling HomomorphicEncryption CoefficientPacking.swift
[835/888] Compiling HomomorphicEncryption Context.swift
[836/888] Compiling HomomorphicEncryption CrtComposer.swift
[837/888] Compiling HomomorphicEncryption DoubleWidthUInt.swift
[838/888] Emitting module HomomorphicEncryption
[839/888] Compiling HomomorphicEncryption Array2d.swift
[840/888] Compiling HomomorphicEncryption Bfv+Decrypt.swift
[841/888] Compiling HomomorphicEncryption Bfv+Encode.swift
[842/888] Compiling HomomorphicEncryption Bfv+Encrypt.swift
[843/888] Compiling HomomorphicEncryption Bfv+Keys.swift
[844/888] Compiling HomomorphicEncryption Bfv+Multiply.swift
BUILD FAILURE 6.2 android