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 webauthn-swift, reference 1.0.0-alpha.2 (95ce09), with Swift 6.1 for Android on 29 May 2025 17:11:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-webauthn.git
Reference: 1.0.0-alpha.2
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/swift-server/swift-webauthn
 * tag               1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at 95ce094 Update dependencies (#35)
Cloned https://github.com/swift-server/swift-webauthn.git
Revision (git rev-parse @):
95ce09430d13852db971db56ae0b55d1911db2ee
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-webauthn.git at 1.0.0-alpha.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-server/swift-webauthn.git
https://github.com/swift-server/swift-webauthn.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftcbor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/unrelentingtech/SwiftCBOR.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "4.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/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "webauthn-swift",
  "name" : "webauthn-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "WebAuthn",
      "targets" : [
        "WebAuthn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebAuthnTests",
      "module_type" : "SwiftTarget",
      "name" : "WebAuthnTests",
      "path" : "Tests/WebAuthnTests",
      "sources" : [
        "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/assert+async.swift",
        "Utils/assert+expect.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/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/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",
        "Helpers/Base64Utilities.swift",
        "Helpers/ChallengeGenerator.swift",
        "Helpers/Data+safeSubscript.swift",
        "Helpers/KeyedDecodingContainer+decodeURLEncoded.swift",
        "Helpers/Numbers+Bytes.swift",
        "Helpers/UInt8+random.swift",
        "WebAuthnError.swift",
        "WebAuthnManager+Config.swift",
        "WebAuthnManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/3836] Fetching swift-log
[1728/5233] Fetching swift-log, swiftcbor
[4580/7282] Fetching swift-log, swiftcbor, swift-docc-plugin
[5460/21218] Fetching swift-log, swiftcbor, swift-docc-plugin, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (1.13s)
[8255/19821] Fetching swift-log, swift-docc-plugin, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.18s)
[4976/15985] Fetching swift-docc-plugin, swift-crypto
Fetched https://github.com/apple/swift-docc-plugin from cache (1.19s)
[3066/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.39s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (3.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.59s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.91s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (2.02s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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/370] Write sources
[7/370] Compiling a_i2d_fp.cc
[8/370] Write sources
[10/370] Compiling a_dup.cc
[11/370] Compiling e_null.cc
[12/370] Write swift-version-24593BA9C3E375BF.txt
[13/370] Compiling a_bitstr.cc
[14/370] Compiling fiat_p256_adx_sqr.S
[15/370] Compiling fiat_p256_adx_mul.S
[16/370] Compiling fiat_curve25519_adx_square.S
[17/370] Compiling fiat_curve25519_adx_mul.S
[18/370] Compiling a_gentm.cc
[19/389] Compiling a_strnid.cc
[20/391] Compiling CCryptoBoringSSLShims shims.c
[21/391] Compiling a_int.cc
[22/400] Compiling md5-586-linux.S
[23/408] Compiling md5-x86_64-linux.S
[24/408] Compiling md5-x86_64-apple.S
[25/408] Compiling md5-586-apple.S
[26/408] Compiling chacha20_poly1305_x86_64-apple.S
[27/408] Compiling chacha20_poly1305_x86_64-linux.S
[28/408] Compiling chacha20_poly1305_armv8-win.S
[29/408] Compiling chacha20_poly1305_armv8-apple.S
[30/408] Compiling chacha-x86_64-linux.S
[31/408] Compiling chacha-x86_64-apple.S
[32/408] Compiling chacha20_poly1305_armv8-linux.S
[33/408] Compiling chacha-armv8-win.S
[34/408] Compiling chacha-x86-apple.S
[35/408] Compiling chacha-x86-linux.S
[36/408] Compiling chacha-armv8-apple.S
[37/408] Compiling chacha-armv4-linux.S
[38/408] Compiling chacha-armv8-linux.S
[39/408] Compiling aes128gcmsiv-x86_64-linux.S
[40/408] Compiling aes128gcmsiv-x86_64-apple.S
[41/408] Compiling x86_64-mont5-linux.S
[42/408] Compiling x86_64-mont-linux.S
[43/408] Compiling x86_64-mont5-apple.S
[44/408] Compiling x86_64-mont-apple.S
[45/408] Compiling x86-mont-linux.S
[46/408] Compiling x86-mont-apple.S
[47/408] Compiling vpaes-x86_64-linux.S
[48/408] Compiling vpaes-x86_64-apple.S
[49/408] Compiling vpaes-x86-linux.S
[50/408] Compiling vpaes-x86-apple.S
[51/408] Compiling err_data.cc
[52/408] Compiling vpaes-armv8-win.S
[53/408] Compiling vpaes-armv8-apple.S
[54/408] Compiling vpaes-armv8-linux.S
[55/408] Compiling vpaes-armv7-linux.S
[56/408] Compiling sha512-x86_64-linux.S
[57/408] Compiling sha512-x86_64-apple.S
[58/408] Compiling sha512-armv8-win.S
[59/408] Compiling sha512-armv8-apple.S
[60/408] Compiling sha512-armv4-linux.S
[61/408] Compiling sha512-586-apple.S
[62/408] Compiling sha512-armv8-linux.S
[63/408] Compiling sha512-586-linux.S
[64/408] Compiling sha256-x86_64-linux.S
[65/408] Compiling sha256-x86_64-apple.S
[66/408] Compiling sha256-armv8-win.S
[67/408] Compiling sha256-armv4-linux.S
[68/408] Compiling sha256-armv8-apple.S
[69/408] Compiling sha256-586-linux.S
[70/408] Compiling sha256-armv8-linux.S
[71/408] Compiling sha256-586-apple.S
[72/408] Compiling sha1-x86_64-linux.S
[73/408] Compiling sha1-x86_64-apple.S
[74/408] Compiling sha1-armv8-win.S
[75/408] Compiling sha1-armv4-large-linux.S
[76/408] Compiling sha1-armv8-apple.S
[77/408] Compiling sha1-armv8-linux.S
[78/408] Compiling sha1-586-linux.S
[79/408] Compiling rsaz-avx2-linux.S
[80/408] Compiling sha1-586-apple.S
[81/408] Compiling rdrand-x86_64-linux.S
[82/408] Compiling rsaz-avx2-apple.S
[83/408] Compiling rdrand-x86_64-apple.S
[84/408] Compiling p256_beeu-x86_64-asm-linux.S
[85/408] Compiling p256_beeu-x86_64-asm-apple.S
[86/408] Compiling p256_beeu-armv8-asm-win.S
[87/408] Compiling p256_beeu-armv8-asm-linux.S
[88/408] Compiling p256-x86_64-asm-linux.S
[89/408] Compiling p256_beeu-armv8-asm-apple.S
[90/408] Compiling p256-x86_64-asm-apple.S
[91/408] Compiling p256-armv8-asm-win.S
[92/408] Compiling p256-armv8-asm-apple.S
[93/408] Compiling p256-armv8-asm-linux.S
[94/408] Compiling ghashv8-armv8-win.S
[95/408] Compiling ghashv8-armv8-linux.S
[95/408] Compiling ghashv8-armv8-apple.S
[97/408] Compiling ghash-x86_64-linux.S
[98/408] Compiling ghashv8-armv7-linux.S
[99/408] Compiling ghash-x86-linux.S
[100/408] Compiling ghash-x86_64-apple.S
[101/408] Compiling ghash-x86-apple.S
[102/408] Compiling ghash-ssse3-x86_64-linux.S
[103/408] Compiling ghash-ssse3-x86_64-apple.S
[104/408] Compiling ghash-ssse3-x86-linux.S
[105/408] Compiling ghash-ssse3-x86-apple.S
[106/408] Compiling ghash-neon-armv8-win.S
[107/408] Compiling ghash-neon-armv8-linux.S
[108/408] Compiling ghash-neon-armv8-apple.S
[109/408] Compiling co-586-linux.S
[110/408] Compiling ghash-armv4-linux.S
[111/408] Compiling co-586-apple.S
[112/408] Compiling bn-armv8-win.S
[113/408] Compiling bsaes-armv7-linux.S
[114/408] Compiling bn-armv8-linux.S
[115/408] Compiling bn-armv8-apple.S
[116/408] Compiling bn-586-apple.S
[117/408] Compiling bn-586-linux.S
[118/408] Compiling armv8-mont-win.S
[119/408] Compiling armv8-mont-apple.S
[120/408] Compiling armv8-mont-linux.S
[121/408] Compiling armv4-mont-linux.S
[122/408] Compiling aesv8-gcm-armv8-win.S
[123/408] Compiling aesv8-gcm-armv8-apple.S
[124/408] Compiling aesv8-gcm-armv8-linux.S
[125/408] Compiling aesv8-armv8-win.S
[126/408] Compiling aesv8-armv8-apple.S
[127/408] Compiling aesv8-armv8-linux.S
[128/408] Compiling aesv8-armv7-linux.S
[129/408] Compiling aesni-x86_64-linux.S
[130/408] Compiling aesni-x86_64-apple.S
[131/408] Compiling aesni-x86-linux.S
[132/408] Compiling aesni-x86-apple.S
[133/408] Compiling aesni-gcm-x86_64-linux.S
[134/408] Compiling aesni-gcm-x86_64-apple.S
[135/408] Compiling aes-gcm-avx10-x86_64-linux.S
[136/408] Compiling aes-gcm-avx10-x86_64-apple.S
[137/408] Compiling x_x509a.cc
[138/408] Compiling x_spki.cc
[139/408] Compiling x_x509.cc
[140/408] Compiling x_sig.cc
[141/408] Compiling x_val.cc
[142/408] Compiling x_exten.cc
[143/408] Compiling x_req.cc
[144/408] Compiling x_pubkey.cc
[145/408] Compiling x_name.cc
[146/408] Compiling x_crl.cc
[147/408] Compiling x509spki.cc
[148/408] Compiling x_algor.cc
[150/408] Compiling SwiftASN1 ASN1.swift
[151/408] Compiling SwiftASN1 BER.swift
[152/408] Compiling SwiftASN1 ASN1Any.swift
[153/408] Compiling SwiftASN1 ASN1BitString.swift
[154/408] Compiling SwiftASN1 ASN1Boolean.swift
[155/408] Compiling SwiftASN1 ASN1Identifier.swift
[156/410] Compiling SwiftASN1 ASN1Integer.swift
[157/410] Compiling SwiftASN1 ASN1Null.swift
[158/410] Compiling SwiftASN1 TimeUtilities.swift
[159/410] Compiling SwiftASN1 UTCTime.swift
[159/410] Compiling x_attrib.cc
[160/410] Compiling x_all.cc
[162/410] Emitting module SwiftASN1
[162/410] Compiling x509rset.cc
[164/410] Compiling SwiftASN1 DER.swift
[165/410] Compiling SwiftASN1 Errors.swift
[165/410] Compiling x509_vpm.cc
[166/410] Compiling x509name.cc
[167/410] Compiling x509_vfy.cc
[168/410] Compiling x509cset.cc
[169/410] Compiling x509_v3.cc
[170/410] Compiling x509_txt.cc
[171/410] Compiling x509_trs.cc
[172/410] Compiling x509_set.cc
[173/410] Compiling x509_req.cc
[174/410] Compiling x509_ext.cc
[174/410] Compiling x509_lu.cc
[176/410] Compiling x509_obj.cc
[177/410] Compiling x509_def.cc
[178/410] Compiling x509_d2.cc
[180/410] Emitting module Logging
[181/410] Compiling Logging Locks.swift
[182/410] Compiling Logging MetadataProvider.swift
[183/410] Compiling SwiftASN1 ObjectIdentifier.swift
[184/410] Compiling SwiftASN1 PEMDocument.swift
[185/410] Compiling SwiftASN1 ASN1OctetString.swift
[186/410] Compiling SwiftASN1 ASN1Strings.swift
[187/410] Compiling SwiftASN1 ArraySliceBigint.swift
[188/410] Compiling SwiftASN1 GeneralizedTime.swift
[189/410] Compiling Logging LogHandler.swift
[190/410] Compiling Logging Logging.swift
[196/412] Emitting module SwiftCBOR
/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 {
[208/414] Compiling v3_utl.cc
[209/414] Compiling x509.cc
[210/414] Compiling x509_cmp.cc
[212/414] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[213/414] Compiling SwiftCBOR Util.swift
[213/414] Compiling v3_pcons.cc
[213/414] Compiling v3_skey.cc
[213/414] Compiling v3_ocsp.cc
[213/414] Compiling v3_pmaps.cc
[213/414] Compiling v3_prn.cc
[213/414] Compiling x509_att.cc
[213/414] Compiling v3_purp.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/204] Compiling v3_skey.cc
[3/204] Compiling v3_pcons.cc
[4/204] Compiling v3_pmaps.cc
[5/204] Compiling v3_purp.cc
[6/204] Compiling v3_ncons.cc
[7/204] Write swift-version-24593BA9C3E375BF.txt
[8/204] Compiling v3_prn.cc
[9/204] Compiling v3_ocsp.cc
[10/204] Compiling x509_att.cc
[12/242] Compiling Logging MetadataProvider.swift
[12/242] Compiling v3_lib.cc
[13/242] Compiling v3_info.cc
[14/242] Compiling v3_ia5.cc
[16/242] 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 {
[17/242] 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 {
[17/244] Compiling v3_int.cc
[19/244] Emitting module SwiftCBOR
[20/244] Compiling SwiftASN1 ASN1BitString.swift
[21/244] Compiling SwiftASN1 ASN1Boolean.swift
[22/244] Compiling SwiftASN1 ASN1Identifier.swift
[23/244] Compiling SwiftASN1 PEMDocument.swift
[24/244] Compiling SwiftASN1 ArraySliceBigint.swift
[25/244] Compiling SwiftASN1 UTCTime.swift
[26/244] Compiling SwiftASN1 ObjectIdentifier.swift
[26/244] Compiling v3_enum.cc
[27/244] Compiling v3_genn.cc
[29/244] Compiling SwiftASN1 ASN1Any.swift
[30/244] Compiling SwiftASN1 ASN1OctetString.swift
[32/244] Compiling SwiftASN1 ASN1Strings.swift
[33/246] Compiling SwiftASN1 TimeUtilities.swift
[35/246] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[36/246] Compiling SwiftASN1 DER.swift
[36/246] Compiling v3_crld.cc
[42/246] Compiling SwiftASN1 ASN1Integer.swift
[43/246] Compiling SwiftASN1 ASN1Null.swift
[44/246] Compiling v3_bcons.cc
[44/246] Compiling v3_extku.cc
[44/246] Compiling v3_cpols.cc
[45/246] Compiling Logging LogHandler.swift
[46/246] Compiling Logging Locks.swift
[46/246] Compiling v3_bitst.cc
[46/246] Compiling v3_conf.cc
BUILD FAILURE 6.1 android