The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stytch, reference main (438a61), with Swift 6.2 for Wasm on 17 Nov 2026 17:39:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stytchauth/stytch-ios.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/stytchauth/stytch-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 438a61b Merge pull request #621 from stytchauth/jlai/pkce_helper_public
Cloned https://github.com/stytchauth/stytch-ios.git
Revision (git rev-parse @):
438a61b87d5142bddf3b274b8b77a8398478d099
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stytchauth/stytch-ios.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stytchauth/stytch-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Fetching https://github.com/stytchauth/stytch-ios-dfp.git
Fetching https://github.com/PhoneNumberKit/PhoneNumberKit
Fetching https://github.com/PhoneNumberKit/PhoneNumberKitUI
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/6111] Fetching phonenumberkit
[185/6397] Fetching phonenumberkit, stytch-ios-dfp
[452/7515] Fetching phonenumberkit, stytch-ios-dfp, recaptcha-enterprise-mobile-sdk
[3246/7652] Fetching phonenumberkit, stytch-ios-dfp, recaptcha-enterprise-mobile-sdk, phonenumberkitui
Fetched https://github.com/PhoneNumberKit/PhoneNumberKitUI from cache (0.43s)
[6049/7515] Fetching phonenumberkit, stytch-ios-dfp, recaptcha-enterprise-mobile-sdk
[6050/13835] Fetching phonenumberkit, stytch-ios-dfp, recaptcha-enterprise-mobile-sdk, swiftyjson
Fetched https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk from cache (0.61s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.61s)
Fetched https://github.com/stytchauth/stytch-ios-dfp.git from cache (0.68s)
Fetched https://github.com/PhoneNumberKit/PhoneNumberKit from cache (0.68s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.86s)
Computing version for https://github.com/stytchauth/stytch-ios-dfp.git
Computed https://github.com/stytchauth/stytch-ios-dfp.git at 1.0.8 (0.17s)
Computing version for https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Computed https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk at 18.9.1 (0.19s)
Fetching https://github.com/google/interop-ios-for-google-sdks.git
[1/307] Fetching interop-ios-for-google-sdks
Fetched https://github.com/google/interop-ios-for-google-sdks.git from cache (0.38s)
Computing version for https://github.com/google/interop-ios-for-google-sdks.git
Computed https://github.com/google/interop-ios-for-google-sdks.git at 101.0.0 (0.61s)
Computing version for https://github.com/PhoneNumberKit/PhoneNumberKitUI
Computed https://github.com/PhoneNumberKit/PhoneNumberKitUI at 1.2.0 (0.14s)
Computing version for https://github.com/PhoneNumberKit/PhoneNumberKit
Computed https://github.com/PhoneNumberKit/PhoneNumberKit at 5.0.14 (0.15s)
Creating working copy for https://github.com/stytchauth/stytch-ios-dfp.git
Working copy of https://github.com/stytchauth/stytch-ios-dfp.git resolved at 1.0.8
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/PhoneNumberKit/PhoneNumberKitUI
Working copy of https://github.com/PhoneNumberKit/PhoneNumberKitUI resolved at 1.2.0
Creating working copy for https://github.com/PhoneNumberKit/PhoneNumberKit
Working copy of https://github.com/PhoneNumberKit/PhoneNumberKit resolved at 5.0.14
Creating working copy for https://github.com/google/interop-ios-for-google-sdks.git
Working copy of https://github.com/google/interop-ios-for-google-sdks.git resolved at 101.0.0
Creating working copy for https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Working copy of https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk resolved at 18.9.1
Downloading binary artifact https://dl.google.com/recaptchaenterprise/v18.9.1/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
[6028/6028] Downloading https://dl.google.com/recaptchaenterprise/v18.9.1/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
Downloaded https://dl.google.com/recaptchaenterprise/v18.9.1/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip (0.70s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/StytchUI/Media.xcassets
warning: 'stytch-ios-dfp': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/stytch-ios-dfp/Sources/stytch-ios-dfp/StytchDFP.xcframework
Building for debugging...
[0/11] Write sources
[0/11] Copying PrivacyInfo.xcprivacy
[0/11] Write sources
[9/11] Copying PhoneNumberMetadata.json
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Compiling PhoneNumberKit Formatter.swift
[13/29] Compiling PhoneNumberKit MetadataManager.swift
[14/29] Emitting module PhoneNumberKit
[15/29] Compiling PhoneNumberKit Bundle+Resources.swift
[16/29] Compiling PhoneNumberKit Constants.swift
[17/31] Compiling PhoneNumberKit PhoneNumberParser.swift
[18/31] Compiling PhoneNumberKit PhoneNumberUtility.swift
[19/31] Compiling PhoneNumberKit PhoneNumber.swift
[20/31] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[21/31] Compiling PhoneNumberKit PartialFormatter.swift
[22/31] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[23/31] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[24/31] Compiling PhoneNumberKit ParseManager.swift
[25/31] Compiling PhoneNumberKit MetadataParsing.swift
[26/31] Compiling PhoneNumberKit MetadataTypes.swift
[27/31] Emitting module SwiftyJSON
[28/31] Compiling SwiftyJSON resource_bundle_accessor.swift
[29/31] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
BUILD FAILURE 6.2 wasm