Build Information
Successful build of PathKit, reference main (fec0f8
), with Swift 6.0 for macOS (SPM) on 27 Jan 2025 15:45:28 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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
========================================
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": "pathkit",
"name": "PathKit",
"url": "https://github.com/MFB-Technologies-Inc/PathKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/MFB-Technologies-Inc/PathKit.git
[1/890] Fetching pathkit
Fetched https://github.com/MFB-Technologies-Inc/PathKit.git from cache (1.01s)
Creating working copy for https://github.com/MFB-Technologies-Inc/PathKit.git
Working copy of https://github.com/MFB-Technologies-Inc/PathKit.git resolved at main (fec0f80)
warning: '.resolve-product-dependencies': dependency 'pathkit' 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/MFB-Technologies-Inc/PathKit.git
https://github.com/MFB-Technologies-Inc/PathKit.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/15] Compiling PathKit Path+Traversing.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[4/16] Compiling PathKit Path+Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | rawValue: FileManager
25 | .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
26 | )
27 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' with '@MainActor' 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 | rawValue: FileManager
29 | .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
30 | )
31 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | rawValue: FileManager.DirectoryEnumerationOptions
33 | .skipsHiddenFiles.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[5/16] Compiling PathKit Path+PathInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[6/16] Compiling PathKit Path+Globbing.swift
[7/16] Compiling PathKit Path+FileManipulation.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[8/16] Compiling PathKit Path+Contents.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[9/16] Compiling PathKit Path+Directories.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[10/16] Compiling PathKit Operators.swift
[11/16] Compiling PathKit Path+Components.swift
[12/16] Compiling PathKit DefaultFileSystemInfo.swift
[13/16] Compiling PathKit FileSystemInfo.swift
[14/16] Emitting module PathKit
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
| |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsSubdirectoryDescendants' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | rawValue: FileManager
25 | .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
26 | )
27 | public static var skipsPackageDescendants = DirectoryEnumerationOptions(
| |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsPackageDescendants' with '@MainActor' 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 | rawValue: FileManager
29 | .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
30 | )
31 | public static var skipsHiddenFiles = DirectoryEnumerationOptions(
| |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'skipsHiddenFiles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | rawValue: FileManager.DirectoryEnumerationOptions
33 | .skipsHiddenFiles.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[15/16] Compiling PathKit Path+FileInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[16/16] Compiling PathKit Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathKit/Path.swift:34:16: warning: static 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
32 | var path: String { filePath.string }
33 |
34 | static let fileManager = FileManager.default
| |- warning: static 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
| |- note: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | let fileSystemInfo: any FileSystemInfo
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
Build complete! (11.50s)
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.