The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayKit, reference main (bf6eba), with Swift 6.1 for Wasm on 12 Feb 2026 00:46:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-0":/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.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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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
Fetched https://github.com/SwiftGen/SwiftGenPlugin.git from cache (0.25s)
[1/15750] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.10s)
Computing version for https://github.com/SwiftGen/SwiftGenPlugin.git
Computed https://github.com/SwiftGen/SwiftGenPlugin.git at 6.6.2 (5.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.9 (1.03s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/5284] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.69s)
[1/74130] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (11.07s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.34s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (1.00s)
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/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-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
[1397/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.74s)
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-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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