Build Information
Successful build of SemanticVersion 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/elegantchaos/SemanticVersion.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/SemanticVersion
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2637309 proper comparable support
Cloned https://github.com/elegantchaos/SemanticVersion.git
Revision (git rev-parse @):
2637309c72c1415cc3d1ea27ae6ddb2a2b66ecf0
SUCCESS checkout https://github.com/elegantchaos/SemanticVersion.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/elegantchaos/SemanticVersion.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/5] Emitting module SemanticVersion
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:11:16: warning: static property 'unknown' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public let patch: Int
10 |
11 | static var unknown : SemanticVersion = SemanticVersion()
| |- warning: static property 'unknown' 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 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unknown' 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
12 |
13 | public var isUnknown : Bool { return major == 0 && minor == 0 && patch == 0 }
[4/5] Compiling SemanticVersion SemanticVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:11:16: warning: static property 'unknown' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public let patch: Int
10 |
11 | static var unknown : SemanticVersion = SemanticVersion()
| |- warning: static property 'unknown' 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 'unknown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unknown' 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
12 |
13 | public var isUnknown : Bool { return major == 0 && minor == 0 && patch == 0 }
[5/5] Compiling SemanticVersion SemanticVersion+Comparabl.swift
Build complete! (16.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SemanticVersion",
"name" : "SemanticVersion",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SemanticVersion",
"targets" : [
"SemanticVersion"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SemanticVersionTests",
"module_type" : "SwiftTarget",
"name" : "SemanticVersionTests",
"path" : "Tests/SemanticVersionTests",
"sources" : [
"SemanticVersionTests.swift"
],
"target_dependencies" : [
"SemanticVersion"
],
"type" : "test"
},
{
"c99name" : "SemanticVersion",
"module_type" : "SwiftTarget",
"name" : "SemanticVersion",
"path" : "Sources/SemanticVersion",
"product_memberships" : [
"SemanticVersion"
],
"sources" : [
"SemanticVersion+Comparabl.swift",
"SemanticVersion.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.