The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Macro, reference 1.0.4 (7b51ca), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 04:26:19 UTC.

Swift 6 data race errors: 21

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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

27 |     loop.execute {
28 |       execute()
29 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
30 |     }
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:51:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
49 |
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
   |       |- warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |       module.release()
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:52:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
52 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |     }
54 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
[280/314] Compiling MacroCore DetectXcode.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:28:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
26 |             ?? module.eventLoopGroup.next()
27 |     loop.execute {
28 |       execute()
   |       |- warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |       module.release()
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:29:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
27 |     loop.execute {
28 |       execute()
29 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
30 |     }
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:51:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
49 |
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
   |       |- warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |       module.release()
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:52:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
52 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |     }
54 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:155:14: warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                               `- note: consider making generic parameter 'Original' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
153 | {
154 |
155 |   public let original : Original
    |              `- warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
156 |   public let last     : Last
157 |   public let error    : Swift.Error
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:156:14: warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                                         `- note: consider making generic parameter 'Last' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
    :
154 |
155 |   public let original : Original
156 |   public let last     : Last
    |              `- warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
157 |   public let error    : Swift.Error
158 |
[282/314] Compiling MacroCore DuplexStreamType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:155:14: warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                               `- note: consider making generic parameter 'Original' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
153 | {
154 |
155 |   public let original : Original
    |              `- warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
156 |   public let last     : Last
157 |   public let error    : Swift.Error
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:156:14: warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                                         `- note: consider making generic parameter 'Last' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
    :
154 |
155 |   public let original : Original
156 |   public let last     : Last
    |              `- warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
157 |   public let error    : Swift.Error
158 |
[283/314] Compiling MacroCore Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:155:14: warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                               `- note: consider making generic parameter 'Original' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
153 | {
154 |
155 |   public let original : Original
    |              `- warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
156 |   public let last     : Last
157 |   public let error    : Swift.Error
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:156:14: warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                                         `- note: consider making generic parameter 'Last' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
    :
154 |
155 |   public let original : Original
156 |   public let last     : Last
    |              `- warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
157 |   public let error    : Swift.Error
158 |
[284/314] Compiling MacroCore ReadableByteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:155:14: warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                               `- note: consider making generic parameter 'Original' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
153 | {
154 |
155 |   public let original : Original
    |              `- warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
156 |   public let last     : Last
157 |   public let error    : Swift.Error
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:156:14: warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                                         `- note: consider making generic parameter 'Last' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
    :
154 |
155 |   public let original : Original
156 |   public let last     : Last
    |              `- warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
157 |   public let error    : Swift.Error
158 |
[285/314] Compiling MacroCore StringStubs.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:36:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |   public var allocator : ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:233:17: warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 | }
232 |
233 | fileprivate var wasInExit = false
    |                 |- warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'wasInExit' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'wasInExit' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:167:12: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
