The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of NSAsyncCachedImage, reference main (e47711), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 04:06:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nssina/NSAsyncCachedImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nssina/NSAsyncCachedImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e477115 Fix compile error on Xcode 14.3
Cloned https://github.com/nssina/NSAsyncCachedImage.git
Revision (git rev-parse @):
e477115efaac96019b3c897f10e6c6c279a27820
SUCCESS checkout https://github.com/nssina/NSAsyncCachedImage.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nssina/NSAsyncCachedImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Emitting module NSAsyncCachedImage
[4/5] Compiling NSAsyncCachedImage NSAsyncNetwork.swift
/Users/admin/builder/spi-builder-workspace/Sources/NSAsyncCachedImage/Networking/NSAsyncNetwork.swift:31:40: warning: capture of 'self' with non-sendable type 'NSAsyncNetwork' in a '@Sendable' closure [#SendableClosureCaptures]
12 | }
13 |
14 | final class NSAsyncNetwork: ObservableObject, NSAsyncNetworkDelegate {
   |             `- note: class 'NSAsyncNetwork' does not conform to the 'Sendable' protocol
15 |     @Published var data = Data()
16 |
   :
29 |
30 |         if let data = cache.cachedResponse(for: request)?.data {
31 |             DispatchQueue.main.async { self.data = data }
   |                                        `- warning: capture of 'self' with non-sendable type 'NSAsyncNetwork' in a '@Sendable' closure [#SendableClosureCaptures]
32 |         } else {
33 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/NSAsyncCachedImage/Networking/NSAsyncNetwork.swift:38:44: warning: capture of 'self' with non-sendable type 'NSAsyncNetwork' in a '@Sendable' closure [#SendableClosureCaptures]
12 | }
13 |
14 | final class NSAsyncNetwork: ObservableObject, NSAsyncNetworkDelegate {
   |             `- note: class 'NSAsyncNetwork' does not conform to the 'Sendable' protocol
15 |     @Published var data = Data()
16 |
   :
36 |                 let cachedData = CachedURLResponse(response: response, data: data)
37 |                 cache.storeCachedResponse(cachedData, for: request)
38 |                 DispatchQueue.main.async { self.data = data }
   |                                            `- warning: capture of 'self' with non-sendable type 'NSAsyncNetwork' in a '@Sendable' closure [#SendableClosureCaptures]
39 |             } catch {
40 |                 print("Error:", error.localizedDescription)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[5/5] Compiling NSAsyncCachedImage NSAsyncCachedImage.swift
Build complete! (7.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NSAsyncCachedImage",
  "name" : "NSAsyncCachedImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NSAsyncCachedImage",
      "targets" : [
        "NSAsyncCachedImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NSAsyncCachedImageTests",
      "module_type" : "SwiftTarget",
      "name" : "NSAsyncCachedImageTests",
      "path" : "Tests/NSAsyncCachedImageTests",
      "sources" : [
        "NSAsyncCachedImageTests.swift"
      ],
      "target_dependencies" : [
        "NSAsyncCachedImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NSAsyncCachedImage",
      "module_type" : "SwiftTarget",
      "name" : "NSAsyncCachedImage",
      "path" : "Sources/NSAsyncCachedImage",
      "product_memberships" : [
        "NSAsyncCachedImage"
      ],
      "sources" : [
        "NSAsyncCachedImage.swift",
        "Networking/NSAsyncNetwork.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.