Build Information
Successful build of Pathman with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 153
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
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[101/119] Compiling Pathman Readable+Helpers.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[102/119] Compiling Pathman Readable+UnusedHelpers.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[103/119] Compiling Pathman ReadableByOpened+Helpers.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[104/119] Compiling Pathman OpenSocket.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[105/119] Compiling Pathman SocketPath+Bindable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[106/119] Compiling Pathman SocketPath+Connectable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[107/119] Compiling Pathman SocketPath+Openable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[108/119] Compiling Pathman SocketPath+Readable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[109/119] Compiling Pathman SocketPath+Writable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:8:13: warning: let 'cConnectSocket' 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
6 | import func Darwin.connect
7 | #endif
8 | private let cConnectSocket = connect
| |- warning: let 'cConnectSocket' 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 'cConnectSocket' 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
9 | private let cBindSocket = bind
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/OpenSocket.swift:9:13: warning: let 'cBindSocket' 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
7 | #endif
8 | private let cConnectSocket = connect
9 | private let cBindSocket = bind
| |- warning: let 'cBindSocket' 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 'cBindSocket' 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
10 |
11 | public typealias OpenSocket = Open<SocketPath>
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' 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
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Connectable.swift:8:13: warning: let 'cShutdown' 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
6 | import func Darwin.shutdown
7 | #endif
8 | private let cShutdown = shutdown
| |- warning: let 'cShutdown' 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 'cShutdown' 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
9 |
10 | public extension SocketPath {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:8:13: warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import func Darwin.socket
7 | #endif
8 | private let cSocket = socket
| |- warning: let 'cSocket' is not concurrency-safe because non-'Sendable' type '(Int32, Int32, Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSocket' 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
9 | private let cCloseSocket = close
10 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Openable.swift:9:13: warning: let 'cCloseSocket' 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
7 | #endif
8 | private let cSocket = socket
9 | private let cCloseSocket = close
| |- warning: let 'cCloseSocket' 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 'cCloseSocket' 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
10 |
11 | extension SocketPath: Openable {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Readable.swift:7:13: warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// The C function used to read data from an open socket
7 | private let cReceiveData = recv
| |- warning: let 'cReceiveData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cReceiveData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath+Writable.swift:7:13: warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 | /// C function to send data across a socket
7 | private let cSendData = send
| |- warning: let 'cSendData' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int, Int32) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cSendData' 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
8 |
9 | import struct Foundation.Data
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[110/119] Compiling Pathman SocketPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[111/119] Compiling Pathman StatInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[112/119] Compiling Pathman StatOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[113/119] Compiling Pathman Statable+Attributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[114/119] Compiling Pathman Statable+Ownable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[115/119] Compiling Pathman Statable+Permissionable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[116/119] Compiling Pathman NilCoalescing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[117/119] Compiling Pathman Toggled.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[118/119] Compiling Pathman Writable+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
[119/119] Compiling Pathman WritableByOpened+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' 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
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' 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 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' 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
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' 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
7 |
8 | public init(rawValue: Int) {
Build complete! (29.91s)
Fetching https://github.com/Ponyboy47/ErrNo
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/Ponyboy47/Cdirent
Fetching https://github.com/Ponyboy47/Cglob
[1/294] Fetching errno
[46/5157] Fetching errno, swiftshell
[47/5169] Fetching errno, swiftshell, cdirent
[5170/5181] Fetching errno, swiftshell, cdirent, cglob
Fetched https://github.com/Ponyboy47/Cglob from cache (1.67s)
Fetched https://github.com/kareman/SwiftShell from cache (1.67s)
Fetched https://github.com/Ponyboy47/ErrNo from cache (1.67s)
Fetched https://github.com/Ponyboy47/Cdirent from cache (1.67s)
Computing version for https://github.com/Ponyboy47/Cglob
Computed https://github.com/Ponyboy47/Cglob at 0.1.0 (2.53s)
Computing version for https://github.com/Ponyboy47/Cdirent
Computed https://github.com/Ponyboy47/Cdirent at 0.1.0 (0.63s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.68s)
Computing version for https://github.com/Ponyboy47/ErrNo
Computed https://github.com/Ponyboy47/ErrNo at 0.5.2 (0.64s)
Creating working copy for https://github.com/Ponyboy47/Cglob
Working copy of https://github.com/Ponyboy47/Cglob resolved at 0.1.0
Creating working copy for https://github.com/Ponyboy47/Cdirent
Working copy of https://github.com/Ponyboy47/Cdirent resolved at 0.1.0
Creating working copy for https://github.com/Ponyboy47/ErrNo
Working copy of https://github.com/Ponyboy47/ErrNo resolved at 0.5.2
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "errno",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/ErrNo"
},
{
"identity" : "cdirent",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/Cdirent"
},
{
"identity" : "cglob",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/Cglob"
},
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell"
}
],
"manifest_display_name" : "Pathman",
"name" : "Pathman",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pathman",
"targets" : [
"Pathman"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PathmanTests",
"module_type" : "SwiftTarget",
"name" : "PathmanTests",
"path" : "Tests/PathmanTests",
"product_dependencies" : [
"SwiftShell"
],
"sources" : [
"Binding Tests.swift",
"ChmodTests.swift",
"ChownTests.swift",
"CopyTests.swift",
"CreateDeleteTests.swift",
"FileBitsTests.swift",
"FileModeTests.swift",
"FilePermissionsTests.swift",
"GlobTests.swift",
"LinkTests.swift",
"MoveTests.swift",
"OpenTests.swift",
"PathCollectionTests.swift",
"PathTests.swift",
"StatTests.swift",
"TemporaryTests.swift",
"UtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pathman"
],
"type" : "test"
},
{
"c99name" : "Pathman",
"module_type" : "SwiftTarget",
"name" : "Pathman",
"path" : "Sources/Pathman",
"product_dependencies" : [
"ErrNo",
"Cdirent",
"Cglob"
],
"product_memberships" : [
"Pathman"
],
"sources" : [
"Binding/Binding+Accept.swift",
"Binding/Binding+Listen.swift",
"Binding/Binding.swift",
"CInterop/ByteRepresentable.swift",
"CInterop/PlatformCTypes.swift",
"CInterop/flags/glob/GlobFlags.swift",
"CInterop/flags/open/OpenFileMode.swift",
"CInterop/flags/recv/ReceiveFlags.swift",
"CInterop/flags/send/SendFlags.swift",
"CInterop/mode_t/FileBits.swift",
"CInterop/mode_t/FileMode.swift",
"CInterop/mode_t/FilePermissions.swift",
"CInterop/mode_t/PathType.swift",
"CInterop/mode_t/UMask.swift",
"CInterop/readdir/DirectoryChildren+Iterator.swift",
"CInterop/readdir/DirectoryChildren+Sortable.swift",
"CInterop/readdir/DirectoryChildren.swift",
"CInterop/seek/Offset.swift",
"CInterop/socket/SocketDomain.swift",
"CInterop/socket/SocketType.swift",
"CInterop/stat/StatAttributes.swift",
"CInterop/stdio/setbuf.swift",
"CharacterPath/CharacterPath+Openable.swift",
"CharacterPath/CharacterPath+Readable.swift",
"CharacterPath/CharacterPath+Writable.swift",
"CharacterPath/CharacterPath.swift",
"CharacterPath/OpenCharacter.swift",
"Connection/Connection+Readable.swift",
"Connection/Connection+Writable.swift",
"Connection/Connection.swift",
"Directory/DirectoryPath+Copyable.swift",
"Directory/DirectoryPath+Creatable.swift",
"Directory/DirectoryPath+Deletable.swift",
"Directory/DirectoryPath+DirectoryEnumerable.swift",
"Directory/DirectoryPath+Openable.swift",
"Directory/DirectoryPath.swift",
"Directory/OpenDirectory.swift",
"DirectoryEnumerable/DirectoryEnumerable+Deletable.swift",
"DirectoryEnumerable/DirectoryEnumerable+Ownable.swift",
"DirectoryEnumerable/DirectoryEnumerable+Permissionable.swift",
"Errors/ErrNo.swift",
"Errors/Generic.swift",
"File/FilePath+Copyable.swift",
"File/FilePath+Creatable.swift",
"File/FilePath+Openable.swift",
"File/FilePath+Readable.swift",
"File/FilePath+Seekable.swift",
"File/FilePath+StandardStreams.swift",
"File/FilePath+Writable.swift",
"File/FilePath.swift",
"File/OpenFile.swift",
"Glob/Glob.swift",
"Glob/Globbing.swift",
"Open/Open+Copyable.swift",
"Open/Open+Readable.swift",
"Open/Open+Seekable.swift",
"Open/Open+Writable.swift",
"Open/Open.swift",
"Openable/Openable+Copyable.swift",
"Path/Path+Absolute.swift",
"Path/Path+Ancester.swift",
"Path/Path+Codable.swift",
"Path/Path+Comparable.swift",
"Path/Path+Deletable.swift",
"Path/Path+Equatable.swift",
"Path/Path+Generic.swift",
"Path/Path+HomeDirectory.swift",
"Path/Path+Iterator.swift",
"Path/Path+Links.swift",
"Path/Path+Movable.swift",
"Path/Path+Ownable.swift",
"Path/Path+Permissionable.swift",
"Path/Path+Relative.swift",
"Path/Path+Temporary.swift",
"Protocols/Copyable.swift",
"Protocols/Creatable.swift",
"Protocols/Deletable.swift",
"Protocols/DirectoryEnumerable.swift",
"Protocols/Movable.swift",
"Protocols/Openable.swift",
"Protocols/Ownable.swift",
"Protocols/Path.swift",
"Protocols/Permissionable.swift",
"Protocols/Readable.swift",
"Protocols/Seekable.swift",
"Protocols/Stat.swift",
"Protocols/StatDescriptor.swift",
"Protocols/StatPath.swift",
"Protocols/Statable.swift",
"Protocols/Writable.swift",
"Readable/Readable+Helpers.swift",
"Readable/Readable+UnusedHelpers.swift",
"Readable/ReadableByOpened+Helpers.swift",
"Socket/OpenSocket.swift",
"Socket/SocketPath+Bindable.swift",
"Socket/SocketPath+Connectable.swift",
"Socket/SocketPath+Openable.swift",
"Socket/SocketPath+Readable.swift",
"Socket/SocketPath+Writable.swift",
"Socket/SocketPath.swift",
"Stat/StatInfo.swift",
"Stat/StatOptions.swift",
"Stat/Statable+Attributes.swift",
"Stat/Statable+Ownable.swift",
"Stat/Statable+Permissionable.swift",
"Utilities/NilCoalescing.swift",
"Utilities/Toggled.swift",
"Writable/Writable+Helpers.swift",
"Writable/WritableByOpened+Helpers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.