Build Information
Successful build of PathKit, reference main (fec0f8), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 19:41:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MFB-Technologies-Inc/PathKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MFB-Technologies-Inc/PathKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fec0f80 Merge pull request #2 from MFB-Technologies-Inc/feature/system-FilePath
Cloned https://github.com/MFB-Technologies-Inc/PathKit.git
Revision (git rev-parse @):
fec0f80a3c613551a440d708a4959ecb9d935476
SUCCESS checkout https://github.com/MFB-Technologies-Inc/PathKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/MFB-Technologies-Inc/PathKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] PathKit
[30 / 74]
[35 / 74]
[38 / 74]
[39 / 74]
[43 / 74]
[45 / 74]
[48 / 74]
[51 / 74]
[53 / 74]
[54 / 74]
[65 / 74] PathKit
[66 / 74] PathKit
[71 / 74] PathKit
Build complete! (7.80 sec)
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:21:9: [1;33mwarning: [1;39mlet 'system_glob' 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m import Darwin
[0;36m20 |[0;0m
[0;36m21 |[0;0m let system_glob = Darwin.glob
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet 'system_glob' 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m22 |[0;0m #endif
[0;36m23 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:21:9: [1;39mnote: [1;39madd '@MainActor' to make let 'system_glob' part of global actor 'MainActor'[0;0m
[0;36m19 |[0;0m import Darwin
[0;36m20 |[0;0m
[0;36m21 |[0;0m let system_glob = Darwin.glob
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'system_glob' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m22 |[0;0m #endif
[0;36m23 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: [1;33mwarning: [1;39mstatic property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m24 |[0;0m rawValue: FileManager
[0;36m25 |[0;0m .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: [1;33mwarning: [1;39mstatic property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m25 |[0;0m .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
[0;36m26 |[0;0m )
[0;36m27 |[0;0m public static var skipsPackageDescendants = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m28 |[0;0m rawValue: FileManager
[0;36m29 |[0;0m .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: [1;33mwarning: [1;39mstatic property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m29 |[0;0m .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
[0;36m30 |[0;0m )
[0;36m31 |[0;0m public static var skipsHiddenFiles = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m32 |[0;0m rawValue: FileManager.DirectoryEnumerationOptions
[0;36m33 |[0;0m .skipsHiddenFiles.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: [1;33mwarning: [1;39mstatic property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m32 |[0;0m var path: String { filePath.string }
[0;36m33 |[0;0m
[0;36m34 |[0;0m static let fileManager = FileManager.default
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m let fileSystemInfo: any FileSystemInfo
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:138:12: [1;39mnote: [1;39mclass 'FileManager' does not conform to the 'Sendable' protocol[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// The methods of the shared ``FileManager`` object can be called from multiple threads safely. However, if you use a delegate to receive notifications about the status of move, copy, remove, and link operations, you should create a unique instance of the file manager object, assign your delegate to that object, and use that file manager to initiate your operations.
[0;36m138 |[0;0m @interface NSFileManager : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'FileManager' does not conform to the 'Sendable' protocol[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// The shared file manager object for the process.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:21:9: [1;33mwarning: [1;39mlet 'system_glob' 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m19 |[0;0m import Darwin
[0;36m20 |[0;0m
[0;36m21 |[0;0m let system_glob = Darwin.glob
[0;36m|[0;0m `- [1;33mwarning: [1;39mlet 'system_glob' 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m22 |[0;0m #endif
[0;36m23 |[0;0m
<unknown>:0: [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:21:9: [1;39mnote: [1;39madd '@MainActor' to make let 'system_glob' part of global actor 'MainActor'[0;0m
[0;36m19 |[0;0m import Darwin
[0;36m20 |[0;0m
[0;36m21 |[0;0m let system_glob = Darwin.glob
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make let 'system_glob' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m22 |[0;0m #endif
[0;36m23 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: [1;33mwarning: [1;39mstatic property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m32 |[0;0m var path: String { filePath.string }
[0;36m33 |[0;0m
[0;36m34 |[0;0m static let fileManager = FileManager.default
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m let fileSystemInfo: any FileSystemInfo
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:138:12: [1;39mnote: [1;39mclass 'FileManager' does not conform to the 'Sendable' protocol[0;0m
[0;36m136 |[0;0m ///
[0;36m137 |[0;0m /// The methods of the shared ``FileManager`` object can be called from multiple threads safely. However, if you use a delegate to receive notifications about the status of move, copy, remove, and link operations, you should create a unique instance of the file manager object, assign your delegate to that object, and use that file manager to initiate your operations.
[0;36m138 |[0;0m @interface NSFileManager : NSObject
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'FileManager' does not conform to the 'Sendable' protocol[0;0m
[0;36m139 |[0;0m
[0;36m140 |[0;0m /// The shared file manager object for the process.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: [1;33mwarning: [1;39mstatic property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m24 |[0;0m rawValue: FileManager
[0;36m25 |[0;0m .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: [1;33mwarning: [1;39mstatic property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m25 |[0;0m .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
[0;36m26 |[0;0m )
[0;36m27 |[0;0m public static var skipsPackageDescendants = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m28 |[0;0m rawValue: FileManager
[0;36m29 |[0;0m .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: [1;33mwarning: [1;39mstatic property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m29 |[0;0m .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
[0;36m30 |[0;0m )
[0;36m31 |[0;0m public static var skipsHiddenFiles = DirectoryEnumerationOptions(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m32 |[0;0m rawValue: FileManager.DirectoryEnumerationOptions
[0;36m33 |[0;0m .skipsHiddenFiles.rawValue
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PathKit",
"name" : "PathKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "PathKit",
"targets" : [
"PathKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PathKitTests",
"module_type" : "SwiftTarget",
"name" : "PathKitTests",
"path" : "Tests/PathKitTests",
"sources" : [
"PathKitTests.swift",
"ThrowError.swift"
],
"target_dependencies" : [
"PathKit"
],
"type" : "test"
},
{
"c99name" : "PathKit",
"module_type" : "SwiftTarget",
"name" : "PathKit",
"path" : "Sources/PathKit",
"product_memberships" : [
"PathKit"
],
"sources" : [
"Internal/DefaultFileSystemInfo.swift",
"Internal/FileSystemInfo.swift",
"Operators.swift",
"Path+Components.swift",
"Path+Contents.swift",
"Path+Directories.swift",
"Path+FileInfo.swift",
"Path+FileManipulation.swift",
"Path+Globbing.swift",
"Path+PathInfo.swift",
"Path+Sequence.swift",
"Path+Traversing.swift",
"Path.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.