Build Information
Failed to build PayKit, reference v0.6.3 (c96d4d
), with Swift 6.1 for Wasm on 30 May 2025 20:21:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: v0.6.3
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/cashapp/cash-app-pay-ios-sdk
* tag v0.6.3 -> FETCH_HEAD
HEAD is now at c96d4d1 Merge pull request #36 from cashapp/release-0.6.3
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
c96d4d1f0ad1723df6257bfecbda97b35b5b89f8
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at v0.6.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/cashapp/cash-app-pay-ios-sdk.git
https://github.com/cashapp/cash-app-pay-ios-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swiftgenplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "6.6.2",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/SwiftGenPlugin.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "PayKit",
"name" : "PayKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "PayKit",
"targets" : [
"PayKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PayKitUI",
"targets" : [
"PayKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PayKitUITests",
"module_type" : "SwiftTarget",
"name" : "PayKitUITests",
"path" : "Tests/PayKitUITests",
"product_dependencies" : [
"SnapshotTesting"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/PayKitUITests/__Snapshots__",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BaseSnapshotTestCase.swift",
"CashAppPayButtonSnapshotTests.swift",
"CashAppPayButtonViewSnapshotTests.swift",
"CashAppPaymentMethodSnapshotTests.swift",
"CashAppPaymentMethodViewSnapshotTests.swift"
],
"target_dependencies" : [
"PayKitUI"
],
"type" : "test"
},
{
"c99name" : "PayKitUI",
"module_type" : "SwiftTarget",
"name" : "PayKitUI",
"path" : "Sources/PayKitUI",
"product_dependencies" : [
"SwiftGenPlugin"
],
"product_memberships" : [
"PayKitUI"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Colors.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Images.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/custom-xcassets-template.stencil",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/PayKitUI/swiftgen.yml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Shared/Generated/Assets.swift",
"Shared/Generated/Strings.generated.swift",
"Shared/Style/SizingCategory.swift",
"SwiftUI/CashAppPayButtonView.swift",
"SwiftUI/CashAppPaymentMethodView.swift",
"UIKit/CashAppPayButton.swift",
"UIKit/CashAppPaymentMethod.swift",
"UIKit/Extensions/UIColor+SwiftUI.swift"
],
"type" : "library"
},
{
"c99name" : "PayKitTests",
"module_type" : "SwiftTarget",
"name" : "PayKitTests",
"path" : "Tests/PayKitTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/PayKitTests/Resources/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"APIErrorTests.swift",
"AccessModifierTests.swift",
"AnalyticsClientTests.swift",
"AnalyticsDataSourceTests.swift",
"AnalyticsEventTests.swift",
"AnalyticsServiceTests.swift",
"CashAppPay+EndpointTest.swift",
"CashAppPayState+ObjCTests.swift",
"CashAppPayTests.swift",
"CreateCustomerRequestParamsTests.swift",
"CustomerRequest+ExtensionsTests.swift",
"CustomerRequest+ObjCTests.swift",
"CustomerRequestTests.swift",
"DateFormatterTests.swift",
"Errors+ObjCTests.swift",
"Helpers/Difference.swift",
"Helpers/MockNotificationCenter.swift",
"Helpers/MockRestService.swift",
"Helpers/MockURLProtocol.swift",
"IntegrationErrorTests.swift",
"LoggableTests.swift",
"NetworkManagerTests.swift",
"ObjcWrapperTests.swift",
"ResilientRestServiceTests.swift",
"Resources/XCTestCase+Fixtures.swift",
"RetryPolicyTests.swift",
"StateMachineAnalyticsTests.swift",
"StateMachineTests.swift",
"UnexpectedErrorTests.swift",
"UpdateCustomerRequestParamsTests.swift",
"UserAgentTests.swift"
],
"target_dependencies" : [
"PayKit"
],
"type" : "test"
},
{
"c99name" : "PayKit",
"module_type" : "SwiftTarget",
"name" : "PayKit",
"path" : "Sources/PayKit",
"product_memberships" : [
"PayKit"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/PayKit/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CashAppPay.swift",
"CustomerRequest+Extensions.swift",
"CustomerRequest.swift",
"Errors.swift",
"JSONCoder+PayKit.swift",
"NetworkManager.swift",
"ObjcWrapper/CashAppPayState+ObjC.swift",
"ObjcWrapper/CustomerRequest+ObjC.swift",
"ObjcWrapper/Errors+ObjC.swift",
"ObjcWrapper/ObjCWrapper.swift",
"Services/Analytics/AnalyticsClient.swift",
"Services/Analytics/AnalyticsDataSource.swift",
"Services/Analytics/AnalyticsEvent.swift",
"Services/Analytics/AnalyticsService.swift",
"Services/Analytics/CashAppPayEndpoint+Analytics.swift",
"Services/Analytics/JSONEncoder+Analytics.swift",
"Services/Analytics/Loggable.swift",
"Services/Logger/Log.swift",
"Services/Networking/HTTPRequest.swift",
"Services/Networking/RESTService.swift",
"Services/Networking/RetryPolicy.swift",
"Services/Networking/UserAgent.swift",
"StateMachine.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/121] Fetching swiftgenplugin
[122/13310] Fetching swiftgenplugin, swift-snapshot-testing
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (2.15s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.21s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (4.70s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (1.08s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.28s)
[1/70522] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.52s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (5.00s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.31s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.44s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
[1369/3450738] Downloading https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
Downloaded https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip (0.55s)
error: Tool ‘swiftgen’ is not supported on the target platform
error: build planning stopped due to build-tool plugin failures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: Tool ‘swiftgen’ is not supported on the target platform
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 wasm