The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Macro, reference 1.0.10 (c6fa70), with Swift 6.1 for macOS (SPM) on 7 Sep 2025 22:12:38 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

[38/93] Compiling _NIOBase64 Base64.swift
[39/93] Emitting module _NIOBase64
[40/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[41/93] Compiling Atomics ManagedAtomicLazyReference.swift
[42/93] Compiling Atomics UnsafeAtomic.swift
[43/93] Compiling Atomics AtomicValue.swift
[44/93] Compiling Atomics AtomicMemoryOrderings.swift
[45/93] Compiling Atomics DoubleWord.swift
[46/93] Compiling Atomics ManagedAtomic.swift
[47/93] Compiling Atomics UnsafeAtomicLazyReference.swift
[48/93] Compiling Atomics IntegerOperations.swift
[51/94] Compiling Atomics AtomicInteger.swift
[52/94] Compiling Atomics AtomicOptionalWrappable.swift
[53/94] Compiling Atomics OptionalRawRepresentable.swift
[54/94] Compiling Atomics RawRepresentable.swift
[55/94] Emitting module InternalCollectionsUtilities
[56/94] Compiling Atomics AtomicBool.swift
[57/94] Compiling Atomics IntegerConformances.swift
[58/94] Compiling Atomics AtomicReference.swift
[59/94] Compiling Atomics AtomicStorage.swift
[62/94] Compiling Atomics Unmanaged extensions.swift
[63/110] Compiling DequeModule _DequeBufferHeader.swift
[64/111] Compiling Atomics PointerConformances.swift
[65/111] Compiling Atomics Primitives.native.swift
[66/111] Compiling Logging MetadataProvider.swift
[67/111] Compiling DequeModule Deque+Equatable.swift
[68/111] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[69/111] Compiling _NIODataStructures Heap.swift
[70/111] Compiling _NIODataStructures _TinyArray.swift
[71/111] Compiling _NIODataStructures PriorityQueue.swift
[72/111] Emitting module _NIODataStructures
[73/111] Compiling Logging LogHandler.swift
[74/111] Compiling Logging Locks.swift
[75/111] Emitting module Logging
[76/111] Compiling Logging Logging.swift
[77/111] Compiling DequeModule _UnsafeWrappedBuffer.swift
[78/111] Compiling DequeModule _DequeBuffer.swift
[79/111] Compiling DequeModule Deque+Extras.swift
[80/111] Compiling DequeModule Deque+Hashable.swift
[81/111] Compiling DequeModule _DequeSlot.swift
[82/111] Compiling DequeModule Deque._UnsafeHandle.swift
[83/111] Compiling DequeModule Deque.swift
[84/111] Compiling DequeModule Deque+Testing.swift
[85/111] Compiling DequeModule Deque._Storage.swift
[88/111] Emitting module Atomics
[89/111] Compiling DequeModule Deque+CustomReflectable.swift
[90/111] Compiling DequeModule Deque+Descriptions.swift
[91/111] Compiling DequeModule Deque+Codable.swift
[92/111] Compiling DequeModule Deque+Collection.swift
[93/111] Emitting module DequeModule
[95/111] Compiling c-nioatomics.c
[96/111] Compiling c-atomics.c
[98/117] Compiling xsys timespec.swift
[99/118] Compiling NIOConcurrencyHelpers lock.swift
[100/118] Compiling xsys socket.swift
[101/118] Compiling xsys sockaddr_any.swift
[102/118] Compiling xsys time.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   import Darwin
 62 |
 63 |   public let open      : xsysOpenType = Darwin.open
    |              |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make let 'open' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |   public let close     = Darwin.close
 65 |   public let read      = Darwin.read
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   import Darwin
 62 |
 63 |   public let open      : xsysOpenType = Darwin.open
    |              |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make let 'open' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |   public let close     = Darwin.close
 65 |   public let read      = Darwin.read
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:13: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | //       but not in Xcode yet?
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
   |             |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'dlHandle' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:13: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
   |             |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnFcntl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:13: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
   |             |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnIoctl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | typealias fcntlViType  =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:13: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | //       but not in Xcode yet?
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
   |             |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'dlHandle' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:13: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
   |             |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnFcntl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:13: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
   |             |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnIoctl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | typealias fcntlViType  =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[107/118] Compiling xsys ntohs.swift
[110/118] Compiling NIOConcurrencyHelpers NIOLock.swift
[111/118] Emitting module NIOConcurrencyHelpers
[112/118] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[113/118] Compiling NIOConcurrencyHelpers atomics.swift
[114/118] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[115/118] Compiling xsys timeval_any.swift
[116/181] Emitting module xsys
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
   |               `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
   |            |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'module' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/xsys/fd.swift:63:14: warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
 61 |   import Darwin
 62 |
 63 |   public let open      : xsysOpenType = Darwin.open
    |              |- warning: let 'open' is not concurrency-safe because non-'Sendable' type 'xsysOpenType' (aka '(UnsafePointer<Int8>, Int32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make let 'open' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |   public let close     = Darwin.close
 65 |   public let read      = Darwin.read
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:49:13: warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
47 | //       but not in Xcode yet?
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
   |             |- warning: let 'dlHandle' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'dlHandle' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:50:13: warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
   |             |- warning: let 'fnFcntl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnFcntl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
52 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/xsys/ioctl.swift:51:13: warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | private let dlHandle = dlopen(nil, RTLD_NOW)
50 | private let fnFcntl  = dlsym(dlHandle, "fcntl")
51 | private let fnIoctl  = dlsym(dlHandle, "ioctl")
   |             |- warning: let 'fnIoctl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'fnIoctl' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | typealias fcntlViType  =
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
[117/181] Compiling NIOCore AddressedEnvelope.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
   |               `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
   |            |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'module' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
[118/181] Compiling NIOCore AsyncAwaitSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/xsys/Module.swift:19:12: warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public struct XSysModule {
   |               `- note: consider making struct 'XSysModule' conform to the 'Sendable' protocol
18 | }
19 | public let module = XSysModule()
   |            |- warning: let 'module' is not concurrency-safe because non-'Sendable' type 'XSysModule' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'module' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
[119/181] Compiling NIOCore GlobalSingletons.swift
[120/181] Compiling NIOCore IO.swift
[121/181] Compiling NIOCore IOData.swift
[122/181] Compiling NIOCore IPProtocol.swift
[123/181] Compiling NIOCore IntegerBitPacking.swift
[124/181] Compiling NIOCore IntegerTypes.swift
[125/181] Compiling NIOCore Interfaces.swift
[128/187] Compiling NIOCore AsyncChannel.swift
[129/187] Compiling NIOCore AsyncChannelHandler.swift
[130/187] Compiling NIOCore AsyncChannelInboundStream.swift
[131/187] Compiling NIOCore AsyncChannelOutboundWriter.swift
[132/187] Compiling NIOCore NIOAsyncSequenceProducer.swift
[133/187] Compiling NIOCore Codec.swift
[134/187] Compiling NIOCore ConvenienceOptionSupport.swift
[135/187] Compiling NIOCore DeadChannel.swift
[136/187] Compiling NIOCore DispatchQueue+WithFuture.swift
[137/187] Compiling NIOCore EventLoop+Deprecated.swift
[138/187] Compiling NIOCore EventLoop+SerialExecutor.swift
[139/187] Compiling NIOCore EventLoop.swift
[140/187] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[141/187] Compiling NIOCore EventLoopFuture+Deprecated.swift
[142/187] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[143/187] Compiling NIOCore EventLoopFuture.swift
[144/187] Compiling NIOCore FileDescriptor.swift
[145/187] Compiling NIOCore FileHandle.swift
[146/187] Compiling NIOCore FileRegion.swift
[147/187] Compiling NIOCore SocketOptionProvider.swift
[148/187] Compiling NIOCore SystemCallHelpers.swift
[149/187] Compiling NIOCore TimeAmount+Duration.swift
[150/187] Compiling NIOCore TypeAssistedChannelHandler.swift
[151/187] Compiling NIOCore UniversalBootstrapSupport.swift
[152/187] Compiling NIOCore Utilities.swift
[153/187] Compiling NIOCore Channel.swift
[154/187] Compiling NIOCore ChannelHandler.swift
[155/187] Compiling NIOCore ChannelHandlers.swift
[156/187] Compiling NIOCore ChannelInvoker.swift
[157/187] Compiling NIOCore ChannelOption.swift
[158/187] Compiling NIOCore ChannelPipeline.swift
[159/187] Compiling NIOCore CircularBuffer.swift
[160/187] Compiling NIOCore Linux.swift
[161/187] Compiling NIOCore MarkedCircularBuffer.swift
[162/187] Compiling NIOCore MulticastChannel.swift
[163/187] Compiling NIOCore NIOAny.swift
[164/187] Compiling NIOCore NIOCloseOnErrorHandler.swift
[165/187] Compiling NIOCore NIOCoreSendableMetatype.swift
[166/187] Compiling NIOCore NIOLoopBound.swift
[167/187] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[168/187] Compiling NIOCore NIOScheduledCallback.swift
[169/187] Compiling NIOCore NIOSendable.swift
[170/187] Compiling NIOCore RecvByteBufferAllocator.swift
[171/187] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[172/187] Compiling NIOCore SocketAddresses.swift
[173/187] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[174/187] Compiling NIOCore NIOAsyncWriter.swift
[175/187] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[176/187] Compiling NIOCore BSDSocketAPI.swift
[177/187] Compiling NIOCore ByteBuffer-aux.swift
[178/187] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[179/187] Compiling NIOCore ByteBuffer-conversions.swift
[180/187] Compiling NIOCore ByteBuffer-core.swift
[181/187] Compiling NIOCore ByteBuffer-hex.swift
[182/187] Compiling NIOCore ByteBuffer-int.swift
[183/187] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[184/187] Compiling NIOCore ByteBuffer-multi-int.swift
[185/187] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[186/187] Compiling NIOCore ByteBuffer-views.swift
[187/187] Emitting module NIOCore
[188/241] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[189/241] Compiling NIOEmbedded AsyncTestingChannel.swift
[190/241] Emitting module NIOEmbedded
[191/241] Compiling NIOEmbedded Embedded.swift
[192/241] Emitting module NIOPosix
[193/246] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[194/246] Compiling NIOPosix PosixSingletons.swift
[195/246] Compiling NIOPosix RawSocketBootstrap.swift
[196/246] Compiling NIOPosix Resolver.swift
[197/246] Compiling NIOPosix Selectable.swift
[198/246] Compiling NIOPosix BSDSocketAPICommon.swift
[199/246] Compiling NIOPosix BSDSocketAPIPosix.swift
[200/246] Compiling NIOPosix BSDSocketAPIWindows.swift
[201/246] Compiling NIOPosix BaseSocket.swift
[202/246] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[203/246] Compiling NIOPosix BaseSocketChannel.swift
[204/246] Compiling NIOPosix SelectableChannel.swift
[205/246] Compiling NIOPosix SelectableEventLoop.swift
[206/246] Compiling NIOPosix SelectorEpoll.swift
[207/246] Compiling NIOPosix SelectorGeneric.swift
[208/246] Compiling NIOPosix SelectorKqueue.swift
[209/246] Compiling NIOPosix LinuxCPUSet.swift
[210/246] Compiling NIOPosix LinuxUring.swift
[211/246] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[212/246] Compiling NIOPosix NIOPosixSendableMetatype.swift
[213/246] Compiling NIOPosix NIOThreadPool.swift
[214/246] Compiling NIOPosix NonBlockingFileIO.swift
[215/246] Compiling NIOPosix SelectorUring.swift
[216/246] Compiling NIOPosix ServerSocket.swift
[217/246] Compiling NIOPosix Socket.swift
[218/246] Compiling NIOPosix SocketChannel.swift
[219/246] Compiling NIOPosix SocketProtocols.swift
[220/246] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[221/246] Compiling NIOPosix System.swift
[222/246] Compiling NIOPosix Thread.swift
[223/246] Compiling NIOPosix ThreadPosix.swift
[224/246] Compiling NIOPosix ThreadWindows.swift
[225/246] Compiling NIOPosix GetaddrinfoResolver.swift
[226/246] Compiling NIOPosix HappyEyeballs.swift
[227/246] Compiling NIOPosix IO.swift
[228/246] Compiling NIOPosix IntegerBitPacking.swift
[229/246] Compiling NIOPosix IntegerTypes.swift
[230/246] Compiling NIOPosix Linux.swift
[231/246] Compiling NIOPosix PendingDatagramWritesManager.swift
[232/246] Compiling NIOPosix PendingWritesManager.swift
[233/246] Compiling NIOPosix PipeChannel.swift
[234/246] Compiling NIOPosix PipePair.swift
[235/246] Compiling NIOPosix Pool.swift
[236/246] Compiling NIOPosix BaseStreamSocketChannel.swift
[237/246] Compiling NIOPosix Bootstrap.swift
[238/246] Compiling NIOPosix ControlMessage.swift
[239/246] Compiling NIOPosix DatagramVectorReadManager.swift
[240/246] Compiling NIOPosix Errors+Any.swift
[241/246] Compiling NIOPosix FileDescriptor.swift
[242/246] Compiling NIOPosix UnsafeTransfer.swift
[243/246] Compiling NIOPosix Utilities.swift
[244/246] Compiling NIOPosix VsockAddress.swift
[245/246] Compiling NIOPosix VsockChannelEvents.swift
[246/246] Compiling NIOPosix resource_bundle_accessor.swift
[247/248] Compiling NIO Exports.swift
[248/248] Emitting module NIO
[249/270] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[250/270] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[251/270] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[252/270] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[253/270] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[254/270] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[255/271] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[256/271] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[257/271] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[258/271] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[259/271] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[260/271] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[261/271] Emitting module NIOFoundationCompat
[262/310] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[263/310] Compiling MacroCore Environment.swift
[264/310] Compiling MacroCore Process.swift
[265/310] Compiling MacroCore MacroError.swift
[266/310] Compiling MacroCore NextTick.swift
[267/310] Compiling MacroCore Buffer.swift
[268/310] Compiling MacroCore BufferData.swift
[269/310] Emitting module NIOHTTP1
[270/310] Compiling MacroCore Warnings.swift
[271/310] Compiling MacroCore Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:27:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
25 |             ?? eventLoopGroup.next()
26 |     loop.execute {
27 |       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'
28 |       self.release()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:49:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
47 |
48 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
49 |       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'
50 |       self.release()
51 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:27:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
25 |             ?? eventLoopGroup.next()
26 |     loop.execute {
27 |       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'
28 |       self.release()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:49:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
47 |
48 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
49 |       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'
50 |       self.release()
51 |     }
[274/310] Compiling MacroCore CommandLine.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:27:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
25 |             ?? eventLoopGroup.next()
26 |     loop.execute {
27 |       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'
28 |       self.release()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:49:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
47 |
48 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
49 |       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'
50 |       self.release()
51 |     }
[275/310] Compiling MacroCore DetectXcode.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:27:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
25 |             ?? eventLoopGroup.next()
26 |     loop.execute {
27 |       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'
28 |       self.release()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:49:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
47 |
48 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
49 |       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'
50 |       self.release()
51 |     }
[276/314] Compiling MacroCore ReadableByteStreamType.swift
[277/314] Compiling MacroCore ReadableStreamBase.swift
[278/314] Compiling MacroCore ReadableStreamType.swift
[279/314] Compiling MacroCore WritableByteStream.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 |
/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 |
[284/314] Compiling MacroCore JSON.swift
[285/314] Compiling MacroCore CollectionStubs.swift
[286/314] Compiling MacroCore Math.swift
[287/314] Compiling MacroCore Object.swift
[288/314] Compiling MacroCore Concat.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 |
[289/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 |
[290/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 |
[291/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 |
[292/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 |   }
[293/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 |   }
[294/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 |   }
[295/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 |   }
[296/314] Compiling MacroCore StringStubs.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:237: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
235 | }
236 |
237 | 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
238 |
239 | public func disableAtExitHandler() {
[297/314] Compiling MacroCore ToString.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:237: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
235 | }
236 |
237 | 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
238 |
239 | public func disableAtExitHandler() {
[298/314] Compiling MacroCore LeftPad.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:237: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
235 | }
236 |
237 | 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
238 |
239 | public func disableAtExitHandler() {
[299/314] Compiling MacroCore MacroCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/MacroCore.swift:237: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
235 | }
236 |
237 | 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
238 |
239 | public func disableAtExitHandler() {
[300/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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[301/314] Compiling MacroCore Concurrency.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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[302/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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[303/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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[304/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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[307/314] Compiling MacroCore BufferDeprecations.swift
[308/314] Compiling MacroCore BufferHexEncoding.swift
[309/314] Compiling MacroCore BufferStrings.swift
[310/314] Compiling MacroCore WritableByteStreamType.swift
[311/314] Compiling MacroCore WritableStreamBase.swift
[312/314] Compiling MacroCore WritableStreamType.swift
[313/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/Concurrency.swift:64:9: warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         |- warning: capture of 'yield' with non-sendable type '(R) -> Void' in a '@Sendable' closure
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:64:15: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 49 |    */
 50 |   @inlinable
 51 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 52 |                          _ args : repeat each A,
 53 |                          body   : @escaping (repeat each A) async -> R,
    :
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |               `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:98:35: warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 83 |    */
 84 |   @inlinable
 85 |   func `task`<each A, R>(on eventLoop : EventLoop? = nil,
    |                       `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 86 |                          _ args : repeat each A,
 87 |                          body   : @escaping (repeat each A) async throws -> R,
    :
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                                   `- warning: capture of 'value' with non-sendable type 'R' in a '@Sendable' closure
 99 |       }
100 |       catch {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:101:24: warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
 99 |       }
100 |       catch {
101 |         loop.execute { yield(error, nil) }
    |                        |- warning: capture of 'yield' with non-sendable type '((any Error)?, R?) -> Void' in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 |       }
103 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/EnvironmentValues.swift:116: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
100 |  */
101 | @frozen
102 | public struct EnvironmentValues {
    |               `- note: consider making struct 'EnvironmentValues' conform to the 'Sendable' protocol
103 |
104 |   @usableFromInline
    :
114 | public extension EnvironmentValues {
115 |
116 |   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
117 |
118 |   @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:237: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
235 | }
236 |
237 | 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
238 |
239 | public func disableAtExitHandler() {
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:27:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
25 |             ?? eventLoopGroup.next()
26 |     loop.execute {
27 |       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'
28 |       self.release()
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/NextTick.swift:49:7: warning: capture of 'execute' with non-sendable type '() -> Void' in a '@Sendable' closure
47 |
48 |     loop.scheduleTask(in: .milliseconds(Int64(milliseconds))) {
49 |       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'
50 |       self.release()
51 |     }
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:30:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |   {
 29 |     retain()
 30 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 31 |       await body(repeat each args)
    |             `- note: closure captures 'body' which is accessible to code in the current task
 32 |       self.release()
 33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:61:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 59 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 60 |             ?? eventLoopGroup.next()
 61 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 62 |       let value = await body(repeat each args)
 63 |       loop.execute {
 64 |         yield(value)
    |         `- note: closure captures 'yield' which is accessible to code in the current task
 65 |       }
 66 |       self.release()
/Users/admin/builder/spi-builder-workspace/Sources/MacroCore/Concurrency.swift:95:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 93 |             ?? MultiThreadedEventLoopGroup.currentEventLoop
 94 |             ?? eventLoopGroup.next()
 95 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 96 |       do {
 97 |         let value = try await body(repeat each args)
 98 |         loop.execute { yield(nil, value) }
    |                        `- note: closure captures 'yield' which is accessible to code in the current task
 99 |       }
100 |       catch {
[315/342] Compiling fs StatStruct.swift
[316/343] Compiling fs ResultExtensions.swift
[317/343] Compiling http HTTPHeadersHolder.swift
[318/343] Compiling http OutgoingMessage.swift
[319/344] Compiling fs fs.swift
[320/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: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: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: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 |       }
[321/344] Compiling fs Path.swift
[322/344] Compiling fs PosixWrappers.swift
[323/344] Compiling fs Promise.swift
/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/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] Compiling fs FileStream.swift
[327/344] Compiling fs File.swift
[328/344] Compiling fs JSONFile.swift
[329/344] Compiling http http.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: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: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: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: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: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/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: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: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: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: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: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: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: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/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: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: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: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: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: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/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: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: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: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: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: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: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: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 |       }
[332/344] Compiling fs Directory.swift
[333/344] Compiling fs FSWatcher.swift
[334/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: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/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: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: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: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 |       }
[335/344] Compiling http QueryString.swift
/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 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 {
/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 |       }
[341/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/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 | }
[344/344] Compiling http Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:156:13: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 68 |  * - ``Server/onListening(execute:)``
 69 |  */
 70 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 71 |
 72 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
154 |         switch result {
155 |           case .success(let channel):
156 |             self.registerChannel(channel)
    |             `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
157 |
158 |           case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:360:59: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
358 |       .childChannelInitializer { channel in
359 |         return channel.pipeline
360 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
    |                                                           `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
361 |           .flatMap {
362 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:362:48: warning: type 'Server.HTTPHandler' does not conform to the 'Sendable' protocol
360 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
361 |           .flatMap {
362 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                `- warning: type 'Server.HTTPHandler' does not conform to the 'Sendable' protocol
363 |                                                name: Server.httpHandlerName)
364 |           }
    :
379 |   public static let httpHandlerName: String = "μ.http.server.handler"
380 |
381 |   private final class HTTPHandler : ChannelInboundHandler,
    |                       `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
382 |                                     RemovableChannelHandler
383 |   {
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:360:59: warning: capture of 'upgrade' with non-sendable type 'NIOHTTPServerUpgradeConfiguration?' (aka 'Optional<(upgraders: Array<any HTTPServerProtocolUpgrader>, completionHandler: @Sendable (ChannelHandlerContext) -> ())>') in a '@Sendable' closure
358 |       .childChannelInitializer { channel in
359 |         return channel.pipeline
360 |           .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
361 |           .flatMap {
362 |             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:362:68: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 68 |  * - ``Server/onListening(execute:)``
 69 |  */
 70 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 71 |
 72 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
360 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
361 |           .flatMap {
362 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                                    `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
363 |                                                name: Server.httpHandlerName)
364 |           }
/Users/admin/builder/spi-builder-workspace/Sources/http/Server/Server.swift:362:68: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
 68 |  * - ``Server/onListening(execute:)``
 69 |  */
 70 | open class Server: ErrorEmitter, CustomStringConvertible {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 71 |
 72 |   private static let serverID = Atomics.ManagedAtomic<Int>(0)
    :
360 |           .configureHTTPServerPipeline(withServerUpgrade: upgrade)
361 |           .flatMap {
362 |             return channel.pipeline.addHandler(HTTPHandler(server: self),
    |                                                                    `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
363 |                                                name: Server.httpHandlerName)
364 |           }
[345/346] Emitting module Macro
[346/346] Compiling Macro Macro.swift
[347/348] Compiling MacroTestUtilities TestServerResponse.swift
[348/348] Emitting module MacroTestUtilities
Build complete! (15.75s)
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.80.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",
        "PathTests.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",
        "Concurrency.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.