Build Information
Successful build of MPath, reference main (7ccc46
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:07:02 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danramteke/MPath.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danramteke/MPath
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7ccc463 exclude home dir on mac catalyst
Cloned https://github.com/danramteke/MPath.git
Revision (git rev-parse @):
7ccc4639898206bba42b12a19b5696d8f8065730
SUCCESS checkout https://github.com/danramteke/MPath.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": "mpath",
"name": "MPath",
"url": "https://github.com/danramteke/MPath.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MPath",
"dependencies": [
]
}
]
}
Fetching https://github.com/danramteke/MPath.git
[1/174] Fetching mpath
Fetched https://github.com/danramteke/MPath.git from cache (0.57s)
Creating working copy for https://github.com/danramteke/MPath.git
Working copy of https://github.com/danramteke/MPath.git resolved at main (7ccc463)
warning: '.resolve-product-dependencies': dependency 'mpath' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danramteke/MPath.git
https://github.com/danramteke/MPath.git
{
"dependencies" : [
],
"manifest_display_name" : "MPath",
"name" : "MPath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "MPath",
"targets" : [
"MPath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MPathTests",
"module_type" : "SwiftTarget",
"name" : "MPathTests",
"path" : "Tests/MPathTests",
"sources" : [
"BasicTests.swift",
"CollectionTests.swift",
"ComponentTests.swift",
"FileAttributeTests.swift",
"FileExtensionTests.swift",
"IOTests.swift",
"PermissionsTests.swift",
"RelativePathTests.swift"
],
"target_dependencies" : [
"MPath"
],
"type" : "test"
},
{
"c99name" : "MPath",
"module_type" : "SwiftTarget",
"name" : "MPath",
"path" : "Sources/MPath",
"product_memberships" : [
"MPath"
],
"sources" : [
"Path-CustomStringConvertible.swift",
"Path-ExpressibileByStringLiteral.swift",
"Path-IO.swift",
"Path-absolute.swift",
"Path-concat.swift",
"Path-constants.swift",
"Path-fileAttributes.swift",
"Path-filehandle.swift",
"Path-permissions.swift",
"Path-relative.swift",
"Path-traverse.swift",
"Path.collections.swift",
"Path.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/15] Compiling MPath Path.collections.swift
[4/16] Compiling MPath Path-concat.swift
[5/16] Compiling MPath Path-constants.swift
[6/16] Compiling MPath Path-relative.swift
[7/16] Compiling MPath Path-filehandle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path-filehandle.swift:4:14: 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
2 |
3 | extension Path {
4 | static let fileManager: 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: add '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public func createDirectories() throws {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
95 |
96 | @interface NSFileManager : NSObject
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
97 |
98 | /* Returns the default singleton instance.
[8/16] Emitting module MPath
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path-fileAttributes.swift:45:13: warning: stored property 'path' of 'Sendable'-conforming struct 'FileAttributesReadingError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 | public struct FileAttributesReadingError: Error {
44 | public let key: FileAttributeKey
45 | public let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileAttributesReadingError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path.swift:3:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Path: Codable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | public let path: String
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path-filehandle.swift:4:14: 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
2 |
3 | extension Path {
4 | static let fileManager: 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: add '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public func createDirectories() throws {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
95 |
96 | @interface NSFileManager : NSObject
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
97 |
98 | /* Returns the default singleton instance.
[9/16] Compiling MPath Path-CustomStringConvertible.swift
[10/16] Compiling MPath Path-ExpressibileByStringLiteral.swift
[11/16] Compiling MPath Path-fileAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path-fileAttributes.swift:45:13: warning: stored property 'path' of 'Sendable'-conforming struct 'FileAttributesReadingError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 | public struct FileAttributesReadingError: Error {
44 | public let key: FileAttributeKey
45 | public let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileAttributesReadingError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MPath/Path.swift:3:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Path: Codable, Equatable, Comparable, Hashable {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | public let path: String
[12/16] Compiling MPath Path-IO.swift
[13/16] Compiling MPath Path-absolute.swift
[14/16] Compiling MPath Path-permissions.swift
[15/16] Compiling MPath Path-traverse.swift
[16/16] Compiling MPath Path.swift
Build complete! (6.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MPath",
"name" : "MPath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "MPath",
"targets" : [
"MPath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MPathTests",
"module_type" : "SwiftTarget",
"name" : "MPathTests",
"path" : "Tests/MPathTests",
"sources" : [
"BasicTests.swift",
"CollectionTests.swift",
"ComponentTests.swift",
"FileAttributeTests.swift",
"FileExtensionTests.swift",
"IOTests.swift",
"PermissionsTests.swift",
"RelativePathTests.swift"
],
"target_dependencies" : [
"MPath"
],
"type" : "test"
},
{
"c99name" : "MPath",
"module_type" : "SwiftTarget",
"name" : "MPath",
"path" : "Sources/MPath",
"product_memberships" : [
"MPath"
],
"sources" : [
"Path-CustomStringConvertible.swift",
"Path-ExpressibileByStringLiteral.swift",
"Path-IO.swift",
"Path-absolute.swift",
"Path-concat.swift",
"Path-constants.swift",
"Path-fileAttributes.swift",
"Path-filehandle.swift",
"Path-permissions.swift",
"Path-relative.swift",
"Path-traverse.swift",
"Path.collections.swift",
"Path.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.