The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Payhub, reference main (590de1), with Swift 6.1 for macOS (SPM) on 9 May 2026 05:17:39 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: 4.70.0
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 590de1a tests: fix invalid single-line triple-quoted Swift strings
Cloned https://github.com/safwatech/payhub-swift.git
Revision (git rev-parse @):
590de1a49f699d48327cfb8cb8b1d1e74aa0155f
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",
        "NextActionTests.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",
        "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/9] Compiling Payhub NextAction.swift
[5/9] Compiling Payhub PayhubClient.swift
[6/9] Compiling Payhub Models.swift
[7/9] Compiling Payhub WebhookEvent.swift
[8/9] 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/9] 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)
[10/11] Compiling PayhubUI PaymentActionView.swift
[11/11] Emitting module PayhubUI
Build complete! (9.49s)
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",
        "NextActionTests.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",
        "Models.swift",
        "NextAction.swift",
        "PayhubClient.swift",
        "WebhookEvent.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.