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 CachedAsyncImage with Swift 6.0 (beta) for macOS (SPM) (eadc38) on 27 Jun 2024 02:23:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.2.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.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/CachedAsyncImage.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/CachedAsyncImage
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at eadc38d Initial version
Cloned https://github.com/0xWDG/CachedAsyncImage.git
Revision (git rev-parse @):
eadc38d05b17d5ba398d29707aee56c388c60ff1
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/0xWDG/CachedAsyncImage.git at 0.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0xWDG/CachedAsyncImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.2.app xcrun 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--14728B76ED507284.txt
[3/4] Emitting module CachedAsyncImage
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:338:15: warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
336 | // MARK: - AsyncImageURLSession
337 |
338 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
    |               `- warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
339 |     var metrics: URLSessionTaskMetrics?
340 |
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:339:9: warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
337 |
338 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
339 |     var metrics: URLSessionTaskMetrics?
    |         `- warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
340 |
341 |     // https://developer.apple.com/documentation/foundation/urlsessiontaskdelegate/1643148-urlsession
[4/4] Compiling CachedAsyncImage CachedAsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:338:15: warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
336 | // MARK: - AsyncImageURLSession
337 |
338 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
    |               `- warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
339 |     var metrics: URLSessionTaskMetrics?
340 |
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:339:9: warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
337 |
338 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
339 |     var metrics: URLSessionTaskMetrics?
    |         `- warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
340 |
341 |     // https://developer.apple.com/documentation/foundation/urlsessiontaskdelegate/1643148-urlsession
Build complete! (11.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CachedAsyncImage",
  "name" : "CachedAsyncImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CachedAsyncImage",
      "targets" : [
        "CachedAsyncImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CachedAsyncImageTests",
      "module_type" : "SwiftTarget",
      "name" : "CachedAsyncImageTests",
      "path" : "Tests/CachedAsyncImageTests",
      "sources" : [
        "CachedAsyncImageTests.swift"
      ],
      "target_dependencies" : [
        "CachedAsyncImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CachedAsyncImage",
      "module_type" : "SwiftTarget",
      "name" : "CachedAsyncImage",
      "path" : "Sources/CachedAsyncImage",
      "product_memberships" : [
        "CachedAsyncImage"
      ],
      "sources" : [
        "CachedAsyncImage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.