Build Information
Failed to build Risk, reference 4.0.0 (bf7b87
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 09:05:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/checkout/checkout-risk-sdk-ios.git
Reference: 4.0.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/checkout/checkout-risk-sdk-ios
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at bf7b872 Merge pull request #36 from checkout/update/module-name
Cloned https://github.com/checkout/checkout-risk-sdk-ios.git
Revision (git rev-parse @):
bf7b872704fcc24a4e57640350f594f82436494e
SUCCESS checkout https://github.com/checkout/checkout-risk-sdk-ios.git at 4.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/checkout/checkout-risk-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/checkout/checkout-event-logger-ios-framework.git
Fetching https://github.com/fingerprintjs/fingerprintjs-pro-ios
[1/1033] Fetching fingerprintjs-pro-ios
Fetched https://github.com/fingerprintjs/fingerprintjs-pro-ios from cache (0.35s)
[1/393] Fetching checkout-event-logger-ios-framework
Fetched https://github.com/checkout/checkout-event-logger-ios-framework.git from cache (1.32s)
Computing version for https://github.com/checkout/checkout-event-logger-ios-framework.git
Computed https://github.com/checkout/checkout-event-logger-ios-framework.git at 1.2.4 (1.75s)
Computing version for https://github.com/fingerprintjs/fingerprintjs-pro-ios
Computed https://github.com/fingerprintjs/fingerprintjs-pro-ios at 2.8.2 (1.73s)
Creating working copy for https://github.com/checkout/checkout-event-logger-ios-framework.git
Working copy of https://github.com/checkout/checkout-event-logger-ios-framework.git resolved at 1.2.4
Creating working copy for https://github.com/fingerprintjs/fingerprintjs-pro-ios
Working copy of https://github.com/fingerprintjs/fingerprintjs-pro-ios resolved at 2.8.2
Downloading binary artifact https://fpjs-public.s3.amazonaws.com/ios/2.8.2/FingerprintPro-2.8.2-38fb09b95025e03f90507906e8db11f34fad17f50a6ca032be2cdce6fae99e42.xcframework.zip
[16384/2219286] Downloading https://fpjs-public.s3.amazonaws.com/ios/2.8.2/FingerprintPro-2.8.2-38fb09b95025e03f90507906e8db11f34fad17f50a6ca032be2cdce6fae99e42.xcframework.zip
Downloaded https://fpjs-public.s3.amazonaws.com/ios/2.8.2/FingerprintPro-2.8.2-38fb09b95025e03f90507906e8db11f34fad17f50a6ca032be2cdce6fae99e42.xcframework.zip (0.76s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/14] Emitting module RiskSDK
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[4/14] Compiling RiskSDK APIService.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[5/14] Compiling RiskSDK Risk.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[6/14] Compiling RiskSDK RiskSDKConfig.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[7/14] Compiling RiskSDK PublishRiskData.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[8/14] Compiling RiskSDK RiskIntegrationType.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[9/15] Compiling RiskSDK Constants.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[10/15] Compiling RiskSDK LoggerService.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[11/15] Compiling RiskSDK RiskSDKInternalConfig.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[12/15] Compiling RiskSDK SourceType.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[13/15] Compiling RiskSDK RiskError.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[14/15] Compiling RiskSDK FingerprintService.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
[15/15] Compiling RiskSDK DeviceDataService.swift
/host/spi-builder-workspace/Sources/Risk/Logging/Constants.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | enum Constants {
BUILD FAILURE 6.2 wasm