Build Information
Failed to build swift-homomorphic-encryption, reference main (7a03d5
), with Swift 6.2 (beta) for Android on 23 Jun 2025 18:57:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.64.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 7a03d54 PIRBenchmark report evaluation key / query / response counts (#217)
Submodule path 'swift-homomorphic-encryption-protobuf': checked out '5efc91e075b0960e2e0a752a3ba4e192a6ad6676'
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 @):
7a03d5454e1252a40bbcd2878f6776ab6c046172
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-0":/host -w "$PWD" 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-numerics
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3836] Fetching swift-log
[769/5918] Fetching swift-log, swift-docc-plugin
[2550/11675] Fetching swift-log, swift-docc-plugin, swift-numerics
[5795/27108] Fetching swift-log, swift-docc-plugin, swift-numerics, swift-crypto
[8350/42488] Fetching swift-log, swift-docc-plugin, swift-numerics, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (1.22s)
[14539/36731] Fetching swift-log, swift-docc-plugin, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.21s)
[10857/32895] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[20859/72358] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser, swift-protobuf
[22067/78317] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser, swift-protobuf, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (1.07s)
[25576/72358] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser, swift-protobuf
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (4.42s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.42s)
[43847/54896] Fetching swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (4.45s)
[29203/39463] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (12.29s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (13.12s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (4.05s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.86s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.76s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.43s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.82s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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.5.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.4
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.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
Building for debugging...
[4/456] Compiling CUtil zeroize.c
[5/456] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/456] Write sources
[7/456] Compiling _NumericsShims _NumericsShims.c
[7/456] Write sources
[7/456] Copying PrivacyInfo.xcprivacy
[7/456] Write sources
[36/456] Compiling CCryptoBoringSSLShims shims.c
[37/456] Compiling sign.cc
[38/456] Compiling a_bitstr.cc
[39/458] Compiling scrypt.cc
[40/486] Compiling a_gentm.cc
[40/486] Compiling a_bool.cc
[42/539] Compiling fiat_p256_adx_sqr.S
[43/561] Compiling a_int.cc
[44/574] Compiling fiat_p256_adx_mul.S
[45/574] Compiling fiat_curve25519_adx_square.S
[46/574] Compiling a_strex.cc
[47/574] Compiling fiat_curve25519_adx_mul.S
[48/574] Compiling md5-x86_64-linux.S
[49/574] Compiling md5-586-linux.S
[50/574] Compiling md5-586-apple.S
[51/574] Compiling md5-x86_64-apple.S
[52/574] Compiling chacha20_poly1305_x86_64-apple.S
[53/574] Compiling chacha20_poly1305_x86_64-linux.S
[54/574] Compiling chacha20_poly1305_armv8-win.S
[55/574] Compiling chacha20_poly1305_armv8-linux.S
[56/574] Compiling chacha20_poly1305_armv8-apple.S
[57/574] Compiling chacha-x86_64-linux.S
[58/574] Compiling chacha-x86_64-apple.S
[59/574] Compiling chacha-x86-linux.S
[60/574] Compiling chacha-x86-apple.S
[61/574] Compiling chacha-armv8-win.S
[63/574] Emitting module RealModule
[63/575] Compiling chacha-armv8-linux.S
[64/575] Compiling chacha-armv8-apple.S
[65/575] Compiling chacha-armv4-linux.S
[66/575] Compiling aes128gcmsiv-x86_64-linux.S
[67/575] Compiling aes128gcmsiv-x86_64-apple.S
[68/575] Compiling x86_64-mont5-linux.S
[69/575] Compiling x86_64-mont5-apple.S
[70/575] Compiling x86_64-mont-linux.S
[71/575] Compiling err_data.cc
[72/575] Compiling x86_64-mont-apple.S
[73/575] Compiling x86-mont-linux.S
[74/575] Compiling x86-mont-apple.S
[75/575] Compiling vpaes-x86_64-linux.S
[76/575] Compiling vpaes-x86_64-apple.S
[77/575] Compiling vpaes-x86-linux.S
[78/575] Compiling vpaes-x86-apple.S
[79/575] Compiling vpaes-armv8-win.S
[80/575] Compiling vpaes-armv8-linux.S
[81/575] Compiling vpaes-armv7-linux.S
[82/575] Compiling vpaes-armv8-apple.S
[83/575] Compiling sha512-x86_64-linux.S
[84/575] Compiling sha512-armv8-win.S
[85/575] Compiling sha512-x86_64-apple.S
[86/575] Compiling sha512-armv8-apple.S
[87/575] Compiling sha512-armv4-linux.S
[88/575] Compiling sha512-armv8-linux.S
[89/575] Compiling sha512-586-apple.S
[90/575] Compiling sha512-586-linux.S
[91/575] Compiling sha256-x86_64-linux.S
[92/575] Compiling sha256-armv8-win.S
[93/575] Compiling sha256-x86_64-apple.S
[94/575] Compiling sha256-armv8-linux.S
[95/575] Compiling sha256-armv8-apple.S
[96/575] Compiling sha256-armv4-linux.S
[97/575] Compiling sha256-586-linux.S
[99/575] Emitting module Logging
[99/575] Compiling sha256-586-apple.S
[100/575] Compiling sha1-x86_64-linux.S
[101/575] Compiling sha1-x86_64-apple.S
[102/575] Compiling sha1-armv8-win.S
[103/575] Compiling sha1-armv8-apple.S
[104/575] Compiling sha1-armv8-linux.S
[105/575] Compiling sha1-armv4-large-linux.S
[106/575] Compiling sha1-586-linux.S
[107/575] Compiling sha1-586-apple.S
[108/575] Compiling rsaz-avx2-linux.S
[109/575] Compiling rsaz-avx2-apple.S
[110/575] Compiling rdrand-x86_64-linux.S
[111/575] Compiling rdrand-x86_64-apple.S
[112/575] Compiling p256_beeu-x86_64-asm-apple.S
[113/575] Compiling p256_beeu-x86_64-asm-linux.S
[114/575] Compiling p256_beeu-armv8-asm-win.S
[115/575] Compiling p256_beeu-armv8-asm-apple.S
[116/575] Compiling p256_beeu-armv8-asm-linux.S
[117/575] Compiling p256-x86_64-asm-linux.S
[118/575] Compiling p256-x86_64-asm-apple.S
[119/575] Compiling p256-armv8-asm-win.S
[120/575] Compiling ghashv8-armv8-win.S
[121/575] Compiling p256-armv8-asm-linux.S
[122/575] Compiling p256-armv8-asm-apple.S
[123/575] Compiling ghashv8-armv8-linux.S
[124/575] Compiling ghashv8-armv7-linux.S
[125/575] Compiling ghashv8-armv8-apple.S
[126/575] Compiling ghash-x86_64-apple.S
[127/575] Compiling ghash-x86_64-linux.S
[128/575] Compiling ghash-x86-linux.S
[129/575] Compiling ghash-x86-apple.S
[130/575] Compiling ghash-ssse3-x86_64-apple.S
[131/575] Compiling ghash-ssse3-x86_64-linux.S
[132/575] Compiling ghash-ssse3-x86-linux.S
[133/575] Compiling ghash-ssse3-x86-apple.S
[134/575] Compiling ghash-neon-armv8-win.S
[135/575] Compiling ghash-neon-armv8-linux.S
[136/575] Compiling ghash-armv4-linux.S
[137/575] Compiling ghash-neon-armv8-apple.S
[138/575] Compiling co-586-linux.S
[139/575] Compiling co-586-apple.S
[140/575] Compiling bsaes-armv7-linux.S
[141/575] Compiling bn-armv8-win.S
[142/575] Compiling bn-armv8-apple.S
[143/575] Compiling bn-armv8-linux.S
[144/575] Compiling bn-586-apple.S
[145/575] Compiling bn-586-linux.S
[146/575] Compiling armv8-mont-win.S
[147/575] Compiling armv8-mont-linux.S
[148/575] Compiling armv8-mont-apple.S
[149/575] Compiling armv4-mont-linux.S
[150/575] Compiling aesv8-gcm-armv8-win.S
[151/575] Compiling aesv8-gcm-armv8-linux.S
[152/575] Compiling aesv8-gcm-armv8-apple.S
[153/575] Compiling aesv8-armv8-win.S
[154/575] Compiling aesv8-armv8-linux.S
[155/575] Compiling aesv8-armv8-apple.S
[156/575] Compiling aesv8-armv7-linux.S
[157/575] Compiling aesni-x86_64-linux.S
[158/575] Compiling aesni-x86_64-apple.S
[159/575] Compiling aesni-x86-linux.S
[160/575] Compiling aesni-x86-apple.S
[161/575] Compiling aesni-gcm-x86_64-linux.S
[162/575] Compiling aesni-gcm-x86_64-apple.S
[163/575] Compiling aes-gcm-avx10-x86_64-apple.S
[164/575] Compiling aes-gcm-avx10-x86_64-linux.S
[165/575] Compiling x_val.cc
[166/575] Compiling x_x509a.cc
[167/575] Compiling x_x509.cc
[169/575] Compiling RealModule Float80+Real.swift
[170/575] Compiling RealModule RealFunctions.swift
[171/575] Compiling SwiftProtobuf BinaryDelimited.swift
[172/575] Compiling SwiftProtobuf BinaryEncoder.swift
[173/577] Compiling RealModule Real.swift
[174/577] Compiling SwiftProtobuf AnyMessageStorage.swift
[175/577] Compiling SwiftProtobuf AnyUnpackError.swift
[176/577] Compiling SwiftProtobuf AsyncMessageSequence.swift
[177/577] Compiling SwiftProtobuf BinaryEncodingError.swift
[178/577] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[179/577] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[180/577] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[184/577] Compiling SwiftProtobuf BinaryDecoder.swift
[185/577] Compiling RealModule Float16+Real.swift
[186/577] Compiling RealModule ElementaryFunctions.swift
[187/577] Compiling RealModule Float+Real.swift
[190/578] Compiling SwiftProtobuf BinaryDecodingError.swift
[191/578] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[192/578] Compiling ModularArithmetic Scalar.swift
[193/578] Emitting module ModularArithmetic
[194/578] Compiling ModularArithmetic Modulus.swift
[196/584] Compiling ComplexModule Arithmetic.swift
[196/584] Compiling x_spki.cc
[197/584] Compiling x_sig.cc
[198/584] Wrapping AST for ModularArithmetic for debugging
[199/584] Wrapping AST for RealModule for debugging
[200/584] Compiling x_req.cc
[202/584] Emitting module SwiftASN1
[202/584] Compiling x_pubkey.cc
[204/584] Compiling ComplexModule ElementaryFunctions.swift
[205/584] Emitting module ComplexModule
[206/584] Compiling SwiftASN1 DER.swift
[207/584] Compiling SwiftASN1 Errors.swift
[208/584] Compiling Logging MetadataProvider.swift
[209/584] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[210/584] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[211/584] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[212/584] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[213/585] Compiling Logging Locks.swift
[214/585] Wrapping AST for SwiftASN1 for debugging
[215/585] Compiling x_exten.cc
[216/585] Compiling x_name.cc
[217/585] Compiling x_crl.cc
[219/585] Compiling Logging Logging.swift
[220/585] Compiling Logging LogHandler.swift
[220/586] Compiling x_attrib.cc
[222/586] Wrapping AST for Logging for debugging
[223/586] Compiling x_all.cc
[224/586] Compiling x509spki.cc
[225/586] Compiling x509rset.cc
[226/586] Compiling x_algor.cc
[227/586] Compiling x509name.cc
[229/586] Compiling SwiftProtobuf JSONDecodingOptions.swift
[230/586] Compiling SwiftProtobuf JSONEncoder.swift
[231/586] Compiling SwiftProtobuf JSONEncodingError.swift
[232/586] Compiling SwiftProtobuf JSONEncodingOptions.swift
[233/586] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[234/586] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[235/586] Compiling SwiftProtobuf JSONScanner.swift
[236/586] Compiling SwiftProtobuf MathUtils.swift
[237/586] Compiling SwiftProtobuf Message+AnyAdditions.swift
[238/586] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[239/586] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[240/586] Compiling SwiftProtobuf Message+FieldMask.swift
[247/586] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[248/586] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[249/586] Compiling SwiftProtobuf HashVisitor.swift
[250/586] Compiling SwiftProtobuf Internal.swift
[251/586] Compiling SwiftProtobuf JSONDecoder.swift
[252/586] Compiling SwiftProtobuf JSONDecodingError.swift
[253/586] Compiling SwiftProtobuf CustomJSONCodable.swift
[254/586] Compiling SwiftProtobuf Decoder.swift
[255/586] Compiling SwiftProtobuf DoubleParser.swift
[256/586] Compiling SwiftProtobuf Enum.swift
[257/586] Compiling SwiftProtobuf ExtensibleMessage.swift
[258/586] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[259/586] Compiling SwiftProtobuf ExtensionFields.swift
[260/586] Compiling SwiftProtobuf ExtensionMap.swift
[261/586] Compiling SwiftProtobuf FieldTag.swift
[262/586] Compiling SwiftProtobuf FieldTypes.swift
[263/586] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[264/586] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[264/597] Compiling x509cset.cc
[265/597] Compiling x509_txt.cc
[266/597] Compiling x509_vpm.cc
[268/597] Compiling ComplexModule Complex.swift
[269/597] Compiling ComplexModule Differentiable.swift
[270/598] Compiling x509_v3.cc
[271/598] Wrapping AST for ComplexModule for debugging
[272/600] Compiling x509_vfy.cc
[274/600] Compiling Numerics Numerics.swift
[275/600] Emitting module Numerics
[275/601] Compiling x509_trs.cc
[277/601] Compiling x509_set.cc
[279/601] Compiling SwiftProtobuf ProtobufMap.swift
[280/601] Compiling SwiftProtobuf SelectiveVisitor.swift
[281/601] Compiling SwiftProtobuf SimpleExtensionMap.swift
[282/601] Compiling SwiftProtobuf StringUtils.swift
[283/601] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[284/601] Compiling SwiftProtobuf SwiftProtobufError.swift
[285/601] Compiling SwiftProtobuf TextFormatDecoder.swift
[286/601] Compiling SwiftProtobuf TextFormatDecodingError.swift
[287/601] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[288/601] Compiling SwiftProtobuf TextFormatEncoder.swift
[289/601] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[290/601] Compiling SwiftProtobuf Message+JSONAdditions.swift
[291/601] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[292/601] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[293/601] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[294/601] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[295/601] Compiling SwiftProtobuf Message.swift
[296/601] Compiling SwiftProtobuf MessageExtension.swift
[297/601] Compiling SwiftProtobuf NameMap.swift
[298/601] Compiling SwiftProtobuf PathDecoder.swift
[299/601] Compiling SwiftProtobuf PathVisitor.swift
[300/601] Compiling SwiftProtobuf ProtoNameProviding.swift
[301/601] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[302/601] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[303/601] Compiling SwiftProtobuf TextFormatScanner.swift
[304/601] Compiling SwiftProtobuf TimeUtils.swift
[305/601] Compiling SwiftProtobuf UnknownStorage.swift
[306/601] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[307/601] Compiling SwiftProtobuf Varint.swift
[308/601] Compiling SwiftProtobuf Version.swift
[309/601] Compiling SwiftProtobuf Visitor.swift
[310/601] Compiling SwiftProtobuf WireFormat.swift
[311/601] Compiling SwiftProtobuf ZigZag.swift
[312/601] Compiling SwiftProtobuf any.pb.swift
[312/601] Wrapping AST for Numerics for debugging
[313/601] Compiling x509_obj.cc
[314/601] Compiling x509_req.cc
[315/601] Compiling x509_ext.cc
[316/601] Compiling x509_lu.cc
[317/601] Compiling x509_d2.cc
[318/601] Compiling x509_def.cc
[319/601] Compiling x509_cmp.cc
[333/601] Emitting module SwiftProtobuf
[333/601] Compiling x509_att.cc
[334/601] Compiling x509.cc
[335/601] Compiling v3_skey.cc
[336/601] Compiling v3_prn.cc
[337/601] Compiling v3_purp.cc
[338/601] Compiling v3_utl.cc
[339/601] Compiling v3_pmaps.cc
[340/601] Compiling v3_pcons.cc
[341/601] Compiling v3_ocsp.cc
[342/601] Compiling v3_ncons.cc
[343/601] Compiling v3_lib.cc
[344/601] Compiling v3_int.cc
[345/601] Compiling v3_ia5.cc
[346/601] Compiling v3_info.cc
[347/601] Compiling v3_extku.cc
[348/601] Compiling v3_genn.cc
[349/601] Compiling v3_enum.cc
[350/601] Compiling v3_crld.cc
[351/601] Compiling v3_cpols.cc
[352/601] Compiling v3_bitst.cc
[353/601] Compiling v3_conf.cc
[354/601] Compiling v3_bcons.cc
[355/601] Compiling v3_akeya.cc
[356/601] Compiling v3_alt.cc
[357/601] Compiling v3_akey.cc
[358/601] Compiling t_x509a.cc
[359/601] Compiling t_x509.cc
[360/601] Compiling t_req.cc
[361/601] Compiling i2d_pr.cc
[362/601] Compiling t_crl.cc
[363/601] Compiling rsa_pss.cc
[364/601] Compiling policy.cc
[365/601] Compiling name_print.cc
[366/601] Compiling by_dir.cc
[367/601] Compiling by_file.cc
[368/601] Compiling algorithm.cc
[369/601] Compiling asn1_gen.cc
[370/601] Compiling a_verify.cc
[371/601] Compiling a_sign.cc
[372/601] Compiling a_digest.cc
[373/601] Compiling trust_token.cc
[374/601] Compiling voprf.cc
[375/601] Compiling thread_win.cc
[376/601] Compiling thread_pthread.cc
[377/601] Compiling thread_none.cc
[378/601] Compiling thread.cc
[379/601] Compiling pmbtoken.cc
[380/601] Compiling thash.cc
[381/601] Compiling stack.cc
[382/601] Compiling wots.cc
[383/601] Compiling merkle.cc
[384/601] Compiling slhdsa.cc
[385/601] Compiling fors.cc
[386/601] Compiling sha512.cc
[387/601] Compiling siphash.cc
[388/601] Compiling sha256.cc
[389/601] Compiling sha1.cc
[390/601] Compiling rsa_print.cc
[391/601] Compiling rsa_extra.cc
[392/601] Compiling refcount.cc
[393/601] Compiling rsa_crypt.cc
[394/601] Compiling rc4.cc
[395/601] Compiling windows.cc
[396/601] Compiling rsa_asn1.cc
[397/601] Compiling trusty.cc
[398/601] Compiling urandom.cc
[399/601] Compiling rand_extra.cc
[400/601] Compiling getentropy.cc
[401/601] Compiling passive.cc
[402/601] Compiling ios.cc
[403/601] Compiling poly1305_arm_asm.S
[404/601] Compiling forkunsafe.cc
[405/601] Compiling fork_detect.cc
[406/601] Compiling deterministic.cc
[407/601] Compiling poly1305_arm.cc
[408/601] Compiling poly1305_vec.cc
[409/601] Compiling poly1305.cc
[410/601] Compiling pool.cc
[411/601] Compiling pkcs7.cc
[412/601] Compiling pkcs8_x509.cc
[413/601] Compiling pkcs8.cc
[414/601] Compiling p5_pbev2.cc
[415/601] Compiling pem_xaux.cc
[416/601] Compiling pkcs7_x509.cc
[417/601] Compiling pem_x509.cc
[418/601] Compiling pem_pk8.cc
[419/601] Compiling pem_pkey.cc
[420/601] Compiling pem_oth.cc
[421/601] Compiling pem_lib.cc
[422/601] Compiling obj_xref.cc
[423/601] Compiling pem_info.cc
[424/601] Compiling pem_all.cc
[425/601] Compiling mldsa.cc
[426/601] Compiling md5.cc
[427/601] Compiling mem.cc
[428/601] Compiling obj.cc
[429/601] Compiling mlkem.cc
[430/601] Compiling poly_rq_mul.S
[431/601] Compiling fips_shared_support.cc
[432/601] Compiling lhash.cc
[433/601] Compiling md4.cc
[435/601] Compiling SwiftProtobuf api.pb.swift
[436/601] Compiling SwiftProtobuf descriptor.pb.swift
[437/601] Compiling SwiftProtobuf duration.pb.swift
[438/601] Compiling SwiftProtobuf empty.pb.swift
[439/601] Compiling SwiftProtobuf field_mask.pb.swift
[440/601] Compiling SwiftProtobuf source_context.pb.swift
[441/601] Compiling SwiftProtobuf struct.pb.swift
[442/601] Compiling SwiftProtobuf timestamp.pb.swift
[443/601] Compiling SwiftProtobuf type.pb.swift
[444/601] Compiling SwiftProtobuf wrappers.pb.swift
[445/601] Compiling SwiftProtobuf resource_bundle_accessor.swift
[446/602] Compiling kyber.cc
[447/602] Wrapping AST for SwiftProtobuf for debugging
[448/602] Compiling ex_data.cc
[449/602] Compiling pbkdf.cc
[450/602] Compiling print.cc
[451/602] Compiling hpke.cc
[452/602] Compiling hrss.cc
[453/602] Compiling p_x25519.cc
[454/602] Compiling p_x25519_asn1.cc
[455/602] Compiling p_rsa_asn1.cc
[456/602] Compiling p_hkdf.cc
[457/602] Compiling p_rsa.cc
[458/602] Compiling p_ed25519.cc
[459/602] Compiling p_ed25519_asn1.cc
[460/602] Compiling p_ec_asn1.cc
[461/602] Compiling p_ec.cc
[462/602] Compiling p_dh.cc
[463/602] Compiling p_dsa_asn1.cc
[464/602] Compiling p_dh_asn1.cc
[465/602] Compiling evp_ctx.cc
[466/602] Compiling evp_asn1.cc
[467/602] Compiling evp.cc
[468/602] Compiling err.cc
[469/602] Compiling ecdh_extra.cc
[470/602] Compiling engine.cc
[471/602] Compiling ecdsa_asn1.cc
[472/602] Compiling hash_to_curve.cc
[473/602] Compiling ec_derive.cc
[474/602] Compiling ec_asn1.cc
[475/602] Compiling dsa_asn1.cc
[476/602] Compiling dsa.cc
[477/602] Compiling params.cc
[478/602] Compiling x25519-asm-arm.S
[479/602] Compiling digest_extra.cc
[480/602] Compiling dh_asn1.cc
[481/602] Compiling des.cc
[482/602] Compiling curve25519_64_adx.cc
[483/602] Compiling spake25519.cc
[484/602] Compiling bcm.cc
[485/602] Compiling crypto.cc
[486/602] Compiling cpu_arm_linux.cc
[487/602] Compiling cpu_intel.cc
[488/602] Compiling cpu_arm_freebsd.cc
[489/602] Compiling curve25519.cc
[490/602] Compiling cpu_aarch64_win.cc
[491/602] Compiling cpu_aarch64_openbsd.cc
[492/602] Compiling cpu_aarch64_sysreg.cc
[493/602] Compiling cpu_aarch64_linux.cc
[494/602] Compiling cpu_aarch64_apple.cc
[495/602] Compiling cpu_aarch64_fuchsia.cc
[496/602] Compiling conf.cc
[497/602] Compiling tls_cbc.cc
[498/602] Compiling e_rc4.cc
[499/602] Compiling e_tls.cc
[500/602] Compiling e_rc2.cc
[501/602] Compiling e_null.cc
[502/602] Compiling e_chacha20poly1305.cc
[503/602] Compiling e_des.cc
[504/602] Compiling e_aesgcmsiv.cc
[505/602] Compiling e_aesctrhmac.cc
[506/602] Compiling derive_key.cc
[507/602] Compiling cipher_extra.cc
[508/602] Compiling chacha.cc
[509/602] Compiling unicode.cc
[510/602] Compiling cbb.cc
[511/602] Compiling cbs.cc
[512/602] Compiling ber.cc
[513/602] Compiling buf.cc
[514/602] Compiling asn1_compat.cc
[515/602] Compiling bn_asn1.cc
[516/602] Compiling blake2.cc
[517/602] Compiling convert.cc
[518/602] Compiling printf.cc
[519/602] Compiling pair.cc
[520/602] Compiling hexdump.cc
[521/602] Compiling file.cc
[522/602] Compiling fd.cc
[523/602] Compiling errno.cc
[524/602] Compiling bio_mem.cc
[525/602] Compiling bio.cc
[526/602] Compiling base64.cc
[527/602] Compiling tasn_typ.cc
[528/602] Compiling tasn_fre.cc
[529/602] Compiling tasn_utl.cc
[530/602] Compiling tasn_enc.cc
[531/602] Compiling tasn_new.cc
[532/602] Compiling posix_time.cc
[533/602] Compiling f_string.cc
[534/602] Compiling f_int.cc
[535/602] Compiling tasn_dec.cc
[536/602] Compiling asn_pack.cc
[537/602] Compiling asn1_par.cc
[538/602] Compiling asn1_lib.cc
[539/602] Compiling a_type.cc
[540/602] Compiling a_utctm.cc
[541/602] Compiling a_time.cc
[541/602] Write sources
[546/602] Compiling a_object.cc
[547/602] Compiling a_octet.cc
[548/604] Compiling a_strnid.cc
[549/617] Compiling a_i2d_fp.cc
[550/629] Compiling a_mbstr.cc
[551/629] Compiling a_dup.cc
[552/629] Compiling a_d2i_fp.cc
[554/637] Compiling ArgumentParserToolInfo ToolInfo.swift
[555/637] Emitting module ArgumentParserToolInfo
[556/639] Wrapping AST for ArgumentParserToolInfo for debugging
[558/649] Compiling Algorithms Split.swift
[559/649] Compiling Algorithms Stride.swift
[560/649] Compiling Algorithms Suffix.swift
[561/679] Compiling ArgumentParser Errors.swift
[562/679] Compiling ArgumentParser Flag.swift
[563/679] Compiling ArgumentParser NameSpecification.swift
[564/679] Compiling CryptoBoringWrapper RandomBytes.swift
[565/679] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[566/679] Compiling ArgumentParser FishCompletionsGenerator.swift
[567/679] Compiling ArgumentParser ZshCompletionsGenerator.swift
[568/679] Compiling ArgumentParser Argument.swift
[569/679] Compiling ArgumentParser ArgumentHelp.swift
[570/679] Compiling ArgumentParser ArgumentVisibility.swift
[571/679] Compiling ArgumentParser CompletionKind.swift
[572/679] Compiling ArgumentParser CommandParser.swift
[573/679] Compiling ArgumentParser InputKey.swift
[574/679] Compiling ArgumentParser InputOrigin.swift
[575/679] Compiling CryptoBoringWrapper EllipticCurve.swift
[576/679] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[577/679] Emitting module CryptoBoringWrapper
[578/679] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[579/679] Compiling ArgumentParser CommandGroup.swift
[580/679] Compiling ArgumentParser EnumerableFlag.swift
[581/679] Compiling ArgumentParser BashCompletionsGenerator.swift
[582/679] Compiling ArgumentParser CompletionsGenerator.swift
[583/679] Compiling ArgumentParser ArgumentDecoder.swift
[584/679] Compiling ArgumentParser OptionGroup.swift
[585/679] Compiling ArgumentParser AsyncParsableCommand.swift
[586/679] Compiling ArgumentParser CommandConfiguration.swift
[587/679] Emitting module ArgumentParser
[588/684] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[589/684] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[590/685] Wrapping AST for CryptoBoringWrapper for debugging
[592/685] Compiling ArgumentParser ExpressibleByArgument.swift
[593/685] Compiling ArgumentParser ParsableArguments.swift
[594/685] Compiling ArgumentParser ParsableArgumentsValidation.swift
[595/685] Compiling ArgumentParser ParsableCommand.swift
[596/756] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[597/756] Compiling Crypto HPKE-KEM.swift
[598/756] Compiling Crypto HPKE-Errors.swift
[599/756] Compiling Crypto HKDF.swift
[600/756] Compiling Crypto AESWrap.swift
[601/756] Compiling Crypto AESWrap_boring.swift
[602/756] Compiling Crypto Ed25519_boring.swift
[603/756] Compiling Crypto NISTCurvesKeys_boring.swift
[604/756] Compiling Crypto X25519Keys_boring.swift
[605/756] Compiling Crypto Curve25519.swift
[606/756] Emitting module Algorithms
[608/757] Compiling Crypto Ed25519Keys.swift
[609/757] Compiling Crypto NISTCurvesKeys.swift
[610/757] Compiling Crypto X25519Keys.swift
[611/757] Compiling Crypto PKCS8PrivateKey.swift
[612/757] Compiling Crypto SEC1PrivateKey.swift
[613/757] Compiling Crypto ASN1Identifier.swift
[614/757] Compiling Crypto ASN1Integer.swift
[615/757] Compiling Crypto ASN1Null.swift
[616/757] Compiling Crypto ASN1OctetString.swift
[617/757] Compiling Crypto ASN1Strings.swift
[618/757] Compiling Crypto ArraySliceBigint.swift
[619/757] Compiling Crypto GeneralizedTime.swift
[620/757] Compiling Crypto ObjectIdentifier.swift
[621/757] Compiling Crypto ECDSASignature.swift
[622/757] Compiling Crypto PEMDocument.swift
[623/757] Compiling Crypto HPKE.swift
[624/757] Compiling Crypto HPKE-Context.swift
[625/757] Compiling Crypto HPKE-KeySchedule.swift
[626/757] Compiling Crypto HPKE-Modes.swift
[627/757] Compiling Crypto Insecure.swift
[628/757] Compiling Crypto Insecure_HashFunctions.swift
[629/757] Compiling Crypto KEM.swift
[630/757] Compiling Crypto ECDH_boring.swift
[631/757] Compiling Crypto DH.swift
[632/757] Compiling Crypto ECDH.swift
[633/757] Compiling Crypto HPKE-Ciphersuite.swift
[634/757] Compiling Crypto HPKE-KDF.swift
[635/757] Compiling Crypto HPKE-KexKeyDerivation.swift
[636/757] Compiling Crypto HPKE-LabeledExtract.swift
[637/757] Compiling Crypto HPKE-Utils.swift
[638/757] Compiling Crypto DHKEM.swift
[639/757] Compiling Crypto HPKE-KEM-Curve25519.swift
[651/767] Compiling Crypto SymmetricKeys.swift
[652/767] Compiling Crypto HMAC.swift
[653/767] Compiling Crypto MACFunctions.swift
[654/767] Compiling Crypto MessageAuthenticationCode.swift
[655/767] Compiling Crypto AES.swift
[656/767] Compiling Crypto ECDSASignature_boring.swift
[657/767] Compiling Crypto ECDSA_boring.swift
[658/767] Compiling Crypto EdDSA_boring.swift
[659/767] Compiling Crypto ECDSA.swift
[660/767] Compiling Crypto Ed25519.swift
[661/767] Emitting module Crypto
[664/767] Compiling Crypto SubjectPublicKeyInfo.swift
[665/767] Compiling Crypto CryptoKitErrors.swift
[666/767] Compiling Crypto Digest_boring.swift
[667/767] Compiling Crypto Digest.swift
[668/767] Compiling Crypto Digests.swift
[669/767] Compiling Crypto HashFunctions.swift
[670/767] Compiling Crypto HashFunctions_SHA2.swift
[671/767] Compiling Crypto HPKE-AEAD.swift
[692/767] Compiling Crypto AES-GCM.swift
[693/767] Compiling Crypto AES-GCM_boring.swift
[694/767] Compiling Crypto ChaChaPoly_boring.swift
[695/767] Compiling Crypto ChaChaPoly.swift
[696/767] Compiling Crypto Cipher.swift
[697/767] Compiling Crypto Nonces.swift
[698/767] Compiling Crypto ASN1.swift
[699/767] Compiling Crypto ASN1Any.swift
[700/767] Compiling Crypto ASN1BitString.swift
[701/767] Compiling Crypto ASN1Boolean.swift
[711/767] Wrapping AST for ArgumentParser for debugging
[712/767] Wrapping AST for Algorithms for debugging
[714/767] Compiling Crypto Signature.swift
[715/767] Compiling Crypto CryptoKitErrors_boring.swift
[716/767] Compiling Crypto RNG_boring.swift
[717/767] Compiling Crypto SafeCompare_boring.swift
[718/767] Compiling Crypto Zeroization_boring.swift
[719/767] Compiling Crypto PrettyBytes.swift
[720/767] Compiling Crypto SafeCompare.swift
[721/767] Compiling Crypto SecureBytes.swift
[722/767] Compiling Crypto Zeroization.swift
[723/768] Wrapping AST for Crypto for debugging
[725/814] Compiling _CryptoExtras CryptoKitErrors_boring.swift
[726/814] Compiling _CryptoExtras DigestType.swift
[727/814] Compiling _CryptoExtras Error.swift
[728/814] Compiling _CryptoExtras I2OSP.swift
[729/814] Compiling _CryptoExtras IntegerEncoding.swift
[730/814] Compiling _CryptoExtras PEMDocument.swift
[731/820] Emitting module _CryptoExtras
[732/820] Compiling _CryptoExtras ARCRequest.swift
[733/820] Compiling _CryptoExtras ARCResponse.swift
[734/820] Compiling _CryptoExtras ARCServer.swift
[735/820] Compiling _CryptoExtras ChaCha20CTR_boring.swift
[736/820] Compiling _CryptoExtras ChaCha20CTR.swift
[737/820] Compiling _CryptoExtras ECToolbox_boring.swift
[738/820] Compiling _CryptoExtras ECToolbox.swift
[739/820] Compiling _CryptoExtras AES_GCM_SIV_boring.swift
[740/820] Compiling _CryptoExtras ARC+API.swift
[741/820] Compiling _CryptoExtras ARC.swift
[742/820] Compiling _CryptoExtras ARCCredential.swift
[743/820] Compiling _CryptoExtras ARCEncoding.swift
[744/820] Compiling _CryptoExtras ARCPrecredential.swift
[745/820] Compiling _CryptoExtras ARCPresentation.swift
[746/820] Compiling _CryptoExtras AES_CBC.swift
[747/820] Compiling _CryptoExtras AES_CFB.swift
[748/820] Compiling _CryptoExtras AES_CTR.swift
[749/820] Compiling _CryptoExtras AES_GCM_SIV.swift
[750/820] Compiling _CryptoExtras Block Function.swift
[751/820] Compiling _CryptoExtras AES_CFB_boring.swift
[752/820] Compiling _CryptoExtras AES_CTR_boring.swift
[753/820] Compiling _CryptoExtras PrettyBytes.swift
[754/820] Compiling _CryptoExtras SubjectPublicKeyInfo.swift
[755/820] Compiling _CryptoExtras DLEQ.swift
[756/820] Compiling _CryptoExtras Prover.swift
[757/820] Compiling _CryptoExtras Verifier.swift
[758/820] Compiling _CryptoExtras ZKPToolbox.swift
[759/820] Compiling _CryptoExtras VOPRFServer.swift
[760/820] Compiling _CryptoExtras RSA+BlindSigning.swift
[761/820] Compiling _CryptoExtras RSA.swift
[762/820] Compiling _CryptoExtras RSA_boring.swift
[763/820] Compiling _CryptoExtras RSA_security.swift
[764/820] Compiling _CryptoExtras BoringSSLHelpers.swift
[765/820] Compiling _CryptoExtras Scrypt.swift
[766/820] Compiling _CryptoExtras OPRF.swift
[767/820] Compiling _CryptoExtras OPRFClient.swift
[768/820] Compiling _CryptoExtras OPRFServer.swift
[769/820] Compiling _CryptoExtras VOPRF+API.swift
[770/820] Compiling _CryptoExtras VOPRFClient.swift
[771/820] Compiling _CryptoExtras HashToField.swift
[772/820] Compiling _CryptoExtras KDF.swift
[773/820] Compiling _CryptoExtras PBKDF2_boring.swift
[774/820] Compiling _CryptoExtras PBKDF2_commoncrypto.swift
[775/820] Compiling _CryptoExtras PBKDF2.swift
[776/820] Compiling _CryptoExtras Scrypt_boring.swift
[777/821] Wrapping AST for _CryptoExtras for debugging
[779/859] Compiling HomomorphicEncryption PolyRq.swift
[780/859] Compiling HomomorphicEncryption BufferedRng.swift
[781/859] Compiling HomomorphicEncryption NistAes128Ctr.swift
[782/859] Compiling HomomorphicEncryption NistCtrDrbg.swift
[783/859] Compiling HomomorphicEncryption PseudoRandomNumberGenerator.swift
[784/864] Compiling HomomorphicEncryption Keys.swift
[785/864] Compiling HomomorphicEncryption Modulus.swift
[786/864] Compiling HomomorphicEncryption NoOpScheme.swift
[787/864] Compiling HomomorphicEncryption Plaintext.swift
[788/864] Compiling HomomorphicEncryption Galois.swift
[789/864] Compiling HomomorphicEncryption SerializedKeys.swift
[790/864] Compiling HomomorphicEncryption SerializedPlaintext.swift
[791/864] Compiling HomomorphicEncryption Util.swift
[792/864] Compiling HomomorphicEncryption Version.swift
[793/864] Compiling HomomorphicEncryption Zeroization.swift
[794/864] Compiling HomomorphicEncryption PolyCollection.swift
[795/864] Compiling HomomorphicEncryption PolyContext.swift
[796/864] Compiling HomomorphicEncryption PolyRq+Ntt.swift
[797/864] Compiling HomomorphicEncryption PolyRq+Randomize.swift
[798/864] Compiling HomomorphicEncryption PolyRq+Serialize.swift
[799/864] 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);
[800/864] 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);
[801/864] 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);
[802/864] 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);
[803/864] 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);
[804/864] Compiling HomomorphicEncryption RnsBaseConverter.swift
[805/864] Compiling HomomorphicEncryption RnsTool.swift
[806/864] Compiling HomomorphicEncryption Scalar.swift
[807/864] Compiling HomomorphicEncryption Serialize.swift
[808/864] Compiling HomomorphicEncryption SerializedCiphertext.swift
[809/864] Compiling HomomorphicEncryption Array2d.swift
[810/864] Compiling HomomorphicEncryption Bfv+Decrypt.swift
[811/864] Compiling HomomorphicEncryption Bfv+Encode.swift
[812/864] Compiling HomomorphicEncryption Bfv+Encrypt.swift
[813/864] Compiling HomomorphicEncryption Bfv+Keys.swift
[814/864] Compiling HomomorphicEncryption Bfv+Multiply.swift
[815/864] Compiling HomomorphicEncryption Bfv.swift
[816/864] Compiling HomomorphicEncryption Ciphertext.swift
[817/864] Compiling HomomorphicEncryption CoefficientPacking.swift
[818/864] Compiling HomomorphicEncryption Context.swift
[819/864] Compiling HomomorphicEncryption CrtComposer.swift
[820/864] Compiling HomomorphicEncryption DoubleWidthUInt.swift
[821/864] Emitting module HomomorphicEncryption
BUILD FAILURE 6.2 android