This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 SwiftImage with Swift 6.0 (beta) for macOS (SPM).

Swift 6 data race errors: 3

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/koher/swift-image.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/koher/swift-image
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c61b8cf Merge pull request #53 from koher/dev-0.7.1
Cloned https://github.com/koher/swift-image.git
Revision (git rev-parse @):
c61b8cf4613a7fc80d1c2a84231cef2909e837a1
SUCCESS checkout https://github.com/koher/swift-image.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/koher/swift-image.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/26] Compiling SwiftImage Extrapolation.swift
[4/26] Compiling SwiftImage HigherOrderFunctions.swift
[5/26] Compiling SwiftImage Image.swift
[6/28] Compiling SwiftImage NumericPixel.swift
[7/28] Compiling SwiftImage PremultipliedRGBA.swift
[8/28] Compiling SwiftImage UIKit.swift
[9/28] Compiling SwiftImage Util.swift
[10/28] Compiling SwiftImage Convolution.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/CoreGraphics.swift:20:17: warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 18 | }
 19 |
 20 | public protocol _CGDirectChannel: _CGChannel where _EZ_DirectChannel == Self {
    |                 `- warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 21 |     static var _ez_cgChannelDefault: Self { get }
 22 | }
[11/28] Compiling SwiftImage CoreGraphics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/CoreGraphics.swift:20:17: warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 18 | }
 19 |
 20 | public protocol _CGDirectChannel: _CGChannel where _EZ_DirectChannel == Self {
    |                 `- warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 21 |     static var _ez_cgChannelDefault: Self { get }
 22 | }
