Build Information
Successful build of SemanticVersion, reference main (263730
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:25:03 UTC.
Swift 6 data race errors: 1
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/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
========================================
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": "semanticversion",
"name": "SemanticVersion",
"url": "https://github.com/elegantchaos/SemanticVersion.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SemanticVersion",
"dependencies": [
]
}
]
}
Fetching https://github.com/elegantchaos/SemanticVersion.git
[4/152] Fetching semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.63s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at main (2637309)
warning: '.resolve-product-dependencies': dependency 'semanticversion' 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/elegantchaos/SemanticVersion.git
https://github.com/elegantchaos/SemanticVersion.git
{
"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"
}
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/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- 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] 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'unknown' part of global actor 'MainActor'
| `- 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! (4.37s)
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.