The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swiftui-cached-async-image, reference main (5cbde7), with Swift 6.1 for macOS (SPM) on 15 Jul 2026 07:30:47 UTC.

Swift 6 data race errors: 2

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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lorenzofiamingo/swiftui-cached-async-image.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lorenzofiamingo/swiftui-cached-async-image
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5cbde70 fix: visionOS is available from 5.9 (#42)
Cloned https://github.com/lorenzofiamingo/swiftui-cached-async-image.git
Revision (git rev-parse @):
5cbde7099f61fc766d686406bad32258b08ae6eb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/lorenzofiamingo/swiftui-cached-async-image.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lorenzofiamingo/swiftui-cached-async-image.git
https://github.com/lorenzofiamingo/swiftui-cached-async-image.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swiftui-cached-async-image",
  "name" : "swiftui-cached-async-image",
  "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"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CachedAsyncImage",
      "targets" : [
        "CachedAsyncImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CachedAsyncImage",
      "module_type" : "SwiftTarget",
      "name" : "CachedAsyncImage",
      "path" : "Sources/CachedAsyncImage",
      "product_memberships" : [
        "CachedAsyncImage"
      ],
      "sources" : [
        "CachedAsyncImage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/6] Emitting module CachedAsyncImage
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:389:15: warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
387 | // MARK: - AsyncImageURLSession
388 |
389 | 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
390 |
391 |     var metrics: URLSessionTaskMetrics?
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:391:9: warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
389 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
390 |
391 |     var metrics: URLSessionTaskMetrics?
    |         `- warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
392 |
393 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
[6/6] Compiling CachedAsyncImage CachedAsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:389:15: warning: non-final class 'URLSessionTaskController' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
387 | // MARK: - AsyncImageURLSession
388 |
389 | 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
390 |
391 |     var metrics: URLSessionTaskMetrics?
/Users/admin/builder/spi-builder-workspace/Sources/CachedAsyncImage/CachedAsyncImage.swift:391:9: warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
389 | private class URLSessionTaskController: NSObject, URLSessionTaskDelegate {
390 |
391 |     var metrics: URLSessionTaskMetrics?
    |         `- warning: stored property 'metrics' of 'Sendable'-conforming class 'URLSessionTaskController' is mutable; this is an error in the Swift 6 language mode
392 |
393 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
Build complete! (23.16s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2325] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.15s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (4.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.02s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.66s)
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.5.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swiftui-cached-async-image",
  "name" : "swiftui-cached-async-image",
  "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"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "CachedAsyncImage",
      "targets" : [
        "CachedAsyncImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CachedAsyncImage",
      "module_type" : "SwiftTarget",
      "name" : "CachedAsyncImage",
      "path" : "Sources/CachedAsyncImage",
      "product_memberships" : [
        "CachedAsyncImage"
      ],
      "sources" : [
        "CachedAsyncImage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.