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 Wasm on 25 Nov 2025 20:33:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
[1/2158] Fetching swift-docc-plugin
[2/3570] Fetching swift-docc-plugin, swiftcbor
[1651/8645] Fetching swift-docc-plugin, swiftcbor, swift-log
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.85s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-log.git from cache (0.97s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.99s)
[1/17453] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.26s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (8.14s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (1.13s)
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.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (6.26s)
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.57s)
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
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/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-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
[10/383] Compiling SimpleFIPS202.c
[10/383] Compiling CXKCPShims shims.c
[12/383] Compiling KeccakHash.c
[13/383] Compiling KeccakSponge.c
[14/383] Compiling fiat_p256_adx_mul.S
[15/383] Compiling fiat_curve25519_adx_square.S
[16/383] Compiling fiat_p256_adx_sqr.S
[17/383] Compiling md5-x86_64-linux.S
[18/383] Compiling fiat_curve25519_adx_mul.S
[19/383] Compiling md5-586-linux.S
[20/383] Compiling md5-x86_64-apple.S
[21/383] Compiling md5-586-apple.S
[22/383] Compiling chacha20_poly1305_x86_64-linux.S
[23/383] Compiling chacha20_poly1305_x86_64-apple.S
[24/383] Compiling chacha20_poly1305_armv8-linux.S
[25/383] Compiling chacha20_poly1305_armv8-win.S
[26/383] Compiling chacha-x86_64-linux.S
[27/383] Compiling chacha-x86_64-apple.S
[28/383] Compiling chacha20_poly1305_armv8-apple.S
[29/383] Compiling chacha-armv8-win.S
[30/383] Compiling chacha-x86-linux.S
[31/383] Compiling chacha-x86-apple.S
[32/383] Compiling chacha-armv8-apple.S
[33/383] Compiling chacha-armv8-linux.S
[34/383] Write swift-version-24593BA9C3E375BF.txt
[35/383] Compiling chacha-armv4-linux.S
[36/383] Compiling aes128gcmsiv-x86_64-linux.S
[37/383] Compiling aes128gcmsiv-x86_64-apple.S
[38/383] Compiling x86_64-mont5-linux.S
[39/383] Compiling x86_64-mont5-apple.S
[39/383] Compiling CCryptoBoringSSLShims shims.c
[41/383] Compiling x86-mont-linux.S
[42/383] Compiling x86_64-mont-linux.S
[43/383] Compiling x86_64-mont-apple.S
[44/383] Compiling x86-mont-apple.S
[45/383] Compiling vpaes-x86_64-linux.S
[46/389] Compiling vpaes-x86_64-apple.S
[47/403] Compiling vpaes-x86-linux.S
[48/421] Compiling vpaes-armv8-linux.S
[49/421] Compiling vpaes-x86-apple.S
[50/421] Compiling vpaes-armv8-win.S
[51/421] Compiling vpaes-armv8-apple.S
[52/421] Compiling vpaes-armv7-linux.S
[53/421] Compiling sha512-x86_64-linux.S
[54/421] Compiling sha512-x86_64-apple.S
[55/421] Compiling err_data.cc
[56/421] Compiling sha512-armv8-win.S
[57/421] Compiling sha512-armv8-linux.S
[58/421] Compiling sha512-armv4-linux.S
[59/421] Compiling sha512-armv8-apple.S
[60/421] Compiling sha512-586-apple.S
[60/421] Compiling sha512-586-linux.S
[62/421] Compiling sha256-x86_64-linux.S
[63/421] Compiling sha256-x86_64-apple.S
[64/421] Compiling sha256-armv8-win.S
[65/421] Compiling sha256-armv8-linux.S
[66/421] Compiling sha256-armv8-apple.S
[67/421] Compiling sha256-armv4-linux.S
[68/421] Compiling sha256-586-linux.S
[69/421] Compiling sha256-586-apple.S
[70/421] Compiling sha1-x86_64-linux.S
[71/421] Compiling sha1-x86_64-apple.S
[72/421] Compiling sha1-armv8-win.S
[73/421] Compiling sha1-armv8-linux.S
[74/421] Compiling sha1-armv8-apple.S
[75/421] Compiling sha1-586-linux.S
[76/421] Compiling sha1-armv4-large-linux.S
[77/421] Compiling sha1-586-apple.S
[78/421] Compiling rsaz-avx2-linux.S
[79/421] Compiling rsaz-avx2-apple.S
[80/421] Compiling rdrand-x86_64-apple.S
[81/421] Compiling rdrand-x86_64-linux.S
[82/421] Compiling p256_beeu-x86_64-asm-linux.S
[83/421] Compiling p256_beeu-armv8-asm-win.S
[84/421] Compiling p256_beeu-x86_64-asm-apple.S
[85/421] Compiling p256_beeu-armv8-asm-apple.S
[86/421] Compiling p256_beeu-armv8-asm-linux.S
[87/421] Compiling p256-x86_64-asm-linux.S
[88/421] Compiling p256-x86_64-asm-apple.S
[89/421] Compiling p256-armv8-asm-apple.S
[90/421] Compiling p256-armv8-asm-win.S
[91/421] Compiling p256-armv8-asm-linux.S
[92/421] Compiling ghashv8-armv8-win.S
[93/421] Compiling ghashv8-armv8-linux.S
[94/421] Compiling ghashv8-armv8-apple.S
[95/421] Compiling ghashv8-armv7-linux.S
[96/421] Compiling ghash-x86_64-linux.S
[97/421] Compiling ghash-x86_64-apple.S
[98/421] Compiling ghash-x86-linux.S
[99/421] Compiling ghash-ssse3-x86_64-linux.S
[100/421] Compiling ghash-x86-apple.S
[101/421] Compiling ghash-ssse3-x86_64-apple.S
[102/421] Compiling ghash-ssse3-x86-apple.S
[103/421] Compiling ghash-ssse3-x86-linux.S
[104/421] Compiling ghash-neon-armv8-win.S
[105/421] Compiling ghash-neon-armv8-apple.S
[106/421] Compiling ghash-neon-armv8-linux.S
[107/421] Compiling ghash-armv4-linux.S
[108/421] Compiling co-586-linux.S
[109/421] Compiling co-586-apple.S
[110/421] Compiling bsaes-armv7-linux.S
[111/421] Compiling bn-armv8-linux.S
[112/421] Compiling bn-armv8-win.S
[113/421] Compiling bn-armv8-apple.S
[114/421] Compiling bn-586-linux.S
[115/421] Compiling bn-586-apple.S
[116/421] Compiling armv8-mont-win.S
[117/421] Compiling armv8-mont-linux.S
[118/421] Compiling armv8-mont-apple.S
[119/421] Compiling aesv8-gcm-armv8-win.S
[120/421] Compiling armv4-mont-linux.S
[121/421] Compiling aesv8-gcm-armv8-linux.S
[122/421] Compiling aesv8-gcm-armv8-apple.S
[123/421] Compiling aesv8-armv8-linux.S
[124/421] Compiling aesv8-armv8-win.S
[125/421] Compiling aesv8-armv8-apple.S
[126/421] Compiling aesv8-armv7-linux.S
[127/421] Compiling aesni-x86_64-linux.S
[128/421] Compiling aesni-x86_64-apple.S
[129/421] Compiling aesni-x86-apple.S
[130/421] Compiling aesni-x86-linux.S
[131/421] Compiling aesni-gcm-x86_64-linux.S
[132/421] Compiling aesni-gcm-x86_64-apple.S
[133/421] Compiling aes-gcm-avx512-x86_64-linux.S
[134/421] Compiling aes-gcm-avx512-x86_64-apple.S
[135/421] Compiling aes-gcm-avx2-x86_64-linux.S
[136/421] Compiling aes-gcm-avx2-x86_64-apple.S
[137/421] Compiling xwing.cc
[138/421] Compiling x_x509a.cc
[139/421] Compiling x_x509.cc
[140/421] Compiling x_spki.cc
[142/421] Emitting module Logging
[143/421] Compiling Logging Locks.swift
[144/421] Compiling SwiftASN1 TimeUtilities.swift
[145/421] Compiling SwiftASN1 UTCTime.swift
[146/423] Compiling SwiftASN1 ASN1OctetString.swift
[147/423] Compiling SwiftASN1 ASN1Strings.swift
[148/423] Compiling SwiftASN1 ASN1BitString.swift
[149/423] Compiling SwiftASN1 ASN1Boolean.swift
[150/423] Compiling SwiftASN1 ASN1Identifier.swift
[151/423] Compiling SwiftASN1 ASN1.swift
[152/423] Compiling SwiftASN1 BER.swift
[153/423] Compiling SwiftASN1 ASN1Any.swift
[154/423] Compiling SwiftASN1 ASN1Integer.swift
[155/423] Compiling SwiftASN1 ASN1Null.swift
[156/423] Emitting module SwiftASN1
[156/423] Compiling x_sig.cc
[158/423] Compiling Logging MetadataProvider.swift
[159/423] Compiling Logging LogHandler.swift
[160/423] Compiling Logging Logging.swift
[161/424] Compiling SwiftASN1 ArraySliceBigint.swift
[162/424] Compiling SwiftASN1 GeneralizedTime.swift
[163/424] Compiling SwiftASN1 ObjectIdentifier.swift
[164/424] Compiling SwiftASN1 PEMDocument.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 {
/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 {
[181/426] Emitting module SwiftCBOR
[181/426] Compiling x_req.cc
[183/426] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[184/426] Compiling SwiftCBOR Util.swift
[184/426] Compiling x_crl.cc
[184/426] Compiling x_attrib.cc
[184/426] Compiling x_name.cc
[184/426] Compiling x_exten.cc
[184/426] Compiling KeccakP-1600-opt64.c
[184/426] Compiling x_pubkey.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/243] Compiling x_exten.cc
[3/243] Compiling x_name.cc
[4/243] Compiling x_algor.cc
[5/243] Compiling x_all.cc
[6/243] Compiling x_attrib.cc
[7/243] Compiling x_crl.cc
[8/243] Compiling x_pubkey.cc
[9/243] Write swift-version-24593BA9C3E375BF.txt
[10/243] Compiling x509spki.cc
[11/243] Compiling x509rset.cc
[12/243] Compiling x509name.cc
[13/243] Compiling x509cset.cc
[14/253] Compiling x509_vpm.cc
[15/255] Compiling x509_v3.cc
[16/281] Compiling x509_vfy.cc
[18/281] Compiling Logging Locks.swift
[19/281] Compiling Logging MetadataProvider.swift
[20/281] Emitting module Logging
[21/281] 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 {
[22/281] 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 {
[23/283] Compiling SwiftASN1 PEMDocument.swift
[24/283] Compiling SwiftASN1 TimeUtilities.swift
[25/283] Compiling SwiftASN1 GeneralizedTime.swift
[26/283] Compiling SwiftASN1 ObjectIdentifier.swift
[27/283] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[28/283] Compiling SwiftCBOR Util.swift
[31/285] Compiling SwiftASN1 ASN1BitString.swift
[32/285] Compiling SwiftASN1 ASN1Boolean.swift
[33/285] Compiling SwiftASN1 ASN1Identifier.swift
[34/285] Compiling SwiftASN1 ASN1Integer.swift
[35/285] Compiling SwiftASN1 ASN1Null.swift
[36/285] Compiling SwiftASN1 ASN1OctetString.swift
[37/285] Compiling SwiftASN1 ASN1Strings.swift
[37/285] Compiling x509_txt.cc
[39/285] Compiling SwiftASN1 ArraySliceBigint.swift
[43/285] Compiling SwiftASN1 ASN1Any.swift
[44/285] Compiling x509_set.cc
[45/285] Compiling x509_trs.cc
[50/285] Emitting module SwiftCBOR
[50/285] Compiling x509_req.cc
[52/285] Compiling Logging LogHandler.swift
[53/285] Compiling Logging Logging.swift
[61/286] Compiling x509_obj.cc
[61/286] Compiling x509_def.cc
[61/286] Compiling x509_ext.cc
[61/286] Compiling x509_lu.cc
[61/286] Compiling KeccakP-1600-opt64.c
BUILD FAILURE 6.1 wasm