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.1 for macOS (SPM) on 24 Apr 2025 15:07:51 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fitnesskit/asyncnetwork.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "asyncnetwork",
      "name": "AsyncNetwork",
      "url": "https://github.com/fitnesskit/asyncnetwork.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/asyncnetwork",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fitnesskit/asyncnetwork.git
[1/90] Fetching asyncnetwork
Fetched https://github.com/fitnesskit/asyncnetwork.git from cache (0.63s)
Creating working copy for https://github.com/fitnesskit/asyncnetwork.git
Working copy of https://github.com/fitnesskit/asyncnetwork.git resolved at 1.0.2 (3942870)
warning: '.resolve-product-dependencies': dependency 'asyncnetwork' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fitnesskit/asyncnetwork.git
https://github.com/fitnesskit/asyncnetwork.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncNetwork",
  "name" : "AsyncNetwork",
  "path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/18] Compiling AsyncNetwork MulticastGroup.swift
/Users/admin/builder/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:
/Users/admin/builder/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:
[4/18] Compiling AsyncNetwork UDPReceiveObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a '@Sendable' closure
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
59 |         }
60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:58:32: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
59 |         }
60 |     }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:13: warning: capture of 'self' with non-sendable type 'UDPReceiveObserver' in a '@Sendable' closure
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
65 |         }
66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
65 |         }
66 |     }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:64:48: warning: capture of 'fromAddress' with non-sendable type 'InternetAddress' in a '@Sendable' closure
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
65 |         }
66 |     }
/Users/admin/builder/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
[5/19] Compiling AsyncNetwork AsyncUDPSendPacket.swift
[6/19] Compiling AsyncNetwork SocketObserver.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
   |                       `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
[7/19] Compiling AsyncNetwork SocketOptions.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
   |                       `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
[8/19] Emitting module AsyncNetwork
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Users/admin/builder/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:
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/Users/admin/builder/spi-builder-workspace/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
   |                       `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | }
/Users/admin/builder/spi-builder-workspace/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?
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/Users/admin/builder/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)
/Users/admin/builder/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() {
/Users/admin/builder/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 {
/Users/admin/builder/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?
[9/19] Compiling AsyncNetwork AsyncUDP+Multicast.swift
/Users/admin/builder/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?
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:56:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 54 |
 55 |                 self.socketQueue.async {
 56 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 57 |                 }
 58 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:102:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
100 |                 //Continue to Receive
101 |                 self.socketQueue.async {
102 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
103 |                 }
104 |             }
/Users/admin/builder/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 |
[10/19] Compiling AsyncNetwork AsyncUDP+Receive.swift
/Users/admin/builder/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?
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 |     }
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:56:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 54 |
 55 |                 self.socketQueue.async {
 56 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 57 |                 }
 58 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:102:21: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
100 |                 //Continue to Receive
101 |                 self.socketQueue.async {
102 |                     self.doReceive()
    |                     `- warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
103 |                 }
104 |             }
/Users/admin/builder/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 |
[11/19] Compiling AsyncNetwork Socket.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/Users/admin/builder/spi-builder-workspace/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 | }
 61 |
