The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DSFImageTools, reference 0.13.0 (f69ad0), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 04:31:02 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: 0.13.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFImageTools
 * tag               0.13.0     -> FETCH_HEAD
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 0.13.0
Fetching https://github.com/dagronf/SwiftImageReadWrite
[1/372] Fetching swiftimagereadwrite
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.85s)
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
========================================
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
[2/175] Fetching dsfimagetools
Fetched https://github.com/dagronf/DSFImageTools.git from cache (1.19s)
Fetching https://github.com/dagronf/SwiftImageReadWrite from cache
Fetched https://github.com/dagronf/SwiftImageReadWrite from cache (0.51s)
Computing version for https://github.com/dagronf/SwiftImageReadWrite
Computed https://github.com/dagronf/SwiftImageReadWrite at 1.1.6 (0.04s)
Creating working copy for https://github.com/dagronf/SwiftImageReadWrite
Working copy of https://github.com/dagronf/SwiftImageReadWrite resolved at 1.1.6
Creating working copy for https://github.com/dagronf/DSFImageTools.git
Working copy of https://github.com/dagronf/DSFImageTools.git resolved at 0.13.0 (f69ad0f)
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] Emitting module SwiftImageReadWrite
[5/16] Compiling SwiftImageReadWrite ImageExportTypes.swift
[6/16] Compiling SwiftImageReadWrite Errors.swift
[7/16] Compiling SwiftImageReadWrite CIImage+extensions.swift
[8/16] Compiling SwiftImageReadWrite PlatformImage+codable.swift
[9/17] Compiling SwiftImageReadWrite PlatformImage+macOS.swift
[10/17] Compiling SwiftImageReadWrite PlatformImage+export.swift
[11/17] Compiling SwiftImageReadWrite CGImage+codable.swift
[12/17] Compiling SwiftImageReadWrite CGImage+export.swift
[13/17] Compiling SwiftImageReadWrite Utils.swift
[14/17] Compiling SwiftImageReadWrite PlatformImage.swift
[15/17] Compiling SwiftImageReadWrite CGImage+import.swift
[16/17] Compiling SwiftImageReadWrite CGImage+platform.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 WCGImage+export.swift
[21/39] Compiling DSFImageTools WCGImage+platform.swift
[22/39] Compiling DSFImageTools DSFImageSource.swift
[23/39] Compiling DSFImageTools CGImage+extensions.swift
[24/39] Compiling DSFImageTools DSFImageSource+Image.swift
[25/39] Compiling DSFImageTools DSFImageSource+WCGImage+extensions.swift
[26/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])
[27/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])
[28/39] Compiling DSFImageTools NSImage+extensions.swift
[29/39] Compiling DSFImageTools CGColor+hex.swift
[30/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 |
[31/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 |
[32/39] Compiling DSFImageTools WCGColor.swift
[33/39] Compiling DSFImageTools WCGImage+defs.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! (26.70s)
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.