Build Information
Successful build of Pathman, reference master (e8d3e2
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 21:20:29 UTC.
Swift 6 data race errors: 107
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[75/119] Compiling Pathman Open+Copyable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[76/119] Compiling Pathman Open+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[77/119] Compiling Pathman CharacterPath+Openable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[78/119] Compiling Pathman CharacterPath+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[79/119] Compiling Pathman CharacterPath+Writable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[80/119] Compiling Pathman CharacterPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[81/119] Compiling Pathman OpenCharacter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[82/119] Compiling Pathman Connection+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[83/119] Compiling Pathman Connection+Writable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[84/119] Compiling Pathman Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[85/119] Compiling Pathman DirectoryPath+Copyable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[86/119] Compiling Pathman DirectoryPath+Creatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[87/119] Compiling Pathman DirectoryPath+Deletable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [CharacterPath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [CharacterPath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension CharacterPath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CharacterPath/CharacterPath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct CharacterPath: Path {
3 | public static let pathType: PathType = .character
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:4:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Contains the buffer used for reading from a path
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection+Readable.swift:6:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | private var _buffers: [Int: UnsafeMutablePointer<CChar>] = [:]
5 | /// Tracks the sizes of the read buffers
6 | private var _bufferSizes: [Int: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | extension Connection: ReadableWithFlags, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:8:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public let openOptions: SocketPath.OpenOptions
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | public static let emptyWriteFlags: SendFlags = .none
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Connection/Connection.swift:9: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
7 |
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static let emptyWriteFlags: SendFlags = .none
11 |
/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/Connection/Connection.swift:10: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
8 | public static var defaultByteCount: ByteRepresentable = 32.kb
9 | public static let emptyReadFlags: ReceiveFlags = .none
10 | 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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | let opened: Open<SocketPath>
/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 |
[88/119] Compiling Pathman Open+Seekable.swift
[89/119] Compiling Pathman Open+Writable.swift
[90/119] Compiling Pathman Open.swift
[91/119] Compiling Pathman Openable+Copyable.swift
[92/119] Compiling Pathman Path+Absolute.swift
[93/119] Compiling Pathman Path+Ancester.swift
[94/119] Compiling Pathman Path+Codable.swift
[95/119] Compiling Pathman Path+Comparable.swift
[96/119] Compiling Pathman Path+Deletable.swift
[97/119] Compiling Pathman Path+Equatable.swift
[98/119] Compiling Pathman Path+Generic.swift
[99/119] Compiling Pathman Statable.swift
[100/119] Compiling Pathman Writable.swift
[101/119] Compiling Pathman Readable+Helpers.swift
[102/119] Compiling Pathman Readable+UnusedHelpers.swift
[103/119] Compiling Pathman ReadableByOpened+Helpers.swift
[104/119] Compiling Pathman OpenSocket.swift
[105/119] Compiling Pathman SocketPath+Bindable.swift
[106/119] Compiling Pathman SocketPath+Connectable.swift
[107/119] Compiling Pathman SocketPath+Openable.swift
[108/119] Compiling Pathman SocketPath+Readable.swift
[109/119] Compiling Pathman SocketPath+Writable.swift
[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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'emptyReadFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'emptyWriteFlags' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'getLinkInfo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
Build complete! (6.41s)
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.