Build Information
Successful build of Pathos, reference main (a12992
), with Swift 6.0 for Linux on 1 Nov 2024 20:13:34 UTC.
Swift 6 data race errors: 22
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
8 | }
9 |
[16/63] Compiling Pathos WindowsFileType.swift
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "\\"
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[17/63] Compiling Pathos WindowsPathConvertible.swift
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "\\"
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[18/63] Compiling Pathos Path+Darwin.swift
[19/63] Compiling Pathos FileTime.swift
[20/63] Compiling Pathos FileType.swift
[21/63] Compiling Pathos LazyBoxed.swift
[22/63] Compiling Pathos Metadata+Glibc.swift
[23/63] Compiling Pathos Path+Glibc.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[24/63] Compiling Pathos Metadata.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[25/63] Compiling Pathos FileTime+POSIX.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[26/63] Compiling Pathos POSIXConstants.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[27/63] Compiling Pathos POSIXFileType.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[28/63] Emitting module Pathos
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "\\"
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
/host/spi-builder-workspace/Sources/Pathos/Windows/WindowsConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: UInt16 = ".".utf16.first!
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[29/63] Compiling Pathos Algorithms.swift
[30/63] Compiling Pathos BinaryString.swift
[31/63] Compiling Pathos Box.swift
[32/63] Compiling Pathos Constants.swift
[33/63] Compiling Pathos Metadata+Darwin.swift
[34/63] Compiling Pathos POSIXPathConvertible.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
[35/63] Compiling Pathos POSIXPermissions.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
[36/63] Compiling Pathos Path+POSIX.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
[37/63] Compiling Pathos PathParts+POSIX.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
[38/63] Compiling Pathos PurePOSIXPath.swift
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:21:23: warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
19 |
20 | /// This is equivalent to `[.ownerRead, .ownerWrite, .ownerExecute]` (`S_IRWXU`).
21 | public static let ownerAll = POSIXPermissions(rawValue: S_IRWXU)
| |- warning: static property 'ownerAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:24:23: warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
22 |
23 | /// Read permission bit for the owner of the file (`S_IRUSR`).
24 | public static let ownerRead = POSIXPermissions(rawValue: S_IRUSR)
| |- warning: static property 'ownerRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:27:23: warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
25 |
26 | /// Write permission bit for the owner of the file (`S_IWUSR`).
27 | public static let ownerWrite = POSIXPermissions(rawValue: S_IWUSR)
| |- warning: static property 'ownerWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:30:23: warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
28 |
29 | /// Execute (for ordinary files) or search (for directories) permission bit for the owner of the file (`S_IXUSR`).
30 | public static let ownerExecute = POSIXPermissions(rawValue: S_IXUSR)
| |- warning: static property 'ownerExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ownerExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:33:23: warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
31 |
32 | /// This is equivalent to `[.groupRead, .groupWrite, .groupExecute]` (`S_IRWXG`).
33 | public static let groupAll = POSIXPermissions(rawValue: S_IRWXG)
| |- warning: static property 'groupAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:36:23: warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
34 |
35 | /// Read permission bit for the group owner of the file (`S_IRGRP`).
36 | public static let groupRead = POSIXPermissions(rawValue: S_IRGRP)
| |- warning: static property 'groupRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:39:23: warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
37 |
38 | /// Write permission bit for the group owner of the file (`S_IWGRP`).
39 | public static let groupWrite = POSIXPermissions(rawValue: S_IWGRP)
| |- warning: static property 'groupWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:42:23: warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
40 |
41 | /// Execute or search permission bit for the group owner of the file (`S_IXGRP`).
42 | public static let groupExecute = POSIXPermissions(rawValue: S_IXGRP)
| |- warning: static property 'groupExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'groupExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:45:23: warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
43 |
44 | /// This is equivalent to `[.otherRead, .otherWrite, .otherExecute]` (`S_IRWXO`).
45 | public static let otherAll = POSIXPermissions(rawValue: S_IRWXO)
| |- warning: static property 'otherAll' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherAll' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:48:23: warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
46 |
47 | /// Read permission bit for other users (`S_IROTH`).
48 | public static let otherRead = POSIXPermissions(rawValue: S_IROTH)
| |- warning: static property 'otherRead' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherRead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:51:23: warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
49 |
50 | /// Write permission bit for other users (`S_IWOTH`).
51 | public static let otherWrite = POSIXPermissions(rawValue: S_IWOTH)
| |- warning: static property 'otherWrite' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherWrite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:54:23: warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
52 |
53 | /// Execute or search permission bit for other users (`S_IXOTH`).
54 | public static let otherExecute = POSIXPermissions(rawValue: S_IXOTH)
| |- warning: static property 'otherExecute' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otherExecute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// This is the set-user-ID on execute bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:59:23: warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
57 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
58 | /// to learm more.
59 | public static let setUserIDOnExecution = POSIXPermissions(rawValue: S_ISUID)
| |- warning: static property 'setUserIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setUserIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// This is the set-group-ID on execute bit
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:64:23: warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
62 | /// See [Process Persona](http://www.gnu.org/software/libc/manual/html_node/Process-Persona.html#Process-Persona)
63 | /// to learm more.
64 | public static let setGroupIDOnExecution = POSIXPermissions(rawValue: S_ISGID)
| |- warning: static property 'setGroupIDOnExecution' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setGroupIDOnExecution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// This is the sticky bit.
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:75:23: warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
:
73 | /// owner has given himself write permission for the directory). This is commonly used for the /tmp
74 | /// directory, where anyone may create files but not delete files created by other users.
75 | public static let saveSwappedTextAfterUser = POSIXPermissions(rawValue: S_ISVTX)
| |- warning: static property 'saveSwappedTextAfterUser' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saveSwappedTextAfterUser' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:8:13: warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
6 | #else
7 | import Glibc
8 | private let systemGlob = Glibc.glob
| |- warning: let 'systemGlob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemGlob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #endif // canImport(Darwin)
10 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:11:5: warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif // canImport(Darwin)
10 |
11 | let kDefaultWritePermission: POSIXPermissions = [.ownerRead, .ownerWrite, .groupRead, .otherRead]
| |- warning: let 'kDefaultWritePermission' is not concurrency-safe because non-'Sendable' type 'POSIXPermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultWritePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let kCopyChunkSize = 16 * 1024
13 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXPermissions.swift:11:15: note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
9 | /// Represents the POSIX file permission bits. These bits determines read/write/execution access to a file as
10 | /// well as some miscellaneous information.
11 | public struct POSIXPermissions: OptionSet {
| `- note: consider making struct 'POSIXPermissions' conform to the 'Sendable' protocol
12 | /// The file permission as the native `mode_t` type. A de-abstraction to help interact with POSIX APIs directly.
13 | public var rawValue: mode_t
[39/63] Compiling Pathos Path+Joining.swift
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
[40/63] Compiling Pathos Path+Temporary.swift
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
[41/63] Compiling Pathos Path.swift
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
[42/63] Compiling Pathos PathParts.swift
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
[43/63] Compiling Pathos Permissions.swift
/host/spi-builder-workspace/Sources/Pathos/Path+Temporary.swift:75:23: warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// `.searchForDefaultTemporaryDirectory`. If this value is set to `/x/y/z`, then functions such as
74 | /// `Pathos.makeTemporaryDirectory()` will create its result in `/x/y/z`.
75 | public static var defaultTemporaryDirectory: Path = .searchForDefaultTemporaryDirectory()
| |- warning: static property 'defaultTemporaryDirectory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultTemporaryDirectory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultTemporaryDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | private static func constructTemporaryPath(prefix: String = "", suffix: String = "") -> Path {
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:7:16: warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
7 | static var currentContext = "."
| |- warning: static property 'currentContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Pathos/POSIX/POSIXConstants.swift:6:16: warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static let pathSeparator: Character = "/"
5 | static let binaryCurrentContext: CChar = ".".utf8CString[0]
6 | static var currentContextCharacter: Character = "."
| |- warning: static property 'currentContextCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentContextCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentContextCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static var currentContext = "."
8 | }
[44/63] Compiling Pathos PurePath.swift
[45/63] Compiling Pathos PurePathRepresentable.swift
[46/63] Compiling Pathos SystemError.swift
[47/63] Compiling Pathos FileTime+Windows.swift
[48/64] Wrapping AST for Pathos for debugging
[50/74] Emitting module rm
[51/74] Compiling rm main.swift
[52/75] Emitting module readonly
[53/75] Compiling readonly main.swift
[54/75] Emitting module lookup
[55/75] Compiling lookup main.swift
[56/77] Emitting module ls
[58/77] Emitting module mk
[59/77] Compiling mk main.swift
[60/77] Compiling ls main.swift
[64/79] Wrapping AST for rm for debugging
[65/79] Write Objects.LinkFileList
[66/79] Wrapping AST for readonly for debugging
[67/79] Write Objects.LinkFileList
[68/79] Wrapping AST for lookup for debugging
[69/79] Write Objects.LinkFileList
[70/79] Wrapping AST for mk for debugging
[71/79] Wrapping AST for ls for debugging
[72/79] Write Objects.LinkFileList
[74/79] Linking rm
[75/79] Linking lookup
[76/79] Linking readonly
[77/79] Linking ls
[78/79] Linking mk
Build complete! (16.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pathos",
"name" : "Pathos",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pathos",
"targets" : [
"Pathos"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "rm",
"targets" : [
"rm"
],
"type" : {
"executable" : null
}
},
{
"name" : "readonly",
"targets" : [
"readonly"
],
"type" : {
"executable" : null
}
},
{
"name" : "mk",
"targets" : [
"mk"
],
"type" : {
"executable" : null
}
},
{
"name" : "ls",
"targets" : [
"ls"
],
"type" : {
"executable" : null
}
},
{
"name" : "lookup",
"targets" : [
"lookup"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "rm",
"module_type" : "SwiftTarget",
"name" : "rm",
"path" : "Examples/rm",
"product_memberships" : [
"rm"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "executable"
},
{
"c99name" : "readonly",
"module_type" : "SwiftTarget",
"name" : "readonly",
"path" : "Examples/readonly",
"product_memberships" : [
"readonly"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "executable"
},
{
"c99name" : "mk",
"module_type" : "SwiftTarget",
"name" : "mk",
"path" : "Examples/mk",
"product_memberships" : [
"mk"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "executable"
},
{
"c99name" : "ls",
"module_type" : "SwiftTarget",
"name" : "ls",
"path" : "Examples/ls",
"product_memberships" : [
"ls"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "executable"
},
{
"c99name" : "lookup",
"module_type" : "SwiftTarget",
"name" : "lookup",
"path" : "Examples/lookup",
"product_memberships" : [
"lookup"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "executable"
},
{
"c99name" : "WindowsHelpers",
"module_type" : "ClangTarget",
"name" : "WindowsHelpers",
"path" : "Sources/WindowsHelpers",
"sources" : [
"dummy.c"
],
"type" : "library"
},
{
"c99name" : "PathosTests",
"module_type" : "SwiftTarget",
"name" : "PathosTests",
"path" : "Tests/PathosTests",
"sources" : [
"AbsoluteTests.swift",
"BaseTests.swift",
"ChildrenTests.swift",
"CopyTests.swift",
"GlobTests.swift",
"HomeTests.swift",
"MetadataTests.swift",
"POSIXBinaryStringTests.swift",
"POSIXPartsParsingTests.swift",
"POSIXPathInitializationTests.swift",
"POSIXPathJoiningTests.swift",
"PathDeletionTests.swift",
"PathExistsTests.swift",
"PathExtensionTests.swift",
"PathJoiningOperatorTests.swift",
"PathJoiningTests.swift",
"PathNormalTests.swift",
"PathParentsTests.swift",
"PermissionsTests.swift",
"PurePOSIXParentTests.swift",
"PurePOSIXPathBaseTests.swift",
"PurePOSIXPathExtensionTests.swift",
"PurePOSIXPathIsAbsoluteTests.swift",
"PurePOSIXPathJoiningOperatorTests.swift",
"PurePOSIXPathNormalTests.swift",
"PurePOSIXPathParentsTests.swift",
"PurePOSIXPathRelativeTests.swift",
"PurePOSIXPathTests.swift",
"PureWindowsExtensionTests.swift",
"PureWindowsPathBaseTests.swift",
"PureWindowsPathIsAbsoluteTests.swift",
"PureWindowsPathJoiningOperatorTests.swift",
"PureWindowsPathNormalTests.swift",
"PureWindowsPathParentTests.swift",
"PureWindowsPathParentsTests.swift",
"PureWindowsPathRelativeTests.swift",
"PureWindowsPathTests.swift",
"ReadStringTests.swift",
"ReadTests.swift",
"RealTests.swift",
"SymlinkTests.swift",
"TemporaryTests.swift",
"WindowsBinaryStringTests.swift",
"WindowsFileTimeTests.swift",
"WindowsPartsParsingTests.swift",
"WindowsPathJoiningTests.swift",
"WorkingDirectoryTests.swift",
"WriteTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pathos"
],
"type" : "test"
},
{
"c99name" : "Pathos",
"module_type" : "SwiftTarget",
"name" : "Pathos",
"path" : "Sources/Pathos",
"product_memberships" : [
"Pathos",
"rm",
"readonly",
"mk",
"ls",
"lookup"
],
"sources" : [
"Algorithms.swift",
"BinaryString.swift",
"Box.swift",
"Constants.swift",
"Darwin/Metadata+Darwin.swift",
"Darwin/Path+Darwin.swift",
"FileTime.swift",
"FileType.swift",
"LazyBoxed.swift",
"Linux/Metadata+Glibc.swift",
"Linux/Path+Glibc.swift",
"Metadata.swift",
"POSIX/FileTime+POSIX.swift",
"POSIX/POSIXConstants.swift",
"POSIX/POSIXFileType.swift",
"POSIX/POSIXPathConvertible.swift",
"POSIX/POSIXPermissions.swift",
"POSIX/Path+POSIX.swift",
"POSIX/PathParts+POSIX.swift",
"POSIX/PurePOSIXPath.swift",
"Path+Joining.swift",
"Path+Temporary.swift",
"Path.swift",
"PathParts.swift",
"Permissions.swift",
"PurePath.swift",
"PurePathRepresentable.swift",
"SystemError.swift",
"Windows/FileTime+Windows.swift",
"Windows/Metadata+Windows.swift",
"Windows/Path+Windows.swift",
"Windows/PathParts+Windows.swift",
"Windows/PureWindowsPath.swift",
"Windows/WindowsAttributes.swift",
"Windows/WindowsConstants.swift",
"Windows/WindowsFileType.swift",
"Windows/WindowsPathConvertible.swift"
],
"target_dependencies" : [
"LinuxHelpers"
],
"type" : "library"
},
{
"c99name" : "LinuxHelpers",
"module_type" : "ClangTarget",
"name" : "LinuxHelpers",
"path" : "Sources/LinuxHelpers",
"product_memberships" : [
"Pathos",
"rm",
"readonly",
"mk",
"ls",
"lookup"
],
"sources" : [
"dummy.c"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.