The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of AsyncNetwork, reference 1.0.2 (394287), with Swift 6.0 for Linux on 26 Nov 2024 14:04:19 UTC.

Swift 6 data race errors: 11

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fitnesskit/asyncnetwork.git
Reference: 1.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/fitnesskit/asyncnetwork
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 3942870 dealloc
Cloned https://github.com/fitnesskit/asyncnetwork.git
Revision (git rev-parse @):
3942870943d64bc9e02d2a1c4ce67efab1e148c3
SUCCESS checkout https://github.com/fitnesskit/asyncnetwork.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fitnesskit/asyncnetwork.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling AsyncNetwork AsyncUDP+Send.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |     ///   - timeout: Timeout period to send data
 42 |     ///   - tag: Tags can be used to associate sends on the Observer
 43 |     public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 44 |
 45 |         if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
 95 |     }
 96 |
 97 |     internal func resumeSendSource() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
 98 |
 99 |         if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 |     }
108 |
109 |     internal func doSend() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 |         assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 |     fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 |         let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 |     }
204 |
205 |     fileprivate func endCurrentSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 |         if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 |     }
214 |
215 |     fileprivate func doPreSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 |         //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 |     }
249 |
250 |     fileprivate func maybeDequeueSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 |         guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 |     //MARK: Send Timeout
295 |     fileprivate func setupSendTimer(_ timeout: TimeInterval) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 |         assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 |     }
317 |
318 |     fileprivate func doSendTimout() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 |         let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 |     }
327 |
328 |     fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 |     }
336 |
337 |     fileprivate func notifyDidSend(_ tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:13: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |
 72 |         self.socketQueue.async { () -> Void in
 73 |             self.sendQueue.append(sendPacket)
    |             `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |             self.maybeDequeueSend()
 75 |         }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:35: warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |
 72 |         self.socketQueue.async { () -> Void in
 73 |             self.sendQueue.append(sendPacket)
    |                                   `- warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |             self.maybeDequeueSend()
 75 |         }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift:34:16: note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
32 |
33 |
34 | internal class AsyncUDPSendPacket {
   |                `- note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
35 |
36 |     internal var resolveInProgress: Bool = false
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:186:48: warning: capture of 'host' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 |         globalConcurrentQ.async { () -> Void in
185 |
186 |             var cfg = SocketConfig.UDP(family: host.addressFamily)
    |                                                `- warning: capture of 'host' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |
188 |             do {
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 33 |
 34 |
 35 | public struct InternetAddress {
    |               `- note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 36 |
 37 |     public let hostname: String
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:192:17: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                 let address = try host.resolveAddress(with: &cfg)
191 |
192 |                 self.socketQueue.async {
    |                 `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
193 |                     handler(address, nil)
194 |                 }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:29: warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                             `- warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift:33:16: note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
 31 |
 32 |
 33 | internal class SockAddressStorage {
    |                `- note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
 34 |
 35 |     let _rawStorage: UnsafeMutablePointer<sockaddr_storage>
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:199:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
197 |
198 |                 self.socketQueue.async {
199 |                     handler(nil, error as? SocketError)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |                 }
201 |             }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     internal var socketQueue: DispatchQueue
 58 |
 59 |     private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
    |                        |- warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'udpQueueIDKey' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |     ///
113 |     /// - Parameter observer: AsyncUDPSocketObserver object
114 |     public func addObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 |         self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |     ///
122 |     /// - Parameter observer: AsyncUDPSocketObserver Object
123 |     public func removeObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 |         for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 |     /// Close the Async UDP Connection
139 |     public func close() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |         let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 |     ///   - options: Binding Options
215 |     /// - Throws: Throws Error if issue with binding
216 |     public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 |         var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
[4/17] Compiling AsyncNetwork AsyncUDP.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |     ///   - timeout: Timeout period to send data
 42 |     ///   - tag: Tags can be used to associate sends on the Observer
 43 |     public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 44 |
 45 |         if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
 95 |     }
 96 |
 97 |     internal func resumeSendSource() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
 98 |
 99 |         if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 |     }
