The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PortfolioKit, reference v1.1.2 (f9f9ea), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 19:57:24 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: v1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mcrich23/portfoliokit
 * tag               v1.1.2     -> FETCH_HEAD
HEAD is now at f9f9ea4 Update PortfolioKit.swift
Cloned https://github.com/mcrich23/portfoliokit.git
Revision (git rev-parse @):
f9f9ea4f7a1d3fb41087b866fdbe5cc4bb892a11
SUCCESS checkout https://github.com/mcrich23/portfoliokit.git at v1.1.2
========================================
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] Compiling PortfolioKit PortfolioView.swift
[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] Emitting module PortfolioKit
Build complete! (7.04s)
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.