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 ImageSizeFetcher, reference 0.9.1 (1274a3), with Swift 6.0 for macOS (SPM) on 18 Jul 2024 01:39:38 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.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.46.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/ImageSizeFetcher.git
Reference: 0.9.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/ImageSizeFetcher
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at 1274a32 Merge branch 'release/0.9.1'
Cloned https://github.com/malcommac/ImageSizeFetcher.git
Revision (git rev-parse @):
1274a32d7f2f8f269932f54b243161d11f6ef574
SUCCESS checkout https://github.com/malcommac/ImageSizeFetcher.git at 0.9.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/malcommac/ImageSizeFetcher.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.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/6] Compiling ImageSizeFetcher ImageSizeFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcher.swift:39:14: warning: non-final class 'ImageSizeFetcher' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 | #endif
 38 |
 39 | public class ImageSizeFetcher: NSObject, URLSessionDataDelegate {
    |              `- warning: non-final class 'ImageSizeFetcher' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 40 |
 41 | 	/// Callback type alias
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcher.swift:45:14: warning: stored property 'session' of 'Sendable'-conforming class 'ImageSizeFetcher' is mutable; this is an error in the Swift 6 language mode
 43 |
 44 | 	/// URL Session used to download data
 45 | 	private var session: URLSession!
    |              `- warning: stored property 'session' of 'Sendable'-conforming class 'ImageSizeFetcher' is mutable; this is an error in the Swift 6 language mode
 46 |
 47 | 	/// Queue of active operations
[4/6] Compiling ImageSizeFetcher ImageSizeFetcherOp.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcherOp.swift:39:16: warning: class 'ImageSizeFetcherOp' must restate inherited '@unchecked Sendable' conformance
 37 | #endif
 38 |
 39 | internal class ImageSizeFetcherOp: Operation {
    |                `- warning: class 'ImageSizeFetcherOp' must restate inherited '@unchecked Sendable' conformance
 40 |
 41 | 	/// Callback to call at the end of the operation
[5/6] Emitting module ImageSizeFetcher
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcher.swift:39:14: warning: non-final class 'ImageSizeFetcher' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 | #endif
 38 |
 39 | public class ImageSizeFetcher: NSObject, URLSessionDataDelegate {
    |              `- warning: non-final class 'ImageSizeFetcher' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 40 |
 41 | 	/// Callback type alias
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcher.swift:45:14: warning: stored property 'session' of 'Sendable'-conforming class 'ImageSizeFetcher' is mutable; this is an error in the Swift 6 language mode
 43 |
 44 | 	/// URL Session used to download data
 45 | 	private var session: URLSession!
    |              `- warning: stored property 'session' of 'Sendable'-conforming class 'ImageSizeFetcher' is mutable; this is an error in the Swift 6 language mode
 46 |
 47 | 	/// Queue of active operations
/Users/admin/builder/spi-builder-workspace/Sources/ImageSizeFetcher/ImageSizeFetcherOp.swift:39:16: warning: class 'ImageSizeFetcherOp' must restate inherited '@unchecked Sendable' conformance
 37 | #endif
 38 |
 39 | internal class ImageSizeFetcherOp: Operation {
    |                `- warning: class 'ImageSizeFetcherOp' must restate inherited '@unchecked Sendable' conformance
 40 |
 41 | 	/// Callback to call at the end of the operation
[6/6] Compiling ImageSizeFetcher ImageSizeFetcherParser.swift
Build complete! (8.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ImageSizeFetcher",
  "name" : "ImageSizeFetcher",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ImageSizeFetcher",
      "targets" : [
        "ImageSizeFetcher"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImageSizeFetcherTests",
      "module_type" : "SwiftTarget",
      "name" : "ImageSizeFetcherTests",
      "path" : "Tests/ImageSizeFetcherTests",
      "sources" : [
        "ImageSizeFetcherTests.swift"
      ],
      "target_dependencies" : [
        "ImageSizeFetcher"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ImageSizeFetcher",
      "module_type" : "SwiftTarget",
      "name" : "ImageSizeFetcher",
      "path" : "Sources/ImageSizeFetcher",
      "product_memberships" : [
        "ImageSizeFetcher"
      ],
      "sources" : [
        "ImageSizeFetcher.swift",
        "ImageSizeFetcherOp.swift",
        "ImageSizeFetcherParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.