The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stytch, reference main (438a61), with Swift 6.1 for Linux on 17 Nov 2026 17:39:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stytchauth/stytch-ios.git
https://github.com/stytchauth/stytch-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Fetching https://github.com/PhoneNumberKit/PhoneNumberKit
Fetching https://github.com/PhoneNumberKit/PhoneNumberKitUI
Fetching https://github.com/stytchauth/stytch-ios-dfp.git
[1/286] Fetching stytch-ios-dfp
[10/6397] Fetching stytch-ios-dfp, phonenumberkit
[98/6534] Fetching stytch-ios-dfp, phonenumberkit, phonenumberkitui
[371/7652] Fetching stytch-ios-dfp, phonenumberkit, phonenumberkitui, recaptcha-enterprise-mobile-sdk
[2281/13972] Fetching stytch-ios-dfp, phonenumberkit, phonenumberkitui, recaptcha-enterprise-mobile-sdk, swiftyjson
Fetched https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk from cache (0.45s)
[6468/12854] Fetching stytch-ios-dfp, phonenumberkit, phonenumberkitui, swiftyjson
Fetched https://github.com/PhoneNumberKit/PhoneNumberKitUI from cache (0.68s)
Fetched https://github.com/stytchauth/stytch-ios-dfp.git from cache (0.68s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.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.94s)
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.25s)
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.26s)
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.33s)
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.59s)
Computing version for https://github.com/PhoneNumberKit/PhoneNumberKitUI
Computed https://github.com/PhoneNumberKit/PhoneNumberKitUI at 1.2.0 (0.23s)
Computing version for https://github.com/PhoneNumberKit/PhoneNumberKit
Computed https://github.com/PhoneNumberKit/PhoneNumberKit at 5.0.14 (0.22s)
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
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/PhoneNumberKit/PhoneNumberKit
Working copy of https://github.com/PhoneNumberKit/PhoneNumberKit resolved at 5.0.14
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
Downloading binary artifact https://dl.google.com/recaptchaenterprise/v18.9.1/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
[10450/10450] 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.63s)
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
[5/11] Write sources
[9/11] Copying PhoneNumberMetadata.json
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Compiling PhoneNumberKit PhoneNumberParser.swift
[13/29] Compiling PhoneNumberKit PhoneNumberUtility.swift
[14/31] Compiling PhoneNumberKit MetadataParsing.swift
[15/31] Compiling PhoneNumberKit MetadataTypes.swift
[16/31] Compiling SwiftyJSON resource_bundle_accessor.swift
[17/31] Emitting module SwiftyJSON
[18/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 |
[19/31] Emitting module PhoneNumberKit
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling PhoneNumberKit PhoneNumber.swift
[3/19] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[4/21] Compiling PhoneNumberKit Bundle+Resources.swift
[5/21] Compiling PhoneNumberKit Constants.swift
[6/21] Compiling PhoneNumberKit MetadataParsing.swift
[7/21] Compiling PhoneNumberKit MetadataTypes.swift
[8/21] Emitting module PhoneNumberKit
[9/21] Compiling PhoneNumberKit Formatter.swift
[10/21] Compiling PhoneNumberKit MetadataManager.swift
[11/21] Compiling PhoneNumberKit PhoneNumberParser.swift
[12/21] Compiling PhoneNumberKit PhoneNumberUtility.swift
[13/21] Compiling PhoneNumberKit RegexManager.swift
[14/21] Compiling PhoneNumberKit resource_bundle_accessor.swift
[15/21] Compiling SwiftyJSON resource_bundle_accessor.swift
[16/21] Emitting module SwiftyJSON
[17/21] 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 |
[18/21] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[19/21] Compiling PhoneNumberKit ParseManager.swift
BUILD FAILURE 6.1 linux