Build Information
Successful build of Carlos, reference master (26ca89
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 11:39:46 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/spring-media/Carlos.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/spring-media/Carlos
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 26ca894 Merge pull request #196 from spring-media/feature/migrate-to-action
Cloned https://github.com/spring-media/Carlos.git
Revision (git rev-parse @):
26ca894e3cef48a15b6da20803c31e5386ac45bd
SUCCESS checkout https://github.com/spring-media/Carlos.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/spring-media/Carlos.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/39] Emitting module Carlos
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'K.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'K.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'T.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
[4/43] Compiling Carlos FetcherValueTransformation.swift
[5/43] Compiling Carlos FunctionComposition.swift
[6/43] Compiling Carlos Logger.swift
[7/43] Compiling Carlos MemoryWarning.swift
[8/43] Compiling Carlos Fetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/NSUserDefaultsCacheLevel.swift:99:57: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
97 |
98 | if let cachedValue = self.safeInternalDomain[key.toString()] {
99 | if let unencodedObject = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(cachedValue) as? T {
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
100 | Logger.log("Fetched \(key.toString()) on user defaults level (domain \(self.domainName)")
101 | promise(.success(unencodedObject))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/43] Compiling Carlos MemoryCacheLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/NSUserDefaultsCacheLevel.swift:99:57: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
97 |
98 | if let cachedValue = self.safeInternalDomain[key.toString()] {
99 | if let unencodedObject = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(cachedValue) as? T {
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
100 | Logger.log("Fetched \(key.toString()) on user defaults level (domain \(self.domainName)")
101 | promise(.success(unencodedObject))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/43] Compiling Carlos NSUserDefaultsCacheLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/NSUserDefaultsCacheLevel.swift:99:57: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
97 |
98 | if let cachedValue = self.safeInternalDomain[key.toString()] {
99 | if let unencodedObject = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(cachedValue) as? T {
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
100 | Logger.log("Fetched \(key.toString()) on user defaults level (domain \(self.domainName)")
101 | promise(.success(unencodedObject))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/43] Compiling Carlos NetworkFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/NSUserDefaultsCacheLevel.swift:99:57: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
97 |
98 | if let cachedValue = self.safeInternalDomain[key.toString()] {
99 | if let unencodedObject = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(cachedValue) as? T {
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
100 | Logger.log("Fetched \(key.toString()) on user defaults level (domain \(self.domainName)")
101 | promise(.success(unencodedObject))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/43] Compiling Carlos StringConvertible.swift
[13/43] Compiling Carlos UnfairLock.swift
[14/43] Compiling Carlos CacheLevel+Batch.swift
[15/43] Compiling Carlos KeyTransformation.swift
[16/43] Compiling Carlos PoolCache.swift
[17/43] Compiling Carlos CacheProvider.swift
[18/43] Compiling Carlos Carlos.swift
[19/43] Compiling Carlos BasicCache.swift
[20/43] Compiling Carlos BatchAllCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'K.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'K.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'T.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:100:42: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
98 |
99 | if let data = try? Data(contentsOf: URL(fileURLWithPath: path)),
100 | let obj = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? T
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
101 | {
102 | Logger.log("DiskCacheLevel| Fetched \(key.toString()) on disk level", .info)
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'K.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'K.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/43] Compiling Carlos Composed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'K.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'K.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'T.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:100:42: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
98 |
99 | if let data = try? Data(contentsOf: URL(fileURLWithPath: path)),
100 | let obj = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? T
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
101 | {
102 | Logger.log("DiskCacheLevel| Fetched \(key.toString()) on disk level", .info)
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'K.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'K.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/43] Compiling Carlos Conditioned.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'K.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'K.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'T.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:100:42: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
98 |
99 | if let data = try? Data(contentsOf: URL(fileURLWithPath: path)),
100 | let obj = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? T
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
101 | {
102 | Logger.log("DiskCacheLevel| Fetched \(key.toString()) on disk level", .info)
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'K.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'K.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/43] Compiling Carlos DiskCacheLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'K.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:24:9: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 | didSet {
23 | cacheQueue.async {
24 | self.controlCapacity()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'K.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:22:5: warning: capture of non-sendable type 'T.Type' in an isolated closure
20 | /// The capacity of the cache
21 | public var capacity: UInt64 = 0 {
22 | didSet {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
23 | cacheQueue.async {
24 | self.controlCapacity()
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:57:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
55 |
56 | cacheQueue.async {
57 | self.calculateSize()
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
58 | self.controlCapacity()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'K.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:45:10: warning: capture of non-sendable type 'T.Type' in an isolated closure
43 | - parameter fileManager: The file manager to use. Defaults to the default NSFileManager. It's here mainly for dependency injection testing purposes.
44 | */
45 | public init(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
46 | path: String = (CarlosGlobals.caches as NSString).appendingPathComponent(CarlosGlobals.queueNamePrefix + "default"),
47 | capacity: UInt64 = 100 * 1024 * 1024,
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:100:42: warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
98 |
99 | if let data = try? Data(contentsOf: URL(fileURLWithPath: path)),
100 | let obj = try? NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as? T
| `- warning: 'unarchiveTopLevelObjectWithData' was deprecated in macOS 10.14: Use unarchivedObject(ofClass:from:) instead [#DeprecatedDeclaration]
101 | {
102 | Logger.log("DiskCacheLevel| Fetched \(key.toString()) on disk level", .info)
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:150:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
148 | public func clear() {
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
151 | _ = try? self.fileManager.removeItem(atPath: filePath)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'K.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:148:15: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | All the cached files will be removed from the disk storage
147 | */
148 | public func clear() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | cacheQueue.async {
150 | self.itemsInDirectory(self.path).forEach { filePath in
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'K.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:161:7: warning: capture of non-sendable type 'T.Type' in an isolated closure
159 | private func removeData(_ key: K) {
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
162 | }
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'K.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'K.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
/Users/admin/builder/spi-builder-workspace/Sources/Carlos/CacheLevels/DiskCacheLevel.swift:159:16: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | // MARK: Private
158 |
159 | private func removeData(_ key: K) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | cacheQueue.async {
161 | self.removeFileAtPath(self.pathForKey(key))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[24/43] Compiling Carlos Normalize.swift
[25/43] Compiling Carlos PostProcess.swift
[26/43] Compiling Carlos SwitchCache.swift
[27/43] Compiling Carlos ValueTransformation.swift
[28/43] Compiling Carlos ComposedOneWayTransformer.swift
[29/43] Compiling Carlos ComposedTwoWayTransformer.swift
[30/43] Compiling Carlos ConditionedOneWayTransformer.swift
[31/43] Compiling Carlos ConditionedOutputProcessing.swift
[32/43] Compiling Carlos BasicFetcher.swift
[33/43] Compiling Carlos Errors.swift
[34/43] Compiling Carlos ExpensiveObject.swift
[35/43] Compiling Carlos Extensions.swift
[36/43] Compiling Carlos ConditionedTwoWayTransformer.swift
[37/43] Compiling Carlos ConditionedValueTransformation.swift
[38/43] Compiling Carlos ImageTransformer.swift
[39/43] Compiling Carlos JSONTransformer.swift
[40/43] Compiling Carlos OneWayTransformer.swift
[41/43] Compiling Carlos StringTransformer.swift
[42/43] Compiling Carlos Transformers.swift
[43/43] Compiling Carlos TwoWayTransformer.swift
Build complete! (25.68s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14759] Fetching quick
[1182/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble.git from cache (11.00s)
Fetched https://github.com/Quick/Quick.git from cache (11.00s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (11.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.53s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.79s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.32s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.72s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.25s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Carlos",
"name" : "Carlos",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Carlos",
"targets" : [
"Carlos"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CarlosTests",
"module_type" : "SwiftTarget",
"name" : "CarlosTests",
"path" : "Tests/CarlosTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"BasicCacheTests.swift",
"BasicFetcherTests.swift",
"BatchTests.swift",
"CacheProviderTests.swift",
"CompositionTests.swift",
"ConditionedCacheTests.swift",
"ConditionedOneWayTransformationBoxTests.swift",
"ConditionedOutputProcessingTests.swift",
"ConditionedTransformersTests.swift",
"ConditionedTwoWayTransformationBoxTests.swift",
"ConditionedValueTransformationTests.swift",
"DiskCacheTests.swift",
"Fakes/Base64EncodedImage.swift",
"Fakes/CacheLevelFake.swift",
"Fakes/FetcherFake.swift",
"FetcherValueTransformationTests.swift",
"ImageTransformerTests.swift",
"JSONTransformerTests.swift",
"KeyTransformationTests.swift",
"MKDistanceFormatterTransformerTests.swift",
"MemoryCacheLevelTests.swift",
"MemoryWarningNotificationTests.swift",
"NSDateFormatterTransformerTests.swift",
"NSNumberFormatterTransformerTests.swift",
"NSUserDefaultsCacheLevelTests.swift",
"NetworkFetcherTests.swift",
"NormalizationTests.swift",
"OneWayTransformationBoxTests.swift",
"OneWayTransformerCompositionTests.swift",
"PoolCacheTests.swift",
"PostProcessTests.swift",
"StringConvertibleTests.swift",
"StringTransformerTests.swift",
"SwitchCacheTests.swift",
"TwoWayTransformationBoxTests.swift",
"TwoWayTransformerCompositionTests.swift",
"ValueTransformationTests.swift"
],
"target_dependencies" : [
"Carlos"
],
"type" : "test"
},
{
"c99name" : "Carlos",
"module_type" : "SwiftTarget",
"name" : "Carlos",
"path" : "Sources/Carlos",
"product_memberships" : [
"Carlos"
],
"sources" : [
"CacheLevels/BatchAllCache.swift",
"CacheLevels/Composed.swift",
"CacheLevels/Conditioned.swift",
"CacheLevels/DiskCacheLevel.swift",
"CacheLevels/Fetcher.swift",
"CacheLevels/MemoryCacheLevel.swift",
"CacheLevels/NSUserDefaultsCacheLevel.swift",
"CacheLevels/NetworkFetcher.swift",
"CacheLevels/PoolCache.swift",
"CacheProvider.swift",
"Carlos.swift",
"Core/BasicCache.swift",
"Core/BasicFetcher.swift",
"Core/Errors.swift",
"Core/ExpensiveObject.swift",
"Core/Extensions.swift",
"Core/FetcherValueTransformation.swift",
"Core/FunctionComposition.swift",
"Core/Logger.swift",
"Core/MemoryWarning.swift",
"Core/StringConvertible.swift",
"Core/UnfairLock.swift",
"Operations/CacheLevel+Batch.swift",
"Operations/KeyTransformation.swift",
"Operations/Normalize.swift",
"Operations/PostProcess.swift",
"Operations/SwitchCache.swift",
"Operations/ValueTransformation.swift",
"Transformers/ComposedOneWayTransformer.swift",
"Transformers/ComposedTwoWayTransformer.swift",
"Transformers/ConditionedOneWayTransformer.swift",
"Transformers/ConditionedOutputProcessing.swift",
"Transformers/ConditionedTwoWayTransformer.swift",
"Transformers/ConditionedValueTransformation.swift",
"Transformers/ImageTransformer.swift",
"Transformers/JSONTransformer.swift",
"Transformers/OneWayTransformer.swift",
"Transformers/StringTransformer.swift",
"Transformers/Transformers.swift",
"Transformers/TwoWayTransformer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.