Build Information
Successful build of Version, reference master (c8e352
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:17:22 UTC.
Swift 6 data race errors: 2
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/mrackwitz/Version.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mrackwitz/Version
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c8e3521 [PodSpec] bump mimimum iOS deployment target version
Cloned https://github.com/mrackwitz/Version.git
Revision (git rev-parse @):
c8e3521a9cc592bd8879bcf6f96ebab12f952900
SUCCESS checkout https://github.com/mrackwitz/Version.git at master
========================================
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": "version",
"name": "Version",
"url": "https://github.com/mrackwitz/Version.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Version",
"dependencies": [
]
}
]
}
Fetching https://github.com/mrackwitz/Version.git
[17/842] Fetching version
Fetched https://github.com/mrackwitz/Version.git from cache (0.89s)
Creating working copy for https://github.com/mrackwitz/Version.git
Working copy of https://github.com/mrackwitz/Version.git resolved at master (c8e3521)
warning: '.resolve-product-dependencies': dependency 'version' 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/mrackwitz/Version.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/6] Compiling Version Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:87:28: warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
85 | public var build: String?
86 |
87 | fileprivate static let strictParser = VersionParser(strict: true)
| |- warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictParser' 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
88 | fileprivate static let lenientParser = VersionParser(strict: false)
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct VersionParser {
| `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
21 | static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
22 | let number = VersionParser.numberPatternString(strict: strict)
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:88:28: warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | fileprivate static let strictParser = VersionParser(strict: true)
88 | fileprivate static let lenientParser = VersionParser(strict: false)
| |- warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenientParser' 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
89 |
90 | /// Initialize a version from its components.
/Users/admin/builder/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct VersionParser {
| `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
21 | static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
22 | let number = VersionParser.numberPatternString(strict: strict)
[4/6] Compiling Version VersionParser.swift
[5/6] Emitting module Version
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:87:28: warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
85 | public var build: String?
86 |
87 | fileprivate static let strictParser = VersionParser(strict: true)
| |- warning: static property 'strictParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictParser' 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
88 | fileprivate static let lenientParser = VersionParser(strict: false)
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct VersionParser {
| `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
21 | static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
22 | let number = VersionParser.numberPatternString(strict: strict)
/Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift:88:28: warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | fileprivate static let strictParser = VersionParser(strict: true)
88 | fileprivate static let lenientParser = VersionParser(strict: false)
| |- warning: static property 'lenientParser' is not concurrency-safe because non-'Sendable' type 'VersionParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lenientParser' 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
89 |
90 | /// Initialize a version from its components.
/Users/admin/builder/spi-builder-workspace/Sources/Version/VersionParser.swift:20:15: note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct VersionParser {
| `- note: consider making struct 'VersionParser' conform to the 'Sendable' protocol
21 | static func versionPattern(strict: Bool, anchored: Bool) -> Regex {
22 | let number = VersionParser.numberPatternString(strict: strict)
[6/6] Compiling Version Regex.swift
Build complete! (6.42s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Version",
"name" : "Version",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Version",
"targets" : [
"Version"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VersionTests",
"module_type" : "SwiftTarget",
"name" : "VersionTests",
"path" : "Tests/VersionTests",
"sources" : [
"VersionParserTests.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Version"
],
"type" : "test"
},
{
"c99name" : "Version",
"module_type" : "SwiftTarget",
"name" : "Version",
"path" : "Sources/Version",
"product_memberships" : [
"Version"
],
"sources" : [
"Regex.swift",
"Version.swift",
"VersionParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.