Build Information
Successful build of SemanticVersioningKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
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/alexanderwe/SemanticVersioningKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexanderwe/SemanticVersioningKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2acd86a chore(documentation): Generate documentation
Cloned https://github.com/alexanderwe/SemanticVersioningKit.git
Revision (git rev-parse @):
2acd86afce5580183d7fd20817825067e4845760
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/alexanderwe/SemanticVersioningKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/alexanderwe/SemanticVersioningKit.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftFormatPlugin
Building for debugging...
[3/9] Write sources
[5/9] Copying PrivacyInfo.xcprivacy
[6/9] Write sources
[8/9] Write swift-version-6F35C1178C84523A.txt
[10/18] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[11/18] Compiling XCTestDynamicOverlay Unimplemented.swift
[12/18] Compiling XCTestDynamicOverlay XCTFail.swift
[13/18] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[14/18] Compiling XCTestDynamicOverlay Deprecations.swift
[15/18] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[16/18] Emitting module XCTestDynamicOverlay
[17/18] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[18/18] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[19/26] Compiling CasePaths Operators.swift
[20/26] Compiling CasePaths OpenExistential.swift
[21/26] Compiling CasePaths TypeName.swift
[22/26] Compiling CasePaths XCTUnwrap.swift
[23/26] Compiling CasePaths CasePath.swift
[24/26] Compiling CasePaths CasePaths.swift
[25/26] Emitting module CasePaths
[26/26] Compiling CasePaths EnumReflection.swift
[27/95] Compiling Parsing Enum.swift
[28/95] Compiling Parsing FixedWidthInteger.swift
[29/95] Compiling Parsing Identity.swift
[30/95] Compiling Parsing JSON.swift
[31/95] Compiling Parsing LosslessStringConvertible.swift
[32/95] Compiling Parsing Memberwise.swift
[33/95] Compiling Parsing ParseableFormatStyleConversion.swift
[34/95] Compiling Parsing RawRepresentable.swift
[35/102] Compiling Parsing Parser.swift
[36/102] Compiling Parsing ParserPrinter.swift
[37/102] Compiling Parsing Always.swift
[38/102] Compiling Parsing AnyParserPrinter.swift
[39/102] Compiling Parsing Backtracking.swift
[40/102] Compiling Parsing Bool.swift
[41/102] Compiling Parsing CaseIterableRawRepresentable.swift
[42/102] Compiling Parsing CharacterSet.swift
[43/102] Compiling Parsing Conditional.swift
[44/102] Compiling Parsing Consumed.swift
[45/102] Compiling Parsing Digits.swift
[46/102] Compiling Parsing End.swift
[47/102] Compiling Parsing Fail.swift
[48/102] Compiling Parsing Filter.swift
[49/102] Compiling Parsing First.swift
[50/102] Compiling Parsing Float.swift
[51/102] Compiling Parsing ReplaceError.swift
[52/102] Compiling Parsing Rest.swift
[53/102] Compiling Parsing Skip.swift
[54/102] Compiling Parsing StartsWith.swift
[55/102] Compiling Parsing UUID.swift
[56/102] Compiling Parsing Whitespace.swift
[57/102] Compiling Parsing AnyParser.swift
[58/102] Compiling Parsing String.swift
[59/102] Compiling Parsing Substring.swift
[60/102] Compiling Parsing UTF8View.swift
[61/102] Compiling Parsing ConvertingError.swift
[62/102] Compiling Parsing CountingRange.swift
[63/102] Compiling Parsing EmptyInitializable.swift
[64/102] Compiling Parsing AnyEquatable.swift
[65/102] Compiling Parsing Deprecations.swift
[66/102] Compiling Parsing Peek.swift
[67/102] Compiling Parsing Pipe.swift
[68/102] Compiling Parsing Prefix.swift
[69/102] Compiling Parsing PrefixThrough.swift
[70/102] Compiling Parsing PrefixUpTo.swift
[71/102] Compiling Parsing Printing.swift
[72/102] Compiling Parsing Pullback.swift
[73/102] Compiling Parsing Not.swift
[74/102] Compiling Parsing OneOf.swift
[75/102] Compiling Parsing OneOfMany.swift
[76/102] Compiling Parsing Optional.swift
[77/102] Compiling Parsing Optionally.swift
[78/102] Compiling Parsing Parse.swift
[79/102] Compiling Parsing ParseableFormatStyle.swift
[80/102] Compiling Parsing OneOfBuilder.swift
[81/102] Compiling Parsing ParserBuilder.swift
[82/102] Compiling Parsing Conversion.swift
[83/102] Compiling Parsing AnyConversion.swift
[84/102] Compiling Parsing BinaryFloatingPoint.swift
[85/102] Compiling Parsing ConversionMap.swift
[86/102] Compiling Parsing Conversions.swift
[87/102] Compiling Parsing Data.swift
[88/102] Compiling Parsing From.swift
[89/102] Compiling Parsing Int.swift
[90/102] Compiling Parsing Lazy.swift
[91/102] Compiling Parsing Literal.swift
[92/102] Compiling Parsing Many.swift
[93/102] Compiling Parsing Map.swift
[94/102] Compiling Parsing Newline.swift
[95/102] Compiling Parsing CompactMap.swift
[96/102] Compiling Parsing FlatMap.swift
[97/102] Compiling Parsing Parsers.swift
[98/102] Compiling Parsing Stream.swift
[99/102] Compiling Parsing ParsingError.swift
[100/102] Compiling Parsing PrependableCollection.swift
[101/102] Compiling Parsing PrintingError.swift
[102/102] Emitting module Parsing
[103/105] Emitting module SemanticVersioningKit
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:65:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
63 | // MARK: - Parser
64 | extension SemanticVersion {
65 | private static let parser: AnyParser<Substring, SemanticVersion> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
66 | let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
67 | .eraseToAnyParser()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 | // MARK: - SemanticVersion
:
63 | // MARK: - Parser
64 | extension SemanticVersion {
65 | private static let parser: AnyParser<Substring, SemanticVersion> = {
| |- note: annotate 'parser' 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
66 | let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
67 | .eraseToAnyParser()
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:179:29: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | let patch: Int
178 |
179 | internal static let parser: AnyParser<Substring, SemanticVersion.Core> = Parse(Core.init) {
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
180 | Int.parser()
181 | "."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
[104/105] Compiling SemanticVersioningKit resource_bundle_accessor.swift
[105/105] Compiling SemanticVersioningKit SemanticVersioning.swift
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:65:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
63 | // MARK: - Parser
64 | extension SemanticVersion {
65 | private static let parser: AnyParser<Substring, SemanticVersion> = {
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion>' may have shared mutable state; this is an error in the Swift 6 language mode
66 | let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
67 | .eraseToAnyParser()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
7 |
8 | import Foundation
9 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
10 |
11 | // MARK: - SemanticVersion
:
63 | // MARK: - Parser
64 | extension SemanticVersion {
65 | private static let parser: AnyParser<Substring, SemanticVersion> = {
| |- note: annotate 'parser' 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
66 | let alphaNumericAndHypen = Prefix<Substring> { ($0.isLetter || $0.isNumber || $0.isSymbol || $0 == "-") && $0 != "+" }
67 | .eraseToAnyParser()
/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/SemanticVersioning.swift:179:29: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | let patch: Int
178 |
179 | internal static let parser: AnyParser<Substring, SemanticVersion.Core> = Parse(Core.init) {
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'AnyParser<Substring, SemanticVersion.Core>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
180 | Int.parser()
181 | "."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/Parsers/AnyParser.swift:27:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
25 | /// boundaries, such as different modules. When you use type erasure this way, you can change the
26 | /// underlying parser over time without affecting existing clients.
27 | public struct AnyParser<Input, Output>: Parser {
| `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
28 | @usableFromInline
29 | let parser: (inout Input) throws -> Output
Build complete! (79.14s)
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-parsing
[1/3714] Fetching swift-case-paths
[39/5172] Fetching swift-case-paths, swift-docc-plugin
[1406/7528] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay
[3358/10384] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit
[8984/48809] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit, swiftformat
[13844/146444] Fetching swift-case-paths, swift-docc-plugin, xctest-dynamic-overlay, swift-docc-symbolkit, swiftformat, swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing from cache (6.78s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (6.78s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (6.78s)
[24501/42239] Fetching swift-docc-plugin, xctest-dynamic-overlay, swiftformat
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (30.30s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (30.30s)
Fetched https://github.com/apple/swift-docc-plugin from cache (30.30s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.52.2 (1.01s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.70s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.67s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.74s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.73s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.71s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.52.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Build complete.
{
"dependencies" : [
{
"identity" : "swift-parsing",
"requirement" : {
"exact" : [
"0.13.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.52.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "SemanticVersioningKit",
"name" : "SemanticVersioningKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SemanticVersioningKit",
"targets" : [
"SemanticVersioningKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SemanticVersioningKitTests",
"module_type" : "SwiftTarget",
"name" : "SemanticVersioningKitTests",
"path" : "Tests",
"sources" : [
"SemanticVersionComparableTests.swift",
"SemanticVersionTests.swift"
],
"target_dependencies" : [
"SemanticVersioningKit"
],
"type" : "test"
},
{
"c99name" : "SemanticVersioningKit",
"module_type" : "SwiftTarget",
"name" : "SemanticVersioningKit",
"path" : "Sources/SemanticVersioningKit",
"product_dependencies" : [
"Parsing"
],
"product_memberships" : [
"SemanticVersioningKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SemanticVersioningKit/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SemanticVersioning.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.