Build Information
Successful build of DSFImageTools, reference main (f69ad0
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 04:39:16 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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
Fetching https://github.com/dagronf/SwiftImageReadWrite
[8/372] Fetching swiftimagereadwrite
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.84s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.1.4 (0.72s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.1.4
========================================
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": "dsfimagetools",
"name": "DSFImageTools",
"url": "https://github.com/dagronf/DSFImageTools.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFImageTools",
"dependencies": [
{
"identity": "swiftimagereadwrite",
"name": "SwiftImageReadWrite",
"url": "https://github.com/dagronf/SwiftImageReadWrite",
"version": "1.1.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImageReadWrite",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dagronf/DSFImageTools.git
[1/175] Fetching dsfimagetools
Fetched https://github.com/dagronf/DSFImageTools.git from cache (5.35s)
Fetching https://github.com/dagronf/SwiftImageReadWrite from cache
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.48s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.1.6 (0.02s)
Creating working copy for https://github.com/dagronf/DSFImageTools.git
Working copy of https://github.com/dagronf/DSFImageTools.git resolved at main (f69ad0f)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.1.6
warning: '.resolve-product-dependencies': dependency 'dsfimagetools' is not used by any target
Found 1 product dependencies
- SwiftImageReadWrite
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dagronf/DSFImageTools.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[4/16] Compiling SwiftImageReadWrite CGImage+codable.swift
[5/16] Compiling SwiftImageReadWrite CGImage+export.swift
[6/16] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[7/16] Emitting module SwiftImageReadWrite
[8/17] Compiling SwiftImageReadWrite Errors.swift
[9/17] Compiling SwiftImageReadWrite Utils.swift
[10/17] Compiling SwiftImageReadWrite PlatformImage+export.swift
[11/17] Compiling SwiftImageReadWrite PlatformImage.swift
[12/17] Compiling SwiftImageReadWrite CGImage+import.swift
[13/17] Compiling SwiftImageReadWrite CGImage+platform.swift
[14/17] Compiling SwiftImageReadWrite CIImage+extensions.swift
[15/17] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[16/17] Compiling SwiftImageReadWrite ImageExportTypes.swift
[17/17] Compiling SwiftImageReadWrite SwiftUI+extensions.swift
[18/37] Compiling DSFImageTools NSImage+extensions.swift
[19/37] Compiling DSFImageTools CGColor+hex.swift
[20/37] 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])
[21/37] 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])
[22/39] Compiling DSFImageTools DSFImageSource.swift
[23/39] Compiling DSFImageTools CGImage+extensions.swift
[24/39] Emitting module DSFImageTools
[25/39] Compiling DSFImageTools WCGColor.swift
[26/39] Compiling DSFImageTools WCGImage+defs.swift
[27/39] Compiling DSFImageTools WCGImage+export.swift
[28/39] Compiling DSFImageTools WCGImage+platform.swift
[29/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 |
[30/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 |
[31/39] Compiling DSFImageTools DSFImageSource+Builder.swift
[32/39] Compiling DSFImageTools DSFImageSource+Convert.swift
[33/39] Compiling DSFImageTools DSFImageSource+GPS.swift
[34/39] Compiling DSFImageTools WCGColor+contrasting.swift
[35/39] Compiling DSFImageTools WCGColor+pattern.swift
[36/39] Compiling DSFImageTools DSFImageSource+Image.swift
[37/39] Compiling DSFImageTools DSFImageSource+WCGImage+extensions.swift
[38/39] Compiling DSFImageTools WCGImage.swift
[39/39] Compiling DSFImageTools WCGImageStatic.swift
Build complete! (23.75s)
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/Portrait_5.jpg",
"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/colorful-skull.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" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/hulk.gif",
"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/multipage_tiff_example.tif",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/DSFImageToolsTests/Resources/wilsonsprom.jpeg",
"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.