The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AllCache, reference master (2fe87f), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 16:26:15 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/JuanjoArreola/AllCache.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JuanjoArreola/AllCache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2fe87f2 Merge branch 'new'
Cloned https://github.com/JuanjoArreola/AllCache.git
Revision (git rev-parse @):
2fe87f2690c13cb7a012f5346cf3824477aec512
SUCCESS checkout https://github.com/JuanjoArreola/AllCache.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/JuanjoArreola/AllCache.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/20] Compiling ShallowPromises PromiseFailure.swift
[7/20] Compiling Logg Logger.swift
[8/20] Compiling Logg LogLevel.swift
[9/20] Compiling Logg LogFormatter.swift
[10/20] Compiling Logg LogContext.swift
[11/20] Compiling Logg CompositeLogger.swift
[12/20] Compiling Logg DefaultFormatter.swift
[13/20] Compiling Logg ConsoleFormatter.swift
[14/20] Compiling Logg ConsoleLogger.swift
[15/20] Emitting module Logg
[16/20] Compiling Logg FileLogger.swift
[17/20] Compiling ShallowPromises Cancellable.swift
[18/20] Compiling ShallowPromises Promise.swift
[19/20] Compiling ShallowPromises Futures.swift
[20/20] Emitting module ShallowPromises
[21/30] Compiling AllCache ElementDescriptor.swift
[22/30] Compiling AllCache Processor.swift
[23/30] Compiling AllCache Serializer.swift
[24/30] Compiling AllCache MemoryCache.swift
[25/30] Compiling AllCache Fetcher.swift
[26/30] Compiling AllCache JSONSerializer.swift
[27/30] Emitting module AllCache
[28/30] Compiling AllCache Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:52:18: warning: capture of non-sendable type 'F.Type' in an isolated closure
 50 |         let promise = createPromise(for: descriptor)
 51 |         workingQueue.async {
 52 |             self.searchOnDisk(descriptor: descriptor, promise: promise)
    |                  `- warning: capture of non-sendable type 'F.Type' in an isolated closure
 53 |         }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:52:13: warning: capture of non-sendable type 'S.Type' in an isolated closure
 50 |         let promise = createPromise(for: descriptor)
 51 |         workingQueue.async {
 52 |             self.searchOnDisk(descriptor: descriptor, promise: promise)
    |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 53 |         }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:44:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 42 |     }
 43 |
 44 |     public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 45 |         if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
 46 |             return Promise().fulfill(with: result)
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:44:42: warning: capture of non-sendable type 'F.Type' in an isolated closure
 42 |     }
 43 |
 44 |     public func instance<F: Fetcher>(for descriptor: ElementDescriptor<T, F>) -> Promise<T> where F.T == T {
    |                                          `- warning: capture of non-sendable type 'F.Type' in an isolated closure
 45 |         if let result = memoryCache.instance(forKey: descriptor.descriptorKey) {
 46 |             return Promise().fulfill(with: result)
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:139:23: warning: capture of non-sendable type 'S.Type' in an isolated closure
137 |         memoryCache.set(instance, forKey: key)
138 |         workingQueue.async {
139 |             try? self.diskCache.set(instance, forKey: key)
    |                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
140 |         }
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:136:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
134 |     // MARK: - Set
135 |
136 |     open func set(_ instance: T, forKey key: String) {
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
137 |         memoryCache.set(instance, forKey: key)
138 |         workingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:148:23: warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |         memoryCache.removeInstance(forKey: key)
147 |         workingQueue.async {
148 |             try? self.diskCache.removeInstance(forKey: key)
    |                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
149 |         }
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:145:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
143 |     // MARK: - Delete
144 |
145 |     open func removeInstance(forKey key: String) {
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |         memoryCache.removeInstance(forKey: key)
147 |         workingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:155:18: warning: capture of non-sendable type 'S.Type' in an isolated closure
153 |         memoryCache.clear()
154 |         workingQueue.async {
155 |             self.diskCache.clear()
    |                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure
156 |         }
157 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/Cache.swift:152:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
150 |     }
151 |
152 |     open func clear() {
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
153 |         memoryCache.clear()
154 |         workingQueue.async {
[29/30] Compiling AllCache AllCacheFormatter.swift
[30/30] Compiling AllCache DiskCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:44:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 42 |             result = try serializer.deserialize(Data(contentsOf: url))
 43 |             diskQueue.async(flags: .barrier) {
 44 |                 self.updateLastAccess(ofKey: key)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 45 |             }
 46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:35:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 33 |     }
 34 |
 35 |     public func instance(forKey key: String) throws -> T? {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 36 |         var result: T?
 37 |         try diskQueue.sync {
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:52:23: warning: capture of non-sendable type 'S.Type' in an isolated closure
 50 |     public func removeInstance(forKey key: String) throws {
 51 |         diskQueue.async(flags: .barrier) {
 52 |             let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
    |                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 53 |             let attributes = try? self.fileManager.attributesOfItem(atPath: url.path)
 54 |             try? self.fileManager.removeItem(at: url)
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:50:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 48 |     }
 49 |
 50 |     public func removeInstance(forKey key: String) throws {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 51 |         diskQueue.async(flags: .barrier) {
 52 |             let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:64:36: warning: capture of non-sendable type 'S.Type' in an isolated closure
 62 |         diskQueue.async(flags: .barrier) {
 63 |             let resourceKeys: [URLResourceKey] = [.contentAccessDateKey, .totalFileAllocatedSizeKey]
 64 |             guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: resourceKeys) else {
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 65 |                 return
 66 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:61:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 59 |     }
 60 |
 61 |     public func remove(olderThan limit: Date) {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 62 |         diskQueue.async(flags: .barrier) {
 63 |             let resourceKeys: [URLResourceKey] = [.contentAccessDateKey, .totalFileAllocatedSizeKey]
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:86:23: warning: capture of non-sendable type 'S.Type' in an isolated closure
 84 |     public func set(data: Data, forKey key: String) throws {
 85 |         diskQueue.async(flags: .barrier) {
 86 |             let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
    |                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 87 |             try? data.write(to: url, options: .atomicWrite)
 88 |             self.size += data.count
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:84:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 82 |     }
 83 |
 84 |     public func set(data: Data, forKey key: String) throws {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 85 |         diskQueue.async(flags: .barrier) {
 86 |             let url = self.cacheDirectory.appendingPathComponent(validkey(from: key))
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:95:36: warning: capture of non-sendable type 'S.Type' in an isolated closure
 93 |     public func clear() {
 94 |         diskQueue.async(flags: .barrier) {
 95 |             guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: nil) else { return }
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 96 |             for case let url as URL in enumerator {
 97 |                 self.removeIfPossible(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:93:17: warning: capture of non-sendable type 'S.Type' in an isolated closure
 91 |     }
 92 |
 93 |     public func clear() {
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure
 94 |         diskQueue.async(flags: .barrier) {
 95 |             guard let enumerator = self.cacheDirectory.enumerator(includingPropertiesForKeys: nil) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:120:16: warning: capture of non-sendable type 'S.Type' in an isolated closure
118 |         }
119 |         diskQueue.async {
120 |             if self.shrinking { return }
    |                `- warning: capture of non-sendable type 'S.Type' in an isolated closure
121 |             self.shrinking = true
122 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/AllCache/DiskCache.swift:115:10: warning: capture of non-sendable type 'S.Type' in an isolated closure
113 |     }
114 |
115 |     func restrictSize() {
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure
116 |         guard maxCapacity > 0, size > maxCapacity else {
117 |             return
[31/41] Compiling ImageCache UIImageView+ImageCache.swift
[32/42] Compiling ImageCache UIViewContentMode+Util.swift
[33/42] Compiling ImageCache JPEGImageSerializer.swift
[34/42] Compiling ImageCache Networking.swift
[35/42] Compiling ImageCache PNGImageSerializer.swift
[36/42] Compiling ImageCache UIButton+ImageCache.swift
[37/42] Compiling ImageCache ResizeFunctions.swift
[38/42] Compiling ImageCache ImageSerializer.swift
[39/42] Compiling ImageCache ImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCache/ImageFetcher.swift:69:1: warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
67 | }
68 |
69 | extension URLSessionTask: Cancellable {}
   | |- warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
70 |
[40/42] Compiling ImageCache ImageFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageCache/ImageFetcher.swift:69:1: warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
67 | }
68 |
69 | extension URLSessionTask: Cancellable {}
   | |- warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
70 |
[41/42] Emitting module ImageCache
/Users/admin/builder/spi-builder-workspace/Sources/ImageCache/ImageFetcher.swift:69:1: warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
67 | }
68 |
69 | extension URLSessionTask: Cancellable {}
   | |- warning: extension declares a conformance of imported type 'URLSessionTask' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
70 |
[42/42] Compiling ImageCache ImageResizer.swift
Build complete! (13.99s)
Fetching https://github.com/JuanjoArreola/Logg.git
Fetching https://github.com/JuanjoArreola/ShallowPromises.git
[1/159] Fetching logg
[43/222] Fetching logg, shallowpromises
Fetched https://github.com/JuanjoArreola/ShallowPromises.git from cache (0.61s)
Fetched https://github.com/JuanjoArreola/Logg.git from cache (0.62s)
Computing version for https://github.com/JuanjoArreola/ShallowPromises.git
Computed https://github.com/JuanjoArreola/ShallowPromises.git at 0.7.1 (1.17s)
Computing version for https://github.com/JuanjoArreola/Logg.git
Computed https://github.com/JuanjoArreola/Logg.git at 2.4.1 (0.47s)
Creating working copy for https://github.com/JuanjoArreola/Logg.git
Working copy of https://github.com/JuanjoArreola/Logg.git resolved at 2.4.1
Creating working copy for https://github.com/JuanjoArreola/ShallowPromises.git
Working copy of https://github.com/JuanjoArreola/ShallowPromises.git resolved at 0.7.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "shallowpromises",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.7.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JuanjoArreola/ShallowPromises.git"
    },
    {
      "identity" : "logg",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JuanjoArreola/Logg.git"
    }
  ],
  "manifest_display_name" : "AllCache",
  "name" : "AllCache",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AllCache",
      "targets" : [
        "AllCache",
        "ImageCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImageCacheTests",
      "module_type" : "SwiftTarget",
      "name" : "ImageCacheTests",
      "path" : "Tests/ImageCacheTests",
      "sources" : [
        "ImageCacheTests.swift"
      ],
      "target_dependencies" : [
        "ImageCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ImageCache",
      "module_type" : "SwiftTarget",
      "name" : "ImageCache",
      "path" : "Sources/ImageCache",
      "product_memberships" : [
        "AllCache"
      ],
      "sources" : [
        "ImageCache.swift",
        "ImageFetcher.swift",
        "ImageResizer.swift",
        "ImageSerializer.swift",
        "JPEGImageSerializer.swift",
        "Networking.swift",
        "PNGImageSerializer.swift",
        "ResizeFunctions.swift",
        "UIButton+ImageCache.swift",
        "UIImageView+ImageCache.swift",
        "UIViewContentMode+Util.swift"
      ],
      "target_dependencies" : [
        "AllCache"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AllCacheTests",
      "module_type" : "SwiftTarget",
      "name" : "AllCacheTests",
      "path" : "Tests/AllCacheTests",
      "sources" : [
        "CacheTests.swift",
        "DiskTests.swift",
        "Icecream.swift"
      ],
      "target_dependencies" : [
        "AllCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AllCache",
      "module_type" : "SwiftTarget",
      "name" : "AllCache",
      "path" : "Sources/AllCache",
      "product_dependencies" : [
        "ShallowPromises",
        "Logg"
      ],
      "product_memberships" : [
        "AllCache"
      ],
      "sources" : [
        "AllCacheFormatter.swift",
        "Cache.swift",
        "DiskCache.swift",
        "ElementDescriptor.swift",
        "Fetcher.swift",
        "JSONSerializer.swift",
        "MemoryCache.swift",
        "Processor.swift",
        "Serializer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.