This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SocketSwift with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 31

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Socket.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Socket.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 36911c1 Removed .swift_version file
Cloned https://github.com/BiAtoms/Socket.swift.git
Revision (git rev-parse @):
36911c13adfe12859ed43dcba878052b1897fcd3
SUCCESS checkout https://github.com/BiAtoms/Socket.swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/BiAtoms/Socket.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/11] Compiling SocketSwift Type.swift
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:24:27: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
23 |
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
   |                           |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:25:27: warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
23 |
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
   |                           |- warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'datagram' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:26:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
   |                           |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:27:27: warning: static property 'reliablyDeliveredMessage' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
   |                           |- warning: static property 'reliablyDeliveredMessage' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'reliablyDeliveredMessage' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:28:27: warning: static property 'sequencedPacketStream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
   |                           |- warning: static property 'sequencedPacketStream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'sequencedPacketStream' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     }
30 | }
[4/11] Compiling SocketSwift Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Protocol.swift:17:27: warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Socket {
13 |     public struct `Protocol`: RawRepresentable {
   |                   `- note: consider making struct 'Protocol' conform to the 'Sendable' protocol
14 |         public let rawValue: Int32
15 |         public init(rawValue: Int32) { self.rawValue = rawValue }
16 |
17 |         public static let tcp = Protocol(rawValue: Int32(IPPROTO_TCP))
   |                           |- warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'tcp' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         public static let udp = Protocol(rawValue: Int32(IPPROTO_UDP))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Protocol.swift:18:27: warning: static property 'udp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Socket {
13 |     public struct `Protocol`: RawRepresentable {
   |                   `- note: consider making struct 'Protocol' conform to the 'Sendable' protocol
14 |         public let rawValue: Int32
15 |         public init(rawValue: Int32) { self.rawValue = rawValue }
16 |
17 |         public static let tcp = Protocol(rawValue: Int32(IPPROTO_TCP))
18 |         public static let udp = Protocol(rawValue: Int32(IPPROTO_UDP))
   |                           |- warning: static property 'udp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'udp' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     }
20 | }
[5/11] Compiling SocketSwift OS.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:31:16: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
29 |     static let write = Glibc.write
30 |     #else
31 |     static let close = Darwin.close
   |                |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'close' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:32:16: warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
30 |     #else
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
   |                |- warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'bind' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:33:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:34:16: warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
   |                |- warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'listen' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:35:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let write = Darwin.write
37 |     #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:36:16: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
   |                |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     #endif
38 | }
[6/11] Emitting module SocketSwift
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:16:27: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
   |                           |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:17:27: warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
17 |         public static let inet6 = Family(rawValue: AF_INET6)
   |                           |- warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet6' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         public static let unix = Family(rawValue: AF_UNIX)
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:18:27: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
16 |         public static let inet = Family(rawValue: AF_INET)
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
   |                           |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     }
20 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:31:16: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
29 |     static let write = Glibc.write
30 |     #else
31 |     static let close = Darwin.close
   |                |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'close' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:32:16: warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
30 |     #else
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
   |                |- warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'bind' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:33:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:34:16: warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
   |                |- warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'listen' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:35:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let write = Darwin.write
