Build Information
Successful build of Path.swift, reference 1.4.1 (8e355c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 18:43:44 UTC.
Swift 6 data race errors: 1
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/mxcl/path.swift.git
Reference: 1.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mxcl/path.swift
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at 8e355c2 Rename Path->Bool.swift to PathToBool.swift
Cloned https://github.com/mxcl/path.swift.git
Revision (git rev-parse @):
8e355c28e9393c42e58b18c54cace2c42c98a616
SUCCESS checkout https://github.com/mxcl/path.swift.git at 1.4.1
========================================
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": "path.swift",
"name": "Path.swift",
"url": "https://github.com/mxcl/path.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/path.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/mxcl/path.swift.git
[1/1059] Fetching path.swift
Fetched https://github.com/mxcl/path.swift.git from cache (0.95s)
Creating working copy for https://github.com/mxcl/path.swift.git
Working copy of https://github.com/mxcl/path.swift.git resolved at 1.4.1 (8e355c2)
warning: '.resolve-product-dependencies': dependency 'path.swift' 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/mxcl/path.swift.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Path Path+CommonDirectories.swift
[4/13] Compiling Path Path.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:4:5: warning: let '_realpath' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
2 | #if !os(Linux)
3 | import func Darwin.realpath
4 | let _realpath = Darwin.realpath
| |- warning: let '_realpath' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_realpath' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | #else
6 | import func Glibc.realpath
[5/13] Emitting module Path
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:4:5: warning: let '_realpath' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
2 | #if !os(Linux)
3 | import func Darwin.realpath
4 | let _realpath = Darwin.realpath
| |- warning: let '_realpath' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, UnsafeMutablePointer<CChar>?) -> UnsafeMutablePointer<CChar>?' (aka '(Optional<UnsafePointer<Int8>>, Optional<UnsafeMutablePointer<Int8>>) -> Optional<UnsafeMutablePointer<Int8>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_realpath' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | #else
6 | import func Glibc.realpath
[6/13] Compiling Path Path+Attributes.swift
[7/13] Compiling Path Extensions.swift
[8/13] Compiling Path Path+FileManager.swift
[9/13] Compiling Path Path+ls.swift
[10/13] Compiling Path Path+StringConvertibles.swift
[11/13] Compiling Path PathToBool.swift
[12/13] Compiling Path Path+Codable.swift
[13/13] Compiling Path Pathish.swift
Build complete! (14.53s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Path.swift",
"name" : "Path.swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Path",
"targets" : [
"Path"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "PathTests",
"module_type" : "SwiftTarget",
"name" : "PathTests",
"path" : "Tests/PathTests",
"sources" : [
"PathTests+ls().swift",
"PathTests.swift",
"TemporaryDirectory.swift",
"XCTestManifests.swift",
"etc.swift"
],
"target_dependencies" : [
"Path"
],
"type" : "test"
},
{
"c99name" : "Path",
"module_type" : "SwiftTarget",
"name" : "Path",
"path" : "Sources",
"product_memberships" : [
"Path"
],
"sources" : [
"Extensions.swift",
"Path+Attributes.swift",
"Path+Codable.swift",
"Path+CommonDirectories.swift",
"Path+FileManager.swift",
"Path+StringConvertibles.swift",
"Path+ls.swift",
"Path.swift",
"PathToBool.swift",
"Pathish.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.