Build Information
Successful build of Pathos, reference 0.4.2 (8697a3
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 20:20:56 UTC.
Swift 6 data race errors: 22
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dduan/Pathos.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dduan/Pathos
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 8697a34 Bump version to 0.4.2 (#287)
Cloned https://github.com/dduan/Pathos.git
Revision (git rev-parse @):
8697a340a25e9974d4bbdee80a4c361c74963c00
SUCCESS checkout https://github.com/dduan/Pathos.git at 0.4.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "pathos",
"name": "Pathos",
"url": "https://github.com/dduan/Pathos.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Pathos",
"dependencies": [
]
}
]
}
Fetching https://github.com/dduan/Pathos.git
[1/5004] Fetching pathos
Fetched https://github.com/dduan/Pathos.git from cache (1.42s)
Creating working copy for https://github.com/dduan/Pathos.git
Working copy of https://github.com/dduan/Pathos.git resolved at 0.4.2 (8697a34)
warning: '.resolve-product-dependencies': dependency 'pathos' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dduan/Pathos.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/29] Write sources
[2/29] Write rm-entitlement.plist
[2/29] Write sources
[6/29] Write ls-entitlement.plist
[6/29] Write readonly-entitlement.plist
[6/29] Write mk-entitlement.plist
[8/29] Write lookup-entitlement.plist
[9/29] Write sources
[11/29] Compiling LinuxHelpers dummy.c
[12/29] Compiling WindowsHelpers dummy.c
[13/29] Write swift-version--7754E27361AE5C74.txt
[15/64] Emitting module Pathos
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:5: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
3 | #if canImport(Darwin)
4 | import Darwin
5 | private let systemGlob = Darwin.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
6 | #else
7 | import Glibc
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[16/67] Compiling Pathos FileTime+Windows.swift
[17/67] Compiling Pathos Metadata+Windows.swift
[18/67] Compiling Pathos Path+Windows.swift
[19/67] Compiling Pathos WindowsConstants.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[20/67] Compiling Pathos WindowsFileType.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[21/67] Compiling Pathos WindowsPathConvertible.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[22/67] Compiling Pathos Metadata+Darwin.swift
[23/67] Compiling Pathos Path+Darwin.swift
[24/67] Compiling Pathos FileTime.swift
[25/67] Compiling Pathos FileType.swift
[26/67] Compiling Pathos Algorithms.swift
[27/67] Compiling Pathos BinaryString.swift
[28/67] Compiling Pathos Box.swift
[29/67] Compiling Pathos Constants.swift
[30/67] Compiling Pathos FileTime+POSIX.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[31/67] Compiling Pathos POSIXConstants.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[32/67] Compiling Pathos POSIXFileType.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[33/67] Compiling Pathos POSIXPathConvertible.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[34/67] Compiling Pathos LazyBoxed.swift
[35/67] Compiling Pathos Metadata+Glibc.swift
[36/67] Compiling Pathos Path+Glibc.swift
[37/67] Compiling Pathos Metadata.swift
[38/67] Compiling Pathos Permissions.swift
[39/67] Compiling Pathos PurePath.swift
[40/67] Compiling Pathos PurePathRepresentable.swift
[41/67] Compiling Pathos SystemError.swift
[42/67] Compiling Pathos POSIXPermissions.swift
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:5: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
3 | #if canImport(Darwin)
4 | import Darwin
5 | private let systemGlob = Darwin.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
6 | #else
7 | import Glibc
/Users/admin/builder/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 |
/Users/admin/builder/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
[43/67] Compiling Pathos Path+POSIX.swift
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:5: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
3 | #if canImport(Darwin)
4 | import Darwin
5 | private let systemGlob = Darwin.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
6 | #else
7 | import Glibc
/Users/admin/builder/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 |
/Users/admin/builder/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
[44/67] Compiling Pathos PathParts+POSIX.swift
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:5: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
3 | #if canImport(Darwin)
4 | import Darwin
5 | private let systemGlob = Darwin.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
6 | #else
7 | import Glibc
/Users/admin/builder/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 |
/Users/admin/builder/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
[45/67] Compiling Pathos PurePOSIXPath.swift
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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`).
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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'
/Users/admin/builder/spi-builder-workspace/Sources/Pathos/POSIX/Path+POSIX.swift:5: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
3 | #if canImport(Darwin)
4 | import Darwin
5 | private let systemGlob = Darwin.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
6 | #else
7 | import Glibc
/Users/admin/builder/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 |
/Users/admin/builder/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
[46/67] Compiling Pathos PathParts+Windows.swift
[47/67] Compiling Pathos PureWindowsPath.swift
[48/67] Compiling Pathos WindowsAttributes.swift
[49/67] Compiling Pathos Path+Joining.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[50/67] Compiling Pathos Path+Temporary.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[51/67] Compiling Pathos Path.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[52/67] Compiling Pathos PathParts.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[53/77] Emitting module mk
[54/77] Compiling mk main.swift
[54/77] Write Objects.LinkFileList
[56/77] Compiling lookup main.swift
[57/77] Emitting module lookup
[57/77] Write Objects.LinkFileList
[59/77] Emitting module rm
[60/77] Compiling rm main.swift
[61/77] Emitting module readonly
[62/77] Compiling readonly main.swift
[62/77] Write Objects.LinkFileList
[65/77] Compiling ls main.swift
[66/77] Emitting module ls
[66/77] Write Objects.LinkFileList
[67/77] Linking rm
[68/77] Linking readonly
[69/77] Linking lookup
[70/77] Linking mk
[71/77] Linking ls
[72/77] Applying mk
[73/77] Applying rm
[74/77] Applying readonly
[75/77] Applying ls
[76/77] Applying lookup
Build complete! (10.84s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/PathosTests/Fixtures': File not found.
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pathos",
"name" : "Pathos",
"path" : "/Users/admin/builder/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",
"product_memberships" : [
"Pathos",
"rm",
"readonly",
"mk",
"ls",
"lookup"
],
"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",
"WindowsHelpers"
],
"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"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/PathosTests/Fixtures': File not found.
Done.