[12/28] Compiling SwiftImage ExtrapolatedImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/CoreGraphics.swift:20:17: warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 18 | }
 19 |
 20 | public protocol _CGDirectChannel: _CGChannel where _EZ_DirectChannel == Self {
    |                 `- warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 21 |     static var _ez_cgChannelDefault: Self { get }
 22 | }
[13/28] Compiling SwiftImage RGB.swift
[14/28] Compiling SwiftImage RGBA.swift
[15/28] Compiling SwiftImage RGBAOperators.swift
[16/28] Compiling SwiftImage Resizing.swift
[17/28] Compiling SwiftImage Rotation.swift
[18/28] Compiling SwiftImage TypicalChannel.swift
[19/28] Compiling SwiftImage ImageProtocol.swift
[20/28] Compiling SwiftImage ImageSlice.swift
[21/28] Compiling SwiftImage Interpolation.swift
[22/28] Compiling SwiftImage AnyImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct AnyImage<Pixel> : ImageProtocol {
    |                        `- note: 'Pixel' previously declared here
  4 |     public typealias SubImage = AnyImage<Pixel>
  5 |     public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
    :
 61 |
 62 | extension AnyImage {
 63 |     private class AnyImageBox<Pixel> {
    |                               `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 64 |         public subscript(x: Int, y: Int) -> Pixel {
 65 |             get {
[23/28] Compiling SwiftImage AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct AnyImage<Pixel> : ImageProtocol {
    |                        `- note: 'Pixel' previously declared here
  4 |     public typealias SubImage = AnyImage<Pixel>
  5 |     public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
    :
 61 |
 62 | extension AnyImage {
 63 |     private class AnyImageBox<Pixel> {
    |                               `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 64 |         public subscript(x: Int, y: Int) -> Pixel {
 65 |             get {
[24/28] Compiling SwiftImage ColorLiteral.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct AnyImage<Pixel> : ImageProtocol {
    |                        `- note: 'Pixel' previously declared here
  4 |     public typealias SubImage = AnyImage<Pixel>
  5 |     public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
    :
 61 |
 62 | extension AnyImage {
 63 |     private class AnyImageBox<Pixel> {
    |                               `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 64 |         public subscript(x: Int, y: Int) -> Pixel {
 65 |             get {
[25/28] Emitting module SwiftImage
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/AnyImage.swift:63:31: warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct AnyImage<Pixel> : ImageProtocol {
    |                        `- note: 'Pixel' previously declared here
  4 |     public typealias SubImage = AnyImage<Pixel>
  5 |     public typealias Element = Pixel // FIXME: Remove this line in the future. Swift 4.1 needs it to build `AnyImage`.
    :
 61 |
 62 | extension AnyImage {
 63 |     private class AnyImageBox<Pixel> {
    |                               `- warning: generic parameter 'Pixel' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 64 |         public subscript(x: Int, y: Int) -> Pixel {
 65 |             get {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/CoreGraphics.swift:20:17: warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 18 | }
 19 |
 20 | public protocol _CGDirectChannel: _CGChannel where _EZ_DirectChannel == Self {
    |                 `- warning: protocol '_CGDirectChannel' should be declared to refine 'Numeric' due to a same-type constraint on 'Self'
 21 |     static var _ez_cgChannelDefault: Self { get }
 22 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 3 |     case jpeg(compressionQuality: Double)
 4 |
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
   |                                   `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
 6 |         public let image: I
   |                    `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 7 |         public let format: ImageFormat
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 1 | public enum ImageFormat {
   |             `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
 2 |     case png
 3 |     case jpeg(compressionQuality: Double)
   :
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
 6 |         public let image: I
 7 |         public let format: ImageFormat
   |                    `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 8 |
 9 |         @usableFromInline
[26/28] Compiling SwiftImage ImageFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 3 |     case jpeg(compressionQuality: Double)
 4 |
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
   |                                   `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
 6 |         public let image: I
   |                    `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 7 |         public let format: ImageFormat
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 1 | public enum ImageFormat {
   |             `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
 2 |     case png
 3 |     case jpeg(compressionQuality: Double)
   :
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
 6 |         public let image: I
 7 |         public let format: ImageFormat
   |                    `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 8 |
 9 |         @usableFromInline
[27/28] Compiling SwiftImage ImageIterator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 3 |     case jpeg(compressionQuality: Double)
 4 |
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
   |                                   `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
 6 |         public let image: I
   |                    `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 7 |         public let format: ImageFormat
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 1 | public enum ImageFormat {
   |             `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
 2 |     case png
 3 |     case jpeg(compressionQuality: Double)
   :
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
 6 |         public let image: I
 7 |         public let format: ImageFormat
   |                    `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 8 |
 9 |         @usableFromInline
[28/28] Compiling SwiftImage ImageOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:6:20: warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 3 |     case jpeg(compressionQuality: Double)
 4 |
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
   |                                   `- note: consider making generic parameter 'I' conform to the 'Sendable' protocol
 6 |         public let image: I
   |                    `- warning: stored property 'image' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'I'; this is an error in the Swift 6 language mode
 7 |         public let format: ImageFormat
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftImage/ImageFormat.swift:7:20: warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 1 | public enum ImageFormat {
   |             `- note: consider making enum 'ImageFormat' conform to the 'Sendable' protocol
 2 |     case png
 3 |     case jpeg(compressionQuality: Double)
   :
 5 |     public struct FormattingError<I : ImageProtocol> : Error {
 6 |         public let image: I
 7 |         public let format: ImageFormat
   |                    `- warning: stored property 'format' of 'Sendable'-conforming generic struct 'FormattingError' has non-sendable type 'ImageFormat'; this is an error in the Swift 6 language mode
 8 |
 9 |         @usableFromInline
Build complete! (31.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftImage",
  "name" : "SwiftImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftImage",
      "targets" : [
        "SwiftImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftImageTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImageTests",
      "path" : "Tests/SwiftImageTests",
      "sources" : [
        "AnyImageTests.swift",
        "AppKitTests.swift",
        "AppUIKitTests.swift",
        "AutoreleaseTests.swift",
        "ColorLiteralTests.swift",
        "ConvolutionTests.swift",
        "CoreGraphicsTests.swift",
        "ExtrapolationTests.swift",
        "HigherOrderFunctionsTests.swift",
        "ImageOperatorsTests.swift",
        "ImageProtocolTests.swift",
        "ImageSliceTests.swift",
        "ImageTests.swift",
        "InterpolationTests.swift",
        "PremultipliedRGBATests.swift",
        "RGBAOperatorsTests.swift",
        "RGBATests.swift",
        "RGBTests.swift",
        "ResizingTests.swift",
        "RotationTests.swift",
        "SwiftImageTests.swift",
        "UIKitTests.swift",
        "Util.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftImage",
      "module_type" : "SwiftTarget",
      "name" : "SwiftImage",
      "path" : "Sources/SwiftImage",
      "product_memberships" : [
        "SwiftImage"
      ],
      "sources" : [
        "AnyImage.swift",
        "AppKit.swift",
        "ColorLiteral.swift",
        "Convolution.swift",
        "CoreGraphics.swift",
        "ExtrapolatedImage.swift",
        "Extrapolation.swift",
        "HigherOrderFunctions.swift",
        "Image.swift",
        "ImageFormat.swift",
        "ImageIterator.swift",
        "ImageOperators.swift",
        "ImageProtocol.swift",
        "ImageSlice.swift",
        "Interpolation.swift",
        "NumericPixel.swift",
        "PremultipliedRGBA.swift",
        "RGB.swift",
        "RGBA.swift",
        "RGBAOperators.swift",
        "Resizing.swift",
        "Rotation.swift",
        "TypicalChannel.swift",
        "UIKit.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.