The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AKCacheManager, reference main (039753), with Swift 6.1 for macOS (SPM) on 24 Aug 2025 16:13:47 UTC.

Swift 6 data race errors: 0

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: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnupamKatiyar/AKCacheManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnupamKatiyar/AKCacheManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0397536 Update README.md
Cloned https://github.com/AnupamKatiyar/AKCacheManager.git
Revision (git rev-parse @):
0397536d8f46554c27f2f5ca2de8b4217a6137d6
SUCCESS checkout https://github.com/AnupamKatiyar/AKCacheManager.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",
  "dependencies": [
    {
      "identity": "akcachemanager",
      "name": "AKCacheManager",
      "url": "https://github.com/AnupamKatiyar/AKCacheManager.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AKCacheManager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AnupamKatiyar/AKCacheManager.git
[1/40] Fetching akcachemanager
Fetched https://github.com/AnupamKatiyar/AKCacheManager.git from cache (0.62s)
Creating working copy for https://github.com/AnupamKatiyar/AKCacheManager.git
Working copy of https://github.com/AnupamKatiyar/AKCacheManager.git resolved at main (0397536)
warning: '.resolve-product-dependencies': dependency 'akcachemanager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AnupamKatiyar/AKCacheManager.git
https://github.com/AnupamKatiyar/AKCacheManager.git
{
  "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",
        "LFUCache.swift",
        "LRUCache.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling AKCacheManager ImageCachePolicy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/9] Compiling AKCacheManager DoublyLinkedList.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/9] Compiling AKCacheManager LFUCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/9] Compiling AKCacheManager CommonCrypto.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/9] Compiling AKCacheManager LRUCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/9] Emitting module AKCacheManager
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/9] Compiling AKCacheManager AKCacheManager.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
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
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
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
58 |             do {
59 | //                if let image = value as? UIImage, let data = image.pngData() {
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:62:31: warning: capture of 'value' with non-sendable type 'Value?' in a '@Sendable' closure
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>
   :
60 | //                    try data.write(to: fileURL)
61 | //                }
62 |                 if let data = value as? Data {
   |                               `- warning: capture of 'value' with non-sendable type 'Value?' in a '@Sendable' closure
63 |                     try data.write(to: fileURL)
64 |                 }
Build complete! (4.73s)
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",
        "LFUCache.swift",
        "LRUCache.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.