The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AKCacheManager, reference 1.0.1 (32eaf2), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 21:28:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnupamKatiyar/AKCacheManager.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnupamKatiyar/AKCacheManager
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 32eaf24 Added support for Having image as return type too.
Cloned https://github.com/AnupamKatiyar/AKCacheManager.git
Revision (git rev-parse @):
32eaf242cc8034aa31497e6a88afe36fd869a927
SUCCESS checkout https://github.com/AnupamKatiyar/AKCacheManager.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/AnupamKatiyar/AKCacheManager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] AKCacheManager
[30 / 100]
[33 / 100]
[41 / 100]
[44 / 100]
[45 / 100]
[51 / 100]
[53 / 100]
[56 / 100]
[61 / 100]
[64 / 100]
[66 / 100]
[67 / 100]
[76 / 100]
[78 / 100]
[79 / 100]
[81 / 100]
[83 / 100]
[91 / 100] AKCacheManager
[97 / 100] AKCacheManager
Build complete! (9.72 sec)
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:56:30: warning: capture of 'self' with non-Sendable type 'CacheManager<Key, Value>?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
13 | }
14 |
15 | class CacheManager<Key: Hashable, Value> {
   |       `- note: generic class 'CacheManager' does not conform to the 'Sendable' protocol
16 |
17 |     private var memoryCache: AnyCachePolicy<Key, Value>
   :
54 |
55 |         ioQueue.async { [weak self] in
56 |             guard let self = self else { return }
   |                              `- warning: capture of 'self' with non-Sendable type 'CacheManager<Key, Value>?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
57 |             let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
58 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:57:81: warning: capture of 'key' with non-Sendable type 'Key' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
13 | }
14 |
15 | class CacheManager<Key: Hashable, Value> {
   |                    `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
16 |
17 |     private var memoryCache: AnyCachePolicy<Key, Value>
   :
55 |         ioQueue.async { [weak self] in
56 |             guard let self = self else { return }
57 |             let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
   |                                                                                 `- warning: capture of 'key' with non-Sendable type 'Key' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
58 |             do {
59 |                 if let image = value as? ImageType, let data = image.pngData() {
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:59:32: warning: capture of 'value' with non-Sendable type 'Value?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
13 | }
14 |
15 | class CacheManager<Key: Hashable, Value> {
   |                                   `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
16 |
17 |     private var memoryCache: AnyCachePolicy<Key, Value>
   :
57 |             let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
58 |             do {
59 |                 if let image = value as? ImageType, let data = image.pngData() {
   |                                `- warning: capture of 'value' with non-Sendable type 'Value?' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
60 |                     try data.write(to: fileURL)
61 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:56:30: warning: capture of non-Sendable type 'Key.Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
54 |
55 |         ioQueue.async { [weak self] in
56 |             guard let self = self else { return }
   |                              `- warning: capture of non-Sendable type 'Key.Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
57 |             let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
58 |             do {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AKCacheManager",
  "name" : "AKCacheManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AKCacheManager",
      "targets" : [
        "AKCacheManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AKCacheManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "AKCacheManagerTests",
      "path" : "Tests/AKCacheManagerTests",
      "sources" : [
        "AKCacheManagerTests.swift"
      ],
      "target_dependencies" : [
        "AKCacheManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AKCacheManager",
      "module_type" : "SwiftTarget",
      "name" : "AKCacheManager",
      "path" : "Sources/AKCacheManager",
      "product_memberships" : [
        "AKCacheManager"
      ],
      "sources" : [
        "AKCacheManager.swift",
        "CommonCrypto.swift",
        "DoublyLinkedList.swift",
        "ImageCachePolicy.swift",
        "ImageType.swift",
        "LFUCache.swift",
        "LRUCache.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.