Build Information
Successful build of DSFImageTools with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFImageTools.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFImageTools
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f69ad0f Moved to SwiftReadWriteImage
Cloned https://github.com/dagronf/DSFImageTools.git
Revision (git rev-parse @):
f69ad0fbaf9e8c34d55cd308fadd0ff1e2d98c46
SUCCESS checkout https://github.com/dagronf/DSFImageTools.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/DSFImageTools.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/16] Compiling SwiftImageReadWrite Errors.swift
[5/16] Compiling SwiftImageReadWrite ImageExportTypes.swift
[6/16] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[7/16] Compiling SwiftImageReadWrite Utils.swift
[8/16] Compiling SwiftImageReadWrite PlatformImage+export.swift
[9/16] Compiling SwiftImageReadWrite CIImage+extensions.swift
[10/16] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[11/16] Compiling SwiftImageReadWrite CGImage+import.swift
[12/16] Compiling SwiftImageReadWrite CGImage+platform.swift
[13/16] Compiling SwiftImageReadWrite CGImage+codable.swift
[14/16] Compiling SwiftImageReadWrite CGImage+export.swift
[15/16] Emitting module SwiftImageReadWrite
[16/16] Compiling SwiftImageReadWrite PlatformImage.swift
[17/17] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[18/37] Compiling DSFImageTools WCGColor+contrasting.swift
[19/37] Compiling DSFImageTools WCGColor+pattern.swift
[20/39] Compiling DSFImageTools DSFImageSource.swift
[21/39] Compiling DSFImageTools CGImage+extensions.swift
[22/39] Compiling DSFImageTools Clamping.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/private/DSFFileThumbnail.swift:125:84: warning: capture of 'opts' with non-sendable type '[AnyHashable : Any?]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |
124 | DispatchQueue.global(qos: .utility).async {
125 | let image = QLThumbnailImageCreate(kCFAllocatorDefault, fileURL as CFURL, size, opts as CFDictionary)
| `- warning: capture of 'opts' with non-sendable type '[AnyHashable : Any?]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | completion(DSFFileThumbnail(image?.takeRetainedValue()))
127 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/private/DSFFileThumbnail.swift:126:4: warning: capture of 'completion' with non-sendable type '(DSFFileThumbnail?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | DispatchQueue.global(qos: .utility).async {
125 | let image = QLThumbnailImageCreate(kCFAllocatorDefault, fileURL as CFURL, size, opts as CFDictionary)
126 | completion(DSFFileThumbnail(image?.takeRetainedValue()))
| |- warning: capture of 'completion' with non-sendable type '(DSFFileThumbnail?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
127 | }
128 |
[23/39] Compiling DSFImageTools DSFFileThumbnail.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/private/DSFFileThumbnail.swift:125:84: warning: capture of 'opts' with non-sendable type '[AnyHashable : Any?]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |
124 | DispatchQueue.global(qos: .utility).async {
125 | let image = QLThumbnailImageCreate(kCFAllocatorDefault, fileURL as CFURL, size, opts as CFDictionary)
| `- warning: capture of 'opts' with non-sendable type '[AnyHashable : Any?]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
126 | completion(DSFFileThumbnail(image?.takeRetainedValue()))
127 | }
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
| `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 | public typealias Element = (key: Key, value: Value)
3 | @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/private/DSFFileThumbnail.swift:126:4: warning: capture of 'completion' with non-sendable type '(DSFFileThumbnail?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | DispatchQueue.global(qos: .utility).async {
125 | let image = QLThumbnailImageCreate(kCFAllocatorDefault, fileURL as CFURL, size, opts as CFDictionary)
126 | completion(DSFFileThumbnail(image?.takeRetainedValue()))
| |- warning: capture of 'completion' with non-sendable type '(DSFFileThumbnail?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
127 | }
128 |
[24/39] Compiling DSFImageTools DSFImageSource+Image.swift
[25/39] Compiling DSFImageTools DSFImageSource+WCGImage+extensions.swift
[26/39] Compiling DSFImageTools WCGImage+export.swift
[27/39] Compiling DSFImageTools WCGImage+platform.swift
[28/39] Compiling DSFImageTools WCGColor.swift
[29/39] Compiling DSFImageTools WCGImage+defs.swift
[30/39] Compiling DSFImageTools GraphicsContext+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/utils/NSBezierPath+extensions.swift:101:4: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
99 | for i in 0 ..< self.elementCount {
100 | let type = self.element(at: i, associatedPoints: &points)
101 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
102 | case .moveTo: path.move(to: points[0])
103 | case .lineTo: path.addLine(to: points[0])
[31/39] Compiling DSFImageTools NSBezierPath+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFImageTools/utils/NSBezierPath+extensions.swift:101:4: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
99 | for i in 0 ..< self.elementCount {
100 | let type = self.element(at: i, associatedPoints: &points)
101 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
102 | case .moveTo: path.move(to: points[0])
103 | case .lineTo: path.addLine(to: points[0])
[32/39] Compiling DSFImageTools NSImage+extensions.swift
[33/39] Compiling DSFImageTools CGColor+hex.swift
[34/39] Emitting module DSFImageTools
[35/39] Compiling DSFImageTools DSFImageSource+Builder.swift
[36/39] Compiling DSFImageTools DSFImageSource+Convert.swift
[37/39] Compiling DSFImageTools DSFImageSource+GPS.swift
[38/39] Compiling DSFImageTools WCGImage.swift
[39/39] Compiling DSFImageTools WCGImageStatic.swift
Build complete! (52.61s)
Fetching https://github.com/dagronf/SwiftImageReadWrite
[3/279] Fetching swiftimagereadwrite
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.89s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.1.4 (0.67s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.1.4
Build complete.
{
"dependencies" : [
{
"identity" : "swiftimagereadwrite",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/SwiftImageReadWrite"
}
],
"manifest_display_name" : "DSFImageTools",
"name" : "DSFImageTools",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "DSFImageTools",
"targets" : [
"DSFImageTools"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFImageToolsTests",
"module_type" : "SwiftTarget",
"name" : "DSFImageToolsTests",
"path" : "Tests/DSFImageToolsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/DSCN0012.heic",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/hulk.gif",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/Portrait_5.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/colorful-skull.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/hulk.heic",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/wilsonsprom.jpeg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/multipage_tiff_example.tif",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/apple-logo-dark.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/cat-icon.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/cmyk.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/gps-coordinates.jpg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/gps-image.jpg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CGColorTests.swift",
"DSFImageSourceTests.swift",
"WCGColorPatternTests.swift",
"WCGColorTests.swift",
"WCGImageTests.swift",
"XCTestHelpers.swift",
"utils/MarkdownGenerator.swift",
"utils/RTFDGenerator.swift",
"utils/TestUtils.swift"
],
"target_dependencies" : [
"DSFImageTools"
],
"type" : "test"
},
{
"c99name" : "DSFImageTools",
"module_type" : "SwiftTarget",
"name" : "DSFImageTools",
"path" : "Sources/DSFImageTools",
"product_dependencies" : [
"SwiftImageReadWrite"
],
"product_memberships" : [
"DSFImageTools"
],
"sources" : [
"dsfimagesource/DSFImageSource+Builder.swift",
"dsfimagesource/DSFImageSource+Convert.swift",
"dsfimagesource/DSFImageSource+GPS.swift",
"dsfimagesource/DSFImageSource+Image.swift",
"dsfimagesource/DSFImageSource+WCGImage+extensions.swift",
"dsfimagesource/DSFImageSource.swift",
"private/CGImage+extensions.swift",
"private/Clamping.swift",
"private/DSFFileThumbnail.swift",
"utils/GraphicsContext+extensions.swift",
"utils/NSBezierPath+extensions.swift",
"utils/NSImage+extensions.swift",
"wcgcolor/CGColor+hex.swift",
"wcgcolor/WCGColor+contrasting.swift",
"wcgcolor/WCGColor+pattern.swift",
"wcgcolor/WCGColor.swift",
"wcgimage/WCGImage+defs.swift",
"wcgimage/WCGImage+export.swift",
"wcgimage/WCGImage+platform.swift",
"wcgimage/WCGImage.swift",
"wcgimage/WCGImageStatic.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.