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 10 Oct 2025 06:51:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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: 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/brokenhandsio/swift-webauthn
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 71b78cb update docc documentation (#29)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
71b78cb2ce4989b2e598225d6f42a75f042986f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brokenhandsio/swift-webauthn.git at 0.0.3
========================================
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.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" -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 -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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1401] Fetching swiftcbor
[1402/3534] Fetching swiftcbor, swift-docc-plugin
[3514/7467] Fetching swiftcbor, swift-docc-plugin, swift-log
[5777/14095] Fetching swiftcbor, swift-docc-plugin, swift-log, swift-certificates
[14096/31302] Fetching swiftcbor, swift-docc-plugin, swift-log, swift-certificates, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (2.05s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.12s)
Fetched https://github.com/apple/swift-log.git from cache (2.12s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.12s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.80s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (4.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.6.0 (1.06s)
Fetching https://github.com/apple/swift-asn1.git
[1/1645] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.8.0 (1.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.75s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3541] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.52s)
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.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
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/425] Write sources
[10/425] Compiling thread_win.c
[11/425] Compiling fiat_curve25519_adx_mul.S
[12/425] Compiling fiat_curve25519_adx_square.S
[13/425] Compiling trust_token.c
[14/425] Compiling pmbtoken.c
[15/425] Write swift-version-24593BA9C3E375BF.txt
[16/425] Compiling v3_prn.c
[17/425] Compiling CCryptoBoringSSLShims shims.c
[18/425] Compiling v3_skey.c
[19/428] Compiling v3_purp.c
[19/428] Compiling v3_pmaps.c
[21/443] Compiling v3_ocsp.c
[22/443] Compiling v3_pcons.c
[23/451] Compiling v3_utl.c
[24/461] Compiling v3_info.c
[25/461] Compiling v3_ia5.c
[26/461] Compiling v3_int.c
[27/461] Compiling v3_ncons.c
[28/461] Compiling v3_genn.c
[29/461] Compiling v3_lib.c
[30/461] Compiling v3_extku.c
[31/461] Compiling v3_enum.c
[32/461] Compiling v3_cpols.c
[33/461] Compiling v3_crld.c
[34/461] Compiling v3_bitst.c
[35/461] Compiling v3_conf.c
[36/461] Compiling v3_alt.c
[37/461] Compiling v3_bcons.c
[38/461] Compiling v3_akeya.c
[39/461] Compiling x_x509a.c
[40/461] Compiling v3_akey.c
[41/461] Compiling x_val.c
[42/461] Compiling x_spki.c
[43/461] Compiling x_sig.c
[44/461] Compiling x_x509.c
[45/461] Compiling x_req.c
[46/461] Compiling x_pubkey.c
[47/461] Compiling x_name.c
[48/461] Compiling x_pkey.c
[49/461] Compiling x_info.c
[50/461] Compiling x_exten.c
[51/461] Compiling x_attrib.c
[52/461] Compiling x_algor.c
[53/461] Compiling x_crl.c
[54/461] Compiling x_all.c
[55/461] Compiling x509spki.c
[56/461] Compiling x509rset.c
[57/461] Compiling x509name.c
[58/461] Compiling x509_vpm.c
[59/461] Compiling x509cset.c
[60/461] Compiling x509_trs.c
[61/461] Compiling x509_txt.c
[62/461] Compiling x509_set.c
[63/461] Compiling x509_v3.c
[64/461] Compiling x509_vfy.c
[65/461] Compiling x509_req.c
[66/461] Compiling x509_def.c
[67/461] Compiling x509_obj.c
[69/461] Emitting module SwiftCBOR
[69/463] Compiling x509_d2.c
[70/463] Compiling x509_cmp.c
[71/463] Compiling x509_ext.c
[72/463] Compiling x509_lu.c
[73/463] Compiling x509.c
[74/463] Compiling t_x509.c
[75/463] Compiling x509_att.c
[76/463] Compiling t_x509a.c
[77/463] Compiling t_req.c
[78/463] Compiling rsa_pss.c
[80/463] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[81/463] Compiling SwiftCBOR Util.swift
[81/463] Compiling t_crl.c
[82/463] Compiling i2d_pr.c
[83/463] Compiling name_print.c
[85/463] Compiling SwiftCBOR CBOREncodable.swift
[86/463] Compiling SwiftCBOR CBOREncoder.swift
[87/463] Compiling SwiftCBOR CBORInputStream.swift
[88/463] Compiling SwiftCBOR CBOROptions.swift
[89/463] Compiling SwiftCBOR AnyCodingKey.swift
[90/463] Compiling SwiftCBOR CBOR.swift
[91/463] Emitting module Logging
[92/463] Compiling Logging Locks.swift
[92/465] Compiling by_file.c
[93/465] Compiling policy.c
[95/465] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[96/465] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[97/465] Compiling SwiftCBOR CodableCBORDecoder.swift
[98/465] Compiling SwiftCBOR KeyedDecodingContainer.swift
[99/465] Emitting module SwiftASN1
[99/465] Compiling by_dir.c
[100/465] Compiling asn1_gen.c
[101/465] Compiling algorithm.c
[102/465] Compiling a_verify.c
[103/465] Compiling thread_pthread.c
[104/465] Compiling thread_none.c
[105/465] Compiling a_sign.c
[106/465] Compiling thread.c
[107/465] Compiling voprf.c
[108/465] Compiling a_digest.c
[109/465] Compiling rsa_print.c
[110/465] Compiling siphash.c
[111/465] Compiling stack.c
[112/465] Compiling rsa_crypt.c
[113/465] Compiling rsa_asn1.c
[115/465] Compiling SwiftASN1 UTCTime.swift
[116/465] Compiling SwiftASN1 Errors.swift
[116/465] Compiling rc4.c
[117/465] Compiling refcount.c
[118/465] Compiling rand_extra.c
[119/465] Compiling windows.c
[120/465] Compiling trusty.c
[121/465] Compiling getentropy.c
[122/465] Compiling passive.c
[123/465] Compiling ios.c
[123/465] Compiling forkunsafe.c
[125/465] Compiling deterministic.c
[127/465] Compiling Logging MetadataProvider.swift
[127/465] Compiling poly1305_arm_asm.S
[129/465] Compiling Logging LogHandler.swift
[130/465] Compiling Logging Logging.swift
[130/465] Compiling poly1305_vec.c
[131/466] Compiling pool.c
[132/466] Compiling poly1305_arm.c
[133/466] Compiling poly1305.c
[135/466] Compiling pkcs7.c
[137/466] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[138/466] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[147/466] Compiling SwiftCBOR CBORDecoder.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 {
[149/466] Compiling p5_pbev2.c
[152/466] Compiling SwiftCBOR CodableCBOREncoder.swift
[156/467] Compiling pem_xaux.c
[157/467] Compiling pem_x509.c
[158/467] Compiling pkcs8.c
[159/467] Compiling pem_pkey.c
[159/467] Compiling pem_pk8.c
[159/467] Compiling pem_lib.c
[159/467] Compiling pem_oth.c
[159/467] Compiling pkcs8_x509.c
[159/467] Compiling pkcs7_x509.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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/310] Compiling pem_oth.c
[3/310] Compiling pem_pkey.c
[4/310] Compiling pkcs7_x509.c
[4/310] Compiling pem_pk8.c
[6/310] Compiling pem_info.c
[7/310] Compiling obj_xref.c
[8/310] Compiling mem.c
[9/310] Compiling pem_lib.c
[10/310] Compiling pkcs8_x509.c
[11/310] Compiling pem_all.c
[12/310] Compiling keccak.c
[13/310] Compiling poly_rq_mul.S
[14/310] Compiling lhash.c
[15/310] Compiling x86_64-mont5-mac.mac.x86_64.S
[16/310] Compiling kyber.c
[17/310] Compiling x86_64-mont-mac.mac.x86_64.S
[18/310] Write swift-version-24593BA9C3E375BF.txt
[19/310] Compiling x86_64-mont5-linux.linux.x86_64.S
[20/310] Compiling x86_64-mont-linux.linux.x86_64.S
[20/310] Compiling x86-mont-windows.windows.x86.S
[22/310] Compiling obj.c
[23/310] Compiling vpaes-x86_64-mac.mac.x86_64.S
[24/310] Compiling x86-mont-linux.linux.x86.S
[25/310] Compiling hpke.c
[26/310] Compiling hrss.c
[27/310] Compiling vpaes-x86_64-linux.linux.x86_64.S
[28/310] Compiling vpaes-x86-windows.windows.x86.S
[29/310] Compiling vpaes-armv8-ios.ios.aarch64.S
[30/310] Compiling vpaes-x86-linux.linux.x86.S
[31/310] Compiling vpaes-armv8-linux.linux.aarch64.S
[32/310] Compiling vpaes-armv7-linux.linux.arm.S
[33/310] Compiling vpaes-armv7-ios.ios.arm.S
[34/310] Compiling sha512-x86_64-mac.mac.x86_64.S
[35/310] Compiling sha512-x86_64-linux.linux.x86_64.S
[36/310] Compiling sha512-armv8-linux.linux.aarch64.S
[37/310] Compiling sha512-armv4-linux.linux.arm.S
[38/310] Compiling sha512-armv8-ios.ios.aarch64.S
[39/310] Compiling sha512-armv4-ios.ios.arm.S
[40/327] Compiling sha512-586-windows.windows.x86.S
[41/331] Compiling kdf.c
[42/331] Compiling sha512-586-linux.linux.x86.S
[43/331] Compiling sha256-x86_64-mac.mac.x86_64.S
[43/331] Compiling sha256-armv8-linux.linux.aarch64.S
[45/340] Compiling sha256-x86_64-linux.linux.x86_64.S
[46/346] Compiling sha256-armv8-ios.ios.aarch64.S
[47/346] Compiling sha256-armv4-linux.linux.arm.S
[48/346] Compiling sha256-586-windows.windows.x86.S
[49/346] Compiling sha256-armv4-ios.ios.arm.S
[50/346] Compiling sha256-586-linux.linux.x86.S
[51/346] Compiling sha1-x86_64-mac.mac.x86_64.S
[52/346] Compiling sha1-armv8-linux.linux.aarch64.S
[53/346] Compiling sha1-armv8-ios.ios.aarch64.S
[54/346] Compiling sha1-x86_64-linux.linux.x86_64.S
[55/346] Compiling sha1-armv4-large-linux.linux.arm.S
[56/346] Compiling sha1-armv4-large-ios.ios.arm.S
[57/346] Compiling sha1-586-windows.windows.x86.S
[58/346] Compiling sha1-586-linux.linux.x86.S
[59/346] Compiling sha256.c
[61/346] Compiling Logging MetadataProvider.swift
[61/346] Compiling service_indicator.c
[62/346] Compiling fips.c
[63/346] Compiling sha512.c
[64/346] Compiling sha1.c
[65/346] Compiling self_check.c
[66/346] Compiling rsaz-avx2-mac.mac.x86_64.S
[67/346] Compiling rsaz-avx2-linux.linux.x86_64.S
[68/346] Compiling rdrand-x86_64-mac.mac.x86_64.S
[69/346] Compiling rdrand-x86_64-linux.linux.x86_64.S
[70/346] Compiling blinding.c
[71/346] Compiling padding.c
[72/346] Compiling rsa_impl.c
[73/346] Compiling fork_detect.c
[74/346] Compiling urandom.c
[75/346] Compiling rand.c
[76/346] Compiling ctrdrbg.c
[77/346] Compiling rsa.c
[78/346] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[79/346] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[80/346] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[81/346] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[82/346] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[83/346] Compiling p256-armv8-asm-ios.ios.aarch64.S
[84/346] Compiling p256-armv8-asm-linux.linux.aarch64.S
[85/346] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[86/346] Compiling polyval.c
[87/346] Compiling ofb.c
[88/346] Compiling gcm_nohw.c
[89/346] Compiling ctr.c
[91/346] Emitting module SwiftCBOR
[91/348] Compiling gcm.c
[92/348] Compiling md5.c
[93/348] Compiling cbc.c
[94/348] Compiling cfb.c
[95/348] Compiling md5-x86_64-linux.linux.x86_64.S
[96/348] Compiling md5-x86_64-mac.mac.x86_64.S
[97/348] Compiling md5-586-windows.windows.x86.S
[99/348] Compiling SwiftASN1 ASN1OctetString.swift
[100/348] Compiling SwiftASN1 GeneralizedTime.swift
[101/348] Compiling SwiftASN1 ObjectIdentifier.swift
[102/348] Compiling SwiftCBOR KeyedEncodingContainer.swift
[102/348] Compiling md5-586-linux.linux.x86.S
[103/348] Compiling ghashv8-armv8-linux.linux.aarch64.S
[104/348] Compiling hkdf.c
[105/348] Compiling md4.c
[106/348] Compiling ghashv8-armv8-ios.ios.aarch64.S
[107/348] Compiling hmac.c
[108/348] Compiling ghashv8-armv7-ios.ios.arm.S
[109/348] Compiling ghashv8-armv7-linux.linux.arm.S
[110/348] Compiling ghash-x86_64-mac.mac.x86_64.S
[111/348] Compiling ghash-x86_64-linux.linux.x86_64.S
[112/348] Compiling ghash-x86-windows.windows.x86.S
[113/348] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[114/348] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[115/348] Compiling ghash-x86-linux.linux.x86.S
[116/348] Compiling ghash-ssse3-x86-windows.windows.x86.S
[117/348] Compiling ghash-ssse3-x86-linux.linux.x86.S
[118/348] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[119/348] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[120/348] Compiling ghash-armv4-ios.ios.arm.S
[121/348] Compiling fips_shared_support.c
[122/348] Compiling ghash-armv4-linux.linux.arm.S
[124/348] Compiling SwiftASN1 PEMDocument.swift
[125/348] Compiling SwiftASN1 TimeUtilities.swift
[126/348] Compiling SwiftASN1 ASN1Null.swift
[128/348] Compiling SwiftASN1 ASN1Strings.swift
[129/348] Compiling SwiftASN1 ArraySliceBigint.swift
[131/350] Compiling util.c
[132/350] Compiling ecdh.c
[133/350] Compiling simple_mul.c
[134/350] Compiling wnaf.c
[135/350] Compiling ecdsa.c
[137/350] Compiling SwiftASN1 Errors.swift
[138/350] Compiling SwiftCBOR Util.swift
[138/350] Compiling p256-nistz.c
[139/350] Compiling p224-64.c
[141/350] Compiling SwiftASN1 ASN1Identifier.swift
[142/350] Compiling SwiftASN1 ASN1Integer.swift
[142/350] Compiling simple.c
[143/350] Compiling scalar.c
[145/350] Compiling SwiftASN1 ASN1BitString.swift
[146/350] Compiling SwiftASN1 ASN1Boolean.swift
[146/350] Compiling oct.c
[147/350] Compiling felem.c
[148/350] Compiling ec_montgomery.c
[149/350] Compiling ec_key.c
[150/350] Compiling digestsign.c
[152/350] Compiling SwiftASN1 ASN1.swift
[153/350] Compiling SwiftASN1 ASN1Any.swift
[154/350] Compiling digests.c
[155/350] Compiling digest.c
[156/350] Compiling co-586-windows.windows.x86.S
[157/350] Compiling ec.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 {
[166/350] Compiling co-586-linux.linux.x86.S
[167/350] Compiling check.c
[170/350] Compiling dh.c
[171/350] Compiling cmac.c
[172/350] Compiling cipher.c
[173/350] Compiling SwiftASN1 UTCTime.swift
[174/350] Compiling p256.c
[174/350] Compiling e_aes.c
[174/350] Compiling e_aesccm.c
[174/350] Compiling aead.c
[175/350] Compiling Logging LogHandler.swift
[176/350] Emitting module Logging
BUILD FAILURE 6.1 wasm