Build Information
Successful build of Pathman, reference 0.20.1 (e8d3e2
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 21:20:36 UTC.
Swift 6 data race errors: 107
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
1 | /// A type used to express filesystem paths
2 | public struct GenericPath: Path, ExpressibleByStringLiteral, ExpressibleByArrayLiteral, Comparable {
| `- note: consider making struct 'GenericPath' conform to the 'Sendable' protocol
3 | public static let pathType: PathType = .unknown
4 |
[107/119] Compiling Pathman FilePath+Copyable.swift
/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.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/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 |
[108/119] Compiling Pathman FilePath+Creatable.swift
/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.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/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 |
[109/119] Compiling Pathman FilePath+Openable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[110/119] Compiling Pathman FilePath+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[111/119] Compiling Pathman FilePath+Seekable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[112/119] Compiling Pathman FilePath+StandardStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[113/119] Compiling Pathman FilePath+Writable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[114/119] Compiling Pathman FilePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[115/119] Compiling Pathman OpenFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[116/119] Compiling Pathman Glob.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[117/119] Compiling Pathman Globbing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[118/119] Compiling Pathman Open+Copyable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
[119/119] Compiling Pathman Open+Readable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:26:27: warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
| |- warning: static property 'readableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:27:27: warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
25 |
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
| |- warning: static property 'writableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Openable.swift:28:27: warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public typealias Descriptor = FILEType
21 |
22 | public struct OpenOptions: DefaultReadableWritableOpenOption {
| `- note: consider making struct 'OpenOptions' conform to the 'Sendable' protocol
23 | public let mode: OpenFileMode
24 | var rawValue: String { return mode.rawValue }
:
26 | public static let readableDefault = OpenOptions(mode: .read)
27 | public static let writableDefault = OpenOptions(mode: .append)
28 | public static let readableWritableDefault = OpenOptions(mode: .readPlus)
| |- warning: static property 'readableWritableDefault' is not concurrency-safe because non-'Sendable' type 'FilePath.OpenOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'readableWritableDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | public init(mode: OpenFileMode) {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:28:13: warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | import struct Foundation.Data
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
| |- warning: var '_buffers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_buffers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_buffers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:29:13: warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var _buffers: [FilePath: UnsafeMutableRawPointer] = [:]
29 | private var _bufferSizes: [FilePath: Int] = [:]
| |- warning: var '_bufferSizes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bufferSizes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_bufferSizes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+Readable.swift:31:13: warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | private var _bufferSizes: [FilePath: Int] = [:]
30 |
31 | private var alignment = MemoryLayout<CChar>.alignment
| |- warning: var 'alignment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'alignment' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'alignment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | extension FilePath: CharacterReadableByOpened, LineReadableByOpened, DefaultReadByteCount {
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:16:5: warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
14 | import let Darwin.stdin
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
| |- warning: let 'cStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:17:5: warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | import let Darwin.stdout
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
| |- warning: let 'cStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let cStdin = Darwin.stdin
19 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:18:5: warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let cStdout = Darwin.stdout
17 | let cStderr = Darwin.stderr
18 | let cStdin = Darwin.stdin
| |- warning: let 'cStdin' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cStdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | #endif
20 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:21:12: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
19 | #endif
20 |
21 | public let stdout: FileStream = {
| |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | FileStream(descriptor: cStdout !! "No stdout stream!",
23 | fileDescriptor: fileno(cStdout),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:27:12: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | }()
26 |
27 | public let stderr: FileStream = {
| |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | FileStream(descriptor: cStderr !! "No stderr stream!",
29 | fileDescriptor: fileno(cStderr),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath+StandardStreams.swift:33:12: warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | }()
32 |
33 | public let stdin: FileStream = {
| |- warning: let 'stdin' is not concurrency-safe because non-'Sendable' type 'FileStream' (aka 'Open<FilePath>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'stdin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | FileStream(descriptor: cStdin !! "No stdin stream!",
35 | fileDescriptor: fileno(cStdin),
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Open/Open.swift:11:20: note: generic class 'Open' does not conform to the 'Sendable' protocol
9 | #endif
10 |
11 | public final class Open<PathType: Openable>: UpdatableStatable, Ownable, Permissionable {
| `- note: generic class 'Open' does not conform to the 'Sendable' protocol
12 | public let path: PathType
13 | public private(set) var descriptor: PathType.Descriptor?
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/File/FilePath.swift:4:23: warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | public struct FilePath: Path {
3 | public static let pathType: PathType = .file
4 | public static var defaultByteCount: ByteRepresentable = Int.max
| |- warning: static property 'defaultByteCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultByteCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultByteCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/Pathman/Glob/Globbing.swift:9:13: warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// A reusable Glob struct
9 | private var globalGlob = Glob()
| |- warning: var 'globalGlob' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalGlob' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'globalGlob' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /** Locates all paths matching the pattern specified
Build complete! (6.77s)
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.