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 0.0.3 (71b78c), with Swift 6.1 for Wasm on 29 May 2025 17:12:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-webauthn.git
Reference: 0.0.3
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               0.0.3      -> FETCH_HEAD
HEAD is now at 71b78cb update docc documentation (#29)
Cloned https://github.com/swift-server/swift-webauthn.git
Revision (git rev-parse @):
71b78cb2ce4989b2e598225d6f42a75f042986f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-webauthn.git at 0.0.3
========================================
Build
========================================
Selected platform:         wasm
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" : "3.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-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.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",
        "X509"
      ],
      "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-4609320-0":/host -w "$PWD" 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 -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1397] Fetching swiftcbor
[1398/3446] Fetching swiftcbor, swift-docc-plugin
[1624/17382] Fetching swiftcbor, swift-docc-plugin, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.74s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.74s)
[2509/13936] Fetching swift-crypto
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-crypto.git from cache (2.43s)
[1/3836] Fetching swift-log
[2/9991] Fetching swift-log, swift-certificates
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.93s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (4.28s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.6.0 (1.03s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.8.0 (1.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.51s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.48s)
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.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.93s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 0.6.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 0.8.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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/425] Write sources
[10/425] Compiling fiat_curve25519_adx_mul.S
[11/425] Compiling fiat_curve25519_adx_square.S
[12/425] Write swift-version-24593BA9C3E375BF.txt
[13/425] Compiling v3_prn.c
[14/425] Compiling v3_skey.c
[15/425] Compiling v3_pmaps.c
[16/425] Compiling v3_utl.c
[17/425] Compiling v3_pcons.c
[18/425] Compiling v3_purp.c
[19/425] Compiling CCryptoBoringSSLShims shims.c
[20/432] Compiling v3_lib.c
[21/434] Compiling v3_ocsp.c
[22/461] Compiling v3_int.c
[23/461] Compiling v3_ia5.c
[24/461] Compiling v3_ncons.c
[25/461] Compiling v3_info.c
[26/461] Compiling v3_genn.c
[27/461] Compiling v3_extku.c
[28/461] Compiling v3_enum.c
[30/461] Emitting module Logging
[30/461] Compiling v3_crld.c
[31/461] Compiling v3_conf.c
[32/461] Compiling v3_cpols.c
[33/461] Compiling v3_bitst.c
[34/461] Compiling v3_akeya.c
[35/461] Compiling v3_alt.c
[36/461] Compiling v3_bcons.c
[37/461] Compiling x_x509a.c
[38/461] Compiling x_x509.c
[39/461] Compiling v3_akey.c
[40/461] Compiling x_spki.c
[41/461] Compiling x_val.c
[42/461] Compiling x_sig.c
[43/461] Compiling x_pubkey.c
[44/461] Compiling x_req.c
[45/461] Compiling x_pkey.c
[46/461] Compiling x_info.c
[47/461] Compiling x_name.c
[48/461] Compiling x_exten.c
[49/461] Compiling x_attrib.c
[50/461] Compiling x_crl.c
[51/461] Compiling x_algor.c
[52/461] Compiling x_all.c
[53/461] Compiling x509spki.c
[54/461] Compiling x509rset.c
[55/461] Compiling x509name.c
[56/461] Compiling x509cset.c
[57/461] Compiling x509_vpm.c
[58/461] Compiling x509_v3.c
[59/461] Compiling x509_txt.c
[60/461] Compiling x509_trs.c
[61/461] Compiling x509_vfy.c
[62/461] Compiling x509_set.c
[63/461] Compiling x509_ext.c
[64/461] Compiling x509_obj.c
[65/461] Compiling x509_req.c
[66/461] Compiling x509_lu.c
[67/461] Compiling x509_def.c
[68/461] Compiling x509_d2.c
[69/461] Compiling x509_att.c
[70/461] Compiling x509_cmp.c
[71/461] Compiling x509.c
[72/461] Compiling t_x509a.c
[73/461] Compiling t_x509.c
[74/461] Compiling t_crl.c
[75/461] Compiling rsa_pss.c
[76/461] Compiling t_req.c
[77/461] Compiling policy.c
[78/461] Compiling name_print.c
[79/461] Compiling i2d_pr.c
[80/461] Compiling by_file.c
[81/461] Compiling by_dir.c
[83/461] Compiling SwiftCBOR CBOROptions.swift
[84/461] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[84/463] Compiling asn1_gen.c
[86/463] Compiling Logging LogHandler.swift
[87/463] Compiling SwiftCBOR CBORDecoder.swift
[88/463] Compiling SwiftCBOR CBOREncodable.swift
[89/463] Compiling SwiftCBOR CBOREncoder.swift
[90/463] Compiling SwiftCBOR CBORInputStream.swift
[90/463] Compiling algorithm.c
[91/463] Compiling a_verify.c
[92/463] Compiling a_sign.c
[93/463] Compiling a_digest.c
[94/463] Compiling thread_win.c
[95/463] Compiling thread_pthread.c
[96/463] Compiling voprf.c
[97/463] Compiling trust_token.c
[98/463] Compiling thread_none.c
[99/463] Compiling thread.c
[100/463] Compiling pmbtoken.c
[101/463] Compiling siphash.c
[103/463] Emitting module SwiftASN1
[104/463] Compiling SwiftCBOR AnyCodingKey.swift
[105/463] Compiling SwiftCBOR CBOR.swift
[105/463] Compiling rsa_print.c
[106/463] Compiling rsa_asn1.c
[107/463] Compiling stack.c
[108/463] Compiling rc4.c
[109/463] Compiling refcount.c
[110/463] Compiling rsa_crypt.c
[111/463] Compiling windows.c
[112/463] Compiling rand_extra.c
[113/463] Compiling trusty.c
[114/463] Compiling passive.c
[115/463] Compiling getentropy.c
[116/463] Compiling ios.c
[117/463] Compiling deterministic.c
[118/463] Compiling forkunsafe.c
[119/463] Compiling poly1305_vec.c
[120/463] Compiling poly1305_arm_asm.S
[121/463] Compiling SwiftASN1 UTCTime.swift
[122/463] Compiling SwiftASN1 Errors.swift
[123/463] Compiling poly1305_arm.c
[124/463] Compiling pool.c
[125/463] Compiling poly1305.c
[127/463] Compiling Logging MetadataProvider.swift
[128/463] Compiling Logging Logging.swift
[129/463] Compiling Logging Locks.swift
[129/464] Compiling pkcs7.c
[131/464] Compiling pkcs8.c
[132/464] Compiling pkcs8_x509.c
[133/464] Compiling p5_pbev2.c
[134/464] Compiling pkcs7_x509.c
[138/466] Compiling SwiftCBOR KeyedDecodingContainer.swift
[139/466] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[140/466] Compiling SwiftCBOR KeyedEncodingContainer.swift
[141/466] Compiling SwiftCBOR CodableCBORDecoder.swift
[142/466] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[143/466] Compiling SwiftCBOR CodableCBOREncoder.swift
[145/466] Compiling pem_xaux.c
/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 {
[150/467] Compiling pem_x509.c
[150/467] Compiling pem_pkey.c
[153/467] Compiling pem_oth.c
[154/467] Compiling pem_pk8.c
[155/467] Compiling pem_lib.c
[156/467] Compiling obj_xref.c
[161/467] Compiling mem.c
[166/467] Emitting module SwiftCBOR
[166/467] Compiling lhash.c
[167/467] Compiling pem_info.c
[168/467] Compiling kyber.c
[168/467] Compiling keccak.c
[170/467] Compiling poly_rq_mul.S
[171/467] Compiling hrss.c
[172/467] Compiling x86_64-mont5-linux.linux.x86_64.S
[173/467] Compiling pem_all.c
[174/467] Compiling x86_64-mont5-mac.mac.x86_64.S
[175/467] Compiling obj.c
[176/467] Compiling x86_64-mont-mac.mac.x86_64.S
[177/467] Compiling x86_64-mont-linux.linux.x86_64.S
[178/467] Compiling x86-mont-windows.windows.x86.S
[179/467] Compiling vpaes-x86_64-linux.linux.x86_64.S
[180/467] Compiling hpke.c
[181/467] Compiling vpaes-x86_64-mac.mac.x86_64.S
[182/467] Compiling x86-mont-linux.linux.x86.S
[183/467] Compiling vpaes-armv8-linux.linux.aarch64.S
[184/467] Compiling vpaes-x86-linux.linux.x86.S
[185/467] Compiling vpaes-armv8-ios.ios.aarch64.S
[186/467] Compiling vpaes-x86-windows.windows.x86.S
[188/467] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[189/467] Compiling SwiftCBOR Util.swift
[189/467] Compiling vpaes-armv7-linux.linux.arm.S
[190/467] Compiling vpaes-armv7-ios.ios.arm.S
[191/467] Compiling sha512-x86_64-linux.linux.x86_64.S
[192/467] Compiling sha512-armv8-ios.ios.aarch64.S
[193/467] Compiling sha512-armv8-linux.linux.aarch64.S
[193/467] Compiling kdf.c
[193/467] Compiling sha512-armv4-linux.linux.arm.S
[193/467] Compiling sha512-x86_64-mac.mac.x86_64.S
[193/467] Compiling sha512-586-windows.windows.x86.S
[193/467] Compiling sha512-586-linux.linux.x86.S
[193/467] Compiling sha512-armv4-ios.ios.arm.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/277] Compiling sha512-armv4-linux.linux.arm.S
[3/277] Compiling sha512-x86_64-mac.mac.x86_64.S
[4/277] Compiling sha512-586-windows.windows.x86.S
[5/277] Compiling sha256-x86_64-mac.mac.x86_64.S
[6/277] Compiling sha512-armv8-linux.linux.aarch64.S
[7/277] Compiling kdf.c
[8/277] Write swift-version-24593BA9C3E375BF.txt
[9/277] Compiling sha512-armv4-ios.ios.arm.S
[10/277] Compiling sha512-586-linux.linux.x86.S
[11/277] Compiling sha256-armv8-ios.ios.aarch64.S
[11/277] Compiling sha256-armv8-linux.linux.aarch64.S
[13/277] Compiling sha256-armv4-linux.linux.arm.S
[14/277] Compiling sha256-x86_64-linux.linux.x86_64.S
[15/277] Compiling sha256-586-windows.windows.x86.S
[16/277] Compiling sha256-armv4-ios.ios.arm.S
[17/277] Compiling sha1-x86_64-linux.linux.x86_64.S
[18/277] Compiling sha1-armv8-linux.linux.aarch64.S
[19/277] Compiling sha256-586-linux.linux.x86.S
[20/277] Compiling sha1-x86_64-mac.mac.x86_64.S
[21/277] Compiling sha1-armv8-ios.ios.aarch64.S
[22/277] Compiling sha1-armv4-large-linux.linux.arm.S
[23/277] Compiling sha1-armv4-large-ios.ios.arm.S
[24/277] Compiling sha1-586-linux.linux.x86.S
[25/277] Compiling sha1-586-windows.windows.x86.S
[26/284] Compiling sha512.c
[27/313] Compiling service_indicator.c
[28/313] Compiling fips.c
[29/313] Compiling sha256.c
[30/313] Compiling rsaz-avx2-mac.mac.x86_64.S
[31/313] Compiling sha1.c
[32/313] Compiling rsaz-avx2-linux.linux.x86_64.S
[33/313] Compiling self_check.c
[35/313] Compiling Logging Locks.swift
[35/313] Compiling blinding.c
[37/313] Compiling Logging MetadataProvider.swift
[37/313] Compiling rdrand-x86_64-mac.mac.x86_64.S
[38/313] Compiling padding.c
[39/313] Compiling rsa_impl.c
[40/313] Compiling rdrand-x86_64-linux.linux.x86_64.S
[41/313] Compiling rand.c
[42/313] Compiling ctrdrbg.c
[43/313] Compiling rsa.c
[44/313] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[45/313] Compiling urandom.c
[46/313] Compiling fork_detect.c
[47/313] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[48/313] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[49/313] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[51/313] Compiling SwiftCBOR CBOROptions.swift
[52/313] Compiling SwiftCBOR CodableCBORDecoder.swift
[52/315] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[53/315] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[54/315] Compiling p256-armv8-asm-linux.linux.aarch64.S
[55/315] Compiling p256-armv8-asm-ios.ios.aarch64.S
[56/315] Compiling gcm_nohw.c
[57/315] Compiling polyval.c
[58/315] Compiling ofb.c
[60/315] Emitting module Logging
[60/315] Compiling cfb.c
[61/315] Compiling cbc.c
[62/315] Compiling ctr.c
[63/315] Compiling gcm.c
[64/315] Compiling md5.c
[65/315] Compiling md5-x86_64-mac.mac.x86_64.S
[66/315] Compiling md5-x86_64-linux.linux.x86_64.S
[67/315] Compiling md5-586-windows.windows.x86.S
[68/315] Compiling md5-586-linux.linux.x86.S
[69/315] Compiling ghashv8-armv8-ios.ios.aarch64.S
[70/315] Compiling md4.c
[71/315] Compiling ghashv8-armv8-linux.linux.aarch64.S
[72/315] Compiling hmac.c
[73/315] Compiling hkdf.c
[74/315] Compiling ghashv8-armv7-linux.linux.arm.S
[76/315] Compiling SwiftCBOR AnyCodingKey.swift
[77/315] Compiling SwiftCBOR CBOR.swift
[77/315] Compiling ghash-x86_64-mac.mac.x86_64.S
[78/315] Compiling ghashv8-armv7-ios.ios.arm.S
[79/315] Compiling ghash-x86_64-linux.linux.x86_64.S
[80/315] Compiling ghash-x86-windows.windows.x86.S
[81/315] Compiling ghash-x86-linux.linux.x86.S
[82/315] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[84/315] Emitting module SwiftCBOR
[85/315] Compiling SwiftCBOR CBOREncodable.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 {
[86/315] Compiling SwiftCBOR CBOREncoder.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 {
[86/315] Compiling ghash-ssse3-x86-windows.windows.x86.S
[87/315] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[88/317] Compiling ghash-ssse3-x86-linux.linux.x86.S
[89/317] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[90/317] Compiling fips_shared_support.c
[91/317] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[92/317] Compiling ghash-armv4-linux.linux.arm.S
[93/317] Compiling ghash-armv4-ios.ios.arm.S
[94/317] Compiling util.c
[95/317] Compiling ecdh.c
[97/317] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[98/317] Compiling SwiftASN1 UTCTime.swift
[99/317] Compiling SwiftCBOR CodableCBOREncoder.swift
[100/317] Compiling SwiftCBOR KeyedEncodingContainer.swift
[100/317] Compiling ecdsa.c
[101/317] Compiling wnaf.c
[102/317] Compiling simple_mul.c
[104/317] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[107/317] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[107/317] Compiling simple.c
[108/317] Compiling p256-nistz.c
[109/317] Compiling p224-64.c
[110/317] Compiling scalar.c
[113/317] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[114/317] Compiling SwiftCBOR KeyedDecodingContainer.swift
[116/317] Compiling SwiftCBOR CBORDecoder.swift
[117/317] Compiling SwiftCBOR CBORInputStream.swift
[117/317] Compiling ec_montgomery.c
[118/317] Compiling ec_key.c
[121/317] Compiling SwiftCBOR Util.swift
[121/317] Compiling felem.c
[122/317] Compiling oct.c
[130/317] Compiling Logging LogHandler.swift
[131/317] Compiling Logging Logging.swift
[131/318] Compiling digest.c
[132/318] Compiling ec.c
[136/318] Compiling digestsign.c
[137/318] Compiling digests.c
[138/318] Compiling dh.c
[140/318] Compiling co-586-windows.windows.x86.S
[141/318] Compiling co-586-linux.linux.x86.S
[142/318] Compiling check.c
[145/318] Compiling p256.c
[146/318] Compiling aead.c
[146/318] Compiling e_aes.c
[146/318] Compiling cipher.c
[146/318] Compiling cmac.c
[146/318] Compiling e_aesccm.c
BUILD FAILURE 6.1 wasm