Build Information
Failed to build Siesta, reference 1.5.2 (43f340
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 20:14:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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; this is an error in the Swift 6 language mode
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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; this is an error in the Swift 6 language mode
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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; this is an error in the Swift 6 language mode
152 | {
153 | let processedInfo =
154 | rawInfo.isNew
| `- warning: capture of 'rawInfo' with non-sendable type 'ResponseInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
157 |
158 | DispatchQueue.main.async
159 | { afterTransformation(processedInfo) }
| |- warning: capture of 'afterTransformation' with non-sendable type '(ResponseInfo) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'idSeq' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/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: annotate 'idSeq' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/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: annotate 'idSeq' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/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: annotate 'idSeq' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/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/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: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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/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: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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/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: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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/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: annotate 'now' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /**
/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/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: annotate 'rawData' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'decoding' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'cleanup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | }
272 |
/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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'parsing' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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: annotate 'cancellation' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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
[87/102] Compiling SiestaUI SiestaUI-ObjC.swift
[88/102] Compiling SiestaUI Ω_UI_Deprecations.swift
[89/102] Compiling SiestaUI resource_bundle_accessor.swift
[90/102] Compiling SiestaUI NetworkActivityIndicator.swift
[91/102] Compiling SiestaUI RemoteImageView.swift
[92/102] Emitting module SiestaUI
[93/102] Compiling SiestaUI Collection+Siesta.swift
[94/102] Compiling SiestaUI ResourceStatusOverlay.swift
[95/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
[96/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/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
[98/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:2:17: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | extension UnsafePointer where Pointee : ~Copyable {
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 |
[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 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
BUILD FAILURE 6.0 macosSpm