Build Information
Successful build of SpotCache, reference master (a4195c), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:03:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shawnclovie/spotcache.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shawnclovie/spotcache
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a4195ca remove scaleFactor of CacheOption since wasn't used. append connection to CacheOption for make request. change CacheFetchingInfo#task as weak.
Cloned https://github.com/shawnclovie/spotcache.git
Revision (git rev-parse @):
a4195ca246d6c228b1430bbc0076d74c8c9f496c
SUCCESS checkout https://github.com/shawnclovie/spotcache.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/shawnclovie/spotcache.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/48] Emitting module Spot
[5/52] Compiling Spot Substring+.swift
[6/52] Compiling Spot UI+.swift
[7/52] Compiling Spot URL+.swift
[8/52] Compiling Spot AppStoreProductViewController.swift
[9/52] Compiling Spot UIApplication+.swift
[10/52] Compiling Spot Data+.swift
[11/52] Compiling Spot DispatchQueue+.swift
[12/52] Compiling Spot Error+.swift
[13/52] Compiling Spot Notification+.swift
[14/52] Compiling Spot String+.swift
[15/52] Compiling Spot Suffix.swift
[16/52] Compiling Spot SynchronizableValue.swift
[17/52] Compiling Spot TypeConvertion.swift
[18/52] Compiling Spot UserDefaultsItem.swift
[19/52] Compiling Spot HashAlgorithm.swift
[20/52] Compiling Spot SymmetricCryptor.swift
[21/52] Compiling Spot Bundle+.swift
[22/52] Compiling Spot CFDictionary+.swift
[23/52] Compiling Spot CGColor+.swift
[24/52] Compiling Spot URLTask.swift
[25/52] Compiling Spot URLTaskFormFileItem.swift
[26/52] Compiling Spot AnyCodable.swift
[27/52] Compiling Spot AttributedError.swift
[28/52] Compiling Spot CollectionSerializable.swift
[29/52] Compiling Spot UIImage+.swift
[30/52] Compiling Spot NetworkObserver.swift
[31/52] Compiling Spot URLConnection.swift
[32/52] Compiling Spot URLParameters.swift
[33/52] Compiling Spot URLRequest+.swift
[34/52] Compiling Spot DecimalColor.swift
[35/52] Compiling Spot EventObservable.swift
[36/52] Compiling Spot GroupSharedData.swift
[37/52] Compiling Spot KeyValueObserver.swift
[38/52] Compiling Spot Localization.swift
[39/52] Compiling Spot Logger.swift
[40/52] Compiling Spot MD5Digest.swift
[41/52] Compiling Spot NotificationObserver.swift
[42/52] Compiling Spot Ref.swift
[43/52] Compiling Spot Status.swift
[44/52] Compiling Spot CGContext+.swift
[45/52] Compiling Spot CGImage+.swift
[46/52] Compiling Spot CGImageSource+.swift
[47/52] Compiling Spot CGSize+.swift
[48/52] Compiling Spot Collection+.swift
[49/52] Compiling Spot Version.swift
[50/52] Compiling Spot WeakRef.swift
[51/52] Compiling Spot WeakTimer.swift
[52/52] Compiling Spot Zip.swift
[53/59] Compiling SpotCache Extension+DataConvertable.swift
[54/59] Compiling SpotCache CacheOption.swift
[55/59] Compiling SpotCache SpotCache.swift
[56/59] Compiling SpotCache DataConvertable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/DataConvertable.swift:15:40: warning: cannot use enum 'Source' here; 'Spot' was not imported by this file
13 | associatedtype ItemType
14 |
15 | static func convert(from source: Data.Source) -> ItemType?
| `- warning: cannot use enum 'Source' here; 'Spot' was not imported by this file
16 |
17 | func convertToData() -> Data?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Extension/Data+.swift:12:14: note: enum declared here
10 |
11 | extension Data: SuffixProtocol {
12 | public enum Source {
| `- note: enum declared here
13 | case path(URL)
14 | case data(Data)
[57/59] Compiling SpotCache CacheFetchingInfo.swift
[58/59] Compiling SpotCache Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:107:15: warning: capture of non-sendable type 'T.Type' in an isolated closure
105 | var err: Error?
106 | do {
107 | let dir = self.cacheDirectory
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
108 | try self.fileManager.removeItem(at: dir)
109 | try self.fileManager.createDirectory(at: dir, withIntermediateDirectories: true, attributes: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:103:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
101 | // MARK: - Clear & Clean
102 |
103 | public func clearDiskCache(_ completion: ((Error?)->Void)? = nil) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
104 | ioQueue.async {
105 | var err: Error?
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:122:53: warning: capture of non-sendable type 'T.Type' in an isolated closure
120 | // Do things in cocurrent io queue
121 | ioQueue.async {
122 | var (deletingURLs, diskCacheSize, cachedFiles) = self.travelCachedFiles(onlyForCacheSize: false)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
123 | for fileURL in deletingURLs {
124 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:119:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
117 | }
118 |
119 | public func cleanExpiredDiskCache(_ completion: (()->Void)?) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
120 | // Do things in cocurrent io queue
121 | ioQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:216:20: warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | public func saveToDisk(_ data: Data, downloadFrom url: URL, completion: ((Bool)->Void)?) {
215 | ioQueue.async {
216 | let cachePath = self.cachePath(for: url)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
217 | var success = false
218 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:214:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
212 | }
213 |
214 | public func saveToDisk(_ data: Data, downloadFrom url: URL, completion: ((Bool)->Void)?) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
215 | ioQueue.async {
216 | let cachePath = self.cachePath(for: url)
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:241:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | var err: Error?
240 | do {
241 | try self.fileManager.removeItem(at: self.cachePath(for: url))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
242 | } catch {
243 | err = error
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/Cache.swift:232:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
230 | }
231 |
232 | public func removeItem(downloadFrom url: URL,
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
233 | fromDisk: Bool = true,
234 | completion: ((Error?)->Void)? = nil) {
[59/59] Emitting module SpotCache
/Users/admin/builder/spi-builder-workspace/Sources/SpotCache/DataConvertable.swift:15:40: warning: cannot use enum 'Source' here; 'Spot' was not imported by this file
13 | associatedtype ItemType
14 |
15 | static func convert(from source: Data.Source) -> ItemType?
| `- warning: cannot use enum 'Source' here; 'Spot' was not imported by this file
16 |
17 | func convertToData() -> Data?
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Extension/Data+.swift:12:14: note: enum declared here
10 |
11 | extension Data: SuffixProtocol {
12 | public enum Source {
| `- note: enum declared here
13 | case path(URL)
14 | case data(Data)
Build complete! (10.01s)
Fetching https://github.com/shawnclovie/Spot
[8/358] Fetching spot
Fetched https://github.com/shawnclovie/Spot from cache (0.68s)
Computing version for https://github.com/shawnclovie/Spot
Computed https://github.com/shawnclovie/Spot at 1.2.1 (1.19s)
Creating working copy for https://github.com/shawnclovie/Spot
Working copy of https://github.com/shawnclovie/Spot resolved at 1.2.1
Build complete.
{
"dependencies" : [
{
"identity" : "spot",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shawnclovie/Spot"
}
],
"manifest_display_name" : "SpotCache",
"name" : "SpotCache",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SpotCache",
"targets" : [
"SpotCache"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpotCacheTests",
"module_type" : "SwiftTarget",
"name" : "SpotCacheTests",
"path" : "Sources/SpotCacheTests",
"product_dependencies" : [
"Spot"
],
"sources" : [
"SpotCacheTests.swift"
],
"target_dependencies" : [
"SpotCache"
],
"type" : "test"
},
{
"c99name" : "SpotCache",
"module_type" : "SwiftTarget",
"name" : "SpotCache",
"path" : "Sources/SpotCache",
"product_dependencies" : [
"Spot"
],
"product_memberships" : [
"SpotCache"
],
"sources" : [
"Cache.swift",
"CacheFetchingInfo.swift",
"CacheOption.swift",
"DataConvertable.swift",
"Extension+DataConvertable.swift",
"SpotCache.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.