Build Information
Failed to build PayKit, reference v0.6.3 (c96d4d
), with Swift 6.1 for macOS (SPM) on 1 May 2025 10:54:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
[1/121] Fetching swiftgenplugin
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.58s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.58s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (1.14s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.47s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.40s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.01s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.49s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.56s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.22s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.46s)
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.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
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/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
[12393/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 (1.21s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cash-app-pay-ios-sdk",
"name": "PayKit",
"url": "https://github.com/cashapp/cash-app-pay-ios-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cash-app-pay-ios-sdk",
"dependencies": [
{
"identity": "swiftgenplugin",
"name": "SwiftGenPlugin",
"url": "https://github.com/SwiftGen/SwiftGenPlugin.git",
"version": "6.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGenPlugin",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/cashapp/cash-app-pay-ios-sdk.git
[1/645] Fetching cash-app-pay-ios-sdk
Fetched https://github.com/cashapp/cash-app-pay-ios-sdk.git from cache (1.05s)
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git from cache
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.45s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (0.50s)
Creating working copy for https://github.com/cashapp/cash-app-pay-ios-sdk.git
Working copy of https://github.com/cashapp/cash-app-pay-ios-sdk.git resolved at v0.6.3 (c96d4d1)
Creating working copy for https://github.com/SwiftGen/SwiftGenPlugin.git
Working copy of https://github.com/SwiftGen/SwiftGenPlugin.git resolved at 6.6.2
Fetching binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache
Fetched https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip from cache (0.19s)
warning: '.resolve-product-dependencies': dependency 'cash-app-pay-ios-sdk' is not used by any target
Found 1 product dependencies
- SwiftGenPlugin
========================================
Build
========================================
Selected platform: macosSpm
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
{
"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" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Colors.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/Images.xcassets",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/Shared/Assets/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PayKitUI/custom-xcassets-template.stencil",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/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" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
error: a prebuild command cannot use executables built from source, including executable target 'swiftgen'
error: build planning stopped due to build-tool plugin failures
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: a prebuild command cannot use executables built from source, including executable target 'swiftgen'
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 macosSpm