The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stytch, reference main (6b763e), with Swift 6.2 for Linux on 26 Feb 2026 03:18:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 6b763e4 [version] Increment to 0.105.0 (#604)
Cloned https://github.com/stytchauth/stytch-ios.git
Revision (git rev-parse @):
6b763e446eeb51bb9ca6179993652e8ae74ecd7b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stytchauth/stytch-ios.git at main
========================================
Build
========================================
Selected platform:         linux
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-4609320-2":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/marmelroy/PhoneNumberKit
Fetching https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Fetching https://github.com/stytchauth/stytch-ios-dfp.git
[1/986] Fetching recaptcha-enterprise-mobile-sdk
[248/7234] Fetching recaptcha-enterprise-mobile-sdk, swiftyjson
[456/7468] Fetching recaptcha-enterprise-mobile-sdk, swiftyjson, stytch-ios-dfp
[4658/14940] Fetching recaptcha-enterprise-mobile-sdk, swiftyjson, stytch-ios-dfp, phonenumberkit
Fetched https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk from cache (0.33s)
[4558/13954] Fetching swiftyjson, stytch-ios-dfp, phonenumberkit
Fetched https://github.com/stytchauth/stytch-ios-dfp.git from cache (0.38s)
[7718/13720] Fetching swiftyjson, phonenumberkit
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.58s)
[6949/7472] Fetching phonenumberkit
Fetched https://github.com/marmelroy/PhoneNumberKit from cache (1.58s)
Computing version for https://github.com/stytchauth/stytch-ios-dfp.git
Computed https://github.com/stytchauth/stytch-ios-dfp.git at 1.0.5 (2.22s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.74s)
Computing version for https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Computed https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk at 18.8.2 (0.79s)
Fetching https://github.com/google/interop-ios-for-google-sdks.git
[1/282] Fetching interop-ios-for-google-sdks
Fetched https://github.com/google/interop-ios-for-google-sdks.git from cache (0.35s)
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 (1.99s)
Computing version for https://github.com/marmelroy/PhoneNumberKit
Computed https://github.com/marmelroy/PhoneNumberKit at 4.2.5 (0.48s)
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/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/marmelroy/PhoneNumberKit
Working copy of https://github.com/marmelroy/PhoneNumberKit resolved at 4.2.5
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.8.2
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.5
Downloading binary artifact https://dl.google.com/recaptchaenterprise/v18.8.2/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
[3130/3130] Downloading https://dl.google.com/recaptchaenterprise/v18.8.2/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
Downloaded https://dl.google.com/recaptchaenterprise/v18.8.2/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip (2.03s)
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/10] Write sources
[0/10] Copying PrivacyInfo.xcprivacy
[0/10] Write sources
[0/10] Copying PrivacyInfo.xcprivacy
[0/10] Write sources
[0/10] Copying PhoneNumberMetadata.json
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/34] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[12/34] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[13/34] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[14/36] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[15/36] Compiling PhoneNumberKit PhoneNumberTextField.swift
[16/36] Compiling PhoneNumberKit PhoneNumberTextFieldDelegate.swift
[17/36] Compiling PhoneNumberKit resource_bundle_accessor.swift
[18/36] Compiling PhoneNumberKit MetadataManager.swift
[19/36] Compiling PhoneNumberKit MetadataParsing.swift
[20/36] Compiling PhoneNumberKit MetadataTypes.swift
[21/36] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[22/36] Compiling PhoneNumberKit ParseManager.swift
[23/36] Compiling PhoneNumberKit PartialFormatter.swift
[24/36] Compiling PhoneNumberKit PhoneNumberParser.swift
[25/36] Compiling PhoneNumberKit PhoneNumberUtility.swift
[26/36] Compiling PhoneNumberKit RegexManager.swift
[27/36] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[28/36] Compiling PhoneNumberKit PhoneNumber.swift
[29/36] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[30/36] Emitting module SwiftyJSON
[31/36] Compiling SwiftyJSON resource_bundle_accessor.swift
[32/36] 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 |
[33/36] Emitting module PhoneNumberKit
[34/36] Compiling PhoneNumberKit Bundle+Resources.swift
[35/36] Compiling PhoneNumberKit Constants.swift
[36/36] Compiling PhoneNumberKit Formatter.swift
BUILD FAILURE 6.2 linux