The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NSAsyncCachedImage, reference main (e47711), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 15:24:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "nsasynccachedimage",
      "name": "NSAsyncCachedImage",
      "url": "https://github.com/nssina/NSAsyncCachedImage.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NSAsyncCachedImage",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nssina/NSAsyncCachedImage.git
[1/134] Fetching nsasynccachedimage
Fetched https://github.com/nssina/NSAsyncCachedImage.git from cache (0.94s)
Creating working copy for https://github.com/nssina/NSAsyncCachedImage.git
Working copy of https://github.com/nssina/NSAsyncCachedImage.git resolved at main (e477115)
warning: '.resolve-product-dependencies': dependency 'nsasynccachedimage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nssina/NSAsyncCachedImage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/5] Compiling NSAsyncCachedImage NSAsyncCachedImage.swift
[4/5] Emitting module NSAsyncCachedImage
[5/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>
Build complete! (7.89s)
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.