Build Information
Successful build of Version, reference 0.8.0 (fd4b0e
), with Swift 6.0 for Linux on 31 Oct 2024 23:02:20 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrackwitz/Version.git
Reference: 0.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mrackwitz/Version
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at fd4b0eb Bumped version to 0.8.0
Cloned https://github.com/mrackwitz/Version.git
Revision (git rev-parse @):
fd4b0eb5756aa7f1c33977fb626cf37d2140a3a0
SUCCESS checkout https://github.com/mrackwitz/Version.git at 0.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mrackwitz/Version.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Version Version.swift
/host/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 |
/host/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)
/host/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.
/host/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
/host/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 |
/host/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)
/host/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.
/host/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! (8.33s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Version",
"name" : "Version",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.