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.1 for Android on 25 Nov 2025 20:32:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
https://github.com/brokenhandsio/swift-webauthn.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftcbor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/unrelentingtech/SwiftCBOR.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.8.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "swift-webauthn",
  "name" : "swift-webauthn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WebAuthn",
      "targets" : [
        "WebAuthn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebAuthnTests",
      "module_type" : "SwiftTarget",
      "name" : "WebAuthnTests",
      "path" : "Tests/WebAuthnTests",
      "product_dependencies" : [
        "Crypto",
        "_CryptoExtras"
      ],
      "sources" : [
        "AuthenticatorAttestationGloballyUniqueIDTests.swift",
        "AuthenticatorSelectionTests.swift",
        "DurationTests.swift",
        "Formats/TPMAttestationTests/CertInfoTests.swift",
        "HelpersTests.swift",
        "Mocks/MockChallengeGenerator.swift",
        "Mocks/MockUser.swift",
        "Utils/Hexadecimal.swift",
        "Utils/TestModels/TestAttestationObject.swift",
        "Utils/TestModels/TestAuthData.swift",
        "Utils/TestModels/TestClientDataJSON.swift",
        "Utils/TestModels/TestConstants.swift",
        "Utils/TestModels/TestCredentialPublicKey.swift",
        "Utils/TestModels/TestECCKeyPair.swift",
        "Utils/TestModels/TestKeyConfiguration.swift",
        "Utils/TestModels/TestRSAKeyPair.swift",
        "WebAuthnManagerAuthenticationTests.swift",
        "WebAuthnManagerIntegrationTests.swift",
        "WebAuthnManagerRegistrationTests.swift"
      ],
      "target_dependencies" : [
        "WebAuthn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebAuthn",
      "module_type" : "SwiftTarget",
      "name" : "WebAuthn",
      "path" : "Sources/WebAuthn",
      "product_dependencies" : [
        "SwiftCBOR",
        "Crypto",
        "_CryptoExtras",
        "Logging"
      ],
      "product_memberships" : [
        "WebAuthn"
      ],
      "sources" : [
        "Ceremonies/Authentication/AuthenticationCredential.swift",
        "Ceremonies/Authentication/AuthenticatorAssertionResponse.swift",
        "Ceremonies/Authentication/PublicKeyCredentialRequestOptions.swift",
        "Ceremonies/Authentication/VerifiedAuthentication.swift",
        "Ceremonies/Registration/AttestationConveyancePreference.swift",
        "Ceremonies/Registration/AttestationFormat.swift",
        "Ceremonies/Registration/AttestationObject.swift",
        "Ceremonies/Registration/AttestedCredentialData.swift",
        "Ceremonies/Registration/AuthenticatorAttestationResponse.swift",
        "Ceremonies/Registration/AuthenticatorSelection.swift",
        "Ceremonies/Registration/Credential.swift",
        "Ceremonies/Registration/Formats/PackedAttestation.swift",
        "Ceremonies/Registration/Formats/TPMAttestation+Structs.swift",
        "Ceremonies/Registration/Formats/TPMAttestation.swift",
        "Ceremonies/Registration/PublicKeyCredentialCreationOptions.swift",
        "Ceremonies/Registration/RegistrationCredential.swift",
        "Ceremonies/Registration/ResidentKeyRequirement.swift",
        "Ceremonies/Shared/AuthenticatorAttachment.swift",
        "Ceremonies/Shared/AuthenticatorAttestationGloballyUniqueID.swift",
        "Ceremonies/Shared/AuthenticatorData.swift",
        "Ceremonies/Shared/AuthenticatorFlags.swift",
        "Ceremonies/Shared/COSE/COSEAlgorithmIdentifier.swift",
        "Ceremonies/Shared/COSE/COSECurve.swift",
        "Ceremonies/Shared/COSE/COSEKey.swift",
        "Ceremonies/Shared/COSE/COSEKeyType.swift",
        "Ceremonies/Shared/CollectedClientData.swift",
        "Ceremonies/Shared/CredentialPublicKey.swift",
        "Ceremonies/Shared/CredentialType.swift",
        "Helpers/Base64Utilities.swift",
        "Helpers/ByteCasting.swift",
        "Helpers/ChallengeGenerator.swift",
        "Helpers/Data+safeSubscript.swift",
        "Helpers/Duration+Milliseconds.swift",
        "Helpers/KeyedDecodingContainer+decodeURLEncoded.swift",
        "Helpers/UInt8+random.swift",
        "Helpers/UnreferencedStringEnumeration.swift",
        "WebAuthnError.swift",
        "WebAuthnManager+Configuration.swift",
        "WebAuthnManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/2158] Fetching swift-docc-plugin
[239/3570] Fetching swift-docc-plugin, swiftcbor
[1888/8645] Fetching swift-docc-plugin, swiftcbor, swift-log
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.28s)
[1430/7233] Fetching swift-docc-plugin, swift-log
[7184/24686] Fetching swift-docc-plugin, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (2.24s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (2.24s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.28s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (4.59s)
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.63s)
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.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.83s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.87s)
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/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/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
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/383] Write sources
[7/383] Compiling pkcs7.cc
[8/383] Write sources
[11/383] Write swift-version-24593BA9C3E375BF.txt
[11/383] Compiling pem_x509.cc
[13/383] Compiling pem_pkey.cc
[14/383] Compiling pem_oth.cc
[15/383] Compiling pem_xaux.cc
[16/383] Compiling SimpleFIPS202.c
[17/383] Compiling pem_pk8.cc
[18/383] Compiling CXKCPShims shims.c
[19/383] Compiling KeccakSponge.c
[20/383] Compiling KeccakHash.c
[21/383] Compiling fiat_p256_adx_sqr.S
[22/383] Compiling fiat_p256_adx_mul.S
[23/383] Compiling fiat_curve25519_adx_square.S
[24/383] Compiling fiat_curve25519_adx_mul.S
[25/421] Compiling md5-x86_64-linux.S
[26/421] Compiling md5-x86_64-apple.S
[27/421] Compiling pem_lib.cc
[28/421] Compiling md5-586-linux.S
[29/421] Compiling md5-586-apple.S
[30/421] Compiling chacha20_poly1305_x86_64-apple.S
[31/421] Compiling chacha20_poly1305_x86_64-linux.S
[32/421] Compiling chacha20_poly1305_armv8-win.S
[33/421] Compiling chacha20_poly1305_armv8-linux.S
[34/421] Compiling chacha20_poly1305_armv8-apple.S
[35/421] Compiling CCryptoBoringSSLShims shims.c
[36/421] Compiling chacha-x86_64-linux.S
[37/421] Compiling chacha-x86_64-apple.S
[38/421] Compiling chacha-x86-linux.S
[39/421] Compiling chacha-x86-apple.S
[40/421] Compiling chacha-armv8-win.S
[41/421] Compiling KeccakP-1600-opt64.c
[42/421] Compiling chacha-armv8-linux.S
[43/421] Compiling chacha-armv8-apple.S
[44/421] Compiling chacha-armv4-linux.S
[45/421] Compiling aes128gcmsiv-x86_64-linux.S
[46/421] Compiling err_data.cc
[47/421] Compiling x86_64-mont5-linux.S
[48/421] Compiling aes128gcmsiv-x86_64-apple.S
[49/421] Compiling x86_64-mont5-apple.S
[50/421] Compiling vpaes-x86_64-linux.S
[51/421] Compiling x86_64-mont-apple.S
[52/421] Compiling x86_64-mont-linux.S
[53/421] Compiling x86-mont-linux.S
[54/421] Compiling x86-mont-apple.S
[55/421] Compiling vpaes-x86_64-apple.S
[56/421] Compiling vpaes-x86-linux.S
[57/421] Compiling vpaes-x86-apple.S
[58/421] Compiling vpaes-armv8-win.S
[59/421] Compiling vpaes-armv7-linux.S
[60/421] Compiling vpaes-armv8-apple.S
[61/421] Compiling vpaes-armv8-linux.S
[62/421] Compiling sha512-x86_64-linux.S
[63/421] Compiling sha512-x86_64-apple.S
[64/421] Compiling sha512-armv8-win.S
[65/421] Compiling sha512-armv8-apple.S
[66/421] Compiling sha512-586-linux.S
[67/421] Compiling sha512-armv4-linux.S
[68/421] Compiling sha512-586-apple.S
[69/421] Compiling sha512-armv8-linux.S
[70/421] Compiling sha256-armv8-win.S
[71/421] Compiling sha256-x86_64-linux.S
[72/421] Compiling sha256-x86_64-apple.S
[73/421] Compiling sha256-armv8-apple.S
[74/421] Compiling sha256-armv4-linux.S
[75/421] Compiling sha256-586-apple.S
[76/421] Compiling sha256-armv8-linux.S
[77/421] Compiling sha256-586-linux.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 sha1-586-apple.S
[87/421] Compiling rsaz-avx2-linux.S
[88/421] Compiling rdrand-x86_64-linux.S
[89/421] Compiling rdrand-x86_64-apple.S
[90/421] Compiling p256_beeu-x86_64-asm-apple.S
[91/421] Compiling p256_beeu-x86_64-asm-linux.S
[92/421] Compiling p256_beeu-armv8-asm-win.S
[93/421] Compiling p256_beeu-armv8-asm-linux.S
[94/421] Compiling p256_beeu-armv8-asm-apple.S
[95/421] Compiling p256-x86_64-asm-linux.S
[96/421] Compiling p256-armv8-asm-win.S
[97/421] Compiling p256-x86_64-asm-apple.S
[98/421] Compiling p256-armv8-asm-apple.S
[99/421] Compiling p256-armv8-asm-linux.S
[100/421] Compiling ghashv8-armv8-apple.S
[101/421] Compiling ghashv8-armv8-win.S
[102/421] Compiling ghashv8-armv8-linux.S
[103/421] Compiling ghashv8-armv7-linux.S
[104/421] Compiling ghash-x86_64-apple.S
[105/421] Compiling ghash-x86-linux.S
[106/421] Compiling ghash-x86_64-linux.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-ssse3-x86-apple.S
[112/421] Compiling ghash-neon-armv8-win.S
[113/421] Compiling co-586-linux.S
[114/421] Compiling ghash-neon-armv8-apple.S
[115/421] Compiling ghash-neon-armv8-linux.S
[116/421] Compiling ghash-armv4-linux.S
[117/421] Compiling co-586-apple.S
[118/421] Compiling bn-armv8-apple.S
[119/421] Compiling bn-armv8-win.S
[120/421] Compiling bn-586-linux.S
[121/421] Compiling bn-armv8-linux.S
[122/421] Compiling bsaes-armv7-linux.S
[123/421] Compiling bn-586-apple.S
[124/421] Compiling armv8-mont-apple.S
[125/421] Compiling armv8-mont-win.S
[126/421] Compiling aesv8-gcm-armv8-win.S
[127/421] Compiling armv4-mont-linux.S
[128/421] Compiling armv8-mont-linux.S
[129/421] Compiling aesv8-gcm-armv8-linux.S
[130/421] Compiling aesv8-armv8-apple.S
[131/421] Compiling aesv8-armv8-win.S
[132/421] Compiling aesv8-gcm-armv8-apple.S
[133/421] Compiling aesv8-armv8-linux.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 aes-gcm-avx512-x86_64-apple.S
[140/421] Compiling aesni-gcm-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
[146/421] Emitting module SwiftCBOR
[146/423] Compiling xwing.cc
[147/423] Compiling x_x509a.cc
[148/423] Compiling x_sig.cc
[149/423] Compiling x_spki.cc
[150/423] Compiling x_x509.cc
[152/423] Compiling Logging LogHandler.swift
[153/423] Compiling SwiftASN1 TimeUtilities.swift
[154/423] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[156/423] Compiling SwiftCBOR Util.swift
[157/425] Compiling SwiftASN1 ASN1Integer.swift
[158/425] Compiling SwiftASN1 ASN1Null.swift
[159/425] Compiling SwiftASN1 ASN1BitString.swift
[160/425] Compiling SwiftASN1 ASN1Boolean.swift
[161/425] Compiling SwiftASN1 ASN1Identifier.swift
[161/425] Compiling x_req.cc
[163/425] Emitting module SwiftASN1
[163/425] Compiling x_pubkey.cc
[165/425] Compiling SwiftASN1 DER.swift
[166/425] Compiling SwiftASN1 Errors.swift
[166/425] Compiling x_exten.cc
[167/425] Compiling x_name.cc
[168/425] Compiling x_crl.cc
[169/425] Compiling x_attrib.cc
[171/425] Compiling Logging MetadataProvider.swift
[172/425] Compiling Logging Locks.swift
[173/425] Emitting module Logging
[174/425] Compiling Logging Logging.swift
[174/426] Compiling x_algor.cc
[176/426] Compiling SwiftASN1 ASN1.swift
[177/426] Compiling SwiftASN1 BER.swift
[178/426] Compiling SwiftASN1 ASN1Any.swift
[179/426] Compiling SwiftASN1 ArraySliceBigint.swift
[180/426] Compiling SwiftASN1 GeneralizedTime.swift
[181/426] Compiling SwiftASN1 ASN1OctetString.swift
[182/426] Compiling SwiftASN1 ASN1Strings.swift
[183/426] Compiling SwiftASN1 ObjectIdentifier.swift
[184/426] Compiling SwiftASN1 PEMDocument.swift
[185/427] Compiling x509spki.cc
[187/427] Compiling x_all.cc
[188/427] Compiling x509rset.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 {
[204/427] Compiling x509_vfy.cc
[204/427] Compiling x509cset.cc
[204/427] Compiling x509name.cc
[204/427] Compiling x509_vpm.cc
[204/427] Compiling x509_txt.cc
[204/427] Compiling x509_trs.cc
[204/427] Compiling x509_v3.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/226] Compiling x509_v3.cc
[3/226] Compiling x509_txt.cc
[4/226] Compiling x509cset.cc
[5/226] Compiling x509_trs.cc
[5/226] Compiling x509_vpm.cc
[7/226] Compiling x509_set.cc
[8/226] Compiling x509name.cc
[9/226] Compiling x509_vfy.cc
[10/226] Write swift-version-24593BA9C3E375BF.txt
[11/226] Compiling x509_d2.cc
[12/226] Compiling x509_def.cc
[13/226] Compiling x509_att.cc
[14/226] Compiling x509_req.cc
[15/226] Compiling x509_ext.cc
[16/226] Compiling x509_lu.cc
[17/242] Compiling x509_obj.cc
[18/244] Compiling x509_cmp.cc
[20/264] Compiling Logging MetadataProvider.swift
[21/264] Emitting module SwiftCBOR
[22/266] Compiling SwiftASN1 ASN1BitString.swift
[23/266] Compiling SwiftASN1 ASN1Boolean.swift
[24/266] Compiling SwiftASN1 ASN1Identifier.swift
[25/268] Compiling Logging Locks.swift
[26/268] Emitting module Logging
[27/268] Compiling SwiftASN1 ASN1.swift
/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 {
[28/268] Compiling SwiftASN1 BER.swift
/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 {
[29/268] Compiling SwiftASN1 GeneralizedTime.swift
[30/268] Compiling SwiftASN1 TimeUtilities.swift
[31/268] Compiling SwiftASN1 UTCTime.swift
[32/268] Compiling SwiftASN1 ObjectIdentifier.swift
[33/268] Compiling SwiftASN1 ASN1Any.swift
[34/268] Compiling SwiftASN1 ASN1Integer.swift
[35/268] Compiling SwiftASN1 ASN1OctetString.swift
[36/268] Compiling SwiftASN1 ASN1Strings.swift
[37/268] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[38/268] Compiling SwiftASN1 DER.swift
[48/268] Compiling SwiftASN1 ASN1Null.swift
[49/268] Compiling SwiftASN1 ArraySliceBigint.swift
[52/268] Compiling v3_skey.cc
[53/268] Compiling v3_prn.cc
[54/268] Compiling x509.cc
[56/268] Compiling Logging LogHandler.swift
[57/268] Compiling Logging Logging.swift
[57/269] Compiling v3_purp.cc
[60/269] Compiling SwiftASN1 Errors.swift
[65/269] Compiling v3_utl.cc
[66/269] Compiling v3_ocsp.cc
[66/269] Compiling v3_lib.cc
[66/269] Compiling v3_ncons.cc
[66/269] Compiling v3_pmaps.cc
[66/269] Compiling v3_pcons.cc
BUILD FAILURE 6.1 android