Build Information
Successful build of CommandLineKit, reference master (b83f09
), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 03:40:11 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/basvankuijck/CommandLine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/basvankuijck/CommandLine
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b83f09a Fixed sources
Cloned https://github.com/basvankuijck/CommandLine.git
Revision (git rev-parse @):
b83f09a25224c29b820f9e8d1311569736021820
SUCCESS checkout https://github.com/basvankuijck/CommandLine.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/basvankuijck/CommandLine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/6] Compiling CommandLineKit Option.swift
[4/6] Compiling CommandLineKit StringExtensions.swift
[5/6] Emitting module CommandLineKit
/Users/admin/builder/spi-builder-workspace/CommandLineKit/CommandLine.swift:158:10: warning: associated value 'invalidValueForOption' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
156 |
157 | /** Thrown if the value for an Option is invalid (e.g. a string is passed to an IntOption) */
158 | case invalidValueForOption(Option, [String])
| `- warning: associated value 'invalidValueForOption' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
159 |
160 | /** Thrown if an Option with required: true is missing */
/Users/admin/builder/spi-builder-workspace/CommandLineKit/Option.swift:21:14: note: class 'Option' does not conform to the 'Sendable' protocol
19 | * The base class for a command-line option.
20 | */
21 | public class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
22 | public let shortFlag: String?
23 | public let longFlag: String?
/Users/admin/builder/spi-builder-workspace/CommandLineKit/CommandLine.swift:161:10: warning: associated value 'missingRequiredOptions' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
159 |
160 | /** Thrown if an Option with required: true is missing */
161 | case missingRequiredOptions([Option])
| `- warning: associated value 'missingRequiredOptions' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
162 |
163 | public var description: String {
/Users/admin/builder/spi-builder-workspace/CommandLineKit/Option.swift:21:14: note: class 'Option' does not conform to the 'Sendable' protocol
19 | * The base class for a command-line option.
20 | */
21 | public class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
22 | public let shortFlag: String?
23 | public let longFlag: String?
[6/6] Compiling CommandLineKit CommandLine.swift
/Users/admin/builder/spi-builder-workspace/CommandLineKit/CommandLine.swift:158:10: warning: associated value 'invalidValueForOption' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
156 |
157 | /** Thrown if the value for an Option is invalid (e.g. a string is passed to an IntOption) */
158 | case invalidValueForOption(Option, [String])
| `- warning: associated value 'invalidValueForOption' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
159 |
160 | /** Thrown if an Option with required: true is missing */
/Users/admin/builder/spi-builder-workspace/CommandLineKit/Option.swift:21:14: note: class 'Option' does not conform to the 'Sendable' protocol
19 | * The base class for a command-line option.
20 | */
21 | public class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
22 | public let shortFlag: String?
23 | public let longFlag: String?
/Users/admin/builder/spi-builder-workspace/CommandLineKit/CommandLine.swift:161:10: warning: associated value 'missingRequiredOptions' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
159 |
160 | /** Thrown if an Option with required: true is missing */
161 | case missingRequiredOptions([Option])
| `- warning: associated value 'missingRequiredOptions' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
162 |
163 | public var description: String {
/Users/admin/builder/spi-builder-workspace/CommandLineKit/Option.swift:21:14: note: class 'Option' does not conform to the 'Sendable' protocol
19 | * The base class for a command-line option.
20 | */
21 | public class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
22 | public let shortFlag: String?
23 | public let longFlag: String?
Build complete! (5.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CommandLineKit",
"name" : "CommandLineKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "CommandLineKit",
"targets" : [
"CommandLineKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CommandLineKit",
"module_type" : "SwiftTarget",
"name" : "CommandLineKit",
"path" : ".",
"product_memberships" : [
"CommandLineKit"
],
"sources" : [
"CommandLineKit/CommandLine.swift",
"CommandLineKit/Option.swift",
"CommandLineKit/StringExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.