The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Bouncer, reference 0.1.3 (afc6b0), with Swift 6.0 for Linux on 27 Nov 2024 12:08:06 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/flintprocessor/Bouncer.git
Reference: 0.1.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/flintprocessor/Bouncer
 * tag               0.1.3      -> FETCH_HEAD
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 0.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/flintprocessor/Bouncer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/21] Compiling Bouncer OptionArgumentType.swift
[5/21] Compiling Bouncer OptionNameRegex.swift
[6/22] Compiling Bouncer OptionValue+Array.swift
/host/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 |     }
/host/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 |     }
/host/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 |     }
[7/22] Compiling Bouncer OptionValue.swift
/host/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 |     }
/host/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 |     }
/host/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 |     }
[8/22] Compiling Bouncer String+Option.swift
/host/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)
/host/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)
/host/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)
/host/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 |     }
[9/22] Compiling Bouncer String+Regex.swift
/host/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)
/host/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)
/host/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)
/host/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 |     }
[10/22] Compiling Bouncer CommandParsingError.swift
[11/22] Compiling Bouncer OperandType.swift
/host/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 | }
/host/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
/host/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 | }
/host/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.
/host/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 |
/host/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
/host/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 |
/host/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.
[12/22] Compiling Bouncer OptionParsingError.swift
/host/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 | }
/host/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
/host/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 | }
/host/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.
/host/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 |
/host/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
/host/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 |
/host/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.
[13/22] Compiling Bouncer Command.swift
/host/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 |
/host/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
/host/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 |
/host/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)
[14/22] Compiling Bouncer OperandParsingError.swift
/host/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 |
/host/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
/host/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 |
/host/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)
[15/22] Emitting module Bouncer
/host/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 |
/host/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
/host/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 |
/host/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)
/host/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 | }
/host/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
/host/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 | }
/host/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.
/host/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 |
/host/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
/host/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 |
/host/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.
/host/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)
/host/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)
/host/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)
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
[16/22] Compiling Bouncer OperandValue+Array.swift
[17/22] Compiling Bouncer Option.swift
[18/22] Compiling Bouncer Program.swift
[19/23] Wrapping AST for Bouncer for debugging
[21/26] Compiling git_mock Init.swift
/host/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)
/host/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.
/host/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)
/host/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)
/host/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.
/host/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"))
/host/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.
/host/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 |
/host/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.
/host/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(
/host/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.
/host/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),
/host/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/26] Emitting module git_mock
/host/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),
/host/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
/host/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),
/host/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)
/host/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.
/host/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)
/host/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.
/host/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"))
/host/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.
/host/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 |
/host/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.
/host/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(
/host/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.
[23/26] Compiling git_mock main.swift
/host/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),
/host/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
/host/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),
[24/27] Wrapping AST for git-mock for debugging
[25/27] Write Objects.LinkFileList
[26/27] Linking git-mock
Build complete! (9.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Bouncer",
  "name" : "Bouncer",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.