The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stytch, reference 0.104.0 (3f2a95), with Swift 6.2 for Wasm on 26 Feb 2026 03:17:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 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: 0.104.0
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
 * tag               0.104.0    -> FETCH_HEAD
HEAD is now at 3f2a950 Prevent overwriting encryption keys (#603)
Cloned https://github.com/stytchauth/stytch-ios.git
Revision (git rev-parse @):
3f2a950ec9d1b01da7ae6ec156be74990cd3eaf6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stytchauth/stytch-ios.git at 0.104.0
========================================
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-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/stytchauth/stytch-ios-dfp.git
Fetching https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Fetching https://github.com/marmelroy/PhoneNumberKit
[1/234] Fetching stytch-ios-dfp
[86/1220] Fetching stytch-ios-dfp, recaptcha-enterprise-mobile-sdk
[533/7468] Fetching stytch-ios-dfp, recaptcha-enterprise-mobile-sdk, swiftyjson
[2471/14940] Fetching stytch-ios-dfp, recaptcha-enterprise-mobile-sdk, swiftyjson, phonenumberkit
Fetched https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk from cache (0.52s)
[5106/13954] Fetching stytch-ios-dfp, swiftyjson, phonenumberkit
Fetched https://github.com/stytchauth/stytch-ios-dfp.git from cache (0.55s)
[6605/13720] Fetching swiftyjson, phonenumberkit
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.84s)
Fetched https://github.com/marmelroy/PhoneNumberKit from cache (1.52s)
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.13s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (2.17s)
Computing version for https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk
Computed https://github.com/GoogleCloudPlatform/recaptcha-enterprise-mobile-sdk at 18.8.2 (1.17s)
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 (1.03s)
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.57s)
Computing version for https://github.com/marmelroy/PhoneNumberKit
Computed https://github.com/marmelroy/PhoneNumberKit at 4.2.5 (0.43s)
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/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/marmelroy/PhoneNumberKit
Working copy of https://github.com/marmelroy/PhoneNumberKit resolved at 4.2.5
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
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
Downloading binary artifact https://dl.google.com/recaptchaenterprise/v18.8.2/RecaptchaEnterpriseSDK_iOS_xcframework/recaptcha-sdk-xcframework.xcframework.zip
[1454/1454] 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 (1.64s)
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
[1/10] Copying PrivacyInfo.xcprivacy
[8/10] Copying PhoneNumberMetadata.json
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module PhoneNumberKit
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/Bundle+Resources.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | private class CurrentBundleFinder { }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Emitting module SwiftyJSON
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:23:8: error: no such module 'Foundation'
  21 | //  THE SOFTWARE.
  22 |
  23 | import Foundation
     |        `- error: no such module 'Foundation'
  24 |
  25 | // MARK: - Error
[13/14] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:23:8: error: no such module 'Foundation'
  21 | //  THE SOFTWARE.
  22 |
  23 | import Foundation
     |        `- error: no such module 'Foundation'
  24 |
  25 | // MARK: - Error
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/Bundle+Resources.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | private class CurrentBundleFinder { }
BUILD FAILURE 6.2 wasm