Build Information
Successful build of DSFRegex with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFRegex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFRegex
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e0e6480 Added privacy manifest
Cloned https://github.com/dagronf/DSFRegex.git
Revision (git rev-parse @):
e0e64805519b23b08dcca9c83ca2d4a2b3de4c33
SUCCESS checkout https://github.com/dagronf/DSFRegex.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/DSFRegex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[2/7] Write swift-version-6F35C1178C84523A.txt
[4/11] Compiling DSFRegex DSFRegex.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:392:13: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
390 | private extension DSFRegex.Capture {
391 | /// An empty capture object.
392 | static var empty = "".startIndex ..< "".endIndex
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
393 | }
394 |
[5/11] Compiling DSFRegex String+CursorExtensions.swift
[6/11] Compiling DSFRegex resource_bundle_accessor.swift
[7/11] Emitting module DSFRegex
/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:392:13: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
390 | private extension DSFRegex.Capture {
391 | /// An empty capture object.
392 | static var empty = "".startIndex ..< "".endIndex
| |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
393 | }
394 |
[7/11] Write Objects.LinkFileList
[9/11] Archiving libDSFRegex-static.a
[10/11] Linking libDSFRegex-dynamic.dylib
Build complete! (19.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DSFRegex",
"name" : "DSFRegex",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DSFRegex",
"targets" : [
"DSFRegex"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFRegex-static",
"targets" : [
"DSFRegex"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFRegex-dynamic",
"targets" : [
"DSFRegex"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFRegexTests",
"module_type" : "SwiftTarget",
"name" : "DSFRegexTests",
"path" : "Tests/DSFRegexTests",
"sources" : [
"DSFRegexTests.swift",
"String+extensions.swift",
"Tests+extensions.swift"
],
"target_dependencies" : [
"DSFRegex"
],
"type" : "test"
},
{
"c99name" : "DSFRegex",
"module_type" : "SwiftTarget",
"name" : "DSFRegex",
"path" : "Sources/DSFRegex",
"product_memberships" : [
"DSFRegex",
"DSFRegex-static",
"DSFRegex-dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DSFRegex.swift",
"String+CursorExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.