The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of PortfolioKit, reference main (20ae6b), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 19:58:00 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mcrich23/portfoliokit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mcrich23/portfoliokit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 20ae6bf Update Readme.md
Cloned https://github.com/mcrich23/portfoliokit.git
Revision (git rev-parse @):
20ae6bfd8068cd9d6b855919398f567ad9b39d85
SUCCESS checkout https://github.com/mcrich23/portfoliokit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mcrich23/portfoliokit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Compiling PortfolioKit Data Types.swift
[4/6] Emitting module PortfolioKit
[5/6] Compiling PortfolioKit PortfolioKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PortfolioKit/PortfolioKit.swift:77:87: warning: capture of 'image' with non-sendable type 'PortfolioImage' (aka 'NSImage') in a '@Sendable' closure [#SendableClosureCaptures]
 75 |                     if let image {
 76 |                         DispatchQueue.main.async {
 77 |                             let newPortfolio = Portfolio(name: portfolio.name, image: image, url: url, urlButtonName: portfolio.urlButtonName, bundleID: portfolio.bundleId)
    |                                                                                       `- warning: capture of 'image' with non-sendable type 'PortfolioImage' (aka 'NSImage') in a '@Sendable' closure [#SendableClosureCaptures]
 78 |                             self.portfolios.append(newPortfolio)
 79 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
 64 | __attribute__((objc_subclassing_restricted))
 65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
 66 | @interface NSImage : NSObject
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
 67 |
 68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/PortfolioKit/PortfolioKit.swift:78:29: warning: capture of 'self' with non-sendable type 'PortfolioKit' in a '@Sendable' closure [#SendableClosureCaptures]
 18 | import StoreKit
 19 |
 20 | public class PortfolioKit: ObservableObject {
    |              `- note: class 'PortfolioKit' does not conform to the 'Sendable' protocol
 21 |     var builtInStorekitEnabled: Bool {
 22 |         #if os(macOS)
    :
 76 |                         DispatchQueue.main.async {
 77 |                             let newPortfolio = Portfolio(name: portfolio.name, image: image, url: url, urlButtonName: portfolio.urlButtonName, bundleID: portfolio.bundleId)
 78 |                             self.portfolios.append(newPortfolio)
    |                             `- warning: capture of 'self' with non-sendable type 'PortfolioKit' in a '@Sendable' closure [#SendableClosureCaptures]
 79 |
 80 |                             self.loadProduct(newPortfolio) { productViewController in
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[6/6] Compiling PortfolioKit PortfolioView.swift
Build complete! (7.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PortfolioKit",
  "name" : "PortfolioKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "PortfolioKit",
      "targets" : [
        "PortfolioKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PortfolioKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PortfolioKitTests",
      "path" : "Tests",
      "sources" : [
        "PackageKitTests/PackageKitTests.swift"
      ],
      "target_dependencies" : [
        "PortfolioKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PortfolioKit",
      "module_type" : "SwiftTarget",
      "name" : "PortfolioKit",
      "path" : "Sources",
      "product_memberships" : [
        "PortfolioKit"
      ],
      "sources" : [
        "PortfolioKit/Data Types.swift",
        "PortfolioKit/PortfolioKit.swift",
        "PortfolioKit/PortfolioView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.