108 |
109 |     internal func doSend() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 |         assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 |     fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 |         let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 |     }
204 |
205 |     fileprivate func endCurrentSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 |         if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 |     }
214 |
215 |     fileprivate func doPreSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 |         //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 |     }
249 |
250 |     fileprivate func maybeDequeueSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 |         guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 |     //MARK: Send Timeout
295 |     fileprivate func setupSendTimer(_ timeout: TimeInterval) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 |         assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 |     }
317 |
318 |     fileprivate func doSendTimout() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 |         let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 |     }
327 |
328 |     fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 |     }
336 |
337 |     fileprivate func notifyDidSend(_ tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:13: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |
 72 |         self.socketQueue.async { () -> Void in
 73 |             self.sendQueue.append(sendPacket)
    |             `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |             self.maybeDequeueSend()
 75 |         }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:35: warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |
 72 |         self.socketQueue.async { () -> Void in
 73 |             self.sendQueue.append(sendPacket)
    |                                   `- warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |             self.maybeDequeueSend()
 75 |         }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift:34:16: note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
32 |
33 |
34 | internal class AsyncUDPSendPacket {
   |                `- note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
35 |
36 |     internal var resolveInProgress: Bool = false
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:186:48: warning: capture of 'host' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 |         globalConcurrentQ.async { () -> Void in
185 |
186 |             var cfg = SocketConfig.UDP(family: host.addressFamily)
    |                                                `- warning: capture of 'host' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |
188 |             do {
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 33 |
 34 |
 35 | public struct InternetAddress {
    |               `- note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 36 |
 37 |     public let hostname: String
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:192:17: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                 let address = try host.resolveAddress(with: &cfg)
191 |
192 |                 self.socketQueue.async {
    |                 `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
193 |                     handler(address, nil)
194 |                 }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:29: warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                             `- warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 |                 }
195 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift:33:16: note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
 31 |
 32 |
 33 | internal class SockAddressStorage {
    |                `- note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
 34 |
 35 |     let _rawStorage: UnsafeMutablePointer<sockaddr_storage>
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:199:21: warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
197 |
198 |                 self.socketQueue.async {
199 |                     handler(nil, error as? SocketError)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |                 }
201 |             }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     internal var socketQueue: DispatchQueue
 58 |
 59 |     private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
    |                        |- warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'udpQueueIDKey' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |     ///
113 |     /// - Parameter observer: AsyncUDPSocketObserver object
114 |     public func addObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 |         self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |     ///
122 |     /// - Parameter observer: AsyncUDPSocketObserver Object
123 |     public func removeObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 |         for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 |     /// Close the Async UDP Connection
139 |     public func close() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |         let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 |     ///   - options: Binding Options
215 |     /// - Throws: Throws Error if issue with binding
216 |     public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 |         var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
[5/17] Compiling AsyncNetwork AsyncUDPSendPacket.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
147 |             let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
148 |             let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
149 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
150 |
151 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
152 |             let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
153 |             let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
154 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
155 |
156 |         default:
[6/17] Compiling AsyncNetwork MulticastGroup.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
147 |             let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
148 |             let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
149 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
150 |
151 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
152 |             let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
153 |             let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
154 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
155 |
156 |         default:
[7/19] Compiling AsyncNetwork Shims.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 |     public var mcastJoinValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
152 |         switch self {
153 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 |     }
160 |
161 |     public var mcastLeaveValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
162 |         switch self {
163 |         case .inet6:
[8/19] Compiling AsyncNetwork SockAddressStorage.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 |     public var mcastJoinValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
152 |         switch self {
153 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 |     }
160 |
161 |     public var mcastLeaveValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
162 |         switch self {
163 |         case .inet6:
[9/19] Compiling AsyncNetwork Errors.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:76:16: warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
31 |
32 |
33 | public enum ErrorReasons {
   |             `- note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
34 |
35 |     case dispatchFail(msg: String)
   :
74 | public struct SocketError: Error {
75 |
76 |     public let type: ErrorReasons
   |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
77 |     public let number: Int32
78 |
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
129 |             let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
130 |             let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
131 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
132 |
133 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
134 |             let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
135 |             let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
136 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
137 |
138 |         default:
[10/19] Compiling AsyncNetwork InternetAddress.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:76:16: warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
31 |
32 |
33 | public enum ErrorReasons {
   |             `- note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
34 |
35 |     case dispatchFail(msg: String)
   :
74 | public struct SocketError: Error {
75 |
76 |     public let type: ErrorReasons
   |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
77 |     public let number: Int32
78 |
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
129 |             let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
130 |             let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
131 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
132 |
133 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
134 |             let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
135 |             let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
136 |             specPtr.assign(from: addr, count: 1)
    |                     |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                     `- note: use 'update(from:count:)' instead
137 |
138 |         default:
[11/19] Compiling AsyncNetwork Socket.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
    |                       |- warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'peek' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
    |                       |- warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'waitAll' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
    |                       |- warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dontRoute' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
 95 | public extension Socket {
 96 |
 97 |     static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
    |            `- warning: 'public' modifier is redundant for static method declared in a public extension
 98 |
 99 |         var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 |     public func bind() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 |         guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 |     public func close() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 |         if sock_close(self.fd) != 0 {
144 |             throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 |     }
147 |
148 |     public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 |     /// - Returns: Length of Sent Data
188 |     /// - Throws: Throws SocketError if error in sending
189 |     public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 |     internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 |         let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
   :
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
   |                       |- warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'enableBroadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
158 |
159 |         let receivedBytes = socket_recvfrom(self.fd,
160 |                                             UnsafeMutableRawPointer(mutating: data),
    |                                             |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
    |                                             |                                 `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                             `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
161 |                                             data.capacity,
162 |                                             recvOps,
[12/19] Compiling AsyncNetwork SocketConfig.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
    |                       |- warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'peek' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
    |                       |- warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'waitAll' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
    |                       |- warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dontRoute' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
 95 | public extension Socket {
 96 |
 97 |     static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
    |            `- warning: 'public' modifier is redundant for static method declared in a public extension
 98 |
 99 |         var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 |     public func bind() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 |         guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 |     public func close() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 |         if sock_close(self.fd) != 0 {
144 |             throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 |     }
147 |
148 |     public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 |     /// - Returns: Length of Sent Data
188 |     /// - Throws: Throws SocketError if error in sending
189 |     public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 |     internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 |         let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
   :
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
   |                       |- warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'enableBroadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
158 |
159 |         let receivedBytes = socket_recvfrom(self.fd,
160 |                                             UnsafeMutableRawPointer(mutating: data),
    |                                             |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
    |                                             |                                 `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                             `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
161 |                                             data.capacity,
162 |                                             recvOps,
[13/19] Compiling AsyncNetwork SocketObserver.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
   :
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
   |                       |- warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'enableBroadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
[14/19] Compiling AsyncNetwork SocketOptions.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
   :
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
   |                       |- warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'enableBroadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
[15/19] Emitting module AsyncNetwork
/host/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:76:16: warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
31 |
32 |
33 | public enum ErrorReasons {
   |             `- note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
34 |
35 |     case dispatchFail(msg: String)
   :
74 | public struct SocketError: Error {
75 |
76 |     public let type: ErrorReasons
   |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'SocketError' has non-sendable type 'ErrorReasons'; this is an error in the Swift 6 language mode
77 |     public let number: Int32
78 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 |     public var mcastJoinValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
152 |         switch self {
153 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 |     }
160 |
161 |     public var mcastLeaveValue: Int32 {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
162 |         switch self {
163 |         case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
 56 |     /// Peek at the data.  Does not actually receive the data.. Just a preview
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
    |                       |- warning: static property 'peek' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'peek' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 57 |     public static let peek        = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
 58 |     /// Wait until all of the data is present
 59 |     public static let waitAll     = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
    |                       |- warning: static property 'waitAll' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'waitAll' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
 65 |
 66 |     /// NO Flags should be set
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
    |                       |- warning: static property 'none' produces an empty option set
    |                       `- note: use [] to silence this warning
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 67 |     public static let none           = SocketSendOptions(rawValue: 0)
 68 |     /// Send Data as Out of Band
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
    |                       |- warning: static property 'outOfBand' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'outOfBand' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 60 | }
 61 |
 62 | public struct SocketSendOptions: OptionSet {
    |               `- note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
 63 |     public let rawValue: Int32
 64 |     public init(rawValue: Int32) { self.rawValue = rawValue }
    :
 69 |     public static let outOfBand      = SocketSendOptions(rawValue: Int32(MSG_OOB))
 70 |     /// Don't Route Message Over Router.  Keep on Local Network
 71 |     public static let dontRoute      = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
    |                       |- warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'SocketSendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dontRoute' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
 95 | public extension Socket {
 96 |
 97 |     static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
    |            `- warning: 'public' modifier is redundant for static method declared in a public extension
 98 |
 99 |         var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
39 |
40 |     /** Reuse Port */
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 |     public func bind() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 |         guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 |     public func close() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 |         if sock_close(self.fd) != 0 {
144 |             throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 |     }
147 |
148 |     public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 |     /// - Returns: Length of Sent Data
188 |     /// - Throws: Throws SocketError if error in sending
189 |     public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 |         if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 |     internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 |         let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
34 |  Socket Options
35 |  */
36 | public struct SocketOptions: OptionSet {
   |               `- note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
37 |     public let rawValue: Int
38 |     public init(rawValue: Int) { self.rawValue = rawValue }
   :
41 |     public static let reusePort        = SocketOptions(rawValue: 1 << 0)
42 |     /** Enable Broadcast Messages on Socket */
43 |     public static let enableBroadcast  = SocketOptions(rawValue: 1 << 1)
   |                       |- warning: static property 'enableBroadcast' is not concurrency-safe because non-'Sendable' type 'SocketOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'enableBroadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 38 |     /// - Parameter group: Multicast Group
 39 |     /// - Throws: Throws SocketError if error condition
 40 |     public func join(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |
 42 |         var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |     /// - Parameter group: Multicast Group
100 |     /// - Throws: Throws SocketError if error condition
101 |     public func leave(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 |         var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 |     fileprivate func preMulticastCheck() throws {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 |         //Pre-check if we can Bind
154 |         guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 37 |     ///
 38 |     /// - Throws: Throws SocketError if error condition
 39 |     public func beginReceiving() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 40 |         var errorCode: SocketError?
 41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 76 |     ///
 77 |     /// - Throws: Throws SocketError if error condition
 78 |     public func receiveOnce() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 79 |         var errorCode: SocketError?
 80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 |     internal func suspendReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 |         if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 |     }
137 |
138 |     internal func resumeReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 |         if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 |     }
150 |
151 |     internal func doReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 |         if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 |     }
223 |
224 |     internal func doReceiveEOF() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 |         closeSocketFinal()
226 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 |     }
227 |
228 |     internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |     ///   - timeout: Timeout period to send data
 42 |     ///   - tag: Tags can be used to associate sends on the Observer
 43 |     public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 44 |
 45 |         if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
 95 |     }
 96 |
 97 |     internal func resumeSendSource() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
 98 |
 99 |         if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 |     }
108 |
109 |     internal func doSend() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 |         assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 |     fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 |         let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 |     }
204 |
205 |     fileprivate func endCurrentSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 |         if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 |     }
214 |
215 |     fileprivate func doPreSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 |         //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 |     }
249 |
250 |     fileprivate func maybeDequeueSend() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 |         guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 |     //MARK: Send Timeout
295 |     fileprivate func setupSendTimer(_ timeout: TimeInterval) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 |         assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 |     }
317 |
318 |     fileprivate func doSendTimout() {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 |         let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 |     }
327 |
328 |     fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 |     }
336 |
337 |     fileprivate func notifyDidSend(_ tag: Int) {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |     internal var socketQueue: DispatchQueue
 58 |
 59 |     private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
    |                        |- warning: static property 'udpQueueIDKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'udpQueueIDKey' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |     ///
113 |     /// - Parameter observer: AsyncUDPSocketObserver object
114 |     public func addObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 |         self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |     ///
122 |     /// - Parameter observer: AsyncUDPSocketObserver Object
123 |     public func removeObserver(_ observer: SocketObserver) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 |         for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 |     /// Close the Async UDP Connection
139 |     public func close() {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |         let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 |     ///   - options: Binding Options
215 |     /// - Throws: Throws Error if issue with binding
216 |     public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 |         var errorCode: SocketError?
[16/19] Compiling AsyncNetwork AsyncUDP+Multicast.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 38 |     /// - Parameter group: Multicast Group
 39 |     /// - Throws: Throws SocketError if error condition
 40 |     public func join(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |
 42 |         var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |     /// - Parameter group: Multicast Group
100 |     /// - Throws: Throws SocketError if error condition
101 |     public func leave(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 |         var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 |     fileprivate func preMulticastCheck() throws {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 |         //Pre-check if we can Bind
154 |         guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 37 |     ///
 38 |     /// - Throws: Throws SocketError if error condition
 39 |     public func beginReceiving() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 40 |         var errorCode: SocketError?
 41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 76 |     ///
 77 |     /// - Throws: Throws SocketError if error condition
 78 |     public func receiveOnce() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 79 |         var errorCode: SocketError?
 80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 |     internal func suspendReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 |         if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 |     }
137 |
138 |     internal func resumeReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 |         if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 |     }
150 |
151 |     internal func doReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 |         if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 |     }
223 |
224 |     internal func doReceiveEOF() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 |         closeSocketFinal()
226 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 |     }
227 |
228 |     internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:56:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |
 55 |                 self.socketQueue.async {
 56 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                 }
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:102:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                 //Continue to Receive
101 |                 self.socketQueue.async {
102 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
[17/19] Compiling AsyncNetwork AsyncUDP+Receive.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 38 |     /// - Parameter group: Multicast Group
 39 |     /// - Throws: Throws SocketError if error condition
 40 |     public func join(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 41 |
 42 |         var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 99 |     /// - Parameter group: Multicast Group
100 |     /// - Throws: Throws SocketError if error condition
101 |     public func leave(group: MulticastGroup) throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 |         var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 |     fileprivate func preMulticastCheck() throws {
    |     `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 |         //Pre-check if we can Bind
154 |         guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 37 |     ///
 38 |     /// - Throws: Throws SocketError if error condition
 39 |     public func beginReceiving() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 40 |         var errorCode: SocketError?
 41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 76 |     ///
 77 |     /// - Throws: Throws SocketError if error condition
 78 |     public func receiveOnce() throws {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 79 |         var errorCode: SocketError?
 80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 |     internal func suspendReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 |         if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 |     }
137 |
138 |     internal func resumeReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 |         if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 |     }
150 |
151 |     internal func doReceive() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 |         if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 |     }
223 |
224 |     internal func doReceiveEOF() {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 |         closeSocketFinal()
226 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 |     }
227 |
228 |     internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 |         for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:56:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |
 55 |                 self.socketQueue.async {
 56 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                 }
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:102:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                 //Continue to Receive
101 |                 self.socketQueue.async {
102 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                 }
104 |             }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |
 48 | public struct SocketReceiveOptions: OptionSet {
    |               `- note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
 49 |     public let rawValue: Int32
 50 |     public init(rawValue: Int32) { self.rawValue = rawValue }
 51 |
 52 |     /// NO Flags should be set
 53 |     public static let none        = SocketReceiveOptions(rawValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SocketReceiveOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |     /// Receive Out of Band Data
 55 |     public static let outOfBand   = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
[18/19] Compiling AsyncNetwork UDPReceiveObserver.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPReceiveObserver: SocketObserver {
   |               `- note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
36 |
37 |     private let receiveHandler: ((AsyncUDP, Data, InternetAddress) -> Void)?
   :
56 |     public func sockDidClose(_ socket: AsyncUDP, error: SocketError?) {
57 |         dispatchQueue.async { () -> Void in
58 |             self.closeHandler?(socket, error)
   |             `- warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 |         }
60 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:32: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     public func sockDidClose(_ socket: AsyncUDP, error: SocketError?) {
57 |         dispatchQueue.async { () -> Void in
58 |             self.closeHandler?(socket, error)
   |                                `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 |         }
60 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPReceiveObserver: SocketObserver {
   |               `- note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
36 |
37 |     private let receiveHandler: ((AsyncUDP, Data, InternetAddress) -> Void)?
   :
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |             `- warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |                                  `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:48: warning: capture of 'fromAddress' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |                                                `- warning: capture of 'fromAddress' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 33 |
 34 |
 35 | public struct InternetAddress {
    |               `- note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 36 |
 37 |     public let hostname: String
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPSendObserver: SocketObserver {
   |               `- note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
36 |
37 |     private let didSendHandler: ((_ socket: AsyncUDP, _ tag: Int) -> Void)?
   :
67 |     public func socketDidNotSend(_ socket: AsyncUDP, tag: Int, error: SocketError) {
68 |         dispatchQueue.async { () -> Void in
69 |             self.didNotSendHandler?(socket, tag, error)
   |             `- warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |         }
71 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:37: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 |     public func socketDidNotSend(_ socket: AsyncUDP, tag: Int, error: SocketError) {
68 |         dispatchQueue.async { () -> Void in
69 |             self.didNotSendHandler?(socket, tag, error)
   |                                     `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |         }
71 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPSendObserver: SocketObserver {
   |               `- note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
36 |
37 |     private let didSendHandler: ((_ socket: AsyncUDP, _ tag: Int) -> Void)?
   :
73 |     public func socketDidSend(_ socket: AsyncUDP, tag: Int) {
74 |         dispatchQueue.async { () -> Void in
75 |             self.didSendHandler?(socket, tag)
   |             `- warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |         }
77 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 |     public func socketDidSend(_ socket: AsyncUDP, tag: Int) {
74 |         dispatchQueue.async { () -> Void in
75 |             self.didSendHandler?(socket, tag)
   |                                  `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |         }
77 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
[19/19] Compiling AsyncNetwork UDPSendObserver.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPReceiveObserver: SocketObserver {
   |               `- note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
36 |
37 |     private let receiveHandler: ((AsyncUDP, Data, InternetAddress) -> Void)?
   :
56 |     public func sockDidClose(_ socket: AsyncUDP, error: SocketError?) {
57 |         dispatchQueue.async { () -> Void in
58 |             self.closeHandler?(socket, error)
   |             `- warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 |         }
60 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:32: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 |     public func sockDidClose(_ socket: AsyncUDP, error: SocketError?) {
57 |         dispatchQueue.async { () -> Void in
58 |             self.closeHandler?(socket, error)
   |                                `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 |         }
60 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPReceiveObserver: SocketObserver {
   |               `- note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
36 |
37 |     private let receiveHandler: ((AsyncUDP, Data, InternetAddress) -> Void)?
   :
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |             `- warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |                                  `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:48: warning: capture of 'fromAddress' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 |     public func socketDidReceive(_ socket: AsyncUDP, data: Data, fromAddress: InternetAddress) {
63 |         dispatchQueue.async {
64 |             self.receiveHandler?(socket, data, fromAddress)
   |                                                `- warning: capture of 'fromAddress' with non-sendable type 'InternetAddress' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |         }
66 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 33 |
 34 |
 35 | public struct InternetAddress {
    |               `- note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
 36 |
 37 |     public let hostname: String
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPSendObserver: SocketObserver {
   |               `- note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
36 |
37 |     private let didSendHandler: ((_ socket: AsyncUDP, _ tag: Int) -> Void)?
   :
67 |     public func socketDidNotSend(_ socket: AsyncUDP, tag: Int, error: SocketError) {
68 |         dispatchQueue.async { () -> Void in
69 |             self.didNotSendHandler?(socket, tag, error)
   |             `- warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |         }
71 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:37: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
67 |     public func socketDidNotSend(_ socket: AsyncUDP, tag: Int, error: SocketError) {
68 |         dispatchQueue.async { () -> Void in
69 |             self.didNotSendHandler?(socket, tag, error)
   |                                     `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |         }
71 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 |
34 |
35 | public struct UDPSendObserver: SocketObserver {
   |               `- note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
36 |
37 |     private let didSendHandler: ((_ socket: AsyncUDP, _ tag: Int) -> Void)?
   :
73 |     public func socketDidSend(_ socket: AsyncUDP, tag: Int) {
74 |         dispatchQueue.async { () -> Void in
75 |             self.didSendHandler?(socket, tag)
   |             `- warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |         }
77 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 |     public func socketDidSend(_ socket: AsyncUDP, tag: Int) {
74 |         dispatchQueue.async { () -> Void in
75 |             self.didSendHandler?(socket, tag)
   |                                  `- warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 |         }
77 |     }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 54 |
 55 | /// Async UDP
 56 | public class AsyncUDP {
    |              `- note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
 57 |     internal var socketQueue: DispatchQueue
 58 |
Build complete! (13.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncNetwork",
  "name" : "AsyncNetwork",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AsyncNetwork",
      "targets" : [
        "AsyncNetwork"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "3",
    "4"
  ],
  "targets" : [
    {
      "c99name" : "AsyncNetwork",
      "module_type" : "SwiftTarget",
      "name" : "AsyncNetwork",
      "path" : "Sources/AsyncNetwork",
      "product_memberships" : [
        "AsyncNetwork"
      ],
      "sources" : [
        "Errors.swift",
        "InternetAddress.swift",
        "Shims.swift",
        "Socket/SockAddressStorage.swift",
        "Socket/Socket.swift",
        "Socket/SocketConfig.swift",
        "Socket/SocketObserver.swift",
        "Socket/SocketOptions.swift",
        "UDP/AsyncUDP+Multicast.swift",
        "UDP/AsyncUDP+Receive.swift",
        "UDP/AsyncUDP+Send.swift",
        "UDP/AsyncUDP.swift",
        "UDP/AsyncUDPSendPacket.swift",
        "UDP/MulticastGroup.swift",
        "UDP/UDPReceiveObserver.swift",
        "UDP/UDPSendObserver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.