Build Information
Successful build of Pathman, reference 0.20.1 (e8d3e2
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:03:41 UTC.
Swift 6 data race errors: 107
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[97/119] Compiling Pathman SocketPath+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[98/119] Compiling Pathman SocketPath+Writable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketType.swift:15:23: warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public struct SocketType: Hashable {
| `- note: consider making struct 'SocketType' conform to the 'Sendable' protocol
11 | let rawValue: OptionInt
12 |
13 | /// Provides sequenced, reliable, two-way, connection-based byte streams.
14 | /// An out-of-band data transmission mechanism may be supported.
15 | public static let stream = SocketType(rawValue: SOCK_STREAM)
| |- warning: static property 'stream' is not concurrency-safe because non-'Sendable' type 'SocketType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stream' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /// Supports datagrams (connectionless, unreliable messages of a fixed
17 | /// maximum length).
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
[99/119] Compiling Pathman DirectoryPath+DirectoryEnumerable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[100/119] Compiling Pathman DirectoryPath+Openable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[101/119] Compiling Pathman DirectoryPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[102/119] Compiling Pathman OpenDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[103/119] Compiling Pathman DirectoryEnumerable+Deletable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[104/119] Compiling Pathman DirectoryEnumerable+Ownable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[105/119] Compiling Pathman DirectoryEnumerable+Permissionable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[106/119] Compiling Pathman ErrNo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[107/119] Compiling Pathman Generic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[108/119] Compiling Pathman FilePath+Copyable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[109/119] Compiling Pathman FilePath+Creatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/DirectoryEnumerable.swift:4:23: warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct DirectoryEnumerationOptions: OptionSet, Hashable {
| `- note: consider making struct 'DirectoryEnumerationOptions' conform to the 'Sendable' protocol
2 | public let rawValue: UInt8
3 |
4 | public static let includeHidden = DirectoryEnumerationOptions(rawValue: 1 << 0)
| |- warning: static property 'includeHidden' is not concurrency-safe because non-'Sendable' type 'DirectoryEnumerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'includeHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public init(rawValue: UInt8) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:28:45: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
26 | /// Errors thrown during String conversions from Data
27 | public enum StringError: Error {
28 | case notConvertibleToData(using: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
29 | }
30 |
Foundation.String:3:19: note: type declared here
1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
2 | extension String {
3 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: type declared here
4 | public var rawValue: UInt
5 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Errors/Generic.swift:41:10: warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
39 |
40 | public enum CopyError: Error {
41 | case uncopyablePath(GenericPath)
| `- warning: associated value 'uncopyablePath' of 'Sendable'-conforming enum 'CopyError' has non-sendable type 'GenericPath'; this is an error in the Swift 6 language mode
42 | case nonEmptyDirectory
43 | case pathDoesNotExist
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Path/Path+Generic.swift:2:15: note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:16:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
14 | The stream is positioned at the beginning of the file.
15 | */
16 | public static let read: OpenFileMode = "r"
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /**
18 | Open for reading and writing.
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Copyable.swift:16:23: warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct CopyOptions: OptionSet {
| `- note: consider making struct 'CopyOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int
3 |
:
14 | file you're copying is large
15 | */
16 | public static let noBuffer = CopyOptions(rawValue: 1 << 2)
| |- warning: static property 'noBuffer' is not concurrency-safe because non-'Sendable' type 'CopyOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBuffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Protocols/Creatable.swift:8:23: warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import struct Foundation.Data
2 |
3 | public struct CreateOptions: RawRepresentable, OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CreateOptions' conform to the 'Sendable' protocol
4 | public typealias IntegerLiteralType = UInt8
5 | public let rawValue: IntegerLiteralType
6 |
7 | /// Automatically creating any missing intermediate directories of the path
8 | public static let createIntermediates = CreateOptions(rawValue: 1 << 0)
| |- warning: static property 'createIntermediates' is not concurrency-safe because non-'Sendable' type 'CreateOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createIntermediates' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public init(rawValue: IntegerLiteralType) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:33:23: warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
31 | The stream is positioned at the beginning of the file.
32 | */
33 | public static let writePlus: OpenFileMode = "w+"
| |- warning: static property 'writePlus' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'writePlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/open/OpenFileMode.swift:63:23: warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct OpenFileMode: Equatable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'OpenFileMode' conform to the 'Sendable' protocol
2 | public var rawValue: String {
3 | if let ccs = self.ccs {
:
61 | If the file already exists, fopen() fails.
62 | */
63 | public static let exclusive: OpenFileMode = "x"
| |- warning: static property 'exclusive' is not concurrency-safe because non-'Sendable' type 'OpenFileMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exclusive' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static let none: OpenFileMode = ""
[110/119] Compiling Pathman SocketPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[111/119] Compiling Pathman StatInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[112/119] Compiling Pathman StatOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[113/119] Compiling Pathman Statable+Attributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[114/119] Compiling Pathman Statable+Ownable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[115/119] Compiling Pathman Statable+Permissionable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[116/119] Compiling Pathman NilCoalescing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[117/119] Compiling Pathman Toggled.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[118/119] Compiling Pathman Writable+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
[119/119] Compiling Pathman WritableByOpened+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:23:23: warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public struct SocketPath: Path {
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
| |- warning: static property 'emptyReadFlags' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyReadFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let emptyWriteFlags: SendFlags = .none
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:16:15: note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/recv/ReceiveFlags.swift:66:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | #endif
15 |
16 | public struct ReceiveFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'ReceiveFlags' conform to the 'Sendable' protocol
17 | public let rawValue: OptionInt
18 |
:
64 | public static let waitAll = ReceiveFlags(integerLiteral: MSG_WAITALL)
65 |
66 | public static let none: ReceiveFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ReceiveFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Socket/SocketPath.swift:24:23: warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let pathType: PathType = .socket
23 | public static let emptyReadFlags: ReceiveFlags = .none
24 | public static let emptyWriteFlags: SendFlags = .none
| |- warning: static property 'emptyWriteFlags' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyWriteFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:14:15: note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/flags/send/SendFlags.swift:70:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
12 | #endif
13 |
14 | public struct SendFlags: OptionSet, ExpressibleByIntegerLiteral, Hashable {
| `- note: consider making struct 'SendFlags' conform to the 'Sendable' protocol
15 | public let rawValue: OptionInt
16 |
:
68 | public static let outOfBound = SendFlags(integerLiteral: MSG_OOB)
69 |
70 | public static let none: SendFlags = 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SendFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public init(rawValue: OptionInt) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/CInterop/socket/SocketDomain.swift:22:23: warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | public struct SocketDomain: Hashable {
| `- note: consider making struct 'SocketDomain' conform to the 'Sendable' protocol
10 | let rawValue: OptionInt
11 |
:
20 | public static let unix = SocketDomain(rawValue: PF_UNIX)
21 | /// Host-internal protocols, formerly called .unix
22 | public static let local = SocketDomain(rawValue: PF_LOCAL)
| |- warning: static property 'local' is not concurrency-safe because non-'Sendable' type 'SocketDomain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'local' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | #endif
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Stat/StatOptions.swift:6:23: warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Options when making the stat API calls
2 | public struct StatOptions: OptionSet, Hashable {
| `- note: consider making struct 'StatOptions' conform to the 'Sendable' protocol
3 | public let rawValue: Int
4 |
5 | /// Get information about a symlink instead of the path it points to
6 | public static let getLinkInfo = StatOptions(rawValue: 1 << 0)
| |- warning: static property 'getLinkInfo' is not concurrency-safe because non-'Sendable' type 'StatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'getLinkInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public init(rawValue: Int) {
Build complete! (13.75s)
Build complete.
{
"dependencies" : [
{
"identity" : "errno",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/ErrNo"
},
{
"identity" : "cdirent",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/Cdirent"
},
{
"identity" : "cglob",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Ponyboy47/Cglob"
},
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell"
}
],
"manifest_display_name" : "Pathman",
"name" : "Pathman",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pathman",
"targets" : [
"Pathman"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PathmanTests",
"module_type" : "SwiftTarget",
"name" : "PathmanTests",
"path" : "Tests/PathmanTests",
"product_dependencies" : [
"SwiftShell"
],
"sources" : [
"Binding Tests.swift",
"ChmodTests.swift",
"ChownTests.swift",
"CopyTests.swift",
"CreateDeleteTests.swift",
"FileBitsTests.swift",
"FileModeTests.swift",
"FilePermissionsTests.swift",
"GlobTests.swift",
"LinkTests.swift",
"MoveTests.swift",
"OpenTests.swift",
"PathCollectionTests.swift",
"PathTests.swift",
"StatTests.swift",
"TemporaryTests.swift",
"UtilityTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pathman"
],
"type" : "test"
},
{
"c99name" : "Pathman",
"module_type" : "SwiftTarget",
"name" : "Pathman",
"path" : "Sources/Pathman",
"product_dependencies" : [
"ErrNo",
"Cdirent",
"Cglob"
],
"product_memberships" : [
"Pathman"
],
"sources" : [
"Binding/Binding+Accept.swift",
"Binding/Binding+Listen.swift",
"Binding/Binding.swift",
"CInterop/ByteRepresentable.swift",
"CInterop/PlatformCTypes.swift",
"CInterop/flags/glob/GlobFlags.swift",
"CInterop/flags/open/OpenFileMode.swift",
"CInterop/flags/recv/ReceiveFlags.swift",
"CInterop/flags/send/SendFlags.swift",
"CInterop/mode_t/FileBits.swift",
"CInterop/mode_t/FileMode.swift",
"CInterop/mode_t/FilePermissions.swift",
"CInterop/mode_t/PathType.swift",
"CInterop/mode_t/UMask.swift",
"CInterop/readdir/DirectoryChildren+Iterator.swift",
"CInterop/readdir/DirectoryChildren+Sortable.swift",
"CInterop/readdir/DirectoryChildren.swift",
"CInterop/seek/Offset.swift",
"CInterop/socket/SocketDomain.swift",
"CInterop/socket/SocketType.swift",
"CInterop/stat/StatAttributes.swift",
"CInterop/stdio/setbuf.swift",
"CharacterPath/CharacterPath+Openable.swift",
"CharacterPath/CharacterPath+Readable.swift",
"CharacterPath/CharacterPath+Writable.swift",
"CharacterPath/CharacterPath.swift",
"CharacterPath/OpenCharacter.swift",
"Connection/Connection+Readable.swift",
"Connection/Connection+Writable.swift",
"Connection/Connection.swift",
"Directory/DirectoryPath+Copyable.swift",
"Directory/DirectoryPath+Creatable.swift",
"Directory/DirectoryPath+Deletable.swift",
"Directory/DirectoryPath+DirectoryEnumerable.swift",
"Directory/DirectoryPath+Openable.swift",
"Directory/DirectoryPath.swift",
"Directory/OpenDirectory.swift",
"DirectoryEnumerable/DirectoryEnumerable+Deletable.swift",
"DirectoryEnumerable/DirectoryEnumerable+Ownable.swift",
"DirectoryEnumerable/DirectoryEnumerable+Permissionable.swift",
"Errors/ErrNo.swift",
"Errors/Generic.swift",
"File/FilePath+Copyable.swift",
"File/FilePath+Creatable.swift",
"File/FilePath+Openable.swift",
"File/FilePath+Readable.swift",
"File/FilePath+Seekable.swift",
"File/FilePath+StandardStreams.swift",
"File/FilePath+Writable.swift",
"File/FilePath.swift",
"File/OpenFile.swift",
"Glob/Glob.swift",
"Glob/Globbing.swift",
"Open/Open+Copyable.swift",
"Open/Open+Readable.swift",
"Open/Open+Seekable.swift",
"Open/Open+Writable.swift",
"Open/Open.swift",
"Openable/Openable+Copyable.swift",
"Path/Path+Absolute.swift",
"Path/Path+Ancester.swift",
"Path/Path+Codable.swift",
"Path/Path+Comparable.swift",
"Path/Path+Deletable.swift",
"Path/Path+Equatable.swift",
"Path/Path+Generic.swift",
"Path/Path+HomeDirectory.swift",
"Path/Path+Iterator.swift",
"Path/Path+Links.swift",
"Path/Path+Movable.swift",
"Path/Path+Ownable.swift",
"Path/Path+Permissionable.swift",
"Path/Path+Relative.swift",
"Path/Path+Temporary.swift",
"Protocols/Copyable.swift",
"Protocols/Creatable.swift",
"Protocols/Deletable.swift",
"Protocols/DirectoryEnumerable.swift",
"Protocols/Movable.swift",
"Protocols/Openable.swift",
"Protocols/Ownable.swift",
"Protocols/Path.swift",
"Protocols/Permissionable.swift",
"Protocols/Readable.swift",
"Protocols/Seekable.swift",
"Protocols/Stat.swift",
"Protocols/StatDescriptor.swift",
"Protocols/StatPath.swift",
"Protocols/Statable.swift",
"Protocols/Writable.swift",
"Readable/Readable+Helpers.swift",
"Readable/Readable+UnusedHelpers.swift",
"Readable/ReadableByOpened+Helpers.swift",
"Socket/OpenSocket.swift",
"Socket/SocketPath+Bindable.swift",
"Socket/SocketPath+Connectable.swift",
"Socket/SocketPath+Openable.swift",
"Socket/SocketPath+Readable.swift",
"Socket/SocketPath+Writable.swift",
"Socket/SocketPath.swift",
"Stat/StatInfo.swift",
"Stat/StatOptions.swift",
"Stat/Statable+Attributes.swift",
"Stat/Statable+Ownable.swift",
"Stat/Statable+Permissionable.swift",
"Utilities/NilCoalescing.swift",
"Utilities/Toggled.swift",
"Writable/Writable+Helpers.swift",
"Writable/WritableByOpened+Helpers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.