165 |
166 |       DispatchQueue.main.asyncAfter(deadline: to) {
167 |         if self.workCount.load(ordering: .relaxed) == 0 {
    |            |- 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
168 |           // work still zero, terminate
169 |           if !wasInExit || !self.didRegisterAtExit.load(ordering: .relaxed) {
[286/314] Compiling MacroCore ToString.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:36:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |   public var allocator : ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:233:17: warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 | }
232 |
233 | fileprivate var wasInExit = false
    |                 |- warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'wasInExit' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'wasInExit' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:167:12: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
165 |
166 |       DispatchQueue.main.asyncAfter(deadline: to) {
167 |         if self.workCount.load(ordering: .relaxed) == 0 {
    |            |- 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
168 |           // work still zero, terminate
169 |           if !wasInExit || !self.didRegisterAtExit.load(ordering: .relaxed) {
[287/314] Compiling MacroCore LeftPad.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:36:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |   public var allocator : ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:233:17: warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 | }
232 |
233 | fileprivate var wasInExit = false
    |                 |- warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'wasInExit' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'wasInExit' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:167:12: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
165 |
166 |       DispatchQueue.main.asyncAfter(deadline: to) {
167 |         if self.workCount.load(ordering: .relaxed) == 0 {
    |            |- 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
168 |           // work still zero, terminate
169 |           if !wasInExit || !self.didRegisterAtExit.load(ordering: .relaxed) {
[288/314] Compiling MacroCore MacroCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:36:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |   public var allocator : ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:233:17: warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 | }
232 |
233 | fileprivate var wasInExit = false
    |                 |- warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'wasInExit' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'wasInExit' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:167:12: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
165 |
166 |       DispatchQueue.main.asyncAfter(deadline: to) {
167 |         if self.workCount.load(ordering: .relaxed) == 0 {
    |            |- 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
168 |           // work still zero, terminate
169 |           if !wasInExit || !self.didRegisterAtExit.load(ordering: .relaxed) {
[289/314] Compiling MacroCore ErrorEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:19: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                   |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:28: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
166 |
167 | @usableFromInline
168 | internal final class _QueueBoundListener<T>: Listener<T> {
    |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
169 |   @usableFromInline let queue    : DispatchQueue
170 |   @usableFromInline let callback : EventHandler
    :
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:27: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                           |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:36: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
186 |
187 | @usableFromInline
188 | internal final class _EventLoopBoundListener<T>: Listener<T> {
    |                                              `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
189 |   @usableFromInline let eventLoop : EventLoop
190 |   @usableFromInline let callback  : EventHandler
    :
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                                    `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
207 |     }
208 |   }
[290/314] Compiling MacroCore EventListenerSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:19: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                   |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:28: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
166 |
167 | @usableFromInline
168 | internal final class _QueueBoundListener<T>: Listener<T> {
    |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
169 |   @usableFromInline let queue    : DispatchQueue
170 |   @usableFromInline let callback : EventHandler
    :
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:27: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                           |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:36: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
186 |
187 | @usableFromInline
188 | internal final class _EventLoopBoundListener<T>: Listener<T> {
    |                                              `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
189 |   @usableFromInline let eventLoop : EventLoop
190 |   @usableFromInline let callback  : EventHandler
    :
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                                    `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
207 |     }
208 |   }
[291/314] Compiling MacroCore ListenerType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:19: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                   |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:28: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
166 |
167 | @usableFromInline
168 | internal final class _QueueBoundListener<T>: Listener<T> {
    |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
169 |   @usableFromInline let queue    : DispatchQueue
170 |   @usableFromInline let callback : EventHandler
    :
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:27: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                           |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:36: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
186 |
187 | @usableFromInline
188 | internal final class _EventLoopBoundListener<T>: Listener<T> {
    |                                              `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
189 |   @usableFromInline let eventLoop : EventLoop
190 |   @usableFromInline let callback  : EventHandler
    :
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                                    `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
207 |     }
208 |   }
[292/314] Compiling MacroCore JSError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:19: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                   |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:28: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
166 |
167 | @usableFromInline
168 | internal final class _QueueBoundListener<T>: Listener<T> {
    |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
169 |   @usableFromInline let queue    : DispatchQueue
170 |   @usableFromInline let callback : EventHandler
    :
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:27: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                           |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:36: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
186 |
187 | @usableFromInline
188 | internal final class _EventLoopBoundListener<T>: Listener<T> {
    |                                              `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
189 |   @usableFromInline let eventLoop : EventLoop
190 |   @usableFromInline let callback  : EventHandler
    :
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                                    `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
207 |     }
208 |   }
[293/314] Compiling MacroCore CollectionUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Buffer/CollectionUtils.swift:32:21: warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct StringMatchOptions: OptionSet {
    |               `- note: consider making struct 'StringMatchOptions' conform to the 'Sendable' protocol
 10 |   public let rawValue : UInt8
 11 |
    :
 30 |    * possible prefix of the needle. In the example that is `buf`.
 31 |    */
 32 |   public static let partialSuffixMatch = StringMatchOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'partialSuffixMatch' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:112:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |  */
 97 | @frozen
 98 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
 99 |
100 |   @usableFromInline
    :
110 | public extension EnvironmentValues {
111 |
112 |   static let empty = EnvironmentValues()
    |              |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |   @inlinable
[294/314] Compiling MacroCore Console.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Buffer/CollectionUtils.swift:32:21: warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct StringMatchOptions: OptionSet {
    |               `- note: consider making struct 'StringMatchOptions' conform to the 'Sendable' protocol
 10 |   public let rawValue : UInt8
 11 |
    :
 30 |    * possible prefix of the needle. In the example that is `buf`.
 31 |    */
 32 |   public static let partialSuffixMatch = StringMatchOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'partialSuffixMatch' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:112:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |  */
 97 | @frozen
 98 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
 99 |
100 |   @usableFromInline
    :
110 | public extension EnvironmentValues {
111 |
112 |   static let empty = EnvironmentValues()
    |              |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |   @inlinable
[295/314] Compiling MacroCore Dirname.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Buffer/CollectionUtils.swift:32:21: warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct StringMatchOptions: OptionSet {
    |               `- note: consider making struct 'StringMatchOptions' conform to the 'Sendable' protocol
 10 |   public let rawValue : UInt8
 11 |
    :
 30 |    * possible prefix of the needle. In the example that is `buf`.
 31 |    */
 32 |   public static let partialSuffixMatch = StringMatchOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'partialSuffixMatch' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:112:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |  */
 97 | @frozen
 98 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
 99 |
100 |   @usableFromInline
    :
110 | public extension EnvironmentValues {
111 |
112 |   static let empty = EnvironmentValues()
    |              |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |   @inlinable
[296/314] Compiling MacroCore EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Buffer/CollectionUtils.swift:32:21: warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct StringMatchOptions: OptionSet {
    |               `- note: consider making struct 'StringMatchOptions' conform to the 'Sendable' protocol
 10 |   public let rawValue : UInt8
 11 |
    :
 30 |    * possible prefix of the needle. In the example that is `buf`.
 31 |    */
 32 |   public static let partialSuffixMatch = StringMatchOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'partialSuffixMatch' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:112:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |  */
 97 | @frozen
 98 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
 99 |
100 |   @usableFromInline
    :
110 | public extension EnvironmentValues {
111 |
112 |   static let empty = EnvironmentValues()
    |              |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Process/Warnings.swift:13:22: warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension process { // Warnings
12 |
13 |   private static var _warningListeners = EventListenerSet<Warning>()
   |                      |- warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_warningListeners' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_warningListeners' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |   private static let _warningListenersLock = NIOConcurrencyHelpers.NIOLock()
15 |
[298/314] Compiling MacroCore Process.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Process/Warnings.swift:13:22: warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension process { // Warnings
12 |
13 |   private static var _warningListeners = EventListenerSet<Warning>()
   |                      |- warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_warningListeners' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_warningListeners' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |   private static let _warningListenersLock = NIOConcurrencyHelpers.NIOLock()
15 |
[299/314] Compiling MacroCore Warnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Process/Warnings.swift:13:22: warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension process { // Warnings
12 |
13 |   private static var _warningListeners = EventListenerSet<Warning>()
   |                      |- warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_warningListeners' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_warningListeners' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |   private static let _warningListenersLock = NIOConcurrencyHelpers.NIOLock()
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Process/Warnings.swift:13:22: warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension process { // Warnings
12 |
13 |   private static var _warningListeners = EventListenerSet<Warning>()
   |                      |- warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_warningListeners' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_warningListeners' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |   private static let _warningListenersLock = NIOConcurrencyHelpers.NIOLock()
15 |
[301/314] Compiling MacroCore JSON.swift
[302/314] Compiling MacroCore CollectionStubs.swift
[303/314] Compiling MacroCore Math.swift
[304/314] Compiling MacroCore Object.swift
[305/314] Compiling MacroCore WritableByteStreamType.swift
[306/314] Compiling MacroCore WritableStreamBase.swift
[307/314] Compiling MacroCore WritableStreamType.swift
[308/314] Compiling MacroCore StringEncoding.swift
[314/314] Emitting module MacroCore
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Buffer/CollectionUtils.swift:32:21: warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  7 | //
  8 |
  9 | public struct StringMatchOptions: OptionSet {
    |               `- note: consider making struct 'StringMatchOptions' conform to the 'Sendable' protocol
 10 |   public let rawValue : UInt8
 11 |
    :
 30 |    * possible prefix of the needle. In the example that is `buf`.
 31 |    */
 32 |   public static let partialSuffixMatch = StringMatchOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'partialSuffixMatch' is not concurrency-safe because non-'Sendable' type 'StringMatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'partialSuffixMatch' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 | }
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:112:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
 96 |  */
 97 | @frozen
 98 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
 99 |
100 |   @usableFromInline
    :
110 | public extension EnvironmentValues {
111 |
112 |   static let empty = EnvironmentValues()
    |              |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EnvironmentValues' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:19: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                   |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:181:28: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
166 |
167 | @usableFromInline
168 | internal final class _QueueBoundListener<T>: Listener<T> {
    |                                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
169 |   @usableFromInline let queue    : DispatchQueue
170 |   @usableFromInline let callback : EventHandler
    :
179 |     let value    = value
180 |     let callback = self.callback
181 |     queue.async { callback(value) }
    |                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
182 |   }
183 | }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:27: warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                           |- warning: capture of 'callback' with non-sendable type '(T) -> Void' in a '@Sendable' closure
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Events/EventListenerSet.swift:206:36: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
186 |
187 | @usableFromInline
188 | internal final class _EventLoopBoundListener<T>: Listener<T> {
    |                                              `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
189 |   @usableFromInline let eventLoop : EventLoop
190 |   @usableFromInline let callback  : EventHandler
    :
204 |       let value    = value
205 |       let callback = self.callback
206 |       eventLoop.execute { callback(value) }
    |                                    `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
207 |     }
208 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:36:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MacroCore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |   public var allocator : ByteBufferAllocator
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:233:17: warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
231 | }
232 |
233 | fileprivate var wasInExit = false
    |                 |- warning: var 'wasInExit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'wasInExit' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'wasInExit' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:28:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
26 |             ?? module.eventLoopGroup.next()
27 |     loop.execute {
28 |       execute()
   |       |- warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
29 |       module.release()
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:29:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
27 |     loop.execute {
28 |       execute()
29 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
30 |     }
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:51:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
49 |
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
   |       |- warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |       module.release()
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:52:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
51 |       execute()
52 |       module.release()
   |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |     }
54 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Process/Warnings.swift:13:22: warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension process { // Warnings
12 |
13 |   private static var _warningListeners = EventListenerSet<Warning>()
   |                      |- warning: static property '_warningListeners' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert '_warningListeners' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property '_warningListeners' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |   private static let _warningListenersLock = NIOConcurrencyHelpers.NIOLock()
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:155:14: warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                               `- note: consider making generic parameter 'Original' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
153 | {
154 |
155 |   public let original : Original
    |              `- warning: stored property 'original' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Original'; this is an error in the Swift 6 language mode
156 |   public let last     : Last
157 |   public let error    : Swift.Error
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Streams/Pipe.swift:156:14: warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
148 | }
149 |
150 | public struct PipeSourceError<Original, Last>: PipeSourceErrorType
    |                                         `- note: consider making generic parameter 'Last' conform to the 'Sendable' protocol
151 |                 where Original : ReadableStreamType,
152 |                       Last     : ReadableStreamType
    :
154 |
155 |   public let original : Original
156 |   public let last     : Last
    |              `- warning: stored property 'last' of 'Sendable'-conforming generic struct 'PipeSourceError' has non-sendable type 'Last'; this is an error in the Swift 6 language mode
157 |   public let error    : Swift.Error
158 |
[315/342] Compiling fs ResultExtensions.swift
[316/343] Compiling http HTTPHeadersHolder.swift
[317/343] Compiling http OutgoingMessage.swift
[318/344] Compiling http ServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/ServerResponse.swift:96:27: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 94 |     if let channel = socket {
 95 |       channel.writeAndFlush(HTTPServerResponsePart.head(part))
 96 |              .whenFailure(handleError)
    |                           `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
 97 |     }
 98 |     else {
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/ServerResponse.swift:151:18: warning: capture of 'self' with non-sendable type 'ServerResponse' in a '@Sendable' closure
 42 |  *         ClientRequest
 43 |  */
 44 | open class ServerResponse: OutgoingMessage, CustomStringConvertible {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
 45 |
 46 |   public var version = HTTPVersion(major: 1, minor: 1)
    :
149 |              .whenComplete { result in
150 |                if case .failure(let error) = result {
151 |                  self.handleError(error)
    |                  `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a '@Sendable' closure
152 |                }
153 |                self.state = .finished
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/ServerResponse.swift:234:25: warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
232 |     let head = HTTPResponseHead(version: version, status: .continue)
233 |     channel.writeAndFlush(HTTPServerResponsePart.head(head))
234 |            .whenFailure(handleError)
    |                         `- warning: converting non-sendable function value to '@Sendable (any Error) -> Void' may introduce data races
235 |   }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/ServerResponse.swift:269:16: warning: capture of 'self' with non-sendable type 'ServerResponse' in a '@Sendable' closure
 42 |  *         ClientRequest
 43 |  */
 44 | open class ServerResponse: OutgoingMessage, CustomStringConvertible {
    |            `- note: class 'ServerResponse' does not conform to the 'Sendable' protocol
 45 |
 46 |   public var version = HTTPVersion(major: 1, minor: 1)
    :
267 |            .whenComplete { result in
268 |              if case .failure(let error) = result {
269 |                self.handleError(error)
    |                `- warning: capture of 'self' with non-sendable type 'ServerResponse' in a '@Sendable' closure
270 |                whenDone(error)
271 |              }
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/ServerResponse.swift:270:16: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
268 |              if case .failure(let error) = result {
269 |                self.handleError(error)
270 |                whenDone(error)
    |                |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
271 |              }
272 |              else {
[319/344] Compiling fs fs.swift
[320/344] Compiling fs StatStruct.swift
[321/344] Compiling fs AsyncWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:39:15: warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a '@Sendable' closure
37 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
38 |         do {
39 |           try f(arg)
   |               |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a '@Sendable' closure
   |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |           returnError = nil
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:39:17: warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
25 |
26 |   @inlinable static
27 |   func _evalAsync<ArgT>(on eventLoop: EventLoop? = nil,
   |                   `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
28 |                         _     f : @escaping ( ArgT ) throws -> Void,
29 |                         _   arg : ArgT,
   :
37 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
38 |         do {
39 |           try f(arg)
   |                 `- warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
40 |           returnError = nil
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:51:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
49 |
50 |       loop.execute {
51 |         yield(returnError)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         module.release()
53 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:52:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |       loop.execute {
51 |         yield(returnError)
52 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |       }
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
12 | import class    NIO.NIOThreadPool
13 | import enum     NIO.ChannelError
14 | import class    MacroCore.MacroCore
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
15 |
16 | extension FileSystemModule {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:51:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
49 |
50 |       loop.execute {
51 |         yield(returnError)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         module.release()
53 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:52:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |       loop.execute {
51 |         yield(returnError)
52 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |       }
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:71:24: warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a '@Sendable' closure
69 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
70 |         do {
71 |           result = try f(arg)
   |                        |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |           returnError = nil
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:71:26: warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
56 |
57 |   @inlinable static
58 |   func _evalAsync<ArgT, RT>(on eventLoop: EventLoop? = nil,
   |                   `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
59 |                             _     f : @escaping ( ArgT ) throws -> RT,
60 |                             _   arg : ArgT,
   :
69 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
70 |         do {
71 |           result = try f(arg)
   |                          `- warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
72 |           returnError = nil
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:9: warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:86:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
84 |       loop.execute {
85 |         yield(returnError, result)
86 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
87 |       }
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:9: warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:28: warning: capture of 'result' with non-sendable type 'RT?' in a '@Sendable' closure
56 |
57 |   @inlinable static
58 |   func _evalAsync<ArgT, RT>(on eventLoop: EventLoop? = nil,
   |                         `- note: consider making generic parameter 'RT' conform to the 'Sendable' protocol
59 |                             _     f : @escaping ( ArgT ) throws -> RT,
60 |                             _   arg : ArgT,
   :
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |                            `- warning: capture of 'result' with non-sendable type 'RT?' in a '@Sendable' closure
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:86:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
84 |       loop.execute {
85 |         yield(returnError, result)
86 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
87 |       }
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
[322/344] Compiling fs FileStream.swift
[323/344] Compiling fs Promise.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:44:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 42 |
 43 |     FileSystemModule.threadPool.submit { shouldRun in
 44 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 45 |
 46 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 12 | import class    NIO.NIOThreadPool
 13 | import enum     NIO.ChannelError
 14 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 15 | import enum     MacroCore.CharsetConversionError
 16 | import struct   MacroCore.Buffer
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:44:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 42 |
 43 |     FileSystemModule.threadPool.submit { shouldRun in
 44 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 45 |
 46 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:71:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 69 |
 70 |     FileSystemModule.threadPool.submit { shouldRun in
 71 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 72 |
 73 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:71:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 69 |
 70 |     FileSystemModule.threadPool.submit { shouldRun in
 71 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 72 |
 73 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:28:21: warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | open class FileReadStream: ReadableByteStream, FileStream {
 27 |
 28 |   public static var defaultReadableHighWaterMark = 64 * 1024
    |                     |- warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultReadableHighWaterMark' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultReadableHighWaterMark' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |   public let eventLoop  : EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:110:15: warning: capture of 'self' with non-sendable type 'FileReadStream' in a '@Sendable' closure
 24 | }
 25 |
 26 | open class FileReadStream: ReadableByteStream, FileStream {
    |            `- note: class 'FileReadStream' does not conform to the 'Sendable' protocol
 27 |
 28 |   public static var defaultReadableHighWaterMark = 64 * 1024
    :
108 |           case .success(let buffer):
109 |             if buffer.readableBytes == 0 {
110 |               self.handleEOF()
    |               `- warning: capture of 'self' with non-sendable type 'FileReadStream' in a '@Sendable' closure
111 |             }
112 |             else {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:126:25: warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
124 |     assert(pending)
125 |     fileIO.openFile(path: path, mode: .read, eventLoop: eventLoop)
126 |           .whenComplete(_handleOpenResult)
    |                         `- warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
127 |   }
128 |   func _handleOpenResult(_ result: Result<NIOFileHandle, Swift.Error>) {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:125:12: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
123 |     assert(fileHandle == nil)
124 |     assert(pending)
125 |     fileIO.openFile(path: path, mode: .read, eventLoop: eventLoop)
    |            `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
126 |           .whenComplete(_handleOpenResult)
127 |   }
[324/344] Compiling fs FileReadStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:44:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 42 |
 43 |     FileSystemModule.threadPool.submit { shouldRun in
 44 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 45 |
 46 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 12 | import class    NIO.NIOThreadPool
 13 | import enum     NIO.ChannelError
 14 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 15 | import enum     MacroCore.CharsetConversionError
 16 | import struct   MacroCore.Buffer
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:44:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 42 |
 43 |     FileSystemModule.threadPool.submit { shouldRun in
 44 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 45 |
 46 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:71:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 69 |
 70 |     FileSystemModule.threadPool.submit { shouldRun in
 71 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 72 |
 73 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:71:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 69 |
 70 |     FileSystemModule.threadPool.submit { shouldRun in
 71 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
 72 |
 73 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:28:21: warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | open class FileReadStream: ReadableByteStream, FileStream {
 27 |
 28 |   public static var defaultReadableHighWaterMark = 64 * 1024
    |                     |- warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultReadableHighWaterMark' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultReadableHighWaterMark' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |   public let eventLoop  : EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:110:15: warning: capture of 'self' with non-sendable type 'FileReadStream' in a '@Sendable' closure
 24 | }
 25 |
 26 | open class FileReadStream: ReadableByteStream, FileStream {
    |            `- note: class 'FileReadStream' does not conform to the 'Sendable' protocol
 27 |
 28 |   public static var defaultReadableHighWaterMark = 64 * 1024
    :
108 |           case .success(let buffer):
109 |             if buffer.readableBytes == 0 {
110 |               self.handleEOF()
    |               `- warning: capture of 'self' with non-sendable type 'FileReadStream' in a '@Sendable' closure
111 |             }
112 |             else {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:126:25: warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
124 |     assert(pending)
125 |     fileIO.openFile(path: path, mode: .read, eventLoop: eventLoop)
126 |           .whenComplete(_handleOpenResult)
    |                         `- warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
127 |   }
128 |   func _handleOpenResult(_ result: Result<NIOFileHandle, Swift.Error>) {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:125:12: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
123 |     assert(fileHandle == nil)
124 |     assert(pending)
125 |     fileIO.openFile(path: path, mode: .read, eventLoop: eventLoop)
    |            `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
126 |           .whenComplete(_handleOpenResult)
127 |   }
[325/344] Compiling fs FileWriteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:33:17: warning: var 'retainedStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 | fileprivate let retainLock      = NIOLock()
 33 | fileprivate var retainedStreams = [ ObjectIdentifier : FileWriteStream ]()
    |                 |- warning: var 'retainedStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'retainedStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'retainedStreams' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 | open class FileWriteStream: WritableByteStream, FileStream,
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:38:21: warning: static property 'defaultWritableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 |                             WritableStreamType, WritableByteStreamType
 37 | {
 38 |   public static var defaultWritableHighWaterMark = 64 * 1024
    |                     |- warning: static property 'defaultWritableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultWritableHighWaterMark' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultWritableHighWaterMark' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |   enum StreamState: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:176:11: warning: capture of 'self' with non-sendable type 'FileWriteStream' in a '@Sendable' closure
 33 | fileprivate var retainedStreams = [ ObjectIdentifier : FileWriteStream ]()
 34 |
 35 | open class FileWriteStream: WritableByteStream, FileStream,
    |            `- note: class 'FileWriteStream' does not conform to the 'Sendable' protocol
 36 |                             WritableStreamType, WritableByteStreamType
 37 | {
    :
174 |                    eventLoop: eventLoop)
175 |         .whenComplete { result in
176 |           self.pendingWrites -= count
    |           `- warning: capture of 'self' with non-sendable type 'FileWriteStream' in a '@Sendable' closure
177 |           assert(self.pendingWrites >= 0)
178 |
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:183:11: warning: capture of 'whenDone' with non-sendable type '() -> Void' in a '@Sendable' closure
181 |           }
182 |
183 |           whenDone()
    |           |- warning: capture of 'whenDone' with non-sendable type '() -> Void' in a '@Sendable' closure
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
184 |
185 |           if self.pendingWrites < 1 {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:177:18: warning: implicit capture of 'self' requires that 'FileWriteStream' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 33 | fileprivate var retainedStreams = [ ObjectIdentifier : FileWriteStream ]()
 34 |
 35 | open class FileWriteStream: WritableByteStream, FileStream,
    |            `- note: class 'FileWriteStream' does not conform to the 'Sendable' protocol
 36 |                             WritableStreamType, WritableByteStreamType
 37 | {
    :
175 |         .whenComplete { result in
176 |           self.pendingWrites -= count
177 |           assert(self.pendingWrites >= 0)
    |                  `- warning: implicit capture of 'self' requires that 'FileWriteStream' conforms to 'Sendable'; this is an error in the Swift 6 language mode
178 |
179 |           if case .failure(let error) = result {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:237:25: warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
235 |     fileIO.openFile(path: path, mode: .write, flags: flags,
236 |                     eventLoop: eventLoop)
237 |           .whenComplete(_handleOpenResult)
    |                         `- warning: converting non-sendable function value to '@Sendable (Result<NIOFileHandle, any Error>) -> Void' may introduce data races
238 |   }
239 |   func _handleOpenResult(_ result: Result<NIOFileHandle, Swift.Error>) {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:235:12: warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
233 |     retainIfNecessary()
234 |
235 |     fileIO.openFile(path: path, mode: .write, flags: flags,
    |            `- warning: 'openFile(path:mode:flags:eventLoop:)' is deprecated: Avoid using NonBlockingFileIO. The type is difficult to hold correctly, use NIOFileSystem as a replacement API.
236 |                     eventLoop: eventLoop)
237 |           .whenComplete(_handleOpenResult)
[326/344] Emitting module fs
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 11 | import class    NIO.NIOThreadPool
 12 | import enum     NIO.ChannelError
 13 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 14 | import enum     MacroCore.process
 15 | import enum     MacroCore.CharsetConversionError
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 12 | import class    NIO.NIOThreadPool
 13 | import enum     NIO.ChannelError
 14 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 15 | import enum     MacroCore.CharsetConversionError
 16 | import struct   MacroCore.Buffer
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:147:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
145 |
146 |     FileSystemModule.threadPool.submit { shouldRun in
147 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
148 |
149 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Promise.swift:177:15: warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
175 |
176 |     FileSystemModule.threadPool.submit { shouldRun in
177 |       defer { module.release() }
    |               `- warning: capture of 'module' with non-sendable type 'MacroCore' in an isolated local function; this is an error in the Swift 6 language mode
178 |
179 |       guard case shouldRun = NIOThreadPool.WorkItemState.active else {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileReadStream.swift:28:21: warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | open class FileReadStream: ReadableByteStream, FileStream {
 27 |
 28 |   public static var defaultReadableHighWaterMark = 64 * 1024
    |                     |- warning: static property 'defaultReadableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultReadableHighWaterMark' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultReadableHighWaterMark' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |   public let eventLoop  : EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:33:17: warning: var 'retainedStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 | fileprivate let retainLock      = NIOLock()
 33 | fileprivate var retainedStreams = [ ObjectIdentifier : FileWriteStream ]()
    |                 |- warning: var 'retainedStreams' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                 |- note: convert 'retainedStreams' to a 'let' constant to make 'Sendable' shared state immutable
    |                 |- note: add '@MainActor' to make var 'retainedStreams' part of global actor 'MainActor'
    |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 | open class FileWriteStream: WritableByteStream, FileStream,
/Users/admin/builder/spi-builder-workspace/Sources/fs/Streams/FileWriteStream.swift:38:21: warning: static property 'defaultWritableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 |                             WritableStreamType, WritableByteStreamType
 37 | {
 38 |   public static var defaultWritableHighWaterMark = 64 * 1024
    |                     |- warning: static property 'defaultWritableHighWaterMark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultWritableHighWaterMark' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultWritableHighWaterMark' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |   enum StreamState: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:39:15: warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a '@Sendable' closure
37 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
38 |         do {
39 |           try f(arg)
   |               |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> Void' in a '@Sendable' closure
   |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |           returnError = nil
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:39:17: warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
25 |
26 |   @inlinable static
27 |   func _evalAsync<ArgT>(on eventLoop: EventLoop? = nil,
   |                   `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
28 |                         _     f : @escaping ( ArgT ) throws -> Void,
29 |                         _   arg : ArgT,
   :
37 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
38 |         do {
39 |           try f(arg)
   |                 `- warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
40 |           returnError = nil
41 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:51:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
49 |
50 |       loop.execute {
51 |         yield(returnError)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         module.release()
53 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:52:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |       loop.execute {
51 |         yield(returnError)
52 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |       }
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
12 | import class    NIO.NIOThreadPool
13 | import enum     NIO.ChannelError
14 | import class    MacroCore.MacroCore
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
15 |
16 | extension FileSystemModule {
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:51:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
49 |
50 |       loop.execute {
51 |         yield(returnError)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         module.release()
53 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:52:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
50 |       loop.execute {
51 |         yield(returnError)
52 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
53 |       }
54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:71:24: warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a '@Sendable' closure
69 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
70 |         do {
71 |           result = try f(arg)
   |                        |- warning: capture of 'f' with non-sendable type '(ArgT) throws -> RT' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |           returnError = nil
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:71:26: warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
56 |
57 |   @inlinable static
58 |   func _evalAsync<ArgT, RT>(on eventLoop: EventLoop? = nil,
   |                   `- note: consider making generic parameter 'ArgT' conform to the 'Sendable' protocol
59 |                             _     f : @escaping ( ArgT ) throws -> RT,
60 |                             _   arg : ArgT,
   :
69 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
70 |         do {
71 |           result = try f(arg)
   |                          `- warning: capture of 'arg' with non-sendable type 'ArgT' in a '@Sendable' closure
72 |           returnError = nil
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:9: warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:86:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
84 |       loop.execute {
85 |         yield(returnError, result)
86 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
87 |       }
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:9: warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, RT?) -> Void' in a '@Sendable' closure
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:85:28: warning: capture of 'result' with non-sendable type 'RT?' in a '@Sendable' closure
56 |
57 |   @inlinable static
58 |   func _evalAsync<ArgT, RT>(on eventLoop: EventLoop? = nil,
   |                         `- note: consider making generic parameter 'RT' conform to the 'Sendable' protocol
59 |                             _     f : @escaping ( ArgT ) throws -> RT,
60 |                             _   arg : ArgT,
   :
83 |
84 |       loop.execute {
85 |         yield(returnError, result)
   |                            `- warning: capture of 'result' with non-sendable type 'RT?' in a '@Sendable' closure
86 |         module.release()
87 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/Utils/AsyncWrapper.swift:86:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
84 |       loop.execute {
85 |         yield(returnError, result)
86 |         module.release()
   |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
87 |       }
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
[327/344] Compiling http Agent.swift
[328/344] Compiling http ClientRequest.swift
[329/344] Compiling fs File.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:66:7: warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
 64 |
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |       module.release()
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:67:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
 67 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 68 |     }
 69 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 11 | import class    NIO.NIOThreadPool
 12 | import enum     NIO.ChannelError
 13 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 14 | import enum     MacroCore.process
 15 | import enum     MacroCore.CharsetConversionError
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:66:7: warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
 64 |
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |       module.release()
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:67:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
 67 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 68 |     }
 69 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:114:7: warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
112 |
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 |       module.release()
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:115:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
115 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
116 |     }
117 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:114:7: warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
112 |
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 |       module.release()
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:115:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
115 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
116 |     }
117 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:9: warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:92:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 90 |       loop.execute {
 91 |         yield(resultError, result)
 92 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 93 |       }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 11 | import class    NIO.NIOThreadPool
 12 | import enum     NIO.ChannelError
 13 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 14 | import struct   Foundation.Data
 15 | import struct   Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:9: warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:28: warning: capture of 'result' with non-sendable type 'Any' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |                            `- warning: capture of 'result' with non-sendable type 'Any' in a '@Sendable' closure
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:92:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 90 |       loop.execute {
 91 |         yield(resultError, result)
 92 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 93 |       }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:9: warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:163:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
161 |       loop.execute {
162 |         yield(resultError, result)
163 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:9: warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:28: warning: capture of 'result' with non-sendable type 'T?' in a '@Sendable' closure
126 |    *                error).
127 |    */
128 |   static func readFile<T>(on eventLoop : EventLoop? = nil,
    |                        `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
129 |                           _       path : String,
130 |                           as      type : T.Type,
    :
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |                            `- warning: capture of 'result' with non-sendable type 'T?' in a '@Sendable' closure
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:163:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
161 |       loop.execute {
162 |         yield(resultError, result)
163 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:210:65: warning: capture of 'json' with non-sendable type 'Any' in a '@Sendable' closure
208 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
209 |         do {
210 |           let data = try JSONSerialization.data(withJSONObject: json,
    |                                                                 `- warning: capture of 'json' with non-sendable type 'Any' in a '@Sendable' closure
211 |                                                 options: options)
212 |           try data.write(to: URL(fileURLWithPath: path), options: [.atomic])
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:224:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
222 |
223 |       loop.execute {
224 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |         module.release()
226 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:225:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
223 |       loop.execute {
224 |         yield(resultError)
225 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
226 |       }
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:224:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
222 |
223 |       loop.execute {
224 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |         module.release()
226 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:225:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
223 |       loop.execute {
224 |         yield(resultError)
225 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
226 |       }
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:272:47: warning: capture of 'json' with non-sendable type 'T' in a '@Sendable' closure
254 |    *                if one occurred, or nil.
255 |    */
256 |   static func writeFile<T>(on eventLoop : EventLoop? = nil,
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
257 |                            _       path : String,
258 |                            _       json : T,
    :
270 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
271 |         do {
272 |           let data = try makeEncoder().encode(json)
    |                                               `- warning: capture of 'json' with non-sendable type 'T' in a '@Sendable' closure
273 |           try data.write(to: URL(fileURLWithPath: path), options: [.atomic])
274 |           resultError = nil
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:285:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
283 |
284 |       loop.execute {
285 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
286 |         module.release()
287 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:286:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
284 |       loop.execute {
285 |         yield(resultError)
286 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
287 |       }
288 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:285:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
283 |
284 |       loop.execute {
285 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
286 |         module.release()
287 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:286:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
284 |       loop.execute {
285 |         yield(resultError)
286 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
287 |       }
288 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
[330/344] Compiling fs JSONFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:66:7: warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
 64 |
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |       module.release()
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:67:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
 67 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 68 |     }
 69 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 11 | import class    NIO.NIOThreadPool
 12 | import enum     NIO.ChannelError
 13 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 14 | import enum     MacroCore.process
 15 | import enum     MacroCore.CharsetConversionError
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:66:7: warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
 64 |
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, Buffer?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |       module.release()
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:67:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 65 |     loop.execute {
 66 |       yield(result.jsError, result.jsValue)
 67 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 68 |     }
 69 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:114:7: warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
112 |
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 |       module.release()
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:115:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
115 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
116 |     }
117 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:114:7: warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
112 |
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
    |       |- warning: capture of 'yield' with non-sendable type '((any Error)?, String?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 |       module.release()
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:115:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
113 |     loop.execute {
114 |       yield(result.jsError, result.jsValue)
115 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
116 |     }
117 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:200:7: warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
198 |
199 |     loop.execute {
200 |       whenDone(yieldError)
    |       |- warning: capture of 'whenDone' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
201 |       module.release()
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/fs/File.swift:201:7: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
199 |     loop.execute {
200 |       whenDone(yieldError)
201 |       module.release()
    |       `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
202 |     }
203 |   }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:9: warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:92:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 90 |       loop.execute {
 91 |         yield(resultError, result)
 92 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 93 |       }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 11 | import class    NIO.NIOThreadPool
 12 | import enum     NIO.ChannelError
 13 | import class    MacroCore.MacroCore
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MacroCore'
 14 | import struct   Foundation.Data
 15 | import struct   Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:9: warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, Any) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:91:28: warning: capture of 'result' with non-sendable type 'Any' in a '@Sendable' closure
 89 |
 90 |       loop.execute {
 91 |         yield(resultError, result)
    |                            `- warning: capture of 'result' with non-sendable type 'Any' in a '@Sendable' closure
 92 |         module.release()
 93 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:92:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 90 |       loop.execute {
 91 |         yield(resultError, result)
 92 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
 93 |       }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:9: warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:163:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
161 |       loop.execute {
162 |         yield(resultError, result)
163 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:9: warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?, T?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:162:28: warning: capture of 'result' with non-sendable type 'T?' in a '@Sendable' closure
126 |    *                error).
127 |    */
128 |   static func readFile<T>(on eventLoop : EventLoop? = nil,
    |                        `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
129 |                           _       path : String,
130 |                           as      type : T.Type,
    :
160 |
161 |       loop.execute {
162 |         yield(resultError, result)
    |                            `- warning: capture of 'result' with non-sendable type 'T?' in a '@Sendable' closure
163 |         module.release()
164 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:163:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
161 |       loop.execute {
162 |         yield(resultError, result)
163 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
164 |       }
165 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:210:65: warning: capture of 'json' with non-sendable type 'Any' in a '@Sendable' closure
208 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
209 |         do {
210 |           let data = try JSONSerialization.data(withJSONObject: json,
    |                                                                 `- warning: capture of 'json' with non-sendable type 'Any' in a '@Sendable' closure
211 |                                                 options: options)
212 |           try data.write(to: URL(fileURLWithPath: path), options: [.atomic])
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:224:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
222 |
223 |       loop.execute {
224 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |         module.release()
226 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:225:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
223 |       loop.execute {
224 |         yield(resultError)
225 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
226 |       }
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:224:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
222 |
223 |       loop.execute {
224 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |         module.release()
226 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:225:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
223 |       loop.execute {
224 |         yield(resultError)
225 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
226 |       }
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:272:47: warning: capture of 'json' with non-sendable type 'T' in a '@Sendable' closure
254 |    *                if one occurred, or nil.
255 |    */
256 |   static func writeFile<T>(on eventLoop : EventLoop? = nil,
    |                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
257 |                            _       path : String,
258 |                            _       json : T,
    :
270 |       if case shouldRun = NIOThreadPool.WorkItemState.active {
271 |         do {
272 |           let data = try makeEncoder().encode(json)
    |                                               `- warning: capture of 'json' with non-sendable type 'T' in a '@Sendable' closure
273 |           try data.write(to: URL(fileURLWithPath: path), options: [.atomic])
274 |           resultError = nil
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:285:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
283 |
284 |       loop.execute {
285 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
286 |         module.release()
287 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:286:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
284 |       loop.execute {
285 |         yield(resultError)
286 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
287 |       }
288 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:285:9: warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
283 |
284 |       loop.execute {
285 |         yield(resultError)
    |         |- warning: capture of 'yield' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
286 |         module.release()
287 |       }
/Users/admin/builder/spi-builder-workspace/Sources/fs/JSONFile.swift:286:9: warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
284 |       loop.execute {
285 |         yield(resultError)
286 |         module.release()
    |         `- warning: capture of 'module' with non-sendable type 'MacroCore' in a '@Sendable' closure
287 |       }
288 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:34:20: note: class 'MacroCore' does not conform to the 'Sendable' protocol
 32 |  * will if you do it early on.
 33 |  */
 34 | public final class MacroCore {
    |                    `- note: class 'MacroCore' does not conform to the 'Sendable' protocol
 35 |
 36 |   public static let shared = MacroCore()
[331/344] Compiling http URLRequestInit.swift
[332/344] Compiling http URLSessionAgent.swift
[333/344] Compiling http http.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Agent.swift:23:14: warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public extension HTTPModule {
22 |
23 |   static var globalAgent = Agent(options: .init())
   |              |- warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'globalAgent' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'globalAgent' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Agent.swift:23:14: warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public extension HTTPModule {
22 |
23 |   static var globalAgent = Agent(options: .init())
   |              |- warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'globalAgent' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'globalAgent' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:17:14: warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |    * `HTTPMethod` also supports a custom case.
 16 |    */
 17 |   static var METHODS : [ String ] = [
    |              |- warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'METHODS' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'METHODS' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     "GET",
 19 |     "PUT",
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:58:14: warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |    * `HTTPResponseStatus` also supports a custom case.
 57 |    */
 58 |   static var STATUS_CASES : [ HTTPResponseStatus ] = [
    |              |- warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CASES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CASES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |     .`continue`,
 60 |     .switchingProtocols,
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:124:14: warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |    * A non-exhaustive collection of known HTTP response status codes.
123 |    */
124 |   static var STATUS_CODES = [ Int : String ](
    |              |- warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CODES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CODES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |     uniqueKeysWithValues: STATUS_CASES.map { status in
126 |       ( Int(status.code), status.reasonPhrase )
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:17:14: warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |    * `HTTPMethod` also supports a custom case.
 16 |    */
 17 |   static var METHODS : [ String ] = [
    |              |- warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'METHODS' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'METHODS' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     "GET",
 19 |     "PUT",
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:58:14: warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |    * `HTTPResponseStatus` also supports a custom case.
 57 |    */
 58 |   static var STATUS_CASES : [ HTTPResponseStatus ] = [
    |              |- warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CASES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CASES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |     .`continue`,
 60 |     .switchingProtocols,
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:124:14: warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |    * A non-exhaustive collection of known HTTP response status codes.
123 |    */
124 |   static var STATUS_CODES = [ Int : String ](
    |              |- warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CODES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CODES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |     uniqueKeysWithValues: STATUS_CASES.map { status in
126 |       ( Int(status.code), status.reasonPhrase )
[338/344] Compiling http QueryString.swift
[339/344] Emitting module http
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Agent.swift:23:14: warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public extension HTTPModule {
22 |
23 |   static var globalAgent = Agent(options: .init())
   |              |- warning: static property 'globalAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'globalAgent' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'globalAgent' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:17:14: warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |    * `HTTPMethod` also supports a custom case.
 16 |    */
 17 |   static var METHODS : [ String ] = [
    |              |- warning: static property 'METHODS' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'METHODS' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'METHODS' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     "GET",
 19 |     "PUT",
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:58:14: warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |    * `HTTPResponseStatus` also supports a custom case.
 57 |    */
 58 |   static var STATUS_CASES : [ HTTPResponseStatus ] = [
    |              |- warning: static property 'STATUS_CASES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CASES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CASES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |     .`continue`,
 60 |     .switchingProtocols,
/Users/admin/builder/spi-builder-workspace/Sources/http/Globals.swift:124:14: warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 |    * A non-exhaustive collection of known HTTP response status codes.
123 |    */
124 |   static var STATUS_CODES = [ Int : String ](
    |              |- warning: static property 'STATUS_CODES' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'STATUS_CODES' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make static property 'STATUS_CODES' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |     uniqueKeysWithValues: STATUS_CASES.map { status in
126 |       ( Int(status.code), status.reasonPhrase )
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:94:15: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 92 |     task = agent.options.session.dataTask(with: request) {
 93 |       data, urlResponse, error in
 94 |       defer { self.task = nil }
    |               `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 95 |
 96 |       let response = self.setupResponse(with: urlResponse as? HTTPURLResponse)
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:94:15: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in an isolated local function; this is an error in the Swift 6 language mode
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 92 |     task = agent.options.session.dataTask(with: request) {
 93 |       data, urlResponse, error in
 94 |       defer { self.task = nil }
    |               `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in an isolated local function; this is an error in the Swift 6 language mode
 95 |
 96 |       let response = self.setupResponse(with: urlResponse as? HTTPURLResponse)
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:100:9: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 98 |
 99 |       eventLoop.execute {
100 |         self.responseListeners.emit(response)
    |         `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
101 |       }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:100:37: warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
 98 |
 99 |       eventLoop.execute {
100 |         self.responseListeners.emit(response)
    |                                     `- warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
101 |       }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 43 |  *       * IncomingMessage
 44 |  */
 45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
    |            `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 46 |
 47 |   public enum IncomingType {
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:106:11: warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
104 |       eventLoop.execute {
105 |         if let data = data, !data.isEmpty {
106 |           response.push(Buffer(data))
    |           `- warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
107 |         }
108 |         response.push(nil) // EOF
/Users/admin/builder/spi-builder-workspace/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 43 |  *       * IncomingMessage
 44 |  */
 45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
    |            `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 46 |
 47 |   public enum IncomingType {
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:110:9: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
108 |         response.push(nil) // EOF
109 |
110 |         self.selfRef = nil
    |         `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
111 |         if self.didRetain { self.didRetain = false; self.core.release() }
112 |       }
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:94:15: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 92 |     task = agent.options.session.dataTask(with: request) {
 93 |       data, urlResponse, error in
 94 |       defer { self.task = nil }
    |               `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 95 |
 96 |       let response = self.setupResponse(with: urlResponse as? HTTPURLResponse)
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:94:15: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in an isolated local function; this is an error in the Swift 6 language mode
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 92 |     task = agent.options.session.dataTask(with: request) {
 93 |       data, urlResponse, error in
 94 |       defer { self.task = nil }
    |               `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in an isolated local function; this is an error in the Swift 6 language mode
 95 |
 96 |       let response = self.setupResponse(with: urlResponse as? HTTPURLResponse)
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:100:9: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
 98 |
 99 |       eventLoop.execute {
100 |         self.responseListeners.emit(response)
    |         `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
101 |       }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:100:37: warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
 98 |
 99 |       eventLoop.execute {
100 |         self.responseListeners.emit(response)
    |                                     `- warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
101 |       }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 43 |  *       * IncomingMessage
 44 |  */
 45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
    |            `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 46 |
 47 |   public enum IncomingType {
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:106:11: warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
104 |       eventLoop.execute {
105 |         if let data = data, !data.isEmpty {
106 |           response.push(Buffer(data))
    |           `- warning: capture of 'response' with non-sendable type 'IncomingMessage' in a '@Sendable' closure
107 |         }
108 |         response.push(nil) // EOF
/Users/admin/builder/spi-builder-workspace/Sources/http/IncomingMessage.swift:45:12: note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 43 |  *       * IncomingMessage
 44 |  */
 45 | open class IncomingMessage: ReadableByteStream, CustomStringConvertible {
    |            `- note: class 'IncomingMessage' does not conform to the 'Sendable' protocol
 46 |
 47 |   public enum IncomingType {
/Users/admin/builder/spi-builder-workspace/Sources/http/Agent/Foundation/URLSessionClientRequest.swift:110:9: warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
 31 | #endif
 32 |
 33 | public final class URLSessionClientRequest: ClientRequest {
    |                    `- note: class 'URLSessionClientRequest' does not conform to the 'Sendable' protocol
 34 |
 35 |   let agent           : URLSessionAgent
    :
108 |         response.push(nil) // EOF
109 |
110 |         self.selfRef = nil
    |         `- warning: capture of 'self' with non-sendable type 'URLSessionClientRequest' in a '@Sendable' closure
111 |         if self.didRetain { self.didRetain = false; self.core.release() }
112 |       }
[344/344] Compiling http Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:142:13: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 58 |  *   - res: `http.ServerResponse`
 59 |  */
 60 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 61 |
 62 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
140 |         switch result {
141 |           case .success(let channel):
142 |             self.registerChannel(channel)
    |             `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
143 |
144 |           case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:346:59: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
344 |       .childChannelInitializer { channel in
345 |         return channel.pipeline
346 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
    |                                                           `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
347 |           .flatMap {
348 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:348:48: warning: type 'Server.HTTPHandler' does not conform to the 'Sendable' protocol
346 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
347 |           .flatMap {
348 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                `- warning: type 'Server.HTTPHandler' does not conform to the 'Sendable' protocol
349 |                                                name: Server.httpHandlerName)
350 |           }
    :
365 |   public static let httpHandlerName: String = "μ.http.server.handler"
366 |
367 |   private final class HTTPHandler : ChannelInboundHandler,
    |                       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
368 |                                     RemovableChannelHandler
369 |   {
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:346:59: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a '@Sendable' closure
344 |       .childChannelInitializer { channel in
345 |         return channel.pipeline
346 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
    |                                                           `- warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a '@Sendable' closure
347 |           .flatMap {
348 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
 30 | /// a protocol on a server-side channel.
 31 | public protocol HTTPServerProtocolUpgrader {
    |                 `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
 32 |     /// The protocol this upgrader knows how to support.
 33 |     var supportedProtocol: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:34:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
 32 | import let       NIO.IPPROTO_TCP
 33 | import let       NIO.TCP_NODELAY
 34 | import enum      NIOHTTP1.HTTPServerRequestPart
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
 35 | import typealias NIOHTTP1.NIOHTTPServerUpgradeConfiguration
 36 | import struct    NIOConcurrencyHelpers.NIOLock
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:348:68: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 58 |  *   - res: `http.ServerResponse`
 59 |  */
 60 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 61 |
 62 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
346 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
347 |           .flatMap {
348 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                                    `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
349 |                                                name: Server.httpHandlerName)
350 |           }
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:348:68: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 58 |  *   - res: `http.ServerResponse`
 59 |  */
 60 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 61 |
 62 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
346 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
347 |           .flatMap {
348 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                                    `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
349 |                                                name: Server.httpHandlerName)
350 |           }
[345/346] Compiling Macro Macro.swift
[346/346] Emitting module Macro
[347/348] Emitting module MacroTestUtilities
[348/348] Compiling MacroTestUtilities TestServerResponse.swift
Build complete! (22.07s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.92s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.92s)
Fetched https://github.com/apple/swift-nio.git from cache (0.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.72s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Fetched https://github.com/apple/swift-collections.git from cache (0.72s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.46.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Macro",
  "name" : "Macro",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Macro",
      "targets" : [
        "Macro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MacroCore",
      "targets" : [
        "MacroCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xsys",
      "targets" : [
        "xsys"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "http",
      "targets" : [
        "http"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "fs",
      "targets" : [
        "fs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MacroTestUtilities",
      "targets" : [
        "MacroTestUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xsys",
      "module_type" : "SwiftTarget",
      "name" : "xsys",
      "path" : "Sources/xsys",
      "product_memberships" : [
        "Macro",
        "MacroCore",
        "xsys",
        "http",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Module.swift",
        "POSIXError.swift",
        "SocketAddress.swift",
        "UUID.swift",
        "dylib.swift",
        "fd.swift",
        "ioctl.swift",
        "misc.swift",
        "ntohs.swift",
        "sockaddr_any.swift",
        "socket.swift",
        "time.swift",
        "timespec.swift",
        "timeval_any.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "http",
      "module_type" : "SwiftTarget",
      "name" : "http",
      "path" : "Sources/http",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOHTTP1"
      ],
      "product_memberships" : [
        "Macro",
        "http",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Agent/ClientRequest.swift",
        "Agent/Foundation/URLRequestInit.swift",
        "Agent/Foundation/URLSessionAgent.swift",
        "Agent/Foundation/URLSessionClientRequest.swift",
        "BasicAuth.swift",
        "Globals.swift",
        "IncomingMessage.swift",
        "QueryString.swift",
        "Server/Server.swift",
        "Server/ServerResponse.swift",
        "Support/HTTPHeadersHolder.swift",
        "Support/OutgoingMessage.swift",
        "http.swift"
      ],
      "target_dependencies" : [
        "MacroCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "fs",
      "module_type" : "SwiftTarget",
      "name" : "fs",
      "path" : "Sources/fs",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "Macro",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Directory.swift",
        "FSWatcher.swift",
        "File.swift",
        "JSONFile.swift",
        "Path.swift",
        "PosixWrappers.swift",
        "Promise.swift",
        "Streams/FileReadStream.swift",
        "Streams/FileStream.swift",
        "Streams/FileWriteStream.swift",
        "Utils/AsyncWrapper.swift",
        "Utils/ResultExtensions.swift",
        "Utils/StatStruct.swift",
        "fs.swift"
      ],
      "target_dependencies" : [
        "MacroCore",
        "xsys"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MacroTests",
      "module_type" : "SwiftTarget",
      "name" : "MacroTests",
      "path" : "Tests/MacroTests",
      "sources" : [
        "AgentTests.swift",
        "BufferTests.swift",
        "ByteBufferTests.swift",
        "CollectionTests.swift",
        "MacroTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MacroTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MacroTestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "MacroTestUtilities",
      "path" : "Sources/MacroTestUtilities",
      "product_memberships" : [
        "MacroTestUtilities"
      ],
      "sources" : [
        "TestServerResponse.swift"
      ],
      "target_dependencies" : [
        "Macro"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MacroCore",
      "module_type" : "SwiftTarget",
      "name" : "MacroCore",
      "path" : "Sources/MacroCore",
      "product_dependencies" : [
        "Atomics",
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOFoundationCompat",
        "Logging"
      ],
      "product_memberships" : [
        "Macro",
        "MacroCore",
        "http",
        "fs",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Buffer/Buffer.swift",
        "Buffer/BufferData.swift",
        "Buffer/BufferDeprecations.swift",
        "Buffer/BufferHexEncoding.swift",
        "Buffer/BufferStrings.swift",
        "Buffer/CollectionUtils.swift",
        "Console.swift",
        "Dirname.swift",
        "EnvironmentValues.swift",
        "Events/ErrorEmitter.swift",
        "Events/EventListenerSet.swift",
        "Events/ListenerType.swift",
        "JSError.swift",
        "JSON.swift",
        "JSStubs/CollectionStubs.swift",
        "JSStubs/Math.swift",
        "JSStubs/Object.swift",
        "JSStubs/StringStubs.swift",
        "JSStubs/ToString.swift",
        "LeftPad.swift",
        "MacroCore.swift",
        "MacroError.swift",
        "NextTick.swift",
        "Process/CommandLine.swift",
        "Process/DetectXcode.swift",
        "Process/Environment.swift",
        "Process/Process.swift",
        "Process/Warnings.swift",
        "Regex.swift",
        "Streams/Concat.swift",
        "Streams/DuplexStreamType.swift",
        "Streams/Pipe.swift",
        "Streams/ReadableByteStream.swift",
        "Streams/ReadableByteStreamType.swift",
        "Streams/ReadableStreamBase.swift",
        "Streams/ReadableStreamType.swift",
        "Streams/WritableByteStream.swift",
        "Streams/WritableByteStreamType.swift",
        "Streams/WritableStreamBase.swift",
        "Streams/WritableStreamType.swift",
        "StringEncoding.swift"
      ],
      "target_dependencies" : [
        "xsys"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Macro",
      "module_type" : "SwiftTarget",
      "name" : "Macro",
      "path" : "Sources/Macro",
      "product_memberships" : [
        "Macro",
        "MacroTestUtilities"
      ],
      "sources" : [
        "Macro.swift"
      ],
      "target_dependencies" : [
        "MacroCore",
        "xsys",
        "http",
        "fs"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.