Build Information
Successful build of Pathman, reference master (e8d3e2
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:03:35 UTC.
Swift 6 data race errors: 107
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
43 |
44 | /// The type of seeking to be performed
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:20:23: warning: static property 'unix' 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 |
:
18 | @available(*, deprecated, renamed: "SocketDomain.local")
19 | /// Host-internal protocols, deprecated, use .local
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
| |- warning: static property 'unix' 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 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
/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/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).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:18:23: warning: static property 'datagram' 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 |
:
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
18 | public static let datagram = SocketType(rawValue: SOCK_DGRAM)
| |- warning: static property 'datagram' 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 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
31 | public let buffer: UnsafeMutablePointer<CChar>?
32 |
33 | public static let none = BufferMode(mode: .none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' 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
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:35:23: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
33 | public static let none = BufferMode(mode: .none)
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'line' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static func full(size: Int? = Int(BUFSIZ)) -> BufferMode {
[107/119] Compiling Pathman SocketType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:9:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
7 |
8 | /// Read, write, and execute permissions
9 | public static let all: FilePermissions = 0o7
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' 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 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:11:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
9 | public static let all: FilePermissions = 0o7
10 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:13:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
11 | public static let read: FilePermissions = 0o4
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:15:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
13 | public static let write: FilePermissions = 0o2
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' with '@MainActor' 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 | /// No permissions
17 | public static let none: FilePermissions = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
15 | public static let execute: FilePermissions = 0o1
16 | /// No permissions
17 | public static let none: FilePermissions = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' 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
18 |
19 | /// Read and write permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:20:23: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
18 |
19 | /// Read and write permissions
20 | public static let readWrite: FilePermissions = [.read, .write]
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:22:23: warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
20 | public static let readWrite: FilePermissions = [.read, .write]
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
| |- warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readExecute' with '@MainActor' 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 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:24:23: warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
22 | public static let readExecute: FilePermissions = [.read, .execute]
23 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
| |- warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeExecute' with '@MainActor' 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 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:26:23: warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
24 | public static let writeExecute: FilePermissions = [.write, .execute]
25 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
| |- warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWriteExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // If the permissions include read permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:18:13: warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The process's current umask
18 | private var _umask: UMask = originalUMask
| |- warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_umask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_umask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The process's original umask
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:21:12: warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The process's original umask
21 | public var originalUMask: UMask = {
| |- warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'originalUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'originalUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | // Setting the mask returns the original mask
23 | let mask = FileMode(rawValue: cUmask(FileMode.allPermissions.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FileMode.swift:47:23: warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A swift wrapper around the C mode_t type, which is used to hold/manipulate information about a Path's permissions
2 | public struct FileMode: OptionSet, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'FileMode' conform to the 'Sendable' protocol
3 | public typealias IntegerLiteralType = OSUInt
4 | public typealias StringLiteralType = String
:
45 | public static let all: FileMode = 0o7777
46 | /// A FileMode with all permissions and no bits on
47 | public static let allPermissions: FileMode = 0o0777
| |- warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allPermissions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// A FileMode with no permissions and all bits on
49 | public static let allBits: FileMode = 0o7000
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:32:25: warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The process's last umask
32 | public private(set) var lastUMask: UMask = _umask
| |- warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The process's curent umask, which are the permissions that will be rejected when creating new paths
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' 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 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' 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 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:27:27: warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
25 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
| |- warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:29:27: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #endif
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:38:23: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
36 |
37 | /// An Offset pointing to the beginning of a path
38 | public static let beginning = Offset(.beginning, 0)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:40:23: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
38 | public static let beginning = Offset(.beginning, 0)
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:42:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
40 | public static let end = Offset(.end, 0)
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The type of seeking to be performed
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:20:23: warning: static property 'unix' 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 |
:
18 | @available(*, deprecated, renamed: "SocketDomain.local")
19 | /// Host-internal protocols, deprecated, use .local
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
| |- warning: static property 'unix' 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 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
/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/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).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:18:23: warning: static property 'datagram' 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 |
:
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
18 | public static let datagram = SocketType(rawValue: SOCK_DGRAM)
| |- warning: static property 'datagram' 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 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
31 | public let buffer: UnsafeMutablePointer<CChar>?
32 |
33 | public static let none = BufferMode(mode: .none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' 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
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:35:23: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
33 | public static let none = BufferMode(mode: .none)
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'line' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static func full(size: Int? = Int(BUFSIZ)) -> BufferMode {
[108/119] Compiling Pathman StatAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:9:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
7 |
8 | /// Read, write, and execute permissions
9 | public static let all: FilePermissions = 0o7
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' 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 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:11:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
9 | public static let all: FilePermissions = 0o7
10 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:13:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
11 | public static let read: FilePermissions = 0o4
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:15:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
13 | public static let write: FilePermissions = 0o2
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' with '@MainActor' 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 | /// No permissions
17 | public static let none: FilePermissions = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
15 | public static let execute: FilePermissions = 0o1
16 | /// No permissions
17 | public static let none: FilePermissions = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' 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
18 |
19 | /// Read and write permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:20:23: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
18 |
19 | /// Read and write permissions
20 | public static let readWrite: FilePermissions = [.read, .write]
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:22:23: warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
20 | public static let readWrite: FilePermissions = [.read, .write]
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
| |- warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readExecute' with '@MainActor' 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 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:24:23: warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
22 | public static let readExecute: FilePermissions = [.read, .execute]
23 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
| |- warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeExecute' with '@MainActor' 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 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:26:23: warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
24 | public static let writeExecute: FilePermissions = [.write, .execute]
25 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
| |- warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWriteExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // If the permissions include read permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:18:13: warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The process's current umask
18 | private var _umask: UMask = originalUMask
| |- warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_umask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_umask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The process's original umask
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:21:12: warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The process's original umask
21 | public var originalUMask: UMask = {
| |- warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'originalUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'originalUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | // Setting the mask returns the original mask
23 | let mask = FileMode(rawValue: cUmask(FileMode.allPermissions.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FileMode.swift:47:23: warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A swift wrapper around the C mode_t type, which is used to hold/manipulate information about a Path's permissions
2 | public struct FileMode: OptionSet, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'FileMode' conform to the 'Sendable' protocol
3 | public typealias IntegerLiteralType = OSUInt
4 | public typealias StringLiteralType = String
:
45 | public static let all: FileMode = 0o7777
46 | /// A FileMode with all permissions and no bits on
47 | public static let allPermissions: FileMode = 0o0777
| |- warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allPermissions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// A FileMode with no permissions and all bits on
49 | public static let allBits: FileMode = 0o7000
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:32:25: warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The process's last umask
32 | public private(set) var lastUMask: UMask = _umask
| |- warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The process's curent umask, which are the permissions that will be rejected when creating new paths
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' 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 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' 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 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:27:27: warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
25 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
| |- warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:29:27: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #endif
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:38:23: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
36 |
37 | /// An Offset pointing to the beginning of a path
38 | public static let beginning = Offset(.beginning, 0)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:40:23: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
38 | public static let beginning = Offset(.beginning, 0)
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:42:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
40 | public static let end = Offset(.end, 0)
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The type of seeking to be performed
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:20:23: warning: static property 'unix' 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 |
:
18 | @available(*, deprecated, renamed: "SocketDomain.local")
19 | /// Host-internal protocols, deprecated, use .local
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
| |- warning: static property 'unix' 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 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
/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/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).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:18:23: warning: static property 'datagram' 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 |
:
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
18 | public static let datagram = SocketType(rawValue: SOCK_DGRAM)
| |- warning: static property 'datagram' 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 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
31 | public let buffer: UnsafeMutablePointer<CChar>?
32 |
33 | public static let none = BufferMode(mode: .none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' 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
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:35:23: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
33 | public static let none = BufferMode(mode: .none)
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'line' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static func full(size: Int? = Int(BUFSIZ)) -> BufferMode {
[109/119] Compiling Pathman setbuf.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:9:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
7 |
8 | /// Read, write, and execute permissions
9 | public static let all: FilePermissions = 0o7
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' 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 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:11:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
9 | public static let all: FilePermissions = 0o7
10 | /// Read only permissions
11 | public static let read: FilePermissions = 0o4
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:13:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
11 | public static let read: FilePermissions = 0o4
12 | /// Write only permissions
13 | public static let write: FilePermissions = 0o2
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:15:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
13 | public static let write: FilePermissions = 0o2
14 | /// Execute only permissions
15 | public static let execute: FilePermissions = 0o1
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' with '@MainActor' 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 | /// No permissions
17 | public static let none: FilePermissions = 0
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
15 | public static let execute: FilePermissions = 0o1
16 | /// No permissions
17 | public static let none: FilePermissions = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FilePermissions' 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
18 |
19 | /// Read and write permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:20:23: warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
18 |
19 | /// Read and write permissions
20 | public static let readWrite: FilePermissions = [.read, .write]
| |- warning: static property 'readWrite' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:22:23: warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
20 | public static let readWrite: FilePermissions = [.read, .write]
21 | /// Read and execute permissions
22 | public static let readExecute: FilePermissions = [.read, .execute]
| |- warning: static property 'readExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readExecute' with '@MainActor' 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 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:24:23: warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
22 | public static let readExecute: FilePermissions = [.read, .execute]
23 | /// Write and execute permissions
24 | public static let writeExecute: FilePermissions = [.write, .execute]
| |- warning: static property 'writeExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writeExecute' with '@MainActor' 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 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FilePermissions.swift:26:23: warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A struct used to hold/manipulate permissions in a C-compatible way for the mode_t struct
2 | public struct FilePermissions: OptionSet, ExpressibleByStringLiteral, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
3 | public typealias StringLiteralType = String
4 | public typealias IntegerLiteralType = OSUInt
:
24 | public static let writeExecute: FilePermissions = [.write, .execute]
25 | /// All permissions
26 | public static let readWriteExecute: FilePermissions = .all
| |- warning: static property 'readWriteExecute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readWriteExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | // If the permissions include read permissions
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:18:13: warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The process's current umask
18 | private var _umask: UMask = originalUMask
| |- warning: var '_umask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_umask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_umask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The process's original umask
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:21:12: warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// The process's original umask
21 | public var originalUMask: UMask = {
| |- warning: var 'originalUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'originalUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'originalUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | // Setting the mask returns the original mask
23 | let mask = FileMode(rawValue: cUmask(FileMode.allPermissions.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/FileMode.swift:47:23: warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A swift wrapper around the C mode_t type, which is used to hold/manipulate information about a Path's permissions
2 | public struct FileMode: OptionSet, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'FileMode' conform to the 'Sendable' protocol
3 | public typealias IntegerLiteralType = OSUInt
4 | public typealias StringLiteralType = String
:
45 | public static let all: FileMode = 0o7777
46 | /// A FileMode with all permissions and no bits on
47 | public static let allPermissions: FileMode = 0o0777
| |- warning: static property 'allPermissions' is not concurrency-safe because non-'Sendable' type 'FileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allPermissions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// A FileMode with no permissions and all bits on
49 | public static let allBits: FileMode = 0o7000
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/mode_t/UMask.swift:32:25: warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The process's last umask
32 | public private(set) var lastUMask: UMask = _umask
| |- warning: var 'lastUMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastUMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastUMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The process's curent umask, which are the permissions that will be rejected when creating new paths
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' 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 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' 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 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:27:27: warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
25 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
| |- warning: static property 'hole' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:29:27: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
27 | public static let hole = OffsetType(rawValue: SEEK_HOLE)
28 | /// Seek to the next data section of a path
29 | public static let data = OffsetType(rawValue: SEEK_DATA)
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #endif
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:38:23: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
36 |
37 | /// An Offset pointing to the beginning of a path
38 | public static let beginning = Offset(.beginning, 0)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginning' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:40:23: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
38 | public static let beginning = Offset(.beginning, 0)
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:42:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
40 | public static let end = Offset(.end, 0)
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The type of seeking to be performed
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:20:23: warning: static property 'unix' 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 |
:
18 | @available(*, deprecated, renamed: "SocketDomain.local")
19 | /// Host-internal protocols, deprecated, use .local
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
| |- warning: static property 'unix' 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 'unix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
/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/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).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:18:23: warning: static property 'datagram' 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 |
:
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
18 | public static let datagram = SocketType(rawValue: SOCK_DGRAM)
| |- warning: static property 'datagram' 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 'datagram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init(rawValue: UInt32) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
31 | public let buffer: UnsafeMutablePointer<CChar>?
32 |
33 | public static let none = BufferMode(mode: .none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' 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
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:35:23: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
33 | public static let none = BufferMode(mode: .none)
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'line' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static func full(size: Int? = Int(BUFSIZ)) -> BufferMode {
[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! (13.57s)
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.