Build Information
Successful build of AsyncNetwork, reference master (394287
), with Swift 6.1 for watchOS using Xcode 16.3 on 24 Apr 2025 15:07:51 UTC.
Swift 6 data race errors: 33
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncNetwork -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Build Log
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:35:15: note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
public struct UDPReceiveObserver: SocketObserver {
^
, Sendable
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
public struct InternetAddress {
^
: Sendable
SwiftCompile normal arm64_32 Compiling\ Shims.swift,\ SockAddressStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastJoinValue: Int32 {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastLeaveValue: Int32 {
^~~~~~~
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ MulticastGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
SwiftCompile normal arm64_32 Compiling\ AsyncUDPSendPacket.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal armv7k Emitting\ module\ for\ AsyncNetwork (in target 'AsyncNetwork' from project 'AsyncNetwork')
EmitSwiftModule normal armv7k (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public let type: ErrorReasons
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:33:13: note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
public enum ErrorReasons {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastJoinValue: Int32 {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastLeaveValue: Int32 {
^~~~~~~
/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
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketReceiveOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketReceiveOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: use [] to silence this warning
public static let none = SocketReceiveOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
nonisolated(unsafe)
/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
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
nonisolated(unsafe)
/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
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketSendOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketSendOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: use [] to silence this warning
public static let none = SocketSendOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
nonisolated(unsafe)
/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
static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
^~~~~~~
/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
public func bind() throws {
^~~~~~~
/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
public func close() throws {
^~~~~~~
/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
public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
^~~~~~~
/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
public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
^~~~~~~
/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
internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
^~~~~~~~~
/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
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
nonisolated(unsafe)
/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
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
nonisolated(unsafe)
/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
public func join(group: MulticastGroup) throws {
^~~~~~~
/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
public func leave(group: MulticastGroup) throws {
^~~~~~~
/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
fileprivate func preMulticastCheck() throws {
^~~~~~~~~~~~
/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
public func beginReceiving() throws {
^~~~~~~
/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
public func receiveOnce() throws {
^~~~~~~
/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
internal func suspendReceive() {
^~~~~~~~~
/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
internal func resumeReceive() {
^~~~~~~~~
/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
internal func doReceive() {
^~~~~~~~~
/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
internal func doReceiveEOF() {
^~~~~~~~~
/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
internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
^~~~~~~~~
/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
public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
^~~~~~~
/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
internal func resumeSendSource() {
^~~~~~~~~
/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
internal func doSend() {
^~~~~~~~~
/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
fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
^~~~~~~~~~~~
/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
fileprivate func endCurrentSend() {
^~~~~~~~~~~~
/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
fileprivate func doPreSend() {
^~~~~~~~~~~~
/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
fileprivate func maybeDequeueSend() {
^~~~~~~~~~~~
/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
fileprivate func setupSendTimer(_ timeout: TimeInterval) {
^~~~~~~~~~~~
/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
fileprivate func doSendTimout() {
^~~~~~~~~~~~
/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
fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
^~~~~~~~~~~~
/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
fileprivate func notifyDidSend(_ tag: Int) {
^~~~~~~~~~~~
/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
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
nonisolated(unsafe)
/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
public func addObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func removeObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func close() {
^~~~~~~
/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
public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
^~~~~~~
SwiftDriverJobDiscovery normal arm64_32 Emitting module for AsyncNetwork (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation\ Requirements AsyncNetwork normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64_32 Compiling Shims.swift, SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncNetwork (in target 'AsyncNetwork' from project 'AsyncNetwork')
EmitSwiftModule normal arm64 (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public let type: ErrorReasons
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:33:13: note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
public enum ErrorReasons {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastJoinValue: Int32 {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastLeaveValue: Int32 {
^~~~~~~
/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
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketReceiveOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketReceiveOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: use [] to silence this warning
public static let none = SocketReceiveOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
nonisolated(unsafe)
/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
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
nonisolated(unsafe)
/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
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketSendOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketSendOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: use [] to silence this warning
public static let none = SocketSendOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
nonisolated(unsafe)
/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
static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
^~~~~~~
/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
public func bind() throws {
^~~~~~~
/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
public func close() throws {
^~~~~~~
/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
public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
^~~~~~~
/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
public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
^~~~~~~
/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
internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
^~~~~~~~~
/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
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
nonisolated(unsafe)
/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
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
nonisolated(unsafe)
/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
public func join(group: MulticastGroup) throws {
^~~~~~~
/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
public func leave(group: MulticastGroup) throws {
^~~~~~~
/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
fileprivate func preMulticastCheck() throws {
^~~~~~~~~~~~
/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
public func beginReceiving() throws {
^~~~~~~
/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
public func receiveOnce() throws {
^~~~~~~
/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
internal func suspendReceive() {
^~~~~~~~~
/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
internal func resumeReceive() {
^~~~~~~~~
/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
internal func doReceive() {
^~~~~~~~~
/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
internal func doReceiveEOF() {
^~~~~~~~~
/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
internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
^~~~~~~~~
/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
public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
^~~~~~~
/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
internal func resumeSendSource() {
^~~~~~~~~
/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
internal func doSend() {
^~~~~~~~~
/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
fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
^~~~~~~~~~~~
/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
fileprivate func endCurrentSend() {
^~~~~~~~~~~~
/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
fileprivate func doPreSend() {
^~~~~~~~~~~~
/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
fileprivate func maybeDequeueSend() {
^~~~~~~~~~~~
/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
fileprivate func setupSendTimer(_ timeout: TimeInterval) {
^~~~~~~~~~~~
/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
fileprivate func doSendTimout() {
^~~~~~~~~~~~
/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
fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
^~~~~~~~~~~~
/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
fileprivate func notifyDidSend(_ tag: Int) {
^~~~~~~~~~~~
/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
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
nonisolated(unsafe)
/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
public func addObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func removeObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func close() {
^~~~~~~
/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
public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
^~~~~~~
SwiftCompile normal armv7k Compiling\ UDPSendObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
SwiftDriverJobDiscovery normal arm64_32 Compiling MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftmodule (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.swiftmodule
SwiftDriverJobDiscovery normal arm64_32 Compiling Errors.swift, InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftdoc (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.swiftdoc
SwiftDriverJobDiscovery normal arm64_32 Compiling Socket.swift, SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.abi.json (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64_32-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftsourceinfo (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/arm64_32-apple-watchos.swiftsourceinfo
SwiftCompile normal armv7k Compiling\ AsyncUDPSendPacket.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k Compiling\ MulticastGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
SwiftCompile normal armv7k Compiling\ Shims.swift,\ SockAddressStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastJoinValue: Int32 {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastLeaveValue: Int32 {
^~~~~~~
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling SocketObserver.swift, SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ AsyncUDP+Send.swift,\ AsyncUDP.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
^~~~~~~
/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
internal func resumeSendSource() {
^~~~~~~~~
/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
internal func doSend() {
^~~~~~~~~
/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
fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
^~~~~~~~~~~~
/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
fileprivate func endCurrentSend() {
^~~~~~~~~~~~
/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
fileprivate func doPreSend() {
^~~~~~~~~~~~
/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
fileprivate func maybeDequeueSend() {
^~~~~~~~~~~~
/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
fileprivate func setupSendTimer(_ timeout: TimeInterval) {
^~~~~~~~~~~~
/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
fileprivate func doSendTimout() {
^~~~~~~~~~~~
/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
fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
^~~~~~~~~~~~
/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
fileprivate func notifyDidSend(_ tag: Int) {
^~~~~~~~~~~~
/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
self.sendQueue.append(sendPacket)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.sendQueue.append(sendPacket)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift:34:16: note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
internal class AsyncUDPSendPacket {
^
/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
var cfg = SocketConfig.UDP(family: host.addressFamily)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
public struct InternetAddress {
^
: Sendable
/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
self.socketQueue.async {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(address, nil)
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(address, nil)
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift:33:16: note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
internal class SockAddressStorage {
^
/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
handler(nil, error as? SocketError)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:199:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(nil, error as? SocketError)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
nonisolated(unsafe)
/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
public func addObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func removeObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func close() {
^~~~~~~
/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
public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:91:21: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
socketQueue.setSpecific(key: AsyncUDP.udpQueueIDKey, value: udpQueueID)
^
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
extension UnsafeMutableRawPointer : Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:103:30: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
return DispatchQueue.getSpecific(key: AsyncUDP.udpQueueIDKey) == udpQueueID
^
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
extension UnsafeMutableRawPointer : Sendable {
^
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ Errors.swift,\ InternetAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public let type: ErrorReasons
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:33:13: note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
public enum ErrorReasons {
^
: Sendable
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
SwiftDriverJobDiscovery normal arm64_32 Compiling UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64_32 Compiling\ UDPSendObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncUDP+Send.swift, AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ AsyncUDPSendPacket.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64_32 Compiling AsyncUDP+Multicast.swift, AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ UDPReceiveObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
self.closeHandler?(socket, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:35:15: note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
public struct UDPReceiveObserver: SocketObserver {
^
, Sendable
/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
self.closeHandler?(socket, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:35:15: note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
public struct UDPReceiveObserver: SocketObserver {
^
, Sendable
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
public struct InternetAddress {
^
: Sendable
SwiftDriverJobDiscovery normal arm64_32 Compiling UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation AsyncNetwork normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal armv7k Emitting module for AsyncNetwork (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation\ Requirements AsyncNetwork normal armv7k com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ AsyncUDP+Multicast.swift,\ AsyncUDP+Receive.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func join(group: MulticastGroup) throws {
^~~~~~~
/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
public func leave(group: MulticastGroup) throws {
^~~~~~~
/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
fileprivate func preMulticastCheck() throws {
^~~~~~~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func beginReceiving() throws {
^~~~~~~
/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
public func receiveOnce() throws {
^~~~~~~
/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
internal func suspendReceive() {
^~~~~~~~~
/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
internal func resumeReceive() {
^~~~~~~~~
/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
internal func doReceive() {
^~~~~~~~~
/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
internal func doReceiveEOF() {
^~~~~~~~~
/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
internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
^~~~~~~~~
/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
self.doReceive()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.doReceive()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftmodule (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.swiftmodule
SwiftDriverJobDiscovery normal armv7k Compiling MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftdoc (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.abi.json (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/armv7k-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftsourceinfo (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/armv7k-apple-watchos.swiftsourceinfo
SwiftDriverJobDiscovery normal armv7k Compiling Shims.swift, SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ Socket.swift,\ SocketConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketReceiveOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketReceiveOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: use [] to silence this warning
public static let none = SocketReceiveOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
nonisolated(unsafe)
/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
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
nonisolated(unsafe)
/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
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketSendOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketSendOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: use [] to silence this warning
public static let none = SocketSendOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
nonisolated(unsafe)
/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
static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
^~~~~~~
/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
public func bind() throws {
^~~~~~~
/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
public func close() throws {
^~~~~~~
/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
public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
^~~~~~~
/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
public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
^~~~~~~
/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
internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
UnsafeMutableRawPointer(mutating: data),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:79: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
UnsafeMutableRawPointer(mutating: data),
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:79: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
UnsafeMutableRawPointer(mutating: data),
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MulticastGroup.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
SwiftCompile normal arm64 Compiling\ Shims.swift,\ SockAddressStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastJoinValue: Int32 {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
public var mcastLeaveValue: Int32 {
^~~~~~~
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for AsyncNetwork (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation\ Requirements AsyncNetwork normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal armv7k Compiling AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k Compiling\ Errors.swift,\ InternetAddress.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public let type: ErrorReasons
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Errors.swift:33:13: note: consider making enum 'ErrorReasons' conform to the 'Sendable' protocol
public enum ErrorReasons {
^
: Sendable
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
specPtr.assign(from: addr, count: 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: note: use 'update(from:count:)' instead
specPtr.assign(from: addr, count: 1)
^~~~~~
update
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/AsyncNetwork-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-Swift.h (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-Swift.h -arch arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork-Swift.h -arch armv7k /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/AsyncNetwork-Swift.h
SwiftDriverJobDiscovery normal armv7k Compiling UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftmodule (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftdoc (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.abi.json (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/arm64-apple-watchos.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftsourceinfo (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.swiftmodule/Project/arm64-apple-watchos.swiftsourceinfo
SwiftCompile normal armv7k Compiling\ SocketObserver.swift,\ SocketOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
nonisolated(unsafe)
/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
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
nonisolated(unsafe)
SwiftCompile normal armv7k Compiling\ Socket.swift,\ SocketConfig.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketReceiveOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketReceiveOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
public static let none = SocketReceiveOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: note: use [] to silence this warning
public static let none = SocketReceiveOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:55:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: add '@MainActor' to make static property 'peek' part of global actor 'MainActor'
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:57:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let peek = SocketReceiveOptions(rawValue: Int32(MSG_PEEK))
^
nonisolated(unsafe)
/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
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:48:15: note: consider making struct 'SocketReceiveOptions' conform to the 'Sendable' protocol
public struct SocketReceiveOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: add '@MainActor' to make static property 'waitAll' part of global actor 'MainActor'
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:59:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let waitAll = SocketReceiveOptions(rawValue: Int32(MSG_WAITALL))
^
nonisolated(unsafe)
/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
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
public static let none = SocketSendOptions(rawValue: 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let none = SocketSendOptions(rawValue: 0)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
public static let none = SocketSendOptions(rawValue: 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: note: use [] to silence this warning
public static let none = SocketSendOptions(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/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
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: add '@MainActor' to make static property 'outOfBand' part of global actor 'MainActor'
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:69:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
^
nonisolated(unsafe)
/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
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:62:15: note: consider making struct 'SocketSendOptions' conform to the 'Sendable' protocol
public struct SocketSendOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: add '@MainActor' to make static property 'dontRoute' part of global actor 'MainActor'
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:71:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let dontRoute = SocketSendOptions(rawValue: Int32(MSG_DONTROUTE))
^
nonisolated(unsafe)
/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
static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
^~~~~~~
/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
public func bind() throws {
^~~~~~~
/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
public func close() throws {
^~~~~~~
/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
public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
^~~~~~~
/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
public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
^~~~~~~
/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
internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
UnsafeMutableRawPointer(mutating: data),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:79: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
UnsafeMutableRawPointer(mutating: data),
^~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:79: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
UnsafeMutableRawPointer(mutating: data),
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal armv7k Compiling SocketObserver.swift, SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k Compiling\ AsyncUDP+Send.swift,\ AsyncUDP.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
^~~~~~~
/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
internal func resumeSendSource() {
^~~~~~~~~
/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
internal func doSend() {
^~~~~~~~~
/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
fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
^~~~~~~~~~~~
/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
fileprivate func endCurrentSend() {
^~~~~~~~~~~~
/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
fileprivate func doPreSend() {
^~~~~~~~~~~~
/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
fileprivate func maybeDequeueSend() {
^~~~~~~~~~~~
/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
fileprivate func setupSendTimer(_ timeout: TimeInterval) {
^~~~~~~~~~~~
/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
fileprivate func doSendTimout() {
^~~~~~~~~~~~
/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
fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
^~~~~~~~~~~~
/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
fileprivate func notifyDidSend(_ tag: Int) {
^~~~~~~~~~~~
/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
self.sendQueue.append(sendPacket)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.sendQueue.append(sendPacket)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDPSendPacket.swift:34:16: note: class 'AsyncUDPSendPacket' does not conform to the 'Sendable' protocol
internal class AsyncUDPSendPacket {
^
/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
var cfg = SocketConfig.UDP(family: host.addressFamily)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
public struct InternetAddress {
^
: Sendable
/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
self.socketQueue.async {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(address, nil)
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:193:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(address, nil)
^
/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
handler(address, nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SockAddressStorage.swift:33:16: note: class 'SockAddressStorage' does not conform to the 'Sendable' protocol
internal class SockAddressStorage {
^
/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
handler(nil, error as? SocketError)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:199:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
handler(nil, error as? SocketError)
^
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: convert 'udpQueueIDKey' to a 'let' constant to make 'Sendable' shared state immutable
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: add '@MainActor' to make static property 'udpQueueIDKey' part of global actor 'MainActor'
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:59:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var udpQueueIDKey: DispatchSpecificKey<UnsafeMutableRawPointer> = DispatchSpecificKey()
^
nonisolated(unsafe)
/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
public func addObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func removeObserver(_ observer: SocketObserver) {
^~~~~~~
/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
public func close() {
^~~~~~~
/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
public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:91:21: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
socketQueue.setSpecific(key: AsyncUDP.udpQueueIDKey, value: udpQueueID)
^
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
extension UnsafeMutableRawPointer : Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:103:30: warning: conformance of 'UnsafeMutableRawPointer' to 'Sendable' is unavailable
return DispatchQueue.getSpecific(key: AsyncUDP.udpQueueIDKey) == udpQueueID
^
Swift.UnsafeMutableRawPointer:2:11: note: conformance of 'UnsafeMutableRawPointer' to 'Sendable' has been explicitly marked unavailable here
extension UnsafeMutableRawPointer : Sendable {
^
SwiftDriverJobDiscovery normal armv7k Compiling Errors.swift, InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k Compiling\ AsyncUDP+Multicast.swift,\ AsyncUDP+Receive.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func join(group: MulticastGroup) throws {
^~~~~~~
/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
public func leave(group: MulticastGroup) throws {
^~~~~~~
/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
fileprivate func preMulticastCheck() throws {
^~~~~~~~~~~~
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public func beginReceiving() throws {
^~~~~~~
/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
public func receiveOnce() throws {
^~~~~~~
/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
internal func suspendReceive() {
^~~~~~~~~
/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
internal func resumeReceive() {
^~~~~~~~~
/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
internal func doReceive() {
^~~~~~~~~
/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
internal func doReceiveEOF() {
^~~~~~~~~
/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
internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
^~~~~~~~~
/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
self.doReceive()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.doReceive()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
SwiftDriverJobDiscovery normal arm64 Compiling MulticastGroup.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ UDPSendObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didNotSendHandler?(socket, tag, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPSendObserver.swift:35:15: note: consider making struct 'UDPSendObserver' conform to the 'Sendable' protocol
public struct UDPSendObserver: SocketObserver {
^
, Sendable
/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
self.didSendHandler?(socket, tag)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
SwiftDriverJobDiscovery normal arm64 Compiling Errors.swift, InternetAddress.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k Compiling\ UDPReceiveObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
self.closeHandler?(socket, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:35:15: note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
public struct UDPReceiveObserver: SocketObserver {
^
, Sendable
/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
self.closeHandler?(socket, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/UDPReceiveObserver.swift:35:15: note: consider making struct 'UDPReceiveObserver' conform to the 'Sendable' protocol
public struct UDPReceiveObserver: SocketObserver {
^
, Sendable
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:56:14: note: class 'AsyncUDP' does not conform to the 'Sendable' protocol
public class AsyncUDP {
^
/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
self.receiveHandler?(socket, data, fromAddress)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:35:15: note: consider making struct 'InternetAddress' conform to the 'Sendable' protocol
public struct InternetAddress {
^
: Sendable
SwiftDriverJobDiscovery normal arm64 Compiling Shims.swift, SockAddressStorage.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 Compiling\ SocketObserver.swift,\ SocketOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketObserver.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: add '@MainActor' to make static property 'reusePort' part of global actor 'MainActor'
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:41:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let reusePort = SocketOptions(rawValue: 1 << 0)
^
nonisolated(unsafe)
/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
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:36:15: note: consider making struct 'SocketOptions' conform to the 'Sendable' protocol
public struct SocketOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: add '@MainActor' to make static property 'enableBroadcast' part of global actor 'MainActor'
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/AsyncNetwork/Socket/SocketOptions.swift:43:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let enableBroadcast = SocketOptions(rawValue: 1 << 1)
^
nonisolated(unsafe)
SwiftDriverJobDiscovery normal arm64 Compiling Socket.swift, SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal armv7k Compiling Socket.swift, SocketConfig.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/Binary/AsyncNetwork.o normal arm64_32 (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64_32-apple-watchos5.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/Binary/AsyncNetwork.o
SwiftDriverJobDiscovery normal armv7k Compiling UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal armv7k Compiling AsyncUDP+Multicast.swift, AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal armv7k Compiling AsyncUDP+Send.swift, AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation AsyncNetwork normal armv7k com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/Binary/AsyncNetwork.o normal armv7k (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target armv7k-apple-watchos5.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/Binary/AsyncNetwork.o
SwiftDriverJobDiscovery normal arm64 Compiling AsyncUDPSendPacket.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal arm64 Compiling UDPReceiveObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncUDP+Send.swift, AsyncUDP.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal arm64 Compiling AsyncUDP+Multicast.swift, AsyncUDP+Receive.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal arm64 Compiling UDPSendObserver.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriverJobDiscovery normal arm64 Compiling SocketObserver.swift, SocketOptions.swift (in target 'AsyncNetwork' from project 'AsyncNetwork')
SwiftDriver\ Compilation AsyncNetwork normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AsyncNetwork -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 4 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/Binary/AsyncNetwork.o normal arm64 (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-watchos5.0 -r -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -L/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork_lto.o -rdynamic -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/Binary/AsyncNetwork.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.o normal arm64\ armv7k\ arm64_32 (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/Binary/AsyncNetwork.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/Binary/AsyncNetwork.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/Binary/AsyncNetwork.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.o
ExtractAppIntentsMetadata (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name AsyncNetwork --sdk-root /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk --xcode-version 16E140 --platform-family watchOS --deployment-target 5.0 --bundle-identifier spi-builder-workspace.AsyncNetwork --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.appintents --target-triple arm64-apple-watchos5.0 --target-triple armv7k-apple-watchos5.0 --target-triple arm64_32-apple-watchos5.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/AsyncNetwork.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/AsyncNetwork.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64/AsyncNetwork.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/armv7k/AsyncNetwork.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncNetwork.build/Debug-watchos/AsyncNetwork.build/Objects-normal/arm64_32/AsyncNetwork.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --validate-assistant-intents --no-app-shortcuts-localization
2025-04-24 08:07:50.308 appintentsmetadataprocessor[741:4205] Starting appintentsmetadataprocessor export
2025-04-24 08:07:50.344 appintentsmetadataprocessor[741:4205] Extracted no relevant App Intents symbols, skipping writing output
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.o (in target 'AsyncNetwork' from project 'AsyncNetwork')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/AsyncNetwork.o
** BUILD SUCCEEDED **
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.