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 AsyncDownSamplingImage, reference main (f1d659), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 11:29:28 UTC.

Swift 6 data race errors: 0

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/AsyncDownSamplingImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fummicc1/AsyncDownSamplingImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f1d659c Merge pull request #16 from fummicc1/feature/improve-loading-view-size
Cloned https://github.com/fummicc1/AsyncDownSamplingImage.git
Revision (git rev-parse @):
f1d659cbc58d0ae6bc541ab4ea3187ad00e54253
SUCCESS checkout https://github.com/fummicc1/AsyncDownSamplingImage.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fummicc1/AsyncDownSamplingImage.git
https://github.com/fummicc1/AsyncDownSamplingImage.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncDownSamplingImage",
  "name" : "AsyncDownSamplingImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncDownSamplingImage",
      "targets" : [
        "AsyncDownSamplingImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncDownSamplingImageTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImageTests",
      "path" : "Tests/AsyncDownSamplingImageTests",
      "sources" : [
        "AsyncDownSamplingImageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDownSamplingImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDownSamplingImage",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImage",
      "path" : "Sources/AsyncDownSamplingImage",
      "product_memberships" : [
        "AsyncDownSamplingImage"
      ],
      "sources" : [
        "AsyncDownSamplingImage.swift",
        "Downsampling.swift",
        "Incremental.swift",
        "IncrementalImage.swift",
        "TypeCompatibility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/10] Compiling AsyncDownSamplingImage Incremental.swift
[6/10] Compiling AsyncDownSamplingImage AsyncDownSamplingImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:186:27: warning: non-sendable type 'DownSamplingSize' of property 'downsampleSize' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public enum DownSamplingSize {
    |             `- note: consider making enum 'DownSamplingSize' conform to the 'Sendable' protocol
 28 |     case size(CGSize, scale: Double = 1)
 29 |     case width(Double, scale: Double = 1)
    :
184 |                 let cgImage = try await DownSampling.perform(
185 |                     at: url,
186 |                     size: downsampleSize
    |                           `- warning: non-sendable type 'DownSamplingSize' of property 'downsampleSize' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
187 |                 )
188 |             #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncDownSamplingImage/AsyncDownSamplingImage.swift:190:49: warning: non-sendable type 'DownSamplingSize' of property 'downsampleSize' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | public enum DownSamplingSize {
    |             `- note: consider making enum 'DownSamplingSize' conform to the 'Sendable' protocol
 28 |     case size(CGSize, scale: Double = 1)
 29 |     case width(Double, scale: Double = 1)
    :
188 |             #if os(macOS)
189 |                 let aspectRatio = Double(cgImage.height) / Double(cgImage.width)
190 |                 let downsampleSize = await self.downsampleSize
    |                                                 `- warning: non-sendable type 'DownSamplingSize' of property 'downsampleSize' cannot exit main actor-isolated context; this is an error in the Swift 6 language mode
191 |                 let width = downsampleSize.width ?? downsampleSize.height! / aspectRatio
192 |                 let height = downsampleSize.height ?? downsampleSize.width! * aspectRatio
[7/10] Compiling AsyncDownSamplingImage Downsampling.swift
[8/10] Compiling AsyncDownSamplingImage TypeCompatibility.swift
[9/10] Emitting module AsyncDownSamplingImage
[10/10] Compiling AsyncDownSamplingImage IncrementalImage.swift
Build complete! (20.40s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.80s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.76s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncDownSamplingImage",
  "name" : "AsyncDownSamplingImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncDownSamplingImage",
      "targets" : [
        "AsyncDownSamplingImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncDownSamplingImageTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImageTests",
      "path" : "Tests/AsyncDownSamplingImageTests",
      "sources" : [
        "AsyncDownSamplingImageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncDownSamplingImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncDownSamplingImage",
      "module_type" : "SwiftTarget",
      "name" : "AsyncDownSamplingImage",
      "path" : "Sources/AsyncDownSamplingImage",
      "product_memberships" : [
        "AsyncDownSamplingImage"
      ],
      "sources" : [
        "AsyncDownSamplingImage.swift",
        "Downsampling.swift",
        "Incremental.swift",
        "IncrementalImage.swift",
        "TypeCompatibility.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.