37 |     #endif
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:36:16: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
   |                |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     #endif
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:24:23: warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
22 | extension Socket.BaseOption {
23 |     private typealias Option = Socket.Option
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
   |                       |- warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reuseAddress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:25:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
23 |     private typealias Option = Socket.Option
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:26:23: warning: static property 'keepAlive' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
   |                       |- warning: static property 'keepAlive' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keepAlive' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:27:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:28:23: warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
   |                       |- warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'dontRoute' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:29:23: warning: static property 'broadcast' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
   |                       |- warning: static property 'broadcast' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'broadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:30:23: warning: static property 'sendBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
   |                       |- warning: static property 'sendBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendBufferSize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:31:23: warning: static property 'receiveBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
   |                       |- warning: static property 'receiveBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveBufferSize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:32:23: warning: static property 'sendLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
   |                       |- warning: static property 'sendLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendLowWaterMark' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:33:23: warning: static property 'receiveLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
   |                       |- warning: static property 'receiveLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveLowWaterMark' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:34:23: warning: static property 'sendTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
   |                       |- warning: static property 'sendTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:35:23: warning: static property 'receiveTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
   |                       |- warning: static property 'receiveTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:38:23: warning: static property 'noSignalPipe' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
36 |
37 |     #if !os(Linux)
38 |     public static let noSignalPipe = Option<Bool>(rawValue: SO_NOSIGPIPE)
   |                       |- warning: static property 'noSignalPipe' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'noSignalPipe' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     #endif
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Protocol.swift:17:27: warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Socket {
13 |     public struct `Protocol`: RawRepresentable {
   |                   `- note: consider making struct 'Protocol' conform to the 'Sendable' protocol
14 |         public let rawValue: Int32
15 |         public init(rawValue: Int32) { self.rawValue = rawValue }
16 |
17 |         public static let tcp = Protocol(rawValue: Int32(IPPROTO_TCP))
   |                           |- warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'tcp' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         public static let udp = Protocol(rawValue: Int32(IPPROTO_UDP))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Protocol.swift:18:27: warning: static property 'udp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Socket {
13 |     public struct `Protocol`: RawRepresentable {
   |                   `- note: consider making struct 'Protocol' conform to the 'Sendable' protocol
14 |         public let rawValue: Int32
15 |         public init(rawValue: Int32) { self.rawValue = rawValue }
16 |
17 |         public static let tcp = Protocol(rawValue: Int32(IPPROTO_TCP))
18 |         public static let udp = Protocol(rawValue: Int32(IPPROTO_UDP))
   |                           |- warning: static property 'udp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'udp' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     }
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:24:27: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
23 |
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
   |                           |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:132:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public struct WaitOption: OptionSet {
    |                   `- note: consider making struct 'WaitOption' conform to the 'Sendable' protocol
129 |         public let rawValue: Int32
130 |         public init(rawValue: Int32) { self.rawValue = rawValue }
131 |
132 |         public static let read = WaitOption(rawValue: POLLIN)
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |         public static let write = WaitOption(rawValue: POLLOUT)
134 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:133:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public struct WaitOption: OptionSet {
    |                   `- note: consider making struct 'WaitOption' conform to the 'Sendable' protocol
129 |         public let rawValue: Int32
130 |         public init(rawValue: Int32) { self.rawValue = rawValue }
131 |
132 |         public static let read = WaitOption(rawValue: POLLIN)
133 |         public static let write = WaitOption(rawValue: POLLOUT)
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |     }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:211:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
209 |
210 | extension Socket {
211 |     open class func tcpListening(port: Port, address: String? = nil, maxPendingConnection: Int32 = SOMAXCONN) throws -> Self {
    |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
212 |
213 |         let socket = try self.init(.inet)
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:224:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
222 |
223 | extension Socket {
224 |     open func write(_ bytes: [Byte]) throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
225 |         try self.write(bytes, length: bytes.count)
226 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TLS.swift:165:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
163 | extension TLS {
164 |     #if !os(Linux)
165 |     open class func importCert(at path: URL, password: String) -> Certificate {
    |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
166 |         let data = FileManager.default.contents(atPath: path.path)! as NSData
167 |         let options: NSDictionary = [kSecImportExportPassphrase: password]
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:25:27: warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
23 |
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
   |                           |- warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'datagram' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:26:27: warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
   |                           |- warning: static property 'raw' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'raw' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:27:27: warning: static property 'reliablyDeliveredMessage' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
   |                           |- warning: static property 'reliablyDeliveredMessage' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'reliablyDeliveredMessage' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:28:27: warning: static property 'sequencedPacketStream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
26 |         public static let raw = Type(rawValue: SOCK_RAW)
27 |         public static let reliablyDeliveredMessage = Type(rawValue: SOCK_RDM)
28 |         public static let sequencedPacketStream =  Type(rawValue: SOCK_SEQPACKET)
   |                           |- warning: static property 'sequencedPacketStream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'sequencedPacketStream' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     }
30 | }
[7/11] Compiling SocketSwift Family.swift
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:16:27: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
   |                           |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:17:27: warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
17 |         public static let inet6 = Family(rawValue: AF_INET6)
   |                           |- warning: static property 'inet6' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet6' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         public static let unix = Family(rawValue: AF_UNIX)
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:18:27: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
   :
16 |         public static let inet = Family(rawValue: AF_INET)
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
   |                           |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'unix' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     }
20 | }
[8/11] Compiling SocketSwift TLS.swift
/Users/admin/builder/spi-builder-workspace/Sources/TLS.swift:165:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
163 | extension TLS {
164 |     #if !os(Linux)
165 |     open class func importCert(at path: URL, password: String) -> Certificate {
    |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
166 |         let data = FileManager.default.contents(atPath: path.path)! as NSData
167 |         let options: NSDictionary = [kSecImportExportPassphrase: password]
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:36:16: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
   |                |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     #endif
38 | }
[9/11] Compiling SocketSwift Error.swift
[10/11] Compiling SocketSwift Option.swift
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:24:23: warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
22 | extension Socket.BaseOption {
23 |     private typealias Option = Socket.Option
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
   |                       |- warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reuseAddress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:25:23: warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
23 |     private typealias Option = Socket.Option
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
   |                       |- warning: static property 'reusePort' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reusePort' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:26:23: warning: static property 'keepAlive' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
   |                       |- warning: static property 'keepAlive' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keepAlive' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:27:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
   |                       |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:28:23: warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
   |                       |- warning: static property 'dontRoute' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'dontRoute' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:29:23: warning: static property 'broadcast' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
27 |     public static let debug = Option<Bool>(rawValue: SO_DEBUG)
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
   |                       |- warning: static property 'broadcast' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'broadcast' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:30:23: warning: static property 'sendBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
28 |     public static let dontRoute = Option<Bool>(rawValue: SO_DONTROUTE)
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
   |                       |- warning: static property 'sendBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendBufferSize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:31:23: warning: static property 'receiveBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
29 |     public static let broadcast = Option<Bool>(rawValue: SO_BROADCAST)
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
   |                       |- warning: static property 'receiveBufferSize' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveBufferSize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:32:23: warning: static property 'sendLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
30 |     public static let sendBufferSize = Option<Int32>(rawValue: SO_SNDBUF)
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
   |                       |- warning: static property 'sendLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendLowWaterMark' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:33:23: warning: static property 'receiveLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
31 |     public static let receiveBufferSize = Option<Int32>(rawValue: SO_RCVBUF)
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
   |                       |- warning: static property 'receiveLowWaterMark' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Int32>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveLowWaterMark' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:34:23: warning: static property 'sendTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
32 |     public static let sendLowWaterMark = Option<Int32>(rawValue: SO_SNDLOWAT)
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
   |                       |- warning: static property 'sendTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'sendTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:35:23: warning: static property 'receiveTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
33 |     public static let receiveLowWaterMark = Option<Int32>(rawValue: SO_RCVLOWAT)
34 |     public static let sendTimeout = Option<TimeValue>(rawValue: SO_SNDTIMEO)
35 |     public static let receiveTimeout = Option<TimeValue>(rawValue: SO_RCVTIMEO)
   |                       |- warning: static property 'receiveTimeout' is not concurrency-safe because non-'Sendable' type 'Socket.Option<TimeValue>' (aka 'Socket.Option<timeval>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'receiveTimeout' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:38:23: warning: static property 'noSignalPipe' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
   :
36 |
37 |     #if !os(Linux)
38 |     public static let noSignalPipe = Option<Bool>(rawValue: SO_NOSIGPIPE)
   |                       |- warning: static property 'noSignalPipe' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'noSignalPipe' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     #endif
40 |
[11/11] Compiling SocketSwift Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/Type.swift:24:27: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension Socket {
20 |     public struct `Type`: RawRepresentable {
   |                   `- note: consider making struct 'Type' conform to the 'Sendable' protocol
21 |         public let rawValue: Int32
22 |         public init(rawValue: Int32) { self.rawValue = rawValue }
23 |
24 |         public static let stream = Type(rawValue: SOCK_STREAM)
   |                           |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'Socket.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         public static let datagram = Type(rawValue: SOCK_DGRAM)
26 |         public static let raw = Type(rawValue: SOCK_RAW)
/Users/admin/builder/spi-builder-workspace/Sources/Protocol.swift:17:27: warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Socket {
13 |     public struct `Protocol`: RawRepresentable {
   |                   `- note: consider making struct 'Protocol' conform to the 'Sendable' protocol
14 |         public let rawValue: Int32
15 |         public init(rawValue: Int32) { self.rawValue = rawValue }
16 |
17 |         public static let tcp = Protocol(rawValue: Int32(IPPROTO_TCP))
   |                           |- warning: static property 'tcp' is not concurrency-safe because non-'Sendable' type 'Socket.`Protocol`' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'tcp' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |         public static let udp = Protocol(rawValue: Int32(IPPROTO_UDP))
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:132:27: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public struct WaitOption: OptionSet {
    |                   `- note: consider making struct 'WaitOption' conform to the 'Sendable' protocol
129 |         public let rawValue: Int32
130 |         public init(rawValue: Int32) { self.rawValue = rawValue }
131 |
132 |         public static let read = WaitOption(rawValue: POLLIN)
    |                           |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |         public static let write = WaitOption(rawValue: POLLOUT)
134 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:133:27: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     }
127 |
128 |     public struct WaitOption: OptionSet {
    |                   `- note: consider making struct 'WaitOption' conform to the 'Sendable' protocol
129 |         public let rawValue: Int32
130 |         public init(rawValue: Int32) { self.rawValue = rawValue }
131 |
132 |         public static let read = WaitOption(rawValue: POLLIN)
133 |         public static let write = WaitOption(rawValue: POLLOUT)
    |                           |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'Socket.WaitOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |     }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:211:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
209 |
210 | extension Socket {
211 |     open class func tcpListening(port: Port, address: String? = nil, maxPendingConnection: Int32 = SOMAXCONN) throws -> Self {
    |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
212 |
213 |         let socket = try self.init(.inet)
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:224:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
222 |
223 | extension Socket {
224 |     open func write(_ bytes: [Byte]) throws {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
225 |         try self.write(bytes, length: bytes.count)
226 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:31:16: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
29 |     static let write = Glibc.write
30 |     #else
31 |     static let close = Darwin.close
   |                |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'close' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:36:16: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
   |                |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     #endif
38 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:32:16: warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
30 |     #else
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
   |                |- warning: static property 'bind' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'bind' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:33:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
31 |     static let close = Darwin.close
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafePointer<sockaddr>?, socklen_t) -> Int32' (aka '(Int32, Optional<UnsafePointer<sockaddr>>, UInt32) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:34:16: warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
32 |     static let bind = Darwin.bind
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
   |                |- warning: static property 'listen' is not concurrency-safe because non-'Sendable' type '(Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'listen' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |     static let accept = Darwin.accept
36 |     static let write = Darwin.write
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/OS.swift:35:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
33 |     static let connect = Darwin.connect
34 |     static let listen = Darwin.listen
35 |     static let accept = Darwin.accept
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutablePointer<sockaddr>?, UnsafeMutablePointer<socklen_t>?) -> Int32' (aka '(Int32, Optional<UnsafeMutablePointer<sockaddr>>, Optional<UnsafeMutablePointer<UInt32>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let write = Darwin.write
37 |     #endif
/Users/admin/builder/spi-builder-workspace/Sources/Family.swift:16:27: warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Socket {
12 |     public struct Family: RawRepresentable {
   |                   `- note: consider making struct 'Family' conform to the 'Sendable' protocol
13 |         public let rawValue: Int32
14 |         public init(rawValue: Int32) { self.rawValue = rawValue }
15 |
16 |         public static let inet = Family(rawValue: AF_INET)
   |                           |- warning: static property 'inet' is not concurrency-safe because non-'Sendable' type 'Socket.Family' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'inet' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |         public static let inet6 = Family(rawValue: AF_INET6)
18 |         public static let unix = Family(rawValue: AF_UNIX)
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:202:19: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
200 |         var address = sockaddr_in()
201 |         var len = socklen_t(MemoryLayout.size(ofValue: address))
202 |         let ptr = UnsafeMutableRawPointer(&address).assumingMemoryBound(to: sockaddr.self)
    |                   |                       |- note: implicit argument conversion from 'sockaddr_in' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                   |                       `- note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                   `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
203 |
204 |         try ing { getsockname(fileDescriptor, ptr, &len) }
/Users/admin/builder/spi-builder-workspace/Sources/Option.swift:24:23: warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |     }
18 |
19 |     public class Option<T>: BaseOption {}
   |                  `- note: generic class 'Option' does not conform to the 'Sendable' protocol
20 | }
21 |
22 | extension Socket.BaseOption {
23 |     private typealias Option = Socket.Option
24 |     public static let reuseAddress = Option<Bool>(rawValue: SO_REUSEADDR)
   |                       |- warning: static property 'reuseAddress' is not concurrency-safe because non-'Sendable' type 'Socket.Option<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'reuseAddress' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let reusePort = Option<Bool>(rawValue: SO_REUSEPORT)
26 |     public static let keepAlive = Option<Bool>(rawValue: SO_KEEPALIVE)
/Users/admin/builder/spi-builder-workspace/Sources/Socket.swift:97:75: warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 95 |         var state: Any = value is Bool ? (value as! Bool == true ? 1 : 0) : value
 96 |
 97 |         try ing { setsockopt(fileDescriptor, SOL_SOCKET, option.rawValue, &state, socklen_t(size)) }
    |                                                                           `- warning: forming 'UnsafeRawPointer' to a variable of type 'Any'; this is likely incorrect because 'Any' may contain an object reference.
 98 |     }
 99 |
Build complete! (20.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SocketSwift",
  "name" : "SocketSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SocketSwift",
      "targets" : [
        "SocketSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SocketSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "SocketSwiftTests",
      "path" : "Tests/SocketSwiftTests",
      "sources" : [
        "SocketSwiftTests.swift"
      ],
      "target_dependencies" : [
        "SocketSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SocketSwift",
      "module_type" : "SwiftTarget",
      "name" : "SocketSwift",
      "path" : "Sources",
      "product_memberships" : [
        "SocketSwift"
      ],
      "sources" : [
        "Error.swift",
        "Family.swift",
        "OS.swift",
        "Option.swift",
        "Protocol.swift",
        "Socket.swift",
        "TLS.swift",
        "Type.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.