The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-webauthn, reference main (b55c39), with Swift 6.2 for Android on 25 Nov 2025 20:33:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/swift-webauthn.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/brokenhandsio/swift-webauthn
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b55c39f Added support for optional `AuthenticatorSelection` (#120)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
b55c39fa6e1d3fdbd044a36f4a39ebf3a518ea70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brokenhandsio/swift-webauthn.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1412] Fetching swiftcbor
[1004/3570] Fetching swiftcbor, swift-docc-plugin
[1586/8645] Fetching swiftcbor, swift-docc-plugin, swift-log
[2145/26098] Fetching swiftcbor, swift-docc-plugin, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.93s)
[5316/21023] Fetching swiftcbor, swift-docc-plugin, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (3.65s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (3.66s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.72s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (7.76s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (0.75s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3581] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (4.84s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (1.31s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.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/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.5
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/383] Write sources
[7/383] Write swift-version--6B0C4D200E742BB1.txt
[8/383] Write sources
[9/399] Compiling aes.cc
[10/399] Compiling blake2.cc
[11/399] Compiling a_dup.cc
[11/399] Write sources
[14/399] Compiling bn_asn1.cc
[15/399] Compiling SimpleFIPS202.c
[16/399] Compiling CXKCPShims shims.c
[17/404] Compiling KeccakSponge.c
[18/413] Compiling a_strnid.cc
[19/421] Compiling KeccakHash.c
[20/421] Compiling a_time.cc
[21/421] Compiling fiat_p256_adx_sqr.S
[22/421] Compiling a_bitstr.cc
[23/421] Compiling fiat_p256_adx_mul.S
[24/421] Compiling fiat_curve25519_adx_square.S
[25/421] Compiling md5-x86_64-linux.S
[26/421] Compiling fiat_curve25519_adx_mul.S
[27/421] Compiling KeccakP-1600-opt64.c
[28/421] Compiling CCryptoBoringSSLShims shims.c
[29/421] Compiling md5-x86_64-apple.S
[30/421] Compiling md5-586-apple.S
[30/421] Compiling md5-586-linux.S
[32/421] Compiling chacha20_poly1305_x86_64-linux.S
[33/421] Compiling chacha20_poly1305_x86_64-apple.S
[34/421] Compiling chacha20_poly1305_armv8-apple.S
[35/421] Compiling chacha20_poly1305_armv8-linux.S
[36/421] Compiling chacha20_poly1305_armv8-win.S
[37/421] Compiling chacha-x86_64-linux.S
[38/421] Compiling chacha-x86_64-apple.S
[39/421] Compiling chacha-x86-linux.S
[40/421] Compiling chacha-x86-apple.S
[41/421] Compiling chacha-armv8-win.S
[42/421] Compiling chacha-armv8-apple.S
[43/421] Compiling chacha-armv8-linux.S
[44/421] Compiling chacha-armv4-linux.S
[45/421] Compiling aes128gcmsiv-x86_64-linux.S
[46/421] Compiling aes128gcmsiv-x86_64-apple.S
[47/421] Compiling x86_64-mont5-apple.S
[48/421] Compiling x86_64-mont5-linux.S
[49/421] Compiling x86-mont-linux.S
[50/421] Compiling x86_64-mont-linux.S
[51/421] Compiling x86_64-mont-apple.S
[52/421] Compiling x86-mont-apple.S
[53/421] Compiling vpaes-x86_64-linux.S
[54/421] Compiling vpaes-x86-linux.S
[55/421] Compiling vpaes-x86-apple.S
[56/421] Compiling vpaes-x86_64-apple.S
[57/421] Compiling vpaes-armv8-linux.S
[58/421] Compiling vpaes-armv8-win.S
[59/421] Compiling err_data.cc
[60/421] Compiling vpaes-armv8-apple.S
[61/421] Compiling vpaes-armv7-linux.S
[62/421] Compiling sha512-x86_64-apple.S
[63/421] Compiling sha512-x86_64-linux.S
[64/421] Compiling sha512-armv8-win.S
[65/421] Compiling sha512-armv8-apple.S
[66/421] Compiling sha512-armv8-linux.S
[67/421] Compiling sha512-armv4-linux.S
[68/421] Compiling sha512-586-linux.S
[69/421] Compiling sha512-586-apple.S
[70/421] Compiling sha256-x86_64-apple.S
[71/421] Compiling sha256-x86_64-linux.S
[72/421] Compiling sha256-armv8-win.S
[73/421] Compiling sha256-586-linux.S
[74/421] Compiling sha256-armv8-linux.S
[75/421] Compiling sha256-armv4-linux.S
[76/421] Compiling sha256-586-apple.S
[77/421] Compiling sha256-armv8-apple.S
[78/421] Compiling sha1-x86_64-linux.S
[79/421] Compiling sha1-x86_64-apple.S
[80/421] Compiling sha1-armv8-win.S
[81/421] Compiling sha1-armv8-apple.S
[82/421] Compiling sha1-armv8-linux.S
[83/421] Compiling sha1-586-linux.S
[84/421] Compiling sha1-armv4-large-linux.S
[85/421] Compiling rsaz-avx2-apple.S
[86/421] Compiling rsaz-avx2-linux.S
[87/421] Compiling sha1-586-apple.S
[88/421] Compiling rdrand-x86_64-linux.S
[89/421] Compiling p256_beeu-x86_64-asm-linux.S
[90/421] Compiling rdrand-x86_64-apple.S
[91/421] Compiling p256_beeu-armv8-asm-win.S
[92/421] Compiling p256_beeu-x86_64-asm-apple.S
[93/421] Compiling p256_beeu-armv8-asm-apple.S
[94/421] Compiling p256_beeu-armv8-asm-linux.S
[95/421] Compiling p256-x86_64-asm-apple.S
[96/421] Compiling p256-armv8-asm-win.S
[97/421] Compiling p256-x86_64-asm-linux.S
[98/421] Compiling p256-armv8-asm-linux.S
[99/421] Compiling p256-armv8-asm-apple.S
[100/421] Compiling ghashv8-armv8-win.S
[101/421] Compiling ghashv8-armv8-linux.S
[102/421] Compiling ghashv8-armv7-linux.S
[103/421] Compiling ghashv8-armv8-apple.S
[104/421] Compiling ghash-x86_64-linux.S
[105/421] Compiling ghash-x86-linux.S
[106/421] Compiling ghash-x86_64-apple.S
[107/421] Compiling ghash-x86-apple.S
[108/421] Compiling ghash-ssse3-x86_64-linux.S
[109/421] Compiling ghash-ssse3-x86_64-apple.S
[110/421] Compiling ghash-ssse3-x86-linux.S
[111/421] Compiling ghash-neon-armv8-win.S
[112/421] Compiling ghash-ssse3-x86-apple.S
[113/421] Compiling ghash-neon-armv8-apple.S
[114/421] Compiling ghash-neon-armv8-linux.S
[115/421] Compiling ghash-armv4-linux.S
[116/421] Compiling co-586-apple.S
[117/421] Compiling co-586-linux.S
[118/421] Compiling bsaes-armv7-linux.S
[119/421] Compiling bn-armv8-win.S
[120/421] Compiling bn-armv8-apple.S
[121/421] Compiling bn-586-linux.S
[122/421] Compiling bn-armv8-linux.S
[123/421] Compiling bn-586-apple.S
[124/421] Compiling armv8-mont-win.S
[125/421] Compiling armv8-mont-apple.S
[126/421] Compiling armv4-mont-linux.S
[127/421] Compiling armv8-mont-linux.S
[128/421] Compiling aesv8-gcm-armv8-win.S
[129/421] Compiling aesv8-gcm-armv8-apple.S
[130/421] Compiling aesv8-armv8-win.S
[131/421] Compiling aesv8-gcm-armv8-linux.S
[132/421] Compiling aesv8-armv8-linux.S
[133/421] Compiling aesv8-armv8-apple.S
[134/421] Compiling aesni-x86_64-linux.S
[135/421] Compiling aesv8-armv7-linux.S
[136/421] Compiling aesni-x86_64-apple.S
[137/421] Compiling aesni-x86-linux.S
[138/421] Compiling aesni-x86-apple.S
[139/421] Compiling aesni-gcm-x86_64-linux.S
[140/421] Compiling aesni-gcm-x86_64-apple.S
[141/421] Compiling aes-gcm-avx512-x86_64-apple.S
[142/421] Compiling aes-gcm-avx512-x86_64-linux.S
[143/421] Compiling aes-gcm-avx2-x86_64-linux.S
[144/421] Compiling aes-gcm-avx2-x86_64-apple.S
[145/421] Compiling xwing.cc
[146/421] Compiling x_x509a.cc
[147/421] Compiling x_sig.cc
[148/421] Compiling x_spki.cc
[149/421] Compiling x_x509.cc
[150/421] Compiling x_pubkey.cc
[151/421] Compiling x_req.cc
[152/421] Compiling x_name.cc
[153/421] Compiling x_crl.cc
[154/421] Compiling x_exten.cc
[156/421] Compiling SwiftASN1 TimeUtilities.swift
[157/421] Compiling SwiftASN1 UTCTime.swift
[158/423] Compiling Logging LogHandler.swift
[159/423] Compiling SwiftASN1 ASN1Integer.swift
[160/423] Compiling SwiftASN1 ASN1Null.swift
[161/423] Compiling SwiftASN1 ASN1BitString.swift
[162/423] Compiling SwiftASN1 ASN1Boolean.swift
[163/423] Compiling SwiftASN1 ASN1Identifier.swift
[164/423] Compiling SwiftASN1 ASN1.swift
[165/423] Compiling SwiftASN1 BER.swift
[166/423] Compiling SwiftASN1 ASN1Any.swift
[167/423] Emitting module SwiftASN1
[167/423] Compiling x_attrib.cc
[168/423] Compiling x509spki.cc
[169/423] Compiling x_all.cc
[170/423] Compiling x509rset.cc
[171/423] Compiling x_algor.cc
[173/423] Compiling SwiftASN1 DER.swift
[174/423] Compiling SwiftASN1 Errors.swift
[174/423] Compiling x509name.cc
[175/423] Compiling x509_vpm.cc
[176/423] Compiling x509cset.cc
[177/423] Compiling x509_vfy.cc
[178/423] Compiling x509_v3.cc
[180/423] Compiling Logging MetadataProvider.swift
[181/423] Emitting module Logging
[182/423] Compiling Logging Locks.swift
[183/423] Compiling SwiftASN1 ASN1OctetString.swift
[184/423] Compiling SwiftASN1 ASN1Strings.swift
[185/423] Compiling SwiftASN1 ObjectIdentifier.swift
[186/423] Compiling SwiftASN1 PEMDocument.swift
[187/423] Compiling SwiftASN1 ArraySliceBigint.swift
[188/423] Compiling SwiftASN1 GeneralizedTime.swift
[190/424] Compiling Logging Logging.swift
[192/427] Compiling x509_txt.cc
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
[199/427] Emitting module SwiftCBOR
[208/427] Compiling x509_trs.cc
[210/427] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[211/427] Compiling SwiftCBOR Util.swift
[211/427] Compiling x509_obj.cc
[212/427] Compiling x509_set.cc
[213/427] Compiling x509_req.cc
[214/427] Compiling x509_lu.cc
[215/427] Compiling x509_def.cc
[216/427] Compiling x509_ext.cc
[217/427] Compiling v3_utl.cc
[217/427] Compiling v3_purp.cc
[217/427] Compiling v3_skey.cc
[217/427] Compiling x509_cmp.cc
[217/427] Compiling x509_att.cc
[217/427] Compiling x509.cc
[217/427] Compiling x509_d2.cc
BUILD FAILURE 6.2 android