The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Payhub, reference main (717cc5), with Swift 6.1 for macOS (SPM) on 28 Jun 2026 08:05:44 UTC.

Swift 6 data race errors: 1

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/safwatech/payhub-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/safwatech/payhub-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 717cc58 chore: sync to monorepo sdks/swift@1.2.0
Cloned https://github.com/safwatech/payhub-swift.git
Revision (git rev-parse @):
717cc58d8da40c4fbda5cee0ff0dfd62f4e20d95
SUCCESS checkout https://github.com/safwatech/payhub-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/safwatech/payhub-swift.git
https://github.com/safwatech/payhub-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Payhub",
  "name" : "Payhub",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Payhub",
      "targets" : [
        "Payhub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PayhubUI",
      "targets" : [
        "PayhubUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PayhubUI",
      "module_type" : "SwiftTarget",
      "name" : "PayhubUI",
      "path" : "Sources/PayhubUI",
      "product_memberships" : [
        "PayhubUI"
      ],
      "sources" : [
        "PaymentActionView.swift"
      ],
      "target_dependencies" : [
        "Payhub"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PayhubTests",
      "module_type" : "SwiftTarget",
      "name" : "PayhubTests",
      "path" : "Tests/PayhubTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayhubTests/Resources/next-action-fixtures.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayhubTests/Resources/webhook-signing.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ClientTests.swift",
        "DevicesTests.swift",
        "MerchantClientTests.swift",
        "NextActionTests.swift",
        "PaymentsTests.swift",
        "SettlementsTests.swift",
        "WebhookSigningVectorsTests.swift"
      ],
      "target_dependencies" : [
        "Payhub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Payhub",
      "module_type" : "SwiftTarget",
      "name" : "Payhub",
      "path" : "Sources/Payhub",
      "product_memberships" : [
        "Payhub",
        "PayhubUI"
      ],
      "sources" : [
        "Errors.swift",
        "Merchant.swift",
        "Models.swift",
        "NextAction.swift",
        "PayhubClient.swift",
        "WebhookEvent.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/10] Compiling Payhub PayhubClient.swift
[5/10] Compiling Payhub Models.swift
[6/10] Compiling Payhub Merchant.swift
[7/10] Compiling Payhub Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Payhub/Errors.swift:28:10: warning: associated value 'api(kind:code:httpStatus:message:details:requestId:)' of 'Sendable'-conforming enum 'PayhubError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 26 |     }
 27 |
 28 |     case api(kind: APIKind, code: String, httpStatus: Int, message: String, details: [String: Any], requestId: String?)
    |          `- warning: associated value 'api(kind:code:httpStatus:message:details:requestId:)' of 'Sendable'-conforming enum 'PayhubError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 29 |     case transport(kind: TransportKind, message: String)
 30 |     case webhookSignature(WebhookSignatureFailure)
[8/10] Emitting module Payhub
/Users/admin/builder/spi-builder-workspace/Sources/Payhub/Errors.swift:28:10: warning: associated value 'api(kind:code:httpStatus:message:details:requestId:)' of 'Sendable'-conforming enum 'PayhubError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 26 |     }
 27 |
 28 |     case api(kind: APIKind, code: String, httpStatus: Int, message: String, details: [String: Any], requestId: String?)
    |          `- warning: associated value 'api(kind:code:httpStatus:message:details:requestId:)' of 'Sendable'-conforming enum 'PayhubError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 29 |     case transport(kind: TransportKind, message: String)
 30 |     case webhookSignature(WebhookSignatureFailure)
[9/10] Compiling Payhub WebhookEvent.swift
[10/10] Compiling Payhub NextAction.swift
[11/12] Compiling PayhubUI PaymentActionView.swift
[12/12] Emitting module PayhubUI
Build complete! (9.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Payhub",
  "name" : "Payhub",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Payhub",
      "targets" : [
        "Payhub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PayhubUI",
      "targets" : [
        "PayhubUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PayhubUI",
      "module_type" : "SwiftTarget",
      "name" : "PayhubUI",
      "path" : "Sources/PayhubUI",
      "product_memberships" : [
        "PayhubUI"
      ],
      "sources" : [
        "PaymentActionView.swift"
      ],
      "target_dependencies" : [
        "Payhub"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PayhubTests",
      "module_type" : "SwiftTarget",
      "name" : "PayhubTests",
      "path" : "Tests/PayhubTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayhubTests/Resources/next-action-fixtures.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/PayhubTests/Resources/webhook-signing.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ClientTests.swift",
        "DevicesTests.swift",
        "MerchantClientTests.swift",
        "NextActionTests.swift",
        "PaymentsTests.swift",
        "SettlementsTests.swift",
        "WebhookSigningVectorsTests.swift"
      ],
      "target_dependencies" : [
        "Payhub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Payhub",
      "module_type" : "SwiftTarget",
      "name" : "Payhub",
      "path" : "Sources/Payhub",
      "product_memberships" : [
        "Payhub",
        "PayhubUI"
      ],
      "sources" : [
        "Errors.swift",
        "Merchant.swift",
        "Models.swift",
        "NextAction.swift",
        "PayhubClient.swift",
        "WebhookEvent.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.