Build Information
Successful build of Fetch, reference master (3d3ada
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 06:53:25 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/allaboutapps/Fetch.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/allaboutapps/Fetch
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3d3adac Merge pull request #38 from allaboutapps/add-time-out-for-resources
Cloned https://github.com/allaboutapps/Fetch.git
Revision (git rev-parse @):
3d3adacc353637828cc7791338309850ce029f33
SUCCESS checkout https://github.com/allaboutapps/Fetch.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/allaboutapps/Fetch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/44] Emitting module Alamofire
[6/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[7/48] Compiling Alamofire OperationQueue+Alamofire.swift
[8/48] Compiling Alamofire Result+Alamofire.swift
[9/48] Compiling Alamofire StringEncoding+Alamofire.swift
[10/48] Compiling Alamofire SessionDelegate.swift
[11/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[12/48] Compiling Alamofire UploadRequest.swift
[13/48] Compiling Alamofire WebSocketRequest.swift
[14/48] Compiling Alamofire Alamofire.swift
[15/48] Compiling Alamofire AFError.swift
[16/48] Compiling Alamofire DataRequest.swift
[17/48] Compiling Alamofire DataStreamRequest.swift
[18/48] Compiling Alamofire DownloadRequest.swift
[19/48] Compiling Alamofire Protected.swift
[20/48] Compiling Alamofire Request.swift
[21/48] Compiling Alamofire RequestTaskMap.swift
[22/48] Compiling Alamofire Response.swift
[23/48] Compiling Alamofire Session.swift
[24/48] Compiling Alamofire MultipartFormData.swift
[25/48] Compiling Alamofire MultipartUpload.swift
[26/48] Compiling Alamofire NetworkReachabilityManager.swift
[27/48] Compiling Alamofire RedirectHandler.swift
[28/48] Compiling Alamofire RequestCompression.swift
[29/48] Compiling Alamofire RequestInterceptor.swift
[30/48] Compiling Alamofire ResponseSerialization.swift
[31/48] Compiling Alamofire RetryPolicy.swift
[32/48] Compiling Alamofire HTTPHeaders.swift
[33/48] Compiling Alamofire HTTPMethod.swift
[34/48] Compiling Alamofire Notifications.swift
[35/48] Compiling Alamofire ParameterEncoder.swift
[36/48] Compiling Alamofire ParameterEncoding.swift
[37/48] Compiling Alamofire URLRequest+Alamofire.swift
[38/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[39/48] Compiling Alamofire AlamofireExtended.swift
[40/48] Compiling Alamofire AuthenticationInterceptor.swift
[41/48] Compiling Alamofire CachedResponseHandler.swift
[42/48] Compiling Alamofire Combine.swift
[43/48] Compiling Alamofire Concurrency.swift
[44/48] Compiling Alamofire EventMonitor.swift
[45/48] Compiling Alamofire ServerTrustEvaluation.swift
[46/48] Compiling Alamofire URLEncodedFormEncoder.swift
[47/48] Compiling Alamofire Validation.swift
[48/48] Compiling Alamofire resource_bundle_accessor.swift
[49/75] Emitting module Fetch
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:13:14: warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | /// The `APILogger` is used as an `EventMonitor` to log network requests and responds
13 | public class APILogger: EventMonitor {
| `- warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |
15 | public static let apiLogDateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:27:16: warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
25 |
26 | /// If `customLogClosure` is set every log entry is passed into `customLogClosure`
27 | public var customLogClosure: CustomLogClosure?
| `- warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
28 |
29 | public var customOutputClosure: CustomOutputClosure?
[50/77] Compiling Fetch Expiration.swift
[51/77] Compiling Fetch HybridCache.swift
[52/77] Compiling Fetch MemoryCache.swift
[53/77] Compiling Fetch ResourceDecoderProtocol.swift
[54/77] Compiling Fetch ResourceEncoderProtocol.swift
[55/77] Compiling Fetch Resource.swift
[56/77] Compiling Fetch AlternatingStub.swift
[57/77] Compiling Fetch ClosureStub.swift
[58/77] Compiling Fetch Cache.swift
[59/77] Compiling Fetch Cacheable.swift
[60/77] Compiling Fetch DiskCache.swift
[61/77] Compiling Fetch Decoder+Keys.swift
[62/77] Compiling Fetch HTTPContentType.swift
[63/77] Compiling Fetch IgnoreBody.swift
[64/77] Compiling Fetch JSONEncoder+ResourceEncoder.swift
[65/77] Compiling Fetch RequestToken.swift
[66/77] Compiling Fetch RandomStub.swift
[67/77] Compiling Fetch Stub.swift
[68/77] Compiling Fetch StubbedURL.swift
[69/77] Compiling Fetch APILogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:13:14: warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | /// The `APILogger` is used as an `EventMonitor` to log network requests and responds
13 | public class APILogger: EventMonitor {
| `- warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |
15 | public static let apiLogDateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:27:16: warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
25 |
26 | /// If `customLogClosure` is set every log entry is passed into `customLogClosure`
27 | public var customLogClosure: CustomLogClosure?
| `- warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
28 |
29 | public var customOutputClosure: CustomOutputClosure?
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:166:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 |
165 | queue.async {
166 | completion(fetchResult, true)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:159:20: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | }
158 |
159 | if let completion = completion {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | let fetchResult: Swift.Result<FetchResponse<T>, FetchError> = result.map { (networkResponse) in
161 | let isEqual = networkResponse.model.isEqualTo(cached)
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:178:68: warning: capture of non-sendable type 'T.Type' in an isolated closure
176 | queue.async {
177 | if !token.isCancelled {
178 | if let entry: CacheEntry<T> = try? self.cache?.get(for: self) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | completion(entry)
180 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
[70/77] Compiling Fetch FetchError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:13:14: warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | /// The `APILogger` is used as an `EventMonitor` to log network requests and responds
13 | public class APILogger: EventMonitor {
| `- warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |
15 | public static let apiLogDateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:27:16: warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
25 |
26 | /// If `customLogClosure` is set every log entry is passed into `customLogClosure`
27 | public var customLogClosure: CustomLogClosure?
| `- warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
28 |
29 | public var customOutputClosure: CustomOutputClosure?
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:166:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 |
165 | queue.async {
166 | completion(fetchResult, true)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:159:20: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | }
158 |
159 | if let completion = completion {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | let fetchResult: Swift.Result<FetchResponse<T>, FetchError> = result.map { (networkResponse) in
161 | let isEqual = networkResponse.model.isEqualTo(cached)
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:178:68: warning: capture of non-sendable type 'T.Type' in an isolated closure
176 | queue.async {
177 | if !token.isCancelled {
178 | if let entry: CacheEntry<T> = try? self.cache?.get(for: self) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | completion(entry)
180 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
[71/77] Compiling Fetch Resource+Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:13:14: warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | /// The `APILogger` is used as an `EventMonitor` to log network requests and responds
13 | public class APILogger: EventMonitor {
| `- warning: non-final class 'APILogger' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
14 |
15 | public static let apiLogDateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APILogger.swift:27:16: warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
25 |
26 | /// If `customLogClosure` is set every log entry is passed into `customLogClosure`
27 | public var customLogClosure: CustomLogClosure?
| `- warning: stored property 'customLogClosure' of 'Sendable'-conforming class 'APILogger' is mutable; this is an error in the Swift 6 language mode
28 |
29 | public var customOutputClosure: CustomOutputClosure?
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:166:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 |
165 | queue.async {
166 | completion(fetchResult, true)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:159:20: warning: capture of non-sendable type 'T.Type' in an isolated closure
157 | }
158 |
159 | if let completion = completion {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
160 | let fetchResult: Swift.Result<FetchResponse<T>, FetchError> = result.map { (networkResponse) in
161 | let isEqual = networkResponse.model.isEqualTo(cached)
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:178:68: warning: capture of non-sendable type 'T.Type' in an isolated closure
176 | queue.async {
177 | if !token.isCancelled {
178 | if let entry: CacheEntry<T> = try? self.cache?.get(for: self) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | completion(entry)
180 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/Resource+Fetch.swift:172:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
170 | }
171 |
172 | private func readCacheAsync(queue: DispatchQueue, completion: @escaping (CacheEntry<T>?) -> Void) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
173 | let token = RequestToken()
174 |
[72/77] Compiling Fetch StubProvider.swift
[73/77] Compiling Fetch AnyEncodable.swift
[74/77] Compiling Fetch Crypto.swift
[75/77] Compiling Fetch Fetch+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Extensions/Fetch+Async.swift:96:24: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 |
95 | continuation.onTermination = { @Sendable termination in
96 | switch termination {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 | case .cancelled:
98 | requestToken.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:181:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | } catch {
180 | queue.async {
181 | completion(.failure(.other(error: error)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
182 | }
183 | return RequestToken({})
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:201:52: warning: capture of non-sendable type 'T.Type' in an isolated closure
199 | .responseData(queue: DispatchQueue.decodingQueue, completionHandler: { (dataResponse) in
200 | // Map and decode Data to Object
201 | let decodedResponse = dataResponse.tryMap { (data) throws -> T in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
202 | if T.self == IgnoreBody.self {
203 | return IgnoreBody() as! T
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:213:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 | if let urlResponse = dataResponse.response {
212 | queue.async {
213 | completion(.success(NetworkResponse(model: model, urlResponse: urlResponse)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:217:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
215 | } else {
216 | queue.async {
217 | completion(.failure(.invalidResponse))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
218 | }
219 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:237:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
235 | }
236 | queue.async {
237 | completion(.failure(fetchError))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
238 | }
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
[76/77] Compiling Fetch Fetch+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Extensions/Fetch+Async.swift:96:24: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 |
95 | continuation.onTermination = { @Sendable termination in
96 | switch termination {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 | case .cancelled:
98 | requestToken.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:181:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | } catch {
180 | queue.async {
181 | completion(.failure(.other(error: error)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
182 | }
183 | return RequestToken({})
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:201:52: warning: capture of non-sendable type 'T.Type' in an isolated closure
199 | .responseData(queue: DispatchQueue.decodingQueue, completionHandler: { (dataResponse) in
200 | // Map and decode Data to Object
201 | let decodedResponse = dataResponse.tryMap { (data) throws -> T in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
202 | if T.self == IgnoreBody.self {
203 | return IgnoreBody() as! T
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:213:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 | if let urlResponse = dataResponse.response {
212 | queue.async {
213 | completion(.success(NetworkResponse(model: model, urlResponse: urlResponse)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:217:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
215 | } else {
216 | queue.async {
217 | completion(.failure(.invalidResponse))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
218 | }
219 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:237:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
235 | }
236 | queue.async {
237 | completion(.failure(fetchError))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
238 | }
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
[77/77] Compiling Fetch APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Extensions/Fetch+Async.swift:96:24: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
94 |
95 | continuation.onTermination = { @Sendable termination in
96 | switch termination {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
97 | case .cancelled:
98 | requestToken.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:181:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
179 | } catch {
180 | queue.async {
181 | completion(.failure(.other(error: error)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
182 | }
183 | return RequestToken({})
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:201:52: warning: capture of non-sendable type 'T.Type' in an isolated closure
199 | .responseData(queue: DispatchQueue.decodingQueue, completionHandler: { (dataResponse) in
200 | // Map and decode Data to Object
201 | let decodedResponse = dataResponse.tryMap { (data) throws -> T in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
202 | if T.self == IgnoreBody.self {
203 | return IgnoreBody() as! T
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:51: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:213:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 | if let urlResponse = dataResponse.response {
212 | queue.async {
213 | completion(.success(NetworkResponse(model: model, urlResponse: urlResponse)))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:217:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
215 | } else {
216 | queue.async {
217 | completion(.failure(.invalidResponse))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
218 | }
219 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:237:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
235 | }
236 | queue.async {
237 | completion(.failure(fetchError))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
238 | }
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/Fetch/Network/APIClient.swift:166:96: warning: capture of non-sendable type 'T.Type' in an isolated closure
164 | // MARK: - Resource
165 |
166 | @discardableResult internal func request<T>(_ resource: Resource<T>, queue: DispatchQueue, completion: @escaping CompletionCallback<T>) -> RequestToken {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
167 | precondition(_config != nil, "Setup of APIClient was not called!")
168 |
Build complete! (9.15s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.51s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (2.97s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.7.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Fetch",
"name" : "Fetch",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Fetch",
"targets" : [
"Fetch"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "FetchTests",
"module_type" : "SwiftTarget",
"name" : "FetchTests",
"path" : "Tests/FetchTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/FetchTests/TestFiles",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/FetchTests/modela.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Async Await/AsyncCacheTests.swift",
"Async Await/AsyncTests.swift",
"Cache/CacheTests.swift",
"Cache/DiskCacheTests.swift",
"Cache/HybridCacheTests.swift",
"Cache/MemoryCacheTests.swift",
"CancelTests.swift",
"CustomValidationTests.swift",
"DispatchQueueTests.swift",
"FullPathTests.swift",
"IgnoreBodyTests.swift",
"MultipleStubsTests.swift",
"NestingTests.swift",
"ShouldStubTests.swift",
"StubProviderTests.swift",
"StubTests.swift",
"TestAPI.swift",
"URLRequestTests.swift"
],
"target_dependencies" : [
"Fetch"
],
"type" : "test"
},
{
"c99name" : "Fetch",
"module_type" : "SwiftTarget",
"name" : "Fetch",
"path" : "Sources/Fetch",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"Fetch"
],
"sources" : [
"Cache/Cache.swift",
"Cache/Cacheable.swift",
"Cache/DiskCache.swift",
"Cache/Expiration.swift",
"Cache/HybridCache.swift",
"Cache/MemoryCache.swift",
"Extensions/Fetch+Async.swift",
"Extensions/Fetch+Combine.swift",
"Network/APIClient.swift",
"Network/APILogger.swift",
"Network/FetchError.swift",
"Network/Resource+Fetch.swift",
"Network/Resource.swift",
"Stub/AlternatingStub.swift",
"Stub/ClosureStub.swift",
"Stub/RandomStub.swift",
"Stub/Stub.swift",
"Stub/StubbedURL.swift",
"StubProvider/StubProvider.swift",
"Utilities/AnyEncodable.swift",
"Utilities/Crypto.swift",
"Utilities/Decoder+Keys.swift",
"Utilities/HTTPContentType.swift",
"Utilities/IgnoreBody.swift",
"Utilities/JSONEncoder+ResourceEncoder.swift",
"Utilities/RequestToken.swift",
"Utilities/ResourceDecoderProtocol.swift",
"Utilities/ResourceEncoderProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.