Build Information
Successful build of Pailead, reference 1.4.1 (c6ce68
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:46:26 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pducks32/Pailead.git
Reference: 1.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pducks32/Pailead
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at c6ce687 bump version
Cloned https://github.com/pducks32/Pailead.git
Revision (git rev-parse @):
c6ce6877a7c34f32f0ad37e4efb1832e0bebf8e7
SUCCESS checkout https://github.com/pducks32/Pailead.git at 1.4.1
========================================
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": "pailead",
"name": "Pailead",
"url": "https://github.com/pducks32/Pailead.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pailead",
"dependencies": [
]
}
]
}
Fetching https://github.com/pducks32/Pailead.git
[1/447] Fetching pailead
Fetched https://github.com/pducks32/Pailead.git from cache (0.80s)
Creating working copy for https://github.com/pducks32/Pailead.git
Working copy of https://github.com/pducks32/Pailead.git resolved at 1.4.1 (c6ce687)
warning: '.resolve-product-dependencies': dependency 'pailead' 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/pducks32/Pailead.git
https://github.com/pducks32/Pailead.git
{
"dependencies" : [
],
"manifest_display_name" : "Pailead",
"name" : "Pailead",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pailead",
"targets" : [
"Pailead"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PaileadTests",
"module_type" : "SwiftTarget",
"name" : "PaileadTests",
"path" : "Tests/PaileadTests",
"sources" : [
"HSLConverterTests.swift",
"MMCQTests.swift",
"PaileadTests.swift",
"PaletteMakerPictureTests.swift",
"PaletteMakerTests.swift",
"PixelTests.swift",
"PriorityQueueTests.swift",
"SplitTests.swift",
"VBoxTests.swift"
],
"target_dependencies" : [
"Pailead"
],
"type" : "test"
},
{
"c99name" : "Pailead",
"module_type" : "SwiftTarget",
"name" : "Pailead",
"path" : "Sources/Pailead",
"product_memberships" : [
"Pailead"
],
"sources" : [
"Extensions.swift",
"HSLConverter.swift",
"ModifiedMedianCutQuantizer.swift",
"Pailead.swift",
"Palette.swift",
"Pixel.swift",
"PriorityQueue.swift",
"Swatch.swift",
"VBox.swift"
],
"type" : "library"
}
],
"tools_version" : "4.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/12] Compiling Pailead PriorityQueue.swift
[4/12] Compiling Pailead Pixel.swift
[5/12] Compiling Pailead Palette.swift
[6/12] Compiling Pailead VBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pailead/VBox.swift:16:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[VBox.Axis]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum Axis : CustomStringConvertible {
| `- note: consider making enum 'Axis' conform to the 'Sendable' protocol
16 | public static let all : [Axis] = [.red, .green, .blue]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[VBox.Axis]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | case red, green, blue
18 |
[7/12] Compiling Pailead Swatch.swift
[8/12] Compiling Pailead Pailead.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pailead/Pailead.swift:78:35: warning: capture of 'scaledImage' with non-sendable type 'Image' (aka 'NSImage') in a '@Sendable' closure
76 | let scaledImage = Pailead.optimallyResizeImage(image)
77 | chosenQueue.async {
78 | guard let pixelData = scaledImage.pixelData() else { fatalError("Pixel Extraction Failed") }
| `- warning: capture of 'scaledImage' with non-sendable type 'Image' (aka 'NSImage') in a '@Sendable' closure
79 | var pixels : [Pixel] = []
80 | pixels.reserveCapacity(pixelData.count / 4)
/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/Sources/Pailead/Pailead.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Set<Swatch>) -> Void' in a '@Sendable' closure
89 | blockDelegate.onDidFinish = { mmcq in
90 | let swatches = mmcq.getSwatches()
91 | completionHandler(swatches)
| |- warning: capture of 'completionHandler' with non-sendable type '(Set<Swatch>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | }
93 | quantizer.delegate = blockDelegate
/Users/admin/builder/spi-builder-workspace/Sources/Pailead/Pailead.swift:91:17: warning: capture of 'completionHandler' with non-sendable type '(Set<Swatch>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
89 | blockDelegate.onDidFinish = { mmcq in
90 | let swatches = mmcq.getSwatches()
91 | completionHandler(swatches)
| |- warning: capture of 'completionHandler' with non-sendable type '(Set<Swatch>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | }
93 | quantizer.delegate = blockDelegate
[9/12] Compiling Pailead ModifiedMedianCutQuantizer.swift
[10/12] Compiling Pailead HSLConverter.swift
[11/12] Emitting module Pailead
/Users/admin/builder/spi-builder-workspace/Sources/Pailead/VBox.swift:16:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[VBox.Axis]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum Axis : CustomStringConvertible {
| `- note: consider making enum 'Axis' conform to the 'Sendable' protocol
16 | public static let all : [Axis] = [.red, .green, .blue]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[VBox.Axis]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | case red, green, blue
18 |
[12/12] Compiling Pailead Extensions.swift
Build complete! (7.29s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pailead",
"name" : "Pailead",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pailead",
"targets" : [
"Pailead"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PaileadTests",
"module_type" : "SwiftTarget",
"name" : "PaileadTests",
"path" : "Tests/PaileadTests",
"sources" : [
"HSLConverterTests.swift",
"MMCQTests.swift",
"PaileadTests.swift",
"PaletteMakerPictureTests.swift",
"PaletteMakerTests.swift",
"PixelTests.swift",
"PriorityQueueTests.swift",
"SplitTests.swift",
"VBoxTests.swift"
],
"target_dependencies" : [
"Pailead"
],
"type" : "test"
},
{
"c99name" : "Pailead",
"module_type" : "SwiftTarget",
"name" : "Pailead",
"path" : "Sources/Pailead",
"product_memberships" : [
"Pailead"
],
"sources" : [
"Extensions.swift",
"HSLConverter.swift",
"ModifiedMedianCutQuantizer.swift",
"Pailead.swift",
"Palette.swift",
"Pixel.swift",
"PriorityQueue.swift",
"Swatch.swift",
"VBox.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.