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 UIImageColors, reference 2.2.0 (e49e6c), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 19:35:13 UTC.

Swift 6 data race errors: 0

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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jathu/UIImageColors.git
Reference: 2.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jathu/UIImageColors
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at e49e6c3 Merge pull request #73 from interstateone/spm
Cloned https://github.com/jathu/UIImageColors.git
Revision (git rev-parse @):
e49e6c32ea556e9fa0109dc79686bea4a10d41a2
SUCCESS checkout https://github.com/jathu/UIImageColors.git at 2.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "uiimagecolors",
      "name": "UIImageColors",
      "url": "https://github.com/jathu/UIImageColors.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UIImageColors",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jathu/UIImageColors.git
[1/1129] Fetching uiimagecolors
Fetched https://github.com/jathu/UIImageColors.git from cache (2.60s)
Creating working copy for https://github.com/jathu/UIImageColors.git
Working copy of https://github.com/jathu/UIImageColors.git resolved at 2.2.0 (e49e6c3)
warning: '.resolve-product-dependencies': dependency 'uiimagecolors' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jathu/UIImageColors.git
https://github.com/jathu/UIImageColors.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UIImageColors",
  "name" : "UIImageColors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UIImageColors",
      "targets" : [
        "UIImageColors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UIImageColors",
      "module_type" : "SwiftTarget",
      "name" : "UIImageColors",
      "path" : "UIImageColors",
      "product_memberships" : [
        "UIImageColors"
      ],
      "sources" : [
        "Sources/UIImageColors.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module UIImageColors
[4/4] Compiling UIImageColors UIImageColors.swift
/Users/admin/builder/spi-builder-workspace/UIImageColors/Sources/UIImageColors.swift:209:26: warning: capture of 'self' with non-sendable type 'NSImage' in a '@Sendable' closure
207 |     public func getColors(quality: UIImageColorsQuality = .high, _ completion: @escaping (UIImageColors?) -> Void) {
208 |         DispatchQueue.global().async {
209 |             let result = self.getColors(quality: quality)
    |                          `- warning: capture of 'self' with non-sendable type 'NSImage' in a '@Sendable' closure
210 |             DispatchQueue.main.async {
211 |                 completion(result)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.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/UIImageColors/Sources/UIImageColors.swift:209:50: warning: capture of 'quality' with non-sendable type 'UIImageColorsQuality' in a '@Sendable' closure
 28 | }
 29 |
 30 | public enum UIImageColorsQuality: CGFloat {
    |             `- note: consider making enum 'UIImageColorsQuality' conform to the 'Sendable' protocol
 31 |     case lowest = 50 // 50px
 32 |     case low = 100 // 100px
    :
207 |     public func getColors(quality: UIImageColorsQuality = .high, _ completion: @escaping (UIImageColors?) -> Void) {
208 |         DispatchQueue.global().async {
209 |             let result = self.getColors(quality: quality)
    |                                                  `- warning: capture of 'quality' with non-sendable type 'UIImageColorsQuality' in a '@Sendable' closure
210 |             DispatchQueue.main.async {
211 |                 completion(result)
/Users/admin/builder/spi-builder-workspace/UIImageColors/Sources/UIImageColors.swift:211:17: warning: capture of 'completion' with non-sendable type '(UIImageColors?) -> Void' in a '@Sendable' closure
209 |             let result = self.getColors(quality: quality)
210 |             DispatchQueue.main.async {
211 |                 completion(result)
    |                 |- warning: capture of 'completion' with non-sendable type '(UIImageColors?) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
212 |             }
213 |         }
Build complete! (6.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UIImageColors",
  "name" : "UIImageColors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UIImageColors",
      "targets" : [
        "UIImageColors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UIImageColors",
      "module_type" : "SwiftTarget",
      "name" : "UIImageColors",
      "path" : "UIImageColors",
      "product_memberships" : [
        "UIImageColors"
      ],
      "sources" : [
        "Sources/UIImageColors.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.