The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayKit, reference v1.0.0 (bf6eba), with Swift 6.1 for macOS (SPM) on 12 Feb 2026 04:46:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cashapp/cash-app-pay-ios-sdk.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cashapp/cash-app-pay-ios-sdk
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at bf6eba6 Merge pull request #37 from cashapp/release-1.0.0
Cloned https://github.com/cashapp/cash-app-pay-ios-sdk.git
Revision (git rev-parse @):
bf6eba6b767301bf1d365c63ab7692a2b8b44490
SUCCESS checkout https://github.com/cashapp/cash-app-pay-ios-sdk.git at v1.0.0
========================================
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
Fetching https://github.com/SwiftGen/SwiftGenPlugin.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
[3/121] Fetching swiftgenplugin
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (1.73s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.75s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (2.34s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.9 (0.50s)
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 (1.03s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.86s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (2.41s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.41s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.51s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
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.9
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Downloading binary artifact https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip
[16375/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.69s)
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