Build Information
Successful build of Pathman, reference master (e8d3e2
), with Swift 6.1 for Linux on 25 Apr 2025 21:14:52 UTC.
Swift 6 data race errors: 115
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | #if os(macOS)
26 | /// Seek to the next hole in the data of a path
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:38:23: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
36 |
37 | /// An Offset pointing to the beginning of a path
38 | public static let beginning = Offset(.beginning, 0)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'beginning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:40:23: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
38 | public static let beginning = Offset(.beginning, 0)
39 | /// An Offset pointing to the end of a path
40 | public static let end = Offset(.end, 0)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:42:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Information needed for seeking within a path
14 | public struct Offset {
| `- note: consider making struct 'Offset' conform to the 'Sendable' protocol
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
:
40 | public static let end = Offset(.end, 0)
41 | /// An Offset pointing to the current offset of a path
42 | public static let current = Offset(.current, 0)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// The type of seeking to be performed
/host/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:14:23: warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
12 | #if os(Linux)
13 | /// Local communication (see unix(7))
14 | public static let unix = SocketDomain(rawValue: AF_UNIX)
| |- warning: static property 'unix' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /// Local communication
16 | public static let local = SocketDomain(rawValue: AF_LOCAL)
/host/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:16:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
14 | public static let unix = SocketDomain(rawValue: AF_UNIX)
15 | /// Local communication
16 | public static let local = SocketDomain(rawValue: AF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'local' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | #else
18 | @available(*, deprecated, renamed: "SocketDomain.local")
/host/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stream' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
/host/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:18:23: warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
:
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
18 | public static let datagram = SocketType(rawValue: SOCK_DGRAM)
| |- warning: static property 'datagram' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'datagram' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init(rawValue: UInt32) {
/host/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
31 | public let buffer: UnsafeMutablePointer<CChar>?
32 |
33 | public static let none = BufferMode(mode: .none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
/host/spi-builder-workspace/Sources/Pathman/CInterop/stdio/setbuf.swift:35:23: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | public struct BufferMode {
| `- note: consider making struct 'BufferMode' conform to the 'Sendable' protocol
14 | public enum _RawBufferMode: OptionInt {
15 | public var rawValue: OptionInt {
:
33 | public static let none = BufferMode(mode: .none)
34 |
35 | public static let line = BufferMode(mode: .line, size: nil)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'BufferMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'line' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static func full(size: Int? = Int(BUFSIZ)) -> BufferMode {
/host/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 |
/host/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
/host/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 {
/host/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
/host/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] = [:]
/host/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 {
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/host/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)
/host/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 |
/host/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) {
/host/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 |
/host/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
/host/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 {
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:7:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') may have shared mutable state; this is an error in the Swift 6 language mode
5 | import let Glibc.stdin
6 | import let Glibc.stdout
7 | let cStdout = Glibc.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') 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
8 | let cStderr = Glibc.stderr
9 | let cStdin = Glibc.stdin
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:7:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
5 | import let Glibc.stdin
6 | import let Glibc.stdout
7 | let cStdout = Glibc.stdout
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
8 | let cStderr = Glibc.stderr
9 | let cStdin = Glibc.stdin
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:8:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') may have shared mutable state; this is an error in the Swift 6 language mode
6 | import let Glibc.stdout
7 | let cStdout = Glibc.stdout
8 | let cStderr = Glibc.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') 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
9 | let cStdin = Glibc.stdin
10 | #else
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:8:21: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
6 | import let Glibc.stdout
7 | let cStdout = Glibc.stdout
8 | let cStderr = Glibc.stderr
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
9 | let cStdin = Glibc.stdin
10 | #else
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:9:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') may have shared mutable state; this is an error in the Swift 6 language mode
7 | let cStdout = Glibc.stdout
8 | let cStderr = Glibc.stderr
9 | let cStdin = Glibc.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>?' (aka 'Optional<UnsafeMutablePointer<_IO_FILE>>') 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
10 | #else
11 | import struct Darwin.FILE
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/host/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:9:20: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
7 | let cStdout = Glibc.stdout
8 | let cStderr = Glibc.stderr
9 | let cStdin = Glibc.stdin
| `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 | #else
11 | import struct Darwin.FILE
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
| `- note: var declared here
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
/host/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),
/host/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?
/host/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),
/host/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?
/host/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),
/host/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?
/host/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
/host/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
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Links.swift:22:23: warning: static property 'soft' is not concurrency-safe because non-'Sendable' type 'LinkType' may have shared mutable state; this is an error in the Swift 6 language mode
17 | private let cReadlink = readlink
18 |
19 | public enum LinkType {
| `- note: consider making enum 'LinkType' conform to the 'Sendable' protocol
20 | case hard
21 | case symbolic
22 | public static let soft: LinkType = .symbolic
| |- warning: static property 'soft' is not concurrency-safe because non-'Sendable' type 'LinkType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'soft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Links.swift:25:12: warning: var 'defaultLinkType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public var defaultLinkType: LinkType = .symbolic
| |- warning: var 'defaultLinkType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLinkType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'defaultLinkType' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public extension Path {
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Temporary.swift:18:12: warning: let 'temporaryDirectory' is not concurrency-safe because non-'Sendable' type 'DirectoryPath' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let temporaryDirectory: DirectoryPath = getTemporaryDirectory()
| |- warning: let 'temporaryDirectory' is not concurrency-safe because non-'Sendable' type 'DirectoryPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'temporaryDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private func getTemporaryDirectory() -> DirectoryPath {
/host/spi-builder-workspace/Sources/Pathman/Directory/DirectoryPath.swift:2:15: note: consider making struct 'DirectoryPath' conform to the 'Sendable' protocol
1 | /// A Path to a directory
2 | public struct DirectoryPath: Path {
| `- note: consider making struct 'DirectoryPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .directory
4 |
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Temporary.swift:134:23: warning: static property 'deleteOnCompletion' is not concurrency-safe because non-'Sendable' type 'TemporaryOptions' may have shared mutable state; this is an error in the Swift 6 language mode
129 | }
130 |
131 | public struct TemporaryOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'TemporaryOptions' conform to the 'Sendable' protocol
132 | public let rawValue: Int
133 |
134 | public static let deleteOnCompletion: TemporaryOptions = 1
| |- warning: static property 'deleteOnCompletion' is not concurrency-safe because non-'Sendable' type 'TemporaryOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deleteOnCompletion' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | public init(rawValue: Int) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:8:23: warning: static property 'recursive' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
6 | its contents as opposed to just its immediate children
7 | */
8 | public static let recursive = CopyOptions(rawValue: 1)
| |- warning: static property 'recursive' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// If the path to copy is a directory, this option will copy the hidden files as well
10 | public static let includeHidden = CopyOptions(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:10:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
8 | public static let recursive = CopyOptions(rawValue: 1)
9 | /// If the path to copy is a directory, this option will copy the hidden files as well
10 | public static let includeHidden = CopyOptions(rawValue: 1 << 1)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'includeHidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | /**
12 | Instead of using a buffer to copy File contents into the duplicate,
/host/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBuffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'createIntermediates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/host/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'includeHidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/host/spi-builder-workspace/Sources/Pathman/Protocols/Openable.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct Empty: OpenOptionable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
13 | public static let `default` = Empty()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public init() {}
15 | }
/host/spi-builder-workspace/Sources/Pathman/Protocols/Path.swift:17:12: warning: var 'pathSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public var pathSeparator: String = "\\"
16 | #else
17 | public var pathSeparator: String = "/"
| |- warning: var 'pathSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pathSeparator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'pathSeparator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #endif
19 | private let processRoot: DirectoryPath = DirectoryPath(pathSeparator)
/host/spi-builder-workspace/Sources/Pathman/Protocols/Path.swift:19:13: warning: let 'processRoot' is not concurrency-safe because non-'Sendable' type 'DirectoryPath' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public var pathSeparator: String = "/"
18 | #endif
19 | private let processRoot: DirectoryPath = DirectoryPath(pathSeparator)
| |- warning: let 'processRoot' is not concurrency-safe because non-'Sendable' type 'DirectoryPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'processRoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | // swiftlint:disable line_length
/host/spi-builder-workspace/Sources/Pathman/Directory/DirectoryPath.swift:2:15: note: consider making struct 'DirectoryPath' conform to the 'Sendable' protocol
1 | /// A Path to a directory
2 | public struct DirectoryPath: Path {
| `- note: consider making struct 'DirectoryPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .directory
4 |
/host/spi-builder-workspace/Sources/Pathman/Protocols/Path.swift:23:13: warning: var 'currentWorkingDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | // swiftlint:disable line_length
22 | /// The working directory of the current process
23 | private var currentWorkingDirectory = (try? getCurrentWorkingDirectory()) !! "Failed to get the initial current working directory"
| |- warning: var 'currentWorkingDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentWorkingDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'currentWorkingDirectory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | // swiftlint:enable line_length
25 |
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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) {
[94/120] Compiling Pathman Connection+Writable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[95/120] Compiling Pathman Connection.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[96/120] Compiling Pathman DirectoryPath+Copyable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[97/120] Compiling Pathman DirectoryPath+Creatable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[98/120] Compiling Pathman DirectoryPath+Deletable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[99/120] Compiling Pathman DirectoryPath+DirectoryEnumerable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[100/120] Compiling Pathman DirectoryPath+Openable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[101/120] Compiling Pathman DirectoryPath.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[102/120] Compiling Pathman OpenDirectory.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[103/120] Compiling Pathman DirectoryEnumerable+Deletable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[104/120] Compiling Pathman DirectoryEnumerable+Ownable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[105/120] Compiling Pathman DirectoryEnumerable+Permissionable.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[106/120] Compiling Pathman ErrNo.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[107/120] Compiling Pathman Generic.swift
/host/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
/host/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 |
/host/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 |
/host/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>
/host/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 |
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'FoundationEssentials' was not imported by this file
29 | }
30 |
FoundationEssentials.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/host/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[108/120] Compiling Pathman SocketPath+Openable.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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) {
[109/120] Compiling Pathman SocketPath+Readable.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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) {
[110/120] Compiling Pathman SocketPath+Writable.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman SocketPath.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman StatInfo.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman StatOptions.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman Statable+Attributes.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman Statable+Ownable.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman Statable+Permissionable.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman NilCoalescing.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman Toggled.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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/120] Compiling Pathman Writable+Helpers.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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) {
[120/120] Compiling Pathman WritableByOpened+Helpers.swift
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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! (14.22s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.