Build Information
Successful build of AKCacheManager, reference main (039753), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 21:28:26 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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
========================================
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 / 71]
[35 / 71]
[39 / 71]
[40 / 71]
[44 / 71]
[46 / 71]
[49 / 71]
[52 / 71]
[54 / 71]
[55 / 71]
[62 / 71] AKCacheManager
[68 / 71] AKCacheManager
Build complete! (7.22 sec)
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:56:30: [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'CacheManager<Key, Value>?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m class CacheManager<Key: Hashable, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'CacheManager' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m private var memoryCache: AnyCachePolicy<Key, Value>
[0;36m:[0;0m
[0;36m54 |[0;0m
[0;36m55 |[0;0m ioQueue.async { [weak self] in
[0;36m56 |[0;0m guard let self = self else { return }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'self' with non-Sendable type 'CacheManager<Key, Value>?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m57 |[0;0m let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
[0;36m58 |[0;0m do {
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:57:81: [1;33mwarning: [1;39mcapture of 'key' with non-Sendable type 'Key' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m class CacheManager<Key: Hashable, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Key' conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m private var memoryCache: AnyCachePolicy<Key, Value>
[0;36m:[0;0m
[0;36m55 |[0;0m ioQueue.async { [weak self] in
[0;36m56 |[0;0m guard let self = self else { return }
[0;36m57 |[0;0m let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'key' with non-Sendable type 'Key' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m58 |[0;0m do {
[0;36m59 |[0;0m // if let image = value as? UIImage, let data = image.pngData() {
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:62:31: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'Value?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m class CacheManager<Key: Hashable, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m
[0;36m17 |[0;0m private var memoryCache: AnyCachePolicy<Key, Value>
[0;36m:[0;0m
[0;36m60 |[0;0m // try data.write(to: fileURL)
[0;36m61 |[0;0m // }
[0;36m62 |[0;0m if let data = value as? Data {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'Value?' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m63 |[0;0m try data.write(to: fileURL)
[0;36m64 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/AKCacheManager/AKCacheManager.swift:56:30: [1;33mwarning: [1;39mcapture of non-Sendable type 'Key.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m54 |[0;0m
[0;36m55 |[0;0m ioQueue.async { [weak self] in
[0;36m56 |[0;0m guard let self = self else { return }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Key.Type' in an isolated closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m57 |[0;0m let fileURL = self.diskCacheURL.appendingPathComponent( getKey(for: key) )
[0;36m58 |[0;0m 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",
"LFUCache.swift",
"LRUCache.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Done.