The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Cachyr, reference 1.3.1 (97aa6e), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 10:44:10 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nrkno/yr-cachyr.git
Reference: 1.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nrkno/yr-cachyr
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 97aa6e9 Added SPM support (#7)
Cloned https://github.com/nrkno/yr-cachyr.git
Revision (git rev-parse @):
97aa6e9b6154656190e0949bcc45f44fb65aec88
SUCCESS checkout https://github.com/nrkno/yr-cachyr.git at 1.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nrkno/yr-cachyr.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling Cachyr FileManager+xattr.swift
[4/9] Compiling Cachyr MemoryCache.swift
[5/9] Compiling Cachyr DataConvertable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataConvertable.swift:55:29: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
 53 |     public static func data(from value: Self) -> Data? {
 54 |         var theValue = value
 55 |         return Data(buffer: UnsafeBufferPointer(start: &theValue, count: 1))
    |                             |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
    |                             |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                             `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#TemporaryPointers]
 56 |     }
 57 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/9] Compiling Cachyr CacheLog.swift
[7/9] Compiling Cachyr DataCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:106:25: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
104 |     public func contains(key: String, access: DataCacheAccessOptions = .default, completion: @escaping (Bool) -> Void) {
105 |         accessQueue.async {
106 |             let found = self._contains(key: key, access: access)
    |                         `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
107 |             self.completionQueue.async {
108 |                 completion(found)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:104:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
102 |      Asynchronously check if value identified by key exists in cache.
103 |      */
104 |     public func contains(key: String, access: DataCacheAccessOptions = .default, completion: @escaping (Bool) -> Void) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
105 |         accessQueue.async {
106 |             let found = self._contains(key: key, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:144:30: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
142 |     public func value(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping ValueCompletion) {
143 |         accessQueue.async {
144 |             let value = self._value(for: key, access: access)
    |                              `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
145 |             self.completionQueue.async {
146 |                 completion(value)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:142:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
140 |      Asynchronously fetch value from cache.
141 |      */
142 |     public func value(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping ValueCompletion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
143 |         accessQueue.async {
144 |             let value = self._value(for: key, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:146:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
144 |             let value = self._value(for: key, access: access)
145 |             self.completionQueue.async {
146 |                 completion(value)
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
147 |             }
148 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:142:86: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
140 |      Asynchronously fetch value from cache.
141 |      */
142 |     public func value(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping ValueCompletion) {
    |                                                                                      `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
143 |         accessQueue.async {
144 |             let value = self._value(for: key, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:192:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
190 |     public func setValue(_ value: ValueType, forKey key: String, expires: Date? = nil, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
191 |         accessQueue.async {
192 |             self._setValue(value, for: key, expires: expires, access: access)
    |                  `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
193 |             self.completionQueue.async {
194 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:190:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
188 |      Asynchronously set value for key in both memory and disk caches, with optional expiration date.
189 |      */
190 |     public func setValue(_ value: ValueType, forKey key: String, expires: Date? = nil, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
191 |         accessQueue.async {
192 |             self._setValue(value, for: key, expires: expires, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:225:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
223 |     public func removeValue(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
224 |         accessQueue.async {
225 |             self._removeValue(for: key, access: access)
    |             `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
226 |             self.completionQueue.async {
227 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:223:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
221 |      Asynchronously remove value for key.
222 |      */
223 |     public func removeValue(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
224 |         accessQueue.async {
225 |             self._removeValue(for: key, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:258:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
256 |     public func removeAll(access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
257 |         accessQueue.async {
258 |             self._removeAll(access: access)
    |             `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
259 |             self.completionQueue.async {
260 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:256:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
254 |      Asynchronously remove all values in both memory and disk caches.
255 |      */
256 |     public func removeAll(access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
257 |         accessQueue.async {
258 |             self._removeAll(access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:291:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
289 |     public func removeExpired(access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
290 |         accessQueue.async {
291 |             self._removeExpired(access: access)
    |             `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
292 |             self.completionQueue.async {
293 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:289:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
287 |      Asynchronously remove expired values in both memory and disk caches.
288 |      */
289 |     public func removeExpired(access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
290 |         accessQueue.async {
291 |             self._removeExpired(access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:324:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
322 |     public func removeItems(olderThan date: Date, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
323 |         accessQueue.async {
324 |             self._removeItems(olderThan: date, access: access)
    |             `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
325 |             self.completionQueue.async {
326 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:322:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
320 |      Asynchronously remove items older than the specified date.
321 |      */
322 |     public func removeItems(olderThan date: Date, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
323 |         accessQueue.async {
324 |             self._removeItems(olderThan: date, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:359:24: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
357 |     public func expirationDate(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping (Date?) -> Void) {
358 |         accessQueue.async {
359 |             let date = self._expirationDate(for: key, access: access)
    |                        `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
360 |             self.completionQueue.async {
361 |                 completion(date)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:357:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
355 |      Asynchronously get expiration date for item identified by key.
356 |      */
357 |     public func expirationDate(forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping (Date?) -> Void) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
358 |         accessQueue.async {
359 |             let date = self._expirationDate(for: key, access: access)
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:397:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
395 |     public func setExpirationDate(_ date: Date?, forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
396 |         accessQueue.async {
397 |             self._setExpirationDate(date, for: key, access: access)
    |             `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
398 |             self.completionQueue.async {
399 |                 completion()
/Users/admin/builder/spi-builder-workspace/Sources/DataCache.swift:395:17: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
393 |      Set expiration date to nil to remove it.
394 |      */
395 |     public func setExpirationDate(_ date: Date?, forKey key: String, access: DataCacheAccessOptions = .default, completion: @escaping Completion) {
    |                 `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
396 |         accessQueue.async {
397 |             self._setExpirationDate(date, for: key, access: access)
[8/9] Emitting module Cachyr
[9/9] Compiling Cachyr DiskCache.swift
Build complete! (3.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cachyr",
  "name" : "Cachyr",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "Cachyr",
      "targets" : [
        "Cachyr"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CachyrTests",
      "module_type" : "SwiftTarget",
      "name" : "CachyrTests",
      "path" : "Tests/CachyrTests",
      "sources" : [
        "DataCacheAccessTests.swift",
        "DataCacheTests.swift",
        "DiskCacheTests.swift",
        "MemoryCacheTests.swift"
      ],
      "target_dependencies" : [
        "Cachyr"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cachyr",
      "module_type" : "SwiftTarget",
      "name" : "Cachyr",
      "path" : "Sources",
      "product_memberships" : [
        "Cachyr"
      ],
      "sources" : [
        "CacheLog.swift",
        "DataCache.swift",
        "DataConvertable.swift",
        "DiskCache.swift",
        "FileManager+xattr.swift",
        "MemoryCache.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.