Build Information
Successful build of RomanNumerals, reference 1.0.0 (a58be1
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:27:54 UTC.
Swift 6 data race errors: 2
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/danielctull/RomanNumerals.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielctull/RomanNumerals
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at a58be11 Run tests on the Swift 5.2 release
Cloned https://github.com/danielctull/RomanNumerals.git
Revision (git rev-parse @):
a58be11f11083c5aeef718ebd536f55d8f983d0e
SUCCESS checkout https://github.com/danielctull/RomanNumerals.git at 1.0.0
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (1.35s)
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
========================================
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": "romannumerals",
"name": "RomanNumerals",
"url": "https://github.com/danielctull/RomanNumerals.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RomanNumerals",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/danielctull/RomanNumerals.git
[1/231] Fetching romannumerals
Fetched https://github.com/danielctull/RomanNumerals.git from cache (0.59s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.11s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/danielctull/RomanNumerals.git
Working copy of https://github.com/danielctull/RomanNumerals.git resolved at 1.0.0 (a58be11)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danielctull/RomanNumerals.git
https://github.com/danielctull/RomanNumerals.git
{
"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"
}
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/8] Write sources
[3/8] Write roman-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/38] Compiling RomanNumerals Symbol.swift
[7/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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public static func += (lhs: inout RomanNumeral, rhs: RomanNumeral) {
[8/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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- 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 Parsed.swift
[10/38] Compiling ArgumentParser ParsedValues.swift
[11/38] Compiling ArgumentParser ParserError.swift
[12/40] Compiling ArgumentParser NameSpecification.swift
[13/40] Compiling ArgumentParser Option.swift
[14/40] Compiling ArgumentParser OptionGroup.swift
[15/40] Emitting module ArgumentParser
[16/40] Compiling ArgumentParser StringExtensions.swift
[17/40] Compiling ArgumentParser Tree.swift
[18/40] Compiling ArgumentParser Argument.swift
[19/40] Compiling ArgumentParser ArgumentHelp.swift
[20/40] Compiling ArgumentParser Flag.swift
[21/40] Compiling ArgumentParser ValidationError.swift
[22/40] Compiling ArgumentParser CommandConfiguration.swift
[23/40] Compiling ArgumentParser ExpressibleByArgument.swift
[24/40] Compiling ArgumentParser SplitArguments.swift
[25/40] Compiling ArgumentParser HelpCommand.swift
[26/40] Compiling ArgumentParser HelpGenerator.swift
[27/40] Compiling ArgumentParser ArgumentDefinition.swift
[28/40] Compiling ArgumentParser ArgumentSet.swift
[29/40] Compiling ArgumentParser ArgumentSetSequence.swift
[30/40] Compiling ArgumentParser CommandParser.swift
[31/40] Compiling ArgumentParser InputOrigin.swift
[32/40] Compiling ArgumentParser Name.swift
[33/40] Compiling ArgumentParser ParsableArguments.swift
[34/40] Compiling ArgumentParser ParsableCommand.swift
[35/40] Compiling ArgumentParser ArgumentDecoder.swift
[36/40] Compiling ArgumentParser MessageInfo.swift
[37/40] Compiling ArgumentParser UsageGenerator.swift
[38/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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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! (5.29s)
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.