Build Information
Successful build of RomanNumerals 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/danielctull/RomanNumerals.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielctull/RomanNumerals
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bea00ee Add Swift 5.3 to the list of versions to test against
Cloned https://github.com/danielctull/RomanNumerals.git
Revision (git rev-parse @):
bea00ee11e3d15926894512ec7915a1e01205f6d
SUCCESS checkout https://github.com/danielctull/RomanNumerals.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/danielctull/RomanNumerals.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/8] Write sources
[3/8] Write roman-entitlement.plist
[4/8] Write swift-version-6F35C1178C84523A.txt
[6/38] Emitting module RomanNumerals
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumerals/RomanNumeral.swift:119:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RomanNumeral' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct RomanNumeral: Equatable {
| `- note: consider making struct 'RomanNumeral' conform to the 'Sendable' protocol
3 | public let symbols: [Symbol]
4 | }
:
117 | extension RomanNumeral: AdditiveArithmetic {
118 |
119 | public static let zero = RomanNumeral(symbols: [])
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RomanNumeral' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
120 |
121 | public static func += (lhs: inout RomanNumeral, rhs: RomanNumeral) {
[7/38] Compiling RomanNumerals Symbol.swift
[8/38] Compiling RomanNumerals RomanNumeral.swift
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumerals/RomanNumeral.swift:119:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RomanNumeral' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct RomanNumeral: Equatable {
| `- note: consider making struct 'RomanNumeral' conform to the 'Sendable' protocol
3 | public let symbols: [Symbol]
4 | }
:
117 | extension RomanNumeral: AdditiveArithmetic {
118 |
119 | public static let zero = RomanNumeral(symbols: [])
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'RomanNumeral' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
120 |
121 | public static func += (lhs: inout RomanNumeral, rhs: RomanNumeral) {
[9/38] Compiling ArgumentParser ValidationError.swift
[10/38] Compiling ArgumentParser CommandConfiguration.swift
[11/38] Compiling ArgumentParser ExpressibleByArgument.swift
[12/40] Compiling ArgumentParser NameSpecification.swift
[13/40] Compiling ArgumentParser Option.swift
[14/40] Compiling ArgumentParser OptionGroup.swift
[15/40] Compiling ArgumentParser CommandParser.swift
[16/40] Compiling ArgumentParser InputOrigin.swift
[17/40] Compiling ArgumentParser Name.swift
[18/40] Compiling ArgumentParser Argument.swift
[19/40] Compiling ArgumentParser ArgumentHelp.swift
[20/40] Compiling ArgumentParser Flag.swift
[21/40] Emitting module ArgumentParser
[22/40] Compiling ArgumentParser StringExtensions.swift
[23/40] Compiling ArgumentParser Tree.swift
[24/40] Compiling ArgumentParser ParsableArguments.swift
[25/40] Compiling ArgumentParser ParsableCommand.swift
[26/40] Compiling ArgumentParser ArgumentDecoder.swift
[27/40] Compiling ArgumentParser Parsed.swift
[28/40] Compiling ArgumentParser ParsedValues.swift
[29/40] Compiling ArgumentParser ParserError.swift
[30/40] Compiling ArgumentParser SplitArguments.swift
[31/40] Compiling ArgumentParser HelpCommand.swift
[32/40] Compiling ArgumentParser HelpGenerator.swift
[33/40] Compiling ArgumentParser ArgumentDefinition.swift
[34/40] Compiling ArgumentParser ArgumentSet.swift
[35/40] Compiling ArgumentParser ArgumentSetSequence.swift
[36/40] Compiling ArgumentParser MessageInfo.swift
[37/40] Compiling ArgumentParser UsageGenerator.swift
[38/42] Compiling RomanNumeralsTool main.swift
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumeralsTool/main.swift:7:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | struct Roman: ParsableCommand {
6 |
7 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | abstract: "Roman numerals utility.",
9 | subcommands: [To.self, From.self])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumeralsTool/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 |
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import RomanNumerals
4 |
5 | struct Roman: ParsableCommand {
6 |
7 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
8 | abstract: "Roman numerals utility.",
9 | subcommands: [To.self, From.self])
[39/42] Emitting module RomanNumeralsTool
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumeralsTool/main.swift:7:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
5 | struct Roman: ParsableCommand {
6 |
7 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | abstract: "Roman numerals utility.",
9 | subcommands: [To.self, From.self])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/RomanNumeralsTool/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 |
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import RomanNumerals
4 |
5 | struct Roman: ParsableCommand {
6 |
7 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
8 | abstract: "Roman numerals utility.",
9 | subcommands: [To.self, From.self])
[39/42] Write Objects.LinkFileList
[40/42] Linking roman
[41/42] Applying roman
Build complete! (21.22s)
Fetching https://github.com/apple/swift-argument-parser
[1/11714] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.68s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "RomanNumerals",
"name" : "RomanNumerals",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RomanNumerals",
"targets" : [
"RomanNumerals"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "roman",
"targets" : [
"RomanNumeralsTool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "RomanNumeralsTool",
"module_type" : "SwiftTarget",
"name" : "RomanNumeralsTool",
"path" : "Sources/RomanNumeralsTool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"roman"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"RomanNumerals"
],
"type" : "executable"
},
{
"c99name" : "RomanNumeralsTests",
"module_type" : "SwiftTarget",
"name" : "RomanNumeralsTests",
"path" : "Tests/RomanNumeralsTests",
"sources" : [
"RomanNumeralTests.swift"
],
"target_dependencies" : [
"RomanNumerals"
],
"type" : "test"
},
{
"c99name" : "RomanNumerals",
"module_type" : "SwiftTarget",
"name" : "RomanNumerals",
"path" : "Sources/RomanNumerals",
"product_memberships" : [
"RomanNumerals",
"roman"
],
"sources" : [
"RomanNumeral.swift",
"Symbol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.