Build Information
Successful build of Bouncer with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 6
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/flintprocessor/Bouncer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/flintprocessor/Bouncer
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at afc6b0c Merge branch 'develop'
Cloned https://github.com/flintprocessor/Bouncer.git
Revision (git rev-parse @):
afc6b0cd73ec2e965fc0336fc65b5ca57686dba0
SUCCESS checkout https://github.com/flintprocessor/Bouncer.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/flintprocessor/Bouncer.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/7] Write sources
[2/7] Write git-mock-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/21] Compiling Bouncer String+Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Regex.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 | /// - Parameter regex: Regex to test against this string.
35 | /// - Returns: True if the string matches with regex; otherwise, false.
36 | public func match(withRegex regex: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | return range(of: regex, options: .regularExpression) == startIndex ..< endIndex
38 | }
[6/21] Compiling Bouncer OptionArgumentType.swift
[7/21] Compiling Bouncer OptionNameRegex.swift
[8/21] Emitting module Bouncer
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandType.swift:34:13: note: consider making enum 'OperandType' conform to the 'Sendable' protocol
32 | /// - optionalEqual: Accept exact number of operands or nothing.
33 | /// - range: Accept number of operands in certain range.
34 | public enum OperandType {
| `- note: consider making enum 'OperandType' conform to the 'Sendable' protocol
35 | case none
36 | case equal(Int)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:34:5: warning: 'public' modifier is redundant for property declared in a public extension
32 | /// the string is option name or not by
33 | /// matching with short and long option name regex.
34 | public var isOptionName: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
35 | return match(withRegex: shortOptionNameRegex)
36 | || match(withRegex: longOptionNameRegex)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:42:5: warning: 'public' modifier is redundant for property declared in a public extension
40 | /// is option name with value or not by matching
41 | /// with short and long option name with value regex.
42 | public var isOptionNameWithValue: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
43 | return match(withRegex: shortOptionNameWithValueRegex)
44 | || match(withRegex: longOptionNameWithValueRegex)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | ///
49 | /// - Returns: Option name argument and value if it is in correct format.
50 | public func optionNameArgumentAndValue() -> (String, String)? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | if match(withRegex: shortOptionNameWithValueRegex) {
52 | let separatorIndex = index(startIndex, offsetBy: 2)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Regex.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
34 | /// - Parameter regex: Regex to test against this string.
35 | /// - Returns: True if the string matches with regex; otherwise, false.
36 | public func match(withRegex regex: String) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
37 | return range(of: regex, options: .regularExpression) == startIndex ..< endIndex
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | /// - Parameter option: Option to test against this array.
34 | /// - Returns: Argument value for option.
35 | public func findArgument(for option: Option) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return findOptionValue(for: option.name)!.value!
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
41 | /// - Parameter option: Option to test against this array.
42 | /// - Returns: Argument value for option if the array has; otherwise, nil.
43 | public func findOptionalArgument(for option: Option) -> String? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
44 | return findOptionValue(for: option.name)?.value
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:51:5: warning: 'public' modifier is redundant for instance method declared in a public extension
49 | /// - Parameter option: Option to test against this array.
50 | /// - Returns: True if the array has option value for option; otherwise, false.
51 | public func have(_ option: Option) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
52 | return findOptionValue(for: option.name) != nil
53 | }
[9/21] Compiling Bouncer CommandParsingError.swift
[10/21] Compiling Bouncer Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandType.swift:34:13: note: consider making enum 'OperandType' conform to the 'Sendable' protocol
32 | /// - optionalEqual: Accept exact number of operands or nothing.
33 | /// - range: Accept number of operands in certain range.
34 | public enum OperandType {
| `- note: consider making enum 'OperandType' conform to the 'Sendable' protocol
35 | case none
36 | case equal(Int)
[11/21] Compiling Bouncer OperandParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandParsingError.swift:32:10: warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
30 | /// - invalidNumberOfOperands: Number of operands is not valid.
31 | public enum OperandParsingError: Error {
32 | case invalidNumberOfOperands(Command, OperandType, [String])
| `- warning: associated value 'invalidNumberOfOperands' of 'Sendable'-conforming enum 'OperandParsingError' has non-sendable type 'OperandType'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OperandType.swift:34:13: note: consider making enum 'OperandType' conform to the 'Sendable' protocol
32 | /// - optionalEqual: Accept exact number of operands or nothing.
33 | /// - range: Accept number of operands in certain range.
34 | public enum OperandType {
| `- note: consider making enum 'OperandType' conform to the 'Sendable' protocol
35 | case none
36 | case equal(Int)
[12/21] Compiling Bouncer OptionValue+Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:35:5: warning: 'public' modifier is redundant for instance method declared in a public extension
33 | /// - Parameter option: Option to test against this array.
34 | /// - Returns: Argument value for option.
35 | public func findArgument(for option: Option) -> String {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
36 | return findOptionValue(for: option.name)!.value!
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
41 | /// - Parameter option: Option to test against this array.
42 | /// - Returns: Argument value for option if the array has; otherwise, nil.
43 | public func findOptionalArgument(for option: Option) -> String? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
44 | return findOptionValue(for: option.name)?.value
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/OptionValue/OptionValue+Array.swift:51:5: warning: 'public' modifier is redundant for instance method declared in a public extension
49 | /// - Parameter option: Option to test against this array.
50 | /// - Returns: True if the array has option value for option; otherwise, false.
51 | public func have(_ option: Option) -> Bool {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
52 | return findOptionValue(for: option.name) != nil
53 | }
[13/21] Compiling Bouncer String+Option.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:34:5: warning: 'public' modifier is redundant for property declared in a public extension
32 | /// the string is option name or not by
33 | /// matching with short and long option name regex.
34 | public var isOptionName: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
35 | return match(withRegex: shortOptionNameRegex)
36 | || match(withRegex: longOptionNameRegex)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:42:5: warning: 'public' modifier is redundant for property declared in a public extension
40 | /// is option name with value or not by matching
41 | /// with short and long option name with value regex.
42 | public var isOptionNameWithValue: Bool {
| `- warning: 'public' modifier is redundant for property declared in a public extension
43 | return match(withRegex: shortOptionNameWithValueRegex)
44 | || match(withRegex: longOptionNameWithValueRegex)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/String+Option.swift:50:5: warning: 'public' modifier is redundant for instance method declared in a public extension
48 | ///
49 | /// - Returns: Option name argument and value if it is in correct format.
50 | public func optionNameArgumentAndValue() -> (String, String)? {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
51 | if match(withRegex: shortOptionNameWithValueRegex) {
52 | let separatorIndex = index(startIndex, offsetBy: 2)
[14/21] Compiling Bouncer OperandType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
[15/21] Compiling Bouncer OptionParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:33:10: warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
31 | /// - missingOptions: Options are required but not given.
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
| `- warning: associated value 'missingOptionArgument' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
34 | case missingOptions(Command, [Option])
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/OptionParsingError.swift:34:10: warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
32 | public enum OptionParsingError: Error {
33 | case missingOptionArgument(Command, Option)
34 | case missingOptions(Command, [Option])
| `- warning: associated value 'missingOptions' of 'Sendable'-conforming enum 'OptionParsingError' has non-sendable type 'Option'; this is an error in the Swift 6 language mode
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
[16/21] Compiling Bouncer OptionValue.swift
[17/21] Compiling Bouncer OperandValue+Array.swift
[18/21] Compiling Bouncer Option.swift
[19/22] Compiling Bouncer Program.swift
[20/25] Emitting module git_mock
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:35:5: warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
35 | let initCommand = Command(
| `- warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
36 | name: ["init"],
37 | operandType: .optionalEqual(1),
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
25 |
26 | import Foundation
27 | import Bouncer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
:
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
35 | let initCommand = Command(
| |- note: annotate 'initCommand' 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
36 | name: ["init"],
37 | operandType: .optionalEqual(1),
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:29:5: warning: let 'quietOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Bouncer
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
| |- warning: let 'quietOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quietOption' 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
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:30:5: warning: let 'bareOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
| |- warning: let 'bareOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bareOption' 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
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:31:5: warning: let 'templateOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
| |- warning: let 'templateOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'templateOption' 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
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:32:5: warning: let 'separateGitDirOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
| |- warning: let 'separateGitDirOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'separateGitDirOption' 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
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:33:5: warning: let 'sharedOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
| |- warning: let 'sharedOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedOption' 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
34 |
35 | let initCommand = Command(
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
[21/25] Compiling git_mock main.swift
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:35:5: warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
35 | let initCommand = Command(
| `- warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
36 | name: ["init"],
37 | operandType: .optionalEqual(1),
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
25 |
26 | import Foundation
27 | import Bouncer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
:
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
35 | let initCommand = Command(
| |- note: annotate 'initCommand' 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
36 | name: ["init"],
37 | operandType: .optionalEqual(1),
[22/25] Compiling git_mock Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:29:5: warning: let 'quietOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Bouncer
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
| `- warning: let 'quietOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
25 |
26 | import Foundation
27 | import Bouncer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Bouncer'
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
| |- note: annotate 'quietOption' 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
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:30:5: warning: let 'bareOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
| |- warning: let 'bareOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bareOption' 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
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:31:5: warning: let 'templateOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
29 | let quietOption = Option(name: "quiet", shortName: "q", optional: true, argumentType: .none)
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
| |- warning: let 'templateOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'templateOption' 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
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:32:5: warning: let 'separateGitDirOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
30 | let bareOption = Option(name: "bare", optional: true, argumentType: .none)
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
| |- warning: let 'separateGitDirOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'separateGitDirOption' 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
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:33:5: warning: let 'sharedOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
31 | let templateOption = Option(name: "template", optional: true, argumentType: .required)
32 | let separateGitDirOption = Option(name: "separate-git-dir", optional: true, argumentType: .required)
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
| |- warning: let 'sharedOption' is not concurrency-safe because non-'Sendable' type 'Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedOption' 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
34 |
35 | let initCommand = Command(
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Option/Option.swift:30:12: note: class 'Option' does not conform to the 'Sendable' protocol
28 | /// Option represents option argument.
29 | /// Configurations on this class are used to parse arguments.
30 | open class Option {
| `- note: class 'Option' does not conform to the 'Sendable' protocol
31 |
32 | /// Option name.
/Users/admin/builder/spi-builder-workspace/Sources/git-mock/init/Init.swift:35:5: warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
33 | let sharedOption = Option(name: "shared", optional: true, argumentType: .optional("group"))
34 |
35 | let initCommand = Command(
| |- warning: let 'initCommand' is not concurrency-safe because non-'Sendable' type 'Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initCommand' 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
36 | name: ["init"],
37 | operandType: .optionalEqual(1),
/Users/admin/builder/spi-builder-workspace/Sources/Bouncer/Command/Command.swift:33:12: note: class 'Command' does not conform to the 'Sendable' protocol
31 |
32 | /// Command represents command argument.
33 | open class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
34 |
35 | /// Command name. Sub command can be expressed
[22/25] Write Objects.LinkFileList
[23/25] Linking git-mock
[24/25] Applying git-mock
Build complete! (28.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Bouncer",
"name" : "Bouncer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Bouncer",
"targets" : [
"Bouncer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "git-mock",
"targets" : [
"git-mock"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "git_mock",
"module_type" : "SwiftTarget",
"name" : "git-mock",
"path" : "Sources/git-mock",
"product_memberships" : [
"git-mock"
],
"sources" : [
"init/Init.swift",
"main.swift"
],
"target_dependencies" : [
"Bouncer"
],
"type" : "executable"
},
{
"c99name" : "BouncerTests",
"module_type" : "SwiftTarget",
"name" : "BouncerTests",
"path" : "Tests/BouncerTests",
"sources" : [
"Command/CommandFindOptionTests.swift",
"Command/CommandParseArgumentsTests.swift",
"Command/CommandValidateOperandsTests.swift",
"Command/CommandValidateOptionValuesTests.swift",
"Extension/Command+Init.swift",
"Extension/OperandParsingError+Equatable.swift",
"Extension/OperandType+Equatable.swift",
"Extension/Option+Equatable.swift",
"Extension/OptionParsingError+Equatable.swift",
"OperandValue/OperandValueArrayTests.swift",
"Option/OptionCompareWithArgumentTests.swift",
"Option/OptionNameValidationTests.swift",
"Option/OptionNameWithValueValidationTests.swift",
"Option/ParseOptionNameAndValueTests.swift",
"OptionValue/OptionValueArrayIterateTests.swift",
"Program/ProgramFindCommandTests.swift",
"Program/ProgramRunTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Bouncer"
],
"type" : "test"
},
{
"c99name" : "Bouncer",
"module_type" : "SwiftTarget",
"name" : "Bouncer",
"path" : "Sources/Bouncer",
"product_memberships" : [
"Bouncer",
"git-mock"
],
"sources" : [
"Command/Command.swift",
"Command/OperandParsingError.swift",
"Command/OperandType.swift",
"Command/OptionParsingError.swift",
"OperandValue/OperandValue+Array.swift",
"Option/Option.swift",
"Option/OptionArgumentType.swift",
"Option/OptionNameRegex.swift",
"Option/String+Option.swift",
"Option/String+Regex.swift",
"OptionValue/OptionValue+Array.swift",
"OptionValue/OptionValue.swift",
"Program/CommandParsingError.swift",
"Program/Program.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.