/Users/admin/builder/spi-builder-workspace/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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))
/Users/admin/builder/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: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
    |                       `- 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))
/Users/admin/builder/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: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/Users/admin/builder/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
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 AsyncUDP+Send.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:13: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 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
 74 |             self.maybeDequeueSend()
 75 |         }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:35: warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a '@Sendable' closure
 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
 74 |             self.maybeDequeueSend()
 75 |         }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:186:48: warning: capture of 'host' with non-sendable type 'InternetAddress' in a '@Sendable' closure
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
187 |
188 |             do {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:192:17: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
193 |                     handler(address, nil)
194 |                 }
/Users/admin/builder/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 |
/Users/admin/builder/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
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/Users/admin/builder/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
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:29: warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a '@Sendable' closure
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                             `- warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a '@Sendable' closure
194 |                 }
195 |
/Users/admin/builder/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>
/Users/admin/builder/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
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
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |                 }
201 |             }
/Users/admin/builder/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: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/Users/admin/builder/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)
/Users/admin/builder/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() {
/Users/admin/builder/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 {
/Users/admin/builder/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?
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:91:21: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
 89 |
 90 |         socketQueue = DispatchQueue(label: "async.upd.queue")
 91 |         socketQueue.setSpecific(key: AsyncUDP.udpQueueIDKey, value: udpQueueID)
    |                     `- warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
 92 |
 93 |     }
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UnsafeMutableRawPointer : Sendable {
  |           `- note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:103:30: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
101 |
102 |     internal var isCurrentQueue: Bool {
103 |         return DispatchQueue.getSpecific(key: AsyncUDP.udpQueueIDKey) == udpQueueID
    |                              `- warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
104 |     }
105 |
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UnsafeMutableRawPointer : Sendable {
  |           `- note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
[14/19] Compiling AsyncNetwork AsyncUDP.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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")
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:13: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
 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
 74 |             self.maybeDequeueSend()
 75 |         }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:73:35: warning: capture of 'sendPacket' with non-sendable type 'AsyncUDPSendPacket' in a '@Sendable' closure
 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
 74 |             self.maybeDequeueSend()
 75 |         }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:186:48: warning: capture of 'host' with non-sendable type 'InternetAddress' in a '@Sendable' closure
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
187 |
188 |             do {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:192:17: warning: capture of 'self' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
193 |                     handler(address, nil)
194 |                 }
/Users/admin/builder/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 |
/Users/admin/builder/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
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/Users/admin/builder/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
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                     |- warning: capture of 'handler' with non-sendable type '(SockAddressStorage?, SocketError?) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 |                 }
195 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:29: warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a '@Sendable' closure
191 |
192 |                 self.socketQueue.async {
193 |                     handler(address, nil)
    |                             `- warning: capture of 'address' with non-sendable type 'SockAddressStorage' in a '@Sendable' closure
194 |                 }
195 |
/Users/admin/builder/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>
/Users/admin/builder/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
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
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
200 |                 }
201 |             }
/Users/admin/builder/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: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     fileprivate lazy var udpQueueID: UnsafeMutableRawPointer = { [unowned self] in
/Users/admin/builder/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)
/Users/admin/builder/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() {
/Users/admin/builder/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 {
/Users/admin/builder/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?
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:91:21: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
 89 |
 90 |         socketQueue = DispatchQueue(label: "async.upd.queue")
 91 |         socketQueue.setSpecific(key: AsyncUDP.udpQueueIDKey, value: udpQueueID)
    |                     `- warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
 92 |
 93 |     }
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UnsafeMutableRawPointer : Sendable {
  |           `- note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:103:30: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
101 |
102 |     internal var isCurrentQueue: Bool {
103 |         return DispatchQueue.getSpecific(key: AsyncUDP.udpQueueIDKey) == udpQueueID
    |                              `- warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
104 |     }
105 |
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension UnsafeMutableRawPointer : Sendable {
  |           `- note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
[15/19] Compiling AsyncNetwork Shims.swift
/Users/admin/builder/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:
/Users/admin/builder/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:
[16/19] Compiling AsyncNetwork SockAddressStorage.swift
/Users/admin/builder/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:
/Users/admin/builder/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:
[17/19] Compiling AsyncNetwork Errors.swift
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Users/admin/builder/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:
[18/19] Compiling AsyncNetwork InternetAddress.swift
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Users/admin/builder/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:
[19/19] Compiling AsyncNetwork UDPSendObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a '@Sendable' closure
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
70 |         }
71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:69:37: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
70 |         }
71 |     }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:13: warning: capture of 'self' with non-sendable type 'UDPSendObserver' in a '@Sendable' closure
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
76 |         }
77 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:75:34: warning: capture of 'socket' with non-sendable type 'AsyncUDP' in a '@Sendable' closure
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
76 |         }
77 |     }
/Users/admin/builder/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! (5.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncNetwork",
  "name" : "AsyncNetwork",
  "path" : "/Users/admin/builder/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"
}
Done.