Build Information
Successful build of Pathman, reference 0.20.1 (e8d3e2
), with Swift 6.1 for Linux on 25 Apr 2025 21:14:54 UTC.
Swift 6 data race errors: 115
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
| |- 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 {
[112/120] Compiling Pathman SocketType.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[113/120] Compiling Pathman StatAttributes.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[114/120] Compiling Pathman setbuf.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[115/120] Compiling Pathman CharacterPath+Openable.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[116/120] Compiling Pathman CharacterPath+Readable.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[117/120] Compiling Pathman CharacterPath+Writable.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[118/120] Compiling Pathman CharacterPath.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[119/120] Compiling Pathman OpenCharacter.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
[120/120] Compiling Pathman Connection+Readable.swift
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:20:27: warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
19 | /// Seek from the beginning of a path
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
| |- warning: static property 'beginning' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:22:27: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
20 | public static let beginning = OffsetType(rawValue: SEEK_SET)
21 | /// Seek from the end of a path
22 | public static let end = OffsetType(rawValue: SEEK_END)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
/host/spi-builder-workspace/Sources/Pathman/CInterop/seek/Offset.swift:24:27: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public struct Offset {
15 | /// The type of seeking to be performed
16 | public struct OffsetType: RawRepresentable, Equatable {
| `- note: consider making struct 'OffsetType' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
22 | public static let end = OffsetType(rawValue: SEEK_END)
23 | /// Seek from the current offset of a path
24 | public static let current = OffsetType(rawValue: SEEK_CUR)
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Offset.OffsetType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 {
Build complete! (15.90s)
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.