Build Information
Failed to build Siesta, reference 1.5.2 (43f340
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 05:26:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
118 | public protocol RequestCompletionHandler
| `- note: protocol 'RequestCompletionHandler' does not conform to the 'Sendable' protocol
119 | {
120 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:38: warning: capture of 'entity' with non-sendable type 'Entity<Any>' in a '@Sendable' closure
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of 'entity' with non-sendable type 'Entity<Any>' in a '@Sendable' closure
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
215 | }
216 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
221 | }
222 | }
[55/88] Compiling Siesta PipelineProcessing.swift
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Networking-URLSession.swift:32:15: warning: capture of 'completion' with non-sendable type 'RequestNetworkingCompletionCallback' (aka '(Optional<HTTPURLResponse>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
30 | {
31 | let task = session.dataTask(with: request)
32 | { completion($1 as? HTTPURLResponse, $0, $2) }
| |- warning: capture of 'completion' with non-sendable type 'RequestNetworkingCompletionCallback' (aka '(Optional<HTTPURLResponse>, Optional<Data>, Optional<any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | return URLSessionRequestNetworking(task: task)
34 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:258:23: warning: static property 'rawData' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
256 | {
257 | /// Response data still unprocessed. The stage typically contains no transformers.
258 | public static let rawData = PipelineStageKey(description: "rawData")
| |- warning: static property 'rawData' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rawData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Any bytes-to-bytes processing, such as decryption or decompression, not already performed by the network lib.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:261:23: warning: static property 'decoding' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
259 |
260 | /// Any bytes-to-bytes processing, such as decryption or decompression, not already performed by the network lib.
261 | public static let decoding = PipelineStageKey(description: "decoding")
| |- warning: static property 'decoding' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 |
263 | /// Transformation of bytes to an ADT or other generic data structure, e.g. a string, dictionary, or image.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:264:23: warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
262 |
263 | /// Transformation of bytes to an ADT or other generic data structure, e.g. a string, dictionary, or image.
264 | public static let parsing = PipelineStageKey(description: "parsing")
| |- warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'parsing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 |
266 | /// Transformation from an ADT to a domain-specific model.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:267:23: warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
265 |
266 | /// Transformation from an ADT to a domain-specific model.
267 | public static let model = PipelineStageKey(description: "model")
| |- warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |
269 | /// Error handling, validation, or any other general mop-up.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:270:23: warning: static property 'cleanup' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
268 |
269 | /// Error handling, validation, or any other general mop-up.
270 | public static let cleanup = PipelineStageKey(description: "cleanup")
| |- warning: static property 'cleanup' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cleanup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:108:33: warning: capture of 'self' with non-sendable type 'Pipeline.CacheRequestDelegate' in a '@Sendable' closure
90 | extension Pipeline
91 | {
92 | private struct CacheRequestDelegate: RequestDelegate
| `- note: consider making struct 'CacheRequestDelegate' conform to the 'Sendable' protocol
93 | {
94 | let requestDescription: String
:
106 | {
107 | let response: Response
108 | if let entity = self.performCacheLookup()
| `- warning: capture of 'self' with non-sendable type 'Pipeline.CacheRequestDelegate' in a '@Sendable' closure
109 | { response = .success(entity) }
110 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:119:21: warning: capture of 'completionHandler' with non-sendable type 'any RequestCompletionHandler' in a '@Sendable' closure
117 | DispatchQueue.main.async
118 | {
119 | completionHandler.broadcastResponse(ResponseInfo(response: response))
| `- warning: capture of 'completionHandler' with non-sendable type 'any RequestCompletionHandler' in a '@Sendable' closure
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/LiveRequest.swift:118:17: note: protocol 'RequestCompletionHandler' does not conform to the 'Sendable' protocol
116 | - SeeAlso: `RequestDelegate.startUnderlyingOperation(completionHandler:)`
117 | */
118 | public protocol RequestCompletionHandler
| `- note: protocol 'RequestCompletionHandler' does not conform to the 'Sendable' protocol
119 | {
120 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:208:38: warning: capture of 'entity' with non-sendable type 'Entity<Any>' in a '@Sendable' closure
206 | {
207 | cache.workQueue.async
208 | { self.cache.writeEntity(entity, forKey: self.key) }
| `- warning: capture of 'entity' with non-sendable type 'Entity<Any>' in a '@Sendable' closure
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:214:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
212 | {
213 | cache.workQueue.async
214 | { self.cache.updateEntityTimestamp(timestamp, forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
215 | }
216 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineProcessing.swift:220:15: warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
181 | }
182 |
183 | private struct CacheEntry<Cache, Key>: CacheEntryProtocol
| `- note: consider making generic struct 'CacheEntry' conform to the 'Sendable' protocol
184 | where Cache: EntityCache, Cache.Key == Key
185 | {
:
218 | {
219 | cache.workQueue.async
220 | { self.cache.removeEntity(forKey: self.key) }
| `- warning: capture of 'self' with non-sendable type 'CacheEntry<Cache, Key>' in a '@Sendable' closure
221 | }
222 | }
[56/88] Emitting module Siesta
/Users/admin/builder/spi-builder-workspace/Source/Siesta/EntityCache.swift:110:14: warning: var 'defaultEntityCacheWorkQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
108 | }
109 |
110 | internal var defaultEntityCacheWorkQueue: DispatchQueue =
| |- warning: var 'defaultEntityCacheWorkQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEntityCacheWorkQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'defaultEntityCacheWorkQueue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | DispatchQueue.global(qos: DispatchQoS.QoSClass.userInitiated)
112 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:258:23: warning: static property 'rawData' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
256 | {
257 | /// Response data still unprocessed. The stage typically contains no transformers.
258 | public static let rawData = PipelineStageKey(description: "rawData")
| |- warning: static property 'rawData' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rawData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Any bytes-to-bytes processing, such as decryption or decompression, not already performed by the network lib.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:261:23: warning: static property 'decoding' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
259 |
260 | /// Any bytes-to-bytes processing, such as decryption or decompression, not already performed by the network lib.
261 | public static let decoding = PipelineStageKey(description: "decoding")
| |- warning: static property 'decoding' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'decoding' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 |
263 | /// Transformation of bytes to an ADT or other generic data structure, e.g. a string, dictionary, or image.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:264:23: warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
262 |
263 | /// Transformation of bytes to an ADT or other generic data structure, e.g. a string, dictionary, or image.
264 | public static let parsing = PipelineStageKey(description: "parsing")
| |- warning: static property 'parsing' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'parsing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 |
266 | /// Transformation from an ADT to a domain-specific model.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:267:23: warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
265 |
266 | /// Transformation from an ADT to a domain-specific model.
267 | public static let model = PipelineStageKey(description: "model")
| |- warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'model' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |
269 | /// Error handling, validation, or any other general mop-up.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/PipelineConfiguration.swift:270:23: warning: static property 'cleanup' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
242 | }
243 | */
244 | public final class PipelineStageKey: _OpenEnum, CustomStringConvertible
| `- note: class 'PipelineStageKey' does not conform to the 'Sendable' protocol
245 | {
246 | /// A human-readable name for this key. Does not affect uniqueness, or any other logical behavior.
:
268 |
269 | /// Error handling, validation, or any other general mop-up.
270 | public static let cleanup = PipelineStageKey(description: "cleanup")
| |- warning: static property 'cleanup' is not concurrency-safe because non-'Sendable' type 'PipelineStageKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cleanup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:50:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
48 | or for different content types.
49 | */
50 | public static let json =
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | StandardTransformer(
52 | name: "JSON", transformer: JSONResponseTransformer(), contentTypes: ["*/json", "*/*+json"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:60:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
58 | or for different content types.
59 | */
60 | public static let text =
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | StandardTransformer(
62 | name: "text", transformer: TextResponseTransformer(), contentTypes: ["text/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:70:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
68 | stage, or for different content types.
69 | */
70 | public static let image =
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | StandardTransformer(
72 | name: "image", transformer: ImageResponseTransformer(), contentTypes: ["image/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:43:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | See the various `Resource.request(...)` methods.
15 | */
16 | public enum RequestMethod: String
| `- note: consider making enum 'RequestMethod' conform to the 'Sendable' protocol
17 | {
18 | /// OPTIONS
:
41 | case delete
42 |
43 | internal static let all: [RequestMethod] = [.get, .post, .put, .patch, .delete, .head, .options]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:265:25: warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
:
263 | }
264 |
265 | internal static let cancellation =
| |- warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cancellation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | ResponseInfo(
267 | response: .failure(RequestError(
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:45:16: warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
43 |
44 | /// The response body if this error came from an HTTP response. Its meaning is API-specific.
45 | public var entity: Entity<Any>?
| `- warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
46 |
47 | /// Details about the underlying error. Errors originating from Siesta will have a cause from `RequestError.Cause`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:140:24: warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
138 | public struct InvalidURL: Error
139 | {
140 | public let urlSource: URLConvertible?
| `- warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/URL+Siesta.swift:12:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
10 |
11 | /// Allows interchangeable use of `String` and `URL` in calls that need a URL.
12 | public protocol URLConvertible
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
13 | {
14 | /// The URL represented by this value.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:206:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
204 | {
205 | public let expectedType, actualType: Any.Type
206 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
207 | }
208 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:212:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
210 | public struct TransformerReturnedNil: Error
211 | {
212 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:12:14: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | // Overridable for testing
12 | internal var now = { Date.timeIntervalSinceReferenceDate }
| |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:60:24: warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | internal struct UniqueObserverIdentity: Hashable
59 | {
60 | private static var idSeq = 0
| |- warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idSeq' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'idSeq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | private let id: Int
62 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:48:27: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// The set of categories to log. Can be changed at runtime.
48 | public static var enabled = Set<Category>()
| |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: Predefined subsets
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:53:27: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
51 |
52 | /// A reasonable subset of log categories for normal debugging.
53 | public static let common: Set<Category> = [network, stateChanges, staleness]
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:56:27: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
54 |
55 | /// Everything except full request/response data.
56 | public static let detailed = all.subtracting([networkDetails])
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// The whole schebang!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
57 |
58 | /// The whole schebang!
59 | public static let all: Set<Category> = [network, networkDetails, pipeline, stateChanges, observers, staleness, cache, configuration]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:65:23: warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Inject your custom logger to do something other than print to stdout.
65 | public static var messageHandler: (Category, String) -> Void =
| |- warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'messageHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | {
67 | let paddedCategory = String(describing: $0).padding(toLength: maxCategoryNameLength, withPad: " ", startingAt: 0)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:99:23: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
97 | {
98 | /// A reasonable subset of log categories for normal debugging.
99 | public static let common = SiestaLog.Category.common
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:102:23: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
100 |
101 | /// Everything except full request/response data.
102 | public static let detailed = SiestaLog.Category.detailed
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// The whole kit and caboodle!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:105:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
103 |
104 | /// The whole kit and caboodle!
105 | public static let all = SiestaLog.Category.all
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:154:17: warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
155 | ? ResponseInfo(response: processor(), isNew: true)
156 | : rawInfo
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:249:15: note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:155:46: warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
153 | let processedInfo =
154 | rawInfo.isNew
155 | ? ResponseInfo(response: processor(), isNew: true)
| |- warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | : rawInfo
157 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:159:19: warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:43:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | See the various `Resource.request(...)` methods.
15 | */
16 | public enum RequestMethod: String
| `- note: consider making enum 'RequestMethod' conform to the 'Sendable' protocol
17 | {
18 | /// OPTIONS
:
41 | case delete
42 |
43 | internal static let all: [RequestMethod] = [.get, .post, .put, .patch, .delete, .head, .options]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:265:25: warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
:
263 | }
264 |
265 | internal static let cancellation =
| |- warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cancellation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | ResponseInfo(
267 | response: .failure(RequestError(
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | DispatchQueue.main.async
49 | {
50 | self.responseReceived(
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | underlyingResponse: res,
52 | body: data,
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:54:40: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
52 | body: data,
53 | error: err,
54 | completionHandler: completionHandler)
| |- warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:19: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:28: warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completedValue' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:15: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:31: warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arguments' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:154:17: warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
155 | ? ResponseInfo(response: processor(), isNew: true)
156 | : rawInfo
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:249:15: note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:155:46: warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
153 | let processedInfo =
154 | rawInfo.isNew
155 | ? ResponseInfo(response: processor(), isNew: true)
| |- warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | : rawInfo
157 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:159:19: warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:43:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | See the various `Resource.request(...)` methods.
15 | */
16 | public enum RequestMethod: String
| `- note: consider making enum 'RequestMethod' conform to the 'Sendable' protocol
17 | {
18 | /// OPTIONS
:
41 | case delete
42 |
43 | internal static let all: [RequestMethod] = [.get, .post, .put, .patch, .delete, .head, .options]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:265:25: warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
:
263 | }
264 |
265 | internal static let cancellation =
| |- warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cancellation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | ResponseInfo(
267 | response: .failure(RequestError(
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | DispatchQueue.main.async
49 | {
50 | self.responseReceived(
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | underlyingResponse: res,
52 | body: data,
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:54:40: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
52 | body: data,
53 | error: err,
54 | completionHandler: completionHandler)
| |- warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:19: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:28: warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completedValue' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:15: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:31: warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arguments' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:154:17: warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
155 | ? ResponseInfo(response: processor(), isNew: true)
156 | : rawInfo
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:249:15: note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:155:46: warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
153 | let processedInfo =
154 | rawInfo.isNew
155 | ? ResponseInfo(response: processor(), isNew: true)
| |- warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | : rawInfo
157 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:159:19: warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:43:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | See the various `Resource.request(...)` methods.
15 | */
16 | public enum RequestMethod: String
| `- note: consider making enum 'RequestMethod' conform to the 'Sendable' protocol
17 | {
18 | /// OPTIONS
:
41 | case delete
42 |
43 | internal static let all: [RequestMethod] = [.get, .post, .put, .patch, .delete, .head, .options]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:265:25: warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
:
263 | }
264 |
265 | internal static let cancellation =
| |- warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cancellation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | ResponseInfo(
267 | response: .failure(RequestError(
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | DispatchQueue.main.async
49 | {
50 | self.responseReceived(
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | underlyingResponse: res,
52 | body: data,
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:54:40: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
52 | body: data,
53 | error: err,
54 | completionHandler: completionHandler)
| |- warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:19: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:28: warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completedValue' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:15: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:31: warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arguments' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:154:17: warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a '@Sendable' closure
155 | ? ResponseInfo(response: processor(), isNew: true)
156 | : rawInfo
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:249:15: note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:155:46: warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
153 | let processedInfo =
154 | rawInfo.isNew
155 | ? ResponseInfo(response: processor(), isNew: true)
| |- warning: capture of 'processor' with non-sendable type '() -> Response' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | : rawInfo
157 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:159:19: warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | }
161 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:43:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
14 | See the various `Resource.request(...)` methods.
15 | */
16 | public enum RequestMethod: String
| `- note: consider making enum 'RequestMethod' conform to the 'Sendable' protocol
17 | {
18 | /// OPTIONS
:
41 | case delete
42 |
43 | internal static let all: [RequestMethod] = [.get, .post, .put, .patch, .delete, .head, .options]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[RequestMethod]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/Request.swift:265:25: warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
247 |
248 | /// A `Response`, plus metadata about the nature of the response.
249 | public struct ResponseInfo
| `- note: consider making struct 'ResponseInfo' conform to the 'Sendable' protocol
250 | {
251 | /// The result of a `Request`.
:
263 | }
264 |
265 | internal static let cancellation =
| |- warning: static property 'cancellation' is not concurrency-safe because non-'Sendable' type 'ResponseInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cancellation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | ResponseInfo(
267 | response: .failure(RequestError(
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:50:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 | DispatchQueue.main.async
49 | {
50 | self.responseReceived(
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
51 | underlyingResponse: res,
52 | body: data,
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/NetworkRequest.swift:54:40: warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
52 | body: data,
53 | error: err,
54 | completionHandler: completionHandler)
| |- warning: sending 'completionHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completionHandler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:19: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:67:28: warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
65 |
66 | DispatchQueue.main.async
67 | { callback(completedValue) }
| |- warning: sending 'completedValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completedValue' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 | }
69 | else
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:15: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/RequestCallbacks.swift:98:31: warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
96 | let snapshot = self
97 | DispatchQueue.main.async
98 | { snapshot.notify(arguments) }
| |- warning: sending 'arguments' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'arguments' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
99 |
100 | // Fly, little handlers, be free! Now that we have a result, future onFoo() calls will invoke the callback.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:48:27: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// The set of categories to log. Can be changed at runtime.
48 | public static var enabled = Set<Category>()
| |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: Predefined subsets
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:53:27: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
51 |
52 | /// A reasonable subset of log categories for normal debugging.
53 | public static let common: Set<Category> = [network, stateChanges, staleness]
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:56:27: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
54 |
55 | /// Everything except full request/response data.
56 | public static let detailed = all.subtracting([networkDetails])
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// The whole schebang!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
57 |
58 | /// The whole schebang!
59 | public static let all: Set<Category> = [network, networkDetails, pipeline, stateChanges, observers, staleness, cache, configuration]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:65:23: warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Inject your custom logger to do something other than print to stdout.
65 | public static var messageHandler: (Category, String) -> Void =
| |- warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'messageHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | {
67 | let paddedCategory = String(describing: $0).padding(toLength: maxCategoryNameLength, withPad: " ", startingAt: 0)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:99:23: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
97 | {
98 | /// A reasonable subset of log categories for normal debugging.
99 | public static let common = SiestaLog.Category.common
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:102:23: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
100 |
101 | /// Everything except full request/response data.
102 | public static let detailed = SiestaLog.Category.detailed
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// The whole kit and caboodle!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:105:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
103 |
104 | /// The whole kit and caboodle!
105 | public static let all = SiestaLog.Category.all
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:48:27: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// The set of categories to log. Can be changed at runtime.
48 | public static var enabled = Set<Category>()
| |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: Predefined subsets
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:53:27: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
51 |
52 | /// A reasonable subset of log categories for normal debugging.
53 | public static let common: Set<Category> = [network, stateChanges, staleness]
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:56:27: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
54 |
55 | /// Everything except full request/response data.
56 | public static let detailed = all.subtracting([networkDetails])
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// The whole schebang!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
57 |
58 | /// The whole schebang!
59 | public static let all: Set<Category> = [network, networkDetails, pipeline, stateChanges, observers, staleness, cache, configuration]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:65:23: warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Inject your custom logger to do something other than print to stdout.
65 | public static var messageHandler: (Category, String) -> Void =
| |- warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'messageHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | {
67 | let paddedCategory = String(describing: $0).padding(toLength: maxCategoryNameLength, withPad: " ", startingAt: 0)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:99:23: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
97 | {
98 | /// A reasonable subset of log categories for normal debugging.
99 | public static let common = SiestaLog.Category.common
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:102:23: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
100 |
101 | /// Everything except full request/response data.
102 | public static let detailed = SiestaLog.Category.detailed
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// The whole kit and caboodle!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:105:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
103 |
104 | /// The whole kit and caboodle!
105 | public static let all = SiestaLog.Category.all
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:48:27: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// The set of categories to log. Can be changed at runtime.
48 | public static var enabled = Set<Category>()
| |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: Predefined subsets
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:53:27: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
51 |
52 | /// A reasonable subset of log categories for normal debugging.
53 | public static let common: Set<Category> = [network, stateChanges, staleness]
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:56:27: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
54 |
55 | /// Everything except full request/response data.
56 | public static let detailed = all.subtracting([networkDetails])
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// The whole schebang!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
57 |
58 | /// The whole schebang!
59 | public static let all: Set<Category> = [network, networkDetails, pipeline, stateChanges, observers, staleness, cache, configuration]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:65:23: warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Inject your custom logger to do something other than print to stdout.
65 | public static var messageHandler: (Category, String) -> Void =
| |- warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'messageHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | {
67 | let paddedCategory = String(describing: $0).padding(toLength: maxCategoryNameLength, withPad: " ", startingAt: 0)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:99:23: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
97 | {
98 | /// A reasonable subset of log categories for normal debugging.
99 | public static let common = SiestaLog.Category.common
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:102:23: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
100 |
101 | /// Everything except full request/response data.
102 | public static let detailed = SiestaLog.Category.detailed
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// The whole kit and caboodle!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:105:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
103 |
104 | /// The whole kit and caboodle!
105 | public static let all = SiestaLog.Category.all
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:48:27: warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | /// The set of categories to log. Can be changed at runtime.
48 | public static var enabled = Set<Category>()
| |- warning: static property 'enabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'enabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // MARK: Predefined subsets
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:53:27: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
51 |
52 | /// A reasonable subset of log categories for normal debugging.
53 | public static let common: Set<Category> = [network, stateChanges, staleness]
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:56:27: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
54 |
55 | /// Everything except full request/response data.
56 | public static let detailed = all.subtracting([networkDetails])
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 | /// The whole schebang!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
57 |
58 | /// The whole schebang!
59 | public static let all: Set<Category> = [network, networkDetails, pipeline, stateChanges, observers, staleness, cache, configuration]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:65:23: warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Inject your custom logger to do something other than print to stdout.
65 | public static var messageHandler: (Category, String) -> Void =
| |- warning: static property 'messageHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'messageHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | {
67 | let paddedCategory = String(describing: $0).padding(toLength: maxCategoryNameLength, withPad: " ", startingAt: 0)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:99:23: warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
97 | {
98 | /// A reasonable subset of log categories for normal debugging.
99 | public static let common = SiestaLog.Category.common
| |- warning: static property 'common' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'common' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Everything except full request/response data.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:102:23: warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
100 |
101 | /// Everything except full request/response data.
102 | public static let detailed = SiestaLog.Category.detailed
| |- warning: static property 'detailed' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detailed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// The whole kit and caboodle!
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/Logging.swift:105:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | - SeeAlso: [Logging Guide](https://github.com/bustoutsolutions/siesta/blob/master/Docs/logging.md)
18 | */
19 | public enum Category
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
20 | {
21 | /// Summary of network requests: HTTP method, URL, and result code.
:
103 |
104 | /// The whole kit and caboodle!
105 | public static let all = SiestaLog.Category.all
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<SiestaLog.Category>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:60:24: warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | internal struct UniqueObserverIdentity: Hashable
59 | {
60 | private static var idSeq = 0
| |- warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idSeq' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'idSeq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | private let id: Int
62 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
307 | DispatchQueue.main.async
308 | {
309 | self.defunctObserverCheckScheduled = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
310 | self.cleanDefunctObservers(force: true)
311 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:60:24: warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | internal struct UniqueObserverIdentity: Hashable
59 | {
60 | private static var idSeq = 0
| |- warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idSeq' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'idSeq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | private let id: Int
62 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
307 | DispatchQueue.main.async
308 | {
309 | self.defunctObserverCheckScheduled = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
310 | self.cleanDefunctObservers(force: true)
311 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:60:24: warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | internal struct UniqueObserverIdentity: Hashable
59 | {
60 | private static var idSeq = 0
| |- warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idSeq' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'idSeq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | private let id: Int
62 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
307 | DispatchQueue.main.async
308 | {
309 | self.defunctObserverCheckScheduled = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
310 | self.cleanDefunctObservers(force: true)
311 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:60:24: warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 | internal struct UniqueObserverIdentity: Hashable
59 | {
60 | private static var idSeq = 0
| |- warning: static property 'idSeq' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idSeq' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'idSeq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | private let id: Int
62 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/ResourceObserver.swift:309:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
307 | DispatchQueue.main.async
308 | {
309 | self.defunctObserverCheckScheduled = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
310 | self.cleanDefunctObservers(force: true)
311 | }
[71/88] Linking libCwlCatchException.dylib
[73/92] Compiling Siesta URL+Siesta.swift
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:44:13: warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
23 | retain references to it.
24 | */
25 | internal final class WeakCache<K: Hashable, V: AnyObject>
| `- note: generic class 'WeakCache' does not conform to the 'Sendable' protocol
26 | {
27 | private var entriesByKey = [K : WeakCacheEntry<V>]()
:
42 | {
43 | [weak self] _ in
44 | self?.flushUnused()
| `- warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
45 | }
46 | }
[74/92] Compiling Siesta WeakCache.swift
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:44:13: warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
23 | retain references to it.
24 | */
25 | internal final class WeakCache<K: Hashable, V: AnyObject>
| `- note: generic class 'WeakCache' does not conform to the 'Sendable' protocol
26 | {
27 | private var entriesByKey = [K : WeakCacheEntry<V>]()
:
42 | {
43 | [weak self] _ in
44 | self?.flushUnused()
| `- warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
45 | }
46 | }
[75/92] Compiling Siesta Ω_Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/WeakCache.swift:44:13: warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
23 | retain references to it.
24 | */
25 | internal final class WeakCache<K: Hashable, V: AnyObject>
| `- note: generic class 'WeakCache' does not conform to the 'Sendable' protocol
26 | {
27 | private var entriesByKey = [K : WeakCacheEntry<V>]()
:
42 | {
43 | [weak self] _ in
44 | self?.flushUnused()
| `- warning: capture of 'self' with non-sendable type 'WeakCache<K, V>?' in a '@Sendable' closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:50:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
48 | or for different content types.
49 | */
50 | public static let json =
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | StandardTransformer(
52 | name: "JSON", transformer: JSONResponseTransformer(), contentTypes: ["*/json", "*/*+json"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:60:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
58 | or for different content types.
59 | */
60 | public static let text =
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | StandardTransformer(
62 | name: "text", transformer: TextResponseTransformer(), contentTypes: ["text/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:70:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
68 | stage, or for different content types.
69 | */
70 | public static let image =
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | StandardTransformer(
72 | name: "image", transformer: ImageResponseTransformer(), contentTypes: ["image/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:65:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | DispatchQueue.main.async
65 | { callback(1) } // That’s my secret, Captain: I’m always complete.
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 |
67 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:50:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
48 | or for different content types.
49 | */
50 | public static let json =
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | StandardTransformer(
52 | name: "JSON", transformer: JSONResponseTransformer(), contentTypes: ["*/json", "*/*+json"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:60:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
58 | or for different content types.
59 | */
60 | public static let text =
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | StandardTransformer(
62 | name: "text", transformer: TextResponseTransformer(), contentTypes: ["text/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:70:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
68 | stage, or for different content types.
69 | */
70 | public static let image =
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | StandardTransformer(
72 | name: "image", transformer: ImageResponseTransformer(), contentTypes: ["image/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:65:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | DispatchQueue.main.async
65 | { callback(1) } // That’s my secret, Captain: I’m always complete.
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 |
67 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:50:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
48 | or for different content types.
49 | */
50 | public static let json =
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | StandardTransformer(
52 | name: "JSON", transformer: JSONResponseTransformer(), contentTypes: ["*/json", "*/*+json"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:60:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
58 | or for different content types.
59 | */
60 | public static let text =
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | StandardTransformer(
62 | name: "text", transformer: TextResponseTransformer(), contentTypes: ["text/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:70:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
68 | stage, or for different content types.
69 | */
70 | public static let image =
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | StandardTransformer(
72 | name: "image", transformer: ImageResponseTransformer(), contentTypes: ["image/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:65:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | DispatchQueue.main.async
65 | { callback(1) } // That’s my secret, Captain: I’m always complete.
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 |
67 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:50:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
48 | or for different content types.
49 | */
50 | public static let json =
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | StandardTransformer(
52 | name: "JSON", transformer: JSONResponseTransformer(), contentTypes: ["*/json", "*/*+json"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:60:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
58 | or for different content types.
59 | */
60 | public static let text =
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | StandardTransformer(
62 | name: "text", transformer: TextResponseTransformer(), contentTypes: ["text/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/StandardTransformers.swift:70:23: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
13 | - SeeAlso: `Service.init(...)`’s `standardTransformers:` parameter
14 | */
15 | public struct StandardTransformer
| `- note: consider making struct 'StandardTransformer' conform to the 'Sendable' protocol
16 | {
17 | // Hello, reader of source code! Do you find yourself wanting these properties to be public, so that you can create
:
68 | stage, or for different content types.
69 | */
70 | public static let image =
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'StandardTransformer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | StandardTransformer(
72 | name: "image", transformer: ImageResponseTransformer(), contentTypes: ["image/*"], stage: .parsing)
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:55:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
53 |
54 | DispatchQueue.main.async
55 | { callback(self.hardWiredResponse) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
56 |
57 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Request/HardWiredRequest.swift:65:15: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | DispatchQueue.main.async
65 | { callback(1) } // That’s my secret, Captain: I’m always complete.
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
66 |
67 | return self
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:45:16: warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
43 |
44 | /// The response body if this error came from an HTTP response. Its meaning is API-specific.
45 | public var entity: Entity<Any>?
| `- warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
46 |
47 | /// Details about the underlying error. Errors originating from Siesta will have a cause from `RequestError.Cause`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:140:24: warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
138 | public struct InvalidURL: Error
139 | {
140 | public let urlSource: URLConvertible?
| `- warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/URL+Siesta.swift:12:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
10 |
11 | /// Allows interchangeable use of `String` and `URL` in calls that need a URL.
12 | public protocol URLConvertible
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
13 | {
14 | /// The URL represented by this value.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:206:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
204 | {
205 | public let expectedType, actualType: Any.Type
206 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
207 | }
208 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:212:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
210 | public struct TransformerReturnedNil: Error
211 | {
212 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:12:14: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | // Overridable for testing
12 | internal var now = { Date.timeIntervalSinceReferenceDate }
| |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:516:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
514 | DispatchQueue.main.asyncAfter(deadline: .now() + delay)
515 | {
516 | self.cancelLoadIfUnobserved()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
517 | callback()
518 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:517:13: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
515 | {
516 | self.cancelLoadIfUnobserved()
517 | callback()
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
518 | }
519 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:45:16: warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
43 |
44 | /// The response body if this error came from an HTTP response. Its meaning is API-specific.
45 | public var entity: Entity<Any>?
| `- warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
46 |
47 | /// Details about the underlying error. Errors originating from Siesta will have a cause from `RequestError.Cause`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:140:24: warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
138 | public struct InvalidURL: Error
139 | {
140 | public let urlSource: URLConvertible?
| `- warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/URL+Siesta.swift:12:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
10 |
11 | /// Allows interchangeable use of `String` and `URL` in calls that need a URL.
12 | public protocol URLConvertible
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
13 | {
14 | /// The URL represented by this value.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:206:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
204 | {
205 | public let expectedType, actualType: Any.Type
206 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
207 | }
208 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:212:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
210 | public struct TransformerReturnedNil: Error
211 | {
212 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:12:14: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | // Overridable for testing
12 | internal var now = { Date.timeIntervalSinceReferenceDate }
| |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:516:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
514 | DispatchQueue.main.asyncAfter(deadline: .now() + delay)
515 | {
516 | self.cancelLoadIfUnobserved()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
517 | callback()
518 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:517:13: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
515 | {
516 | self.cancelLoadIfUnobserved()
517 | callback()
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
518 | }
519 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:45:16: warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
43 |
44 | /// The response body if this error came from an HTTP response. Its meaning is API-specific.
45 | public var entity: Entity<Any>?
| `- warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
46 |
47 | /// Details about the underlying error. Errors originating from Siesta will have a cause from `RequestError.Cause`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:140:24: warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
138 | public struct InvalidURL: Error
139 | {
140 | public let urlSource: URLConvertible?
| `- warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/URL+Siesta.swift:12:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
10 |
11 | /// Allows interchangeable use of `String` and `URL` in calls that need a URL.
12 | public protocol URLConvertible
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
13 | {
14 | /// The URL represented by this value.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:206:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
204 | {
205 | public let expectedType, actualType: Any.Type
206 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
207 | }
208 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:212:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
210 | public struct TransformerReturnedNil: Error
211 | {
212 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:12:14: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | // Overridable for testing
12 | internal var now = { Date.timeIntervalSinceReferenceDate }
| |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:516:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
514 | DispatchQueue.main.asyncAfter(deadline: .now() + delay)
515 | {
516 | self.cancelLoadIfUnobserved()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
517 | callback()
518 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:517:13: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
515 | {
516 | self.cancelLoadIfUnobserved()
517 | callback()
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
518 | }
519 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:45:16: warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
43 |
44 | /// The response body if this error came from an HTTP response. Its meaning is API-specific.
45 | public var entity: Entity<Any>?
| `- warning: stored property 'entity' of 'Sendable'-conforming struct 'RequestError' has non-sendable type 'Entity<Any>?'; this is an error in the Swift 6 language mode
46 |
47 | /// Details about the underlying error. Errors originating from Siesta will have a cause from `RequestError.Cause`.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Entity.swift:17:15: note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
15 | Typically extracted from an HTTP message body.
16 | */
17 | public struct Entity<ContentType>
| `- note: consider making generic struct 'Entity' conform to the 'Sendable' protocol
18 | {
19 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:140:24: warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
138 | public struct InvalidURL: Error
139 | {
140 | public let urlSource: URLConvertible?
| `- warning: stored property 'urlSource' of 'Sendable'-conforming struct 'InvalidURL' has non-sendable type '(any URLConvertible)?'; this is an error in the Swift 6 language mode
141 | }
142 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/URL+Siesta.swift:12:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
10 |
11 | /// Allows interchangeable use of `String` and `URL` in calls that need a URL.
12 | public protocol URLConvertible
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
13 | {
14 | /// The URL represented by this value.
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:206:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
204 | {
205 | public let expectedType, actualType: Any.Type
206 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'WrongInputTypeInTranformerPipeline' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
207 | }
208 |
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/RequestError.swift:212:24: warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
210 | public struct TransformerReturnedNil: Error
211 | {
212 | public let transformer: ResponseTransformer
| `- warning: stored property 'transformer' of 'Sendable'-conforming struct 'TransformerReturnedNil' has non-sendable type 'any ResponseTransformer'; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Pipeline/ResponseTransformer.swift:34:17: note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
32 | exclusively owned.
33 | */
34 | public protocol ResponseTransformer: CustomDebugStringConvertible
| `- note: protocol 'ResponseTransformer' does not conform to the 'Sendable' protocol
35 | {
36 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:12:14: warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | // Overridable for testing
12 | internal var now = { Date.timeIntervalSinceReferenceDate }
| |- warning: var 'now' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'now' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:516:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
514 | DispatchQueue.main.asyncAfter(deadline: .now() + delay)
515 | {
516 | self.cancelLoadIfUnobserved()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
517 | callback()
518 | }
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Resource/Resource.swift:517:13: warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
515 | {
516 | self.cancelLoadIfUnobserved()
517 | callback()
| |- warning: sending 'callback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'callback' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
518 | }
519 | }
[87/102] Compiling Siesta_Alamofire Networking-Alamofire.swift
/Users/admin/builder/spi-builder-workspace/Extensions/Alamofire/Networking-Alamofire.swift:82:1: warning: extension declares a conformance of imported type 'Session' to imported protocol 'NetworkingProviderConvertible'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
80 | }
81 |
82 | extension Alamofire.Session: NetworkingProviderConvertible
| |- warning: extension declares a conformance of imported type 'Session' to imported protocol 'NetworkingProviderConvertible'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
83 | {
84 | /// You can pass an `AlamoFire.Manager` when creating a `Service`.
/Users/admin/builder/spi-builder-workspace/Extensions/Alamofire/Networking-Alamofire.swift:89:15: warning: class 'ZeroProgressURLSessionTask' must restate inherited '@unchecked Sendable' conformance
87 | }
88 |
89 | private class ZeroProgressURLSessionTask: URLSessionTask
| `- warning: class 'ZeroProgressURLSessionTask' must restate inherited '@unchecked Sendable' conformance
90 | {
91 | override var countOfBytesSent: Int64
[88/102] Emitting module Siesta_Alamofire
/Users/admin/builder/spi-builder-workspace/Extensions/Alamofire/Networking-Alamofire.swift:82:1: warning: extension declares a conformance of imported type 'Session' to imported protocol 'NetworkingProviderConvertible'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
80 | }
81 |
82 | extension Alamofire.Session: NetworkingProviderConvertible
| |- warning: extension declares a conformance of imported type 'Session' to imported protocol 'NetworkingProviderConvertible'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
83 | {
84 | /// You can pass an `AlamoFire.Manager` when creating a `Service`.
/Users/admin/builder/spi-builder-workspace/Extensions/Alamofire/Networking-Alamofire.swift:89:15: warning: class 'ZeroProgressURLSessionTask' must restate inherited '@unchecked Sendable' conformance
87 | }
88 |
89 | private class ZeroProgressURLSessionTask: URLSessionTask
| `- warning: class 'ZeroProgressURLSessionTask' must restate inherited '@unchecked Sendable' conformance
90 | {
91 | override var countOfBytesSent: Int64
[89/102] Compiling SiestaUI SiestaUI-ObjC.swift
[90/102] Compiling SiestaUI ResourceStatusOverlay.swift
[91/102] Emitting module SiestaUI
[92/102] Compiling SiestaUI RemoteImageView.swift
[93/102] Compiling SiestaUI resource_bundle_accessor.swift
[94/102] Compiling SiestaUI Ω_UI_Deprecations.swift
[95/102] Compiling SiestaUI Collection+Siesta.swift
[96/102] Compiling SiestaUI NetworkActivityIndicator.swift
[97/102] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
error: emit-module command failed with exit code 1 (use -v to see invocation)
[98/102] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[99/102] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | // 3. Apply the mach port as the handler for this thread
185 | thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
| `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | } }
187 |
[100/102] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | // 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: generic parameter 'T' could not be inferred
64 |
65 | // 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | // Write the new thread state
82 | new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
| `- error: cannot find 'x86_thread_state64_t' in scope
83 | new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-2F0A5646E1D333AE.txt
[2/72] Compiling CwlCatchException CwlCatchException.swift
[3/72] Emitting module CwlCatchException
[3/71] Linking libCwlCatchException.dylib
[5/75] Compiling Alamofire ParameterEncoding.swift
[6/75] Compiling Alamofire Protector.swift
[7/75] Compiling Alamofire RedirectHandler.swift
[8/78] Emitting module Siesta
/Users/admin/builder/spi-builder-workspace/Source/Siesta/Support/ARC+Siesta.swift:78:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
59 | after the referenced object has been deallocated, making it suitable for use as a Set member and a Dictionary key.
60 | */
61 | internal struct WeakRef<T: AnyObject>: Hashable
| `- note: 'T' previously declared here
62 | {
63 | private(set) weak var value: T?
:
76 | { hasher.combine(originalHash) }
77 |
78 | internal static func == <T>(lhs: WeakRef<T>, rhs: WeakRef<T>) -> Bool
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
79 | {
80 | return lhs.originalIdentity == rhs.originalIdentity
[9/81] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[10/81] Compiling Alamofire Validation.swift
[11/81] Compiling Siesta Siesta-ObjC.swift
[12/81] Compiling Siesta String+Siesta.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/81] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[14/81] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | // 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: generic parameter 'T' could not be inferred
64 |
65 | // 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | // Write the new thread state
82 | new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
| `- error: cannot find 'x86_thread_state64_t' in scope
83 | new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
[15/81] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | // 3. Apply the mach port as the handler for this thread
185 | thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
| `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | } }
187 |
[16/81] Compiling Alamofire Notifications.swift
[17/81] Compiling Alamofire OperationQueue+Alamofire.swift
[18/81] Compiling Alamofire ParameterEncoder.swift
BUILD FAILURE 6.1 